/* ===== RESET & БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ЦВЕТОВАЯ ПАЛИТРА ===== */
:root {
    --primary: #E67E22;
    --secondary: #2C3E50;
    --accent: #F39C12;
    --success: #27AE60;
    --warning: #E74C3C;
    --dark: #1A252F;
    --light: #FEF9F3;
    --gray: #7F8C8D;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.95rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.highlight {
    color: var(--primary);
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-order {
    background: var(--success);
    color: white;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    font-size: 0.9rem;
}

.btn-order:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(39, 174, 96, 0.4);
}

/* ===== ШАПКА ===== */
.header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav a:hover:after {
    width: 100%;
}

.phone-link {
    background: var(--light);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.phone-link:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 50px;
    z-index: -1;
}

.phone-link:hover {
    color: white;
    background: var(--gradient);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    padding: 100px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.feature-item i {
    color: var(--accent);
    font-size: 1rem;
    width: 20px;
}

.feature-item span {
    font-size: 0.9rem;
    color: white;
}

/* ===== КАРТОЧКИ ТОВАРОВ ===== */
.sets {
    padding: 80px 0;
    background: var(--light);
}

.sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.set-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.set-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.set-card:hover .set-images img {
    transform: scale(1.08);
}

.set-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.set-images {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.set-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.set-thumbs {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
}

.thumb {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid white;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.thumb:hover, .thumb.active {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.1);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.set-info {
    padding: 20px;
}

.set-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.set-info p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.price-block {
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.price-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.price-installment {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.installment-banks {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bank-logo {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.installment-info {
    flex: 1;
}

.installment-info strong {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.installment-info span {
    color: var(--success);
    font-weight: 600;
    font-size: 1rem;
}

.set-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-video {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-video:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== ВИДЕО ГАЛЕРЕЯ ===== */
.video-gallery {
    padding: 80px 0;
    background: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.video-preview {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-item:hover .video-preview img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-item:hover .play-button {
    background: var(--primary);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* ===== О НАС ===== */
.about {
    padding: 80px 0;
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.feature p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== КОНТАКТЫ ===== */
.contacts {
    padding: 80px 0;
    background: white;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-item a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.delivery-info {
    margin-top: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
}

.delivery-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.delivery-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-item i {
    color: var(--success);
    font-size: 1.1rem;
    width: 20px;
    margin-top: 3px;
}

.delivery-item div {
    flex: 1;
}

.delivery-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.delivery-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--gray);
}

.map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    color: #aaa;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-content {
    max-width: 800px;
    width: 100%;
    position: relative;
}

.modal-video {
    width: 100%;
    border-radius: 8px;
    outline: none;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1100px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 992px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 25px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 15px;
        z-index: 999;
        align-items: flex-start;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav a {
        font-size: 1rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .sets-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .price-main {
        font-size: 1.6rem;
    }
    
    .installment-banks {
        flex-direction: column;
        gap: 5px;
    }
    
    .bank-logo {
        width: 22px;
        height: 22px;
    }
    
    .installment-info strong {
        font-size: 0.85rem;
    }
    
    .installment-info span {
        font-size: 0.9rem;
    }
    
    .set-buttons {
        flex-direction: column;
    }
}