/* ==================== ПЕРЕМЕННЫЕ ==================== */
:root {
    --color-green-dark: #1B5E20;
    --color-green: #2E7D32;
    --color-green-light: #4CAF50;
    --color-green-pale: #1a3a1c;
    --color-orange: #F57C00;
    --color-orange-light: #FFB74D;
    --color-text: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-light: #888888;
    --color-bg: #121212;
    --color-bg-alt: #1a1a1a;
    --color-bg-dark: #0a0a0a;
    --color-border: #2a2a2a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==================== ОБЩИЕ ==================== */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-family); background-color: var(--color-bg); color: var(--color-text); line-height: 1.5; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-green { color: var(--color-green-light); }
.text-orange { color: var(--color-orange); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; font-size: 16px; font-weight: 600; border-radius: var(--radius-sm); transition: all var(--transition-fast); white-space: nowrap; cursor: pointer; border: none; }
.btn--primary { background-color: var(--color-green); color: #ffffff; }
.btn--primary:hover { background-color: var(--color-green-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background-color: transparent; color: var(--color-green-light); border: 2px solid var(--color-green); }
.btn--outline:hover { background-color: var(--color-green); color: #ffffff; }
.btn--full { width: 100%; }
.btn--lux { background-color: var(--color-green); color: #ffffff; padding: 16px 40px; font-size: 17px; }
.btn--lux:hover { background-color: var(--color-green-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Заголовки секций */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header__label { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--color-orange); background-color: rgba(245, 124, 0, 0.15); padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; }
.section-header__title { font-size: 36px; font-weight: 800; color: var(--color-text); margin-bottom: 12px; }
.section-header__subtitle { font-size: 18px; color: var(--color-text-secondary); max-width: 600px; margin: 0 auto; }

/* ==================== HEADER ==================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background-color: rgba(18, 18, 18, 0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); transition: box-shadow var(--transition-normal); }
.header--scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.header__logo { font-size: 24px; font-weight: 800; color: #fff; }
.header__nav { flex: 1; display: flex; justify-content: center; }
.header__menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.header__menu a { font-size: 15px; font-weight: 500; color: var(--color-text-secondary); position: relative; padding: 4px 0; }
.header__menu a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background-color: var(--color-green-light); transition: width var(--transition-fast); }
.header__menu a:hover { color: var(--color-green-light); }
.header__menu a:hover::after { width: 100%; }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header__phone { font-size: 16px; font-weight: 700; color: var(--color-text); }
.header__phone:hover { color: var(--color-green-light); }
.header__phone--small { font-size: 13px; font-weight: 500; color: var(--color-text-secondary); }
.header__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; background: none; border: none; cursor: pointer; }
.header__burger span { display: block; width: 100%; height: 2px; background-color: var(--color-text); border-radius: 2px; transition: all var(--transition-fast); }

/* ==================== HERO ==================== */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #121212 0%, #0a1f0c 100%); position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__badge { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-orange); background: rgba(245, 124, 0, 0.15); padding: 8px 18px; border-radius: 20px; margin-bottom: 20px; }
.hero__title { font-size: 48px; font-weight: 900; line-height: 1.15; color: var(--color-text); margin-bottom: 20px; }
.hero__subtitle { font-size: 18px; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 500px; }
.hero__buttons { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero__features { display: flex; gap: 24px; flex-wrap: wrap; }
.hero__feature { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--color-text-secondary); }
.hero__feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background-color: var(--color-green); color: #ffffff; border-radius: 50%; font-size: 12px; flex-shrink: 0; }
.hero__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg-decoration { position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%); pointer-events: none; }

/* ==================== LUX SECTION ==================== */
.lux-section { padding: 80px 0; background-color: var(--color-bg); }
.lux-section__inner { text-align: center; max-width: 800px; margin: 0 auto; }
.lux-section__badge { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--color-orange); background: rgba(245, 124, 0, 0.15); padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; }
.lux-section__title { font-size: 40px; font-weight: 800; color: var(--color-text); margin-bottom: 20px; }
.lux-section__text { font-size: 17px; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 50px; }
.lux-section__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.lux-product { padding: 30px 20px; background-color: var(--color-bg-alt); border-radius: var(--radius-md); transition: all var(--transition-normal); }
.lux-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lux-product__icon { margin-bottom: 16px; color: var(--color-green-light); }
.lux-product h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lux-product p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; }

/* ==================== CATALOG ==================== */
.catalog { padding: 80px 0; background-color: var(--color-bg-alt); }
.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.catalog-card { display: flex; flex-direction: column; background-color: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-normal); }
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.catalog-card--featured { grid-column: 1 / -1; flex-direction: row; }
.catalog-card__image { position: relative; overflow: hidden; aspect-ratio: 4/3; background-color: var(--color-bg-alt); }
.catalog-card--featured .catalog-card__image { flex: 1; aspect-ratio: auto; min-height: 280px; }
.catalog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-normal); }
.catalog-card:hover .catalog-card__image img { transform: scale(1.05); }
.catalog-card__badge { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 4px; color: #ffffff; }
.catalog-card__badge--primary { background-color: var(--color-orange); }
.catalog-card__content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.catalog-card__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.catalog-card__desc { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.catalog-card__link { font-size: 14px; font-weight: 600; color: var(--color-green-light); transition: color var(--transition-fast); }
.catalog-card:hover .catalog-card__link { color: var(--color-green); }

/* ==================== ADVANTAGES ==================== */
.advantages { padding: 80px 0 40px; background-color: var(--color-bg-alt); } /* Убран зазор вниз */
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.advantage { text-align: center; padding: 30px 20px; }
.advantage__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background-color: var(--color-green-pale); border-radius: 50%; margin-bottom: 20px; transition: all var(--transition-normal); }
.advantage:hover .advantage__icon { background-color: var(--color-green); }
.advantage:hover .advantage__icon svg path { stroke: #ffffff; }
.advantage__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.advantage__text { font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; }

/* ==================== STORES ==================== */
.stores { padding: 40px 0 80px; background-color: var(--color-bg-alt); } /* Убран зазор вверх */
.stores__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.store-card { background-color: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.store-card__image { width: 100%; height: 250px; overflow: hidden; }
.store-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-normal); }
.store-card:hover .store-card__image img { transform: scale(1.05); }
.store-card__header { padding: 24px 24px 0; }
.store-card__label { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--color-green-light); background-color: var(--color-green-pale); padding: 4px 12px; border-radius: 4px; margin-bottom: 10px; }
.store-card__name { font-size: 22px; font-weight: 700; }
.store-card__body { padding: 24px; }
.store-card__info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.store-card__item { display: flex; gap: 10px; align-items: flex-start; }
.store-card__item-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.store-card__item-text { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; }
.store-card__item-link { color: var(--color-green-light); font-weight: 600; }
.store-card__item-link:hover { color: var(--color-green); }
.stores__map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.stores__map iframe { display: block; width: 100%; height: 400px; border: none; }

/* ==================== BRANDS ==================== */
.brands { padding: 60px 0; background-color: var(--color-bg); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.brands__logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; }
.brands__logo { padding: 15px 25px; opacity: 0.5; transition: opacity var(--transition-fast); }
.brands__logo:hover { opacity: 1; }
.brands__logo-text { font-size: 22px; font-weight: 800; color: var(--color-text); letter-spacing: 1px; }

/* ==================== FAQ ==================== */
.faq { padding: 80px 0; background-color: var(--color-bg-alt); }
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background-color: var(--color-bg); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 24px; font-size: 16px; font-weight: 600; text-align: left; color: var(--color-text); transition: background-color var(--transition-fast); gap: 16px; background: none; border: none; cursor: pointer; }
.faq__question:hover { background-color: var(--color-green-pale); }
.faq__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; color: var(--color-green-light); transition: transform var(--transition-normal); }
.faq__item--active .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__item--active .faq__answer { max-height: 300px; }
.faq__answer p { padding: 0 24px 20px; font-size: 15px; color: var(--color-text-secondary); line-height: 1.7; }

/* ==================== FOOTER ==================== */
.footer { padding: 60px 0 30px; background-color: var(--color-bg-dark); color: #ffffff; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__col--brand .footer__logo { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer__desc { font-size: 14px; color: rgba(255, 255, 255, 0.6); line-height: 1.7; margin-bottom: 20px; }
.footer__socials { display: flex; gap: 12px; }
.footer__social { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); color: #ffffff; transition: all var(--transition-fast); }
.footer__social:hover { background-color: var(--color-green); }
.footer__heading { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #ffffff; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255, 255, 255, 0.6); transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--color-green-light); }
.footer__contacts p { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-bottom: 6px; }
.footer__phone-link { color: #ffffff !important; font-weight: 600; font-size: 16px !important; }
.footer__phone-link:hover { color: var(--color-green-light) !important; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; text-align: center; }
.footer__bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ==================== ЛОГОТИПЫ СЕКЦИЙ ==================== */
.catalog-logo, .lux-logo, .advantages__logo, .stores__logo, .brands__logo-img, .faq__logo {
    width: 150px; height: auto; display: block; margin: 0 auto 16px;
}
.catalog-logo { width: 400px; }
.lux-logo { width: 300px; margin-bottom: 20px; }
.advantages__logo { width: 400px; }
.stores__logo { width: 250px; }
@media (max-width: 768px) {
    .catalog-logo, .lux-logo, .advantages__logo, .stores__logo, .brands__logo-img, .faq__logo { width: 120px !important; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__buttons, .hero__features { justify-content: center; }
    .lux-section__products, .catalog__grid, .advantages__grid { grid-template-columns: repeat(2, 1fr); }
    .stores__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header__nav, .header__contacts { display: none; }
    .header__burger { display: flex; }
    .hero__title { font-size: 32px; }
    .lux-section__products, .catalog__grid, .advantages__grid { grid-template-columns: 1fr; }
    .catalog-card--featured { flex-direction: column; }
    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .footer__socials { justify-content: center; }
    .store-card__image { height: 200px; }
    .stores__map iframe { height: 300px; }
}

.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

@media (max-width: 992px) {
    .hero__media { aspect-ratio: 4/3; }
}

/* ==================== HERO VIDEO (ФИНАЛЬНАЯ ВЕРСИЯ) ==================== */
/* Скрываем старый блок картинки, чтобы не занимал место и не ломал вёрстку */
.hero__image {
    display: none;
}

/* Контейнер видео: фиксированные пропорции = 0 сдвигов макета (CLS) */
.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background-color: var(--color-bg-alt);
    /* Фон пока грузится постер */
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Лёгкое затемнение, чтобы белый текст hero читался поверх видео */
.hero__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

/* Адаптив пропорций под планшеты и телефоны */
@media (max-width: 992px) {
    .hero__media {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .hero__media {
        aspect-ratio: 3/4;
        max-height: 380px;
    }
}