/* ==================
   SkyGreen KZ - Styles
   ================== */

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green: #27ae60;
    --green-dark: #1e8449;
    --green-light: #e8f5e9;
    --green-lighter: #f0faf0;
    --blue: #1565c0;
    --blue-dark: #0d47a1;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --gray: #666;
    --gray-light: #999;
    --gray-bg: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 600;
    border: 2px solid transparent; transition: all var(--transition); text-align: center;
    white-space: nowrap;
}
.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(39,174,96,0.3); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--green); border-color: var(--white); }
.btn--white:hover { background: var(--green-light); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 16px 40px; font-size: 16px; }
.btn--full { width: 100%; }

/* === Section Headers === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--dark); }
.section-title span { color: var(--green); }
.section-subtitle { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; }

/* === Top Bar === */
.top-bar { background: var(--dark); color: rgba(255,255,255,0.8); font-size: 13px; padding: 8px 0; }
.top-bar__inner { display: flex; align-items: center; justify-content: space-between; }
.top-bar__address { display: flex; align-items: center; gap: 6px; }
.top-bar__socials { display: flex; gap: 12px; }
.top-bar__socials a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.top-bar__socials a:hover { color: var(--white); }

/* === Header === */
.header { background: var(--white); padding: 10px 0; position: sticky; top: 0; z-index: 1000; transition: all var(--transition); }
.header--sticky { box-shadow: var(--shadow-sm); padding: 6px 0; }
.header--hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.header__logo { flex-shrink: 0; }
.header__logo img { height: 56px; width: auto; }
.header__nav { display: flex; gap: 0; flex-shrink: 0; }
.header__nav-link { padding: 6px 10px; font-size: 13px; font-weight: 500; color: var(--dark); border-radius: 6px; transition: all var(--transition); white-space: nowrap; }
.header__nav-link:hover { color: var(--green); background: var(--green-lighter); }
.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__phone { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--dark); white-space: nowrap; }
.header__phone:hover { color: var(--green); }
.header__cta { display: inline-flex; }
.header__cta.btn { padding: 10px 20px; font-size: 13px; }
.header__burger { display: none; width: 32px; height: 24px; position: relative; background: none; border: none; }
.header__burger span { display: block; width: 100%; height: 3px; background: var(--dark); border-radius: 2px; position: absolute; left: 0; transition: all var(--transition); }
.header__burger span:nth-child(1) { top: 0; }
.header__burger span:nth-child(2) { top: 10px; }
.header__burger span:nth-child(3) { top: 20px; }
.header__burger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* === Hero === */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; background: #ffffff; }
.hero__bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background:
    linear-gradient(180deg,
        rgba(81,172,141,0.25) 0%,
        rgba(81,172,141,0.08) 8%,
        rgba(255,255,255,0) 18%,
        rgba(255,255,255,0) 80%,
        rgba(81,172,141,0.08) 92%,
        rgba(81,172,141,0.25) 100%
    ),
    radial-gradient(ellipse at 20% 0%, rgba(81,172,141,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(81,172,141,0.10) 0%, transparent 50%);
}

/* Floating particles */
.hero__particle { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__particle--1 { width: 6px; height: 6px; background: var(--green); opacity: 0.15; top: 20%; left: 10%; animation: float-particle 8s ease-in-out infinite; }
.hero__particle--2 { width: 4px; height: 4px; background: #3498db; opacity: 0.12; top: 60%; left: 5%; animation: float-particle 12s ease-in-out infinite 2s; }
.hero__particle--3 { width: 8px; height: 8px; background: var(--green); opacity: 0.1; top: 30%; right: 8%; animation: float-particle 10s ease-in-out infinite 1s; }
.hero__particle--4 { width: 5px; height: 5px; background: #3498db; opacity: 0.12; top: 70%; right: 15%; animation: float-particle 9s ease-in-out infinite 3s; }
.hero__particle--5 { width: 3px; height: 3px; background: var(--green); opacity: 0.18; top: 45%; left: 20%; animation: float-particle 11s ease-in-out infinite 4s; }
.hero__particle--6 { width: 7px; height: 7px; background: var(--green); opacity: 0.08; top: 15%; right: 25%; animation: float-particle 14s ease-in-out infinite 1.5s; }
.hero__particle--7 { width: 5px; height: 5px; background: var(--green); opacity: 0.1; top: 80%; left: 30%; animation: float-particle 13s ease-in-out infinite 0.5s; }
.hero__particle--8 { width: 4px; height: 4px; background: #3498db; opacity: 0.08; top: 10%; left: 45%; animation: float-particle 10s ease-in-out infinite 3.5s; }
@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-15px); }
    75% { transform: translateY(-25px) translateX(5px); }
}

/* Hero entrance animations */
.hero-anim { opacity: 0; transform: translateY(24px); animation: hero-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: var(--delay, 0s); }
.hero-anim-visual { opacity: 0; transform: scale(0.92) translateY(20px); animation: hero-enter-visual 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
@keyframes hero-enter { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-enter-visual { to { opacity: 1; transform: scale(1) translateY(0); } }

/* Orbiting rings */
.hero__orbit { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(39,174,96,0.08); pointer-events: none; }
.hero__orbit--1 { width: 460px; height: 460px; margin: -230px 0 0 -230px; animation: orbit-spin 30s linear infinite; }
.hero__orbit--2 { width: 520px; height: 520px; margin: -260px 0 0 -260px; animation: orbit-spin 45s linear infinite reverse; border-style: dashed; border-color: rgba(52,152,219,0.06); }
.hero__orbit--1::after, .hero__orbit--2::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: 0.2; top: -3px; left: 50%; }
.hero__orbit--2::after { width: 4px; height: 4px; top: auto; bottom: -2px; background: #3498db; opacity: 0.15; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }

/* Badge */
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: var(--white); padding: 8px 22px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.3px; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #a5f3c4; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

.hero__title { font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: var(--dark); }
.hero__title-accent { display: block; color: var(--green); font-size: 60px; background: linear-gradient(135deg, #27ae60, #2ecc71, #1e8449); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__subtitle { font-size: 18px; color: var(--gray); line-height: 1.7; margin-bottom: 28px; }
.hero__subtitle strong { color: var(--green); font-weight: 700; }

/* Feature checks */
.hero__features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.hero__feature { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--dark); }
.hero__feature-icon { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }

/* CTA pulse */
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__btn-pulse { position: relative; overflow: visible; }
.hero__btn-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 14px; border: 2px solid var(--green); animation: btn-pulse 2.5s ease-in-out infinite; opacity: 0; }
@keyframes btn-pulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }

/* Visual side */
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__scene { position: relative; }
.hero__glow { position: absolute; top: 50%; left: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(39,174,96,0.12) 0%, transparent 70%); animation: glow-breathe 4s ease-in-out infinite; pointer-events: none; }
@keyframes glow-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; } }
.hero__septic-svg { width: 100%; max-width: 440px; position: relative; z-index: 1; animation: hero-float 6s ease-in-out infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Floating badges */
.hero__float-badge { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--white); padding: 10px 16px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); font-size: 13px; font-weight: 600; color: var(--dark); z-index: 2; white-space: nowrap; }
.hero__float-badge--1 { bottom: 22%; left: -16px; animation: float-badge 5s ease-in-out infinite; }
.hero__float-badge--2 { top: 12%; right: -16px; animation: float-badge 5s ease-in-out infinite 1.5s; }
.hero__float-badge--3 { bottom: 5%; right: 5%; animation: float-badge 5s ease-in-out infinite 3s; }
@keyframes float-badge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* === Stats === */
.stats { padding: 60px 0; background: var(--dark); position: relative; }
.stats::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), #3498db, var(--green)); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stats__item { text-align: center; }
.stats__number { font-size: 56px; font-weight: 900; color: var(--green); display: inline; }
.stats__unit { font-size: 24px; font-weight: 700; color: rgba(255,255,255,0.6); display: inline; margin-left: 4px; }
.stats__label { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

/* === Advantages === */
.advantages { padding: 100px 0; background: var(--white); }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.advantage-card {
    background: var(--white); padding: 40px 32px; border-radius: var(--radius-lg);
    border: 2px solid #f0f0f0; transition: all var(--transition); text-align: center;
}
.advantage-card:hover { border-color: var(--green); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.advantage-card__icon { width: 80px; height: 80px; margin: 0 auto 24px; }
.advantage-card__icon svg { width: 100%; height: 100%; }
.advantage-card__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.advantage-card__text { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* === Products === */
.products { padding: 100px 0; background: var(--gray-bg); }
.products__logo { display: block; max-width: 280px; height: auto; margin: 0 auto 24px; }
.products__filter { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; }
.products__filter-btn { padding: 10px 24px; border: 2px solid #e0e0e0; border-radius: 50px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--gray); transition: all var(--transition); }
.products__filter-btn.active, .products__filter-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
    text-align: center; position: relative; border: 2px solid transparent;
    transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.product-card:hover { border-color: var(--green); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__badge {
    position: absolute; top: 16px; left: 16px; background: var(--green); color: var(--white);
    padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
}
.product-card__badge--hot { background: #e74c3c; }
.product-card__image { height: 200px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.product-card__image svg { height: 180px; width: auto; }
.product-card__title { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: var(--dark); }
.product-card__specs { margin-bottom: 20px; }
.product-card__spec { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.product-card__spec span { color: var(--gray); }
.product-card__spec strong { color: var(--dark); }
.product-card__price { margin-bottom: 20px; padding: 16px; background: var(--green-lighter); border-radius: 10px; }
.product-card__price-label { font-size: 13px; color: var(--gray); }
.product-card__price-value { display: block; font-size: 22px; font-weight: 800; color: var(--green); margin-top: 4px; }
.products__note { text-align: center; margin-top: 40px; font-size: 14px; color: var(--gray); }
.products__note p { margin-bottom: 4px; }

/* === How It Works === */
.how-it-works { padding: 100px 0; background: var(--white); }
.how-it-works__steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step-card { flex: 1; min-width: 200px; max-width: 260px; text-align: center; padding: 24px 16px; }
.step-card__number { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 16px; }
.step-card__icon { width: 64px; height: 64px; margin: 0 auto 16px; }
.step-card__icon svg { width: 100%; height: 100%; }
.step-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.step-card__text { font-size: 14px; color: var(--gray); line-height: 1.6; }
.step-card__arrow { display: flex; align-items: center; padding-top: 60px; }

/* === Installation === */
.installation { padding: 100px 0; background: var(--green); color: var(--white); }
.installation .section-header { color: var(--white); }
.installation .section-title { color: var(--white); }
.installation .section-title span { color: #a5f3c4; }
.installation .section-subtitle { color: rgba(255,255,255,0.7); }
.installation__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.installation__list { display: flex; flex-direction: column; gap: 20px; }
.installation__item { display: flex; gap: 16px; align-items: flex-start; }
.installation__check { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.installation__item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.installation__item p { font-size: 14px; color: rgba(255,255,255,0.7); }
.installation__cta-box { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 40px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.2); }
.installation__cta-box h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.installation__cta-box p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 20px; line-height: 1.6; }
.installation__cta-box ul { list-style: none; margin-bottom: 28px; }
.installation__cta-box li { padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.9); position: relative; padding-left: 20px; }
.installation__cta-box li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #a5f3c4; }

/* === Gallery === */
.gallery { padding: 100px 0; background: var(--gray-bg); }
.gallery__filter { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; }
.gallery__filter-btn { padding: 10px 24px; border: 2px solid #e0e0e0; border-radius: 50px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--gray); transition: all var(--transition); cursor: pointer; }
.gallery__filter-btn.active, .gallery__filter-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); transition: all var(--transition); }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item--vertical { aspect-ratio: 9/16; }
.gallery__placeholder { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f0f7f0; }
.gallery__placeholder svg { width: 100%; height: 100%; }
.gallery__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: var(--white); }
.gallery__caption { display: block; font-size: 14px; font-weight: 600; }
.gallery__location { font-size: 12px; color: rgba(255,255,255,0.7); }
.gallery__play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); z-index: 2; }
.gallery__play-btn:hover { background: rgba(39,174,96,0.8); transform: translate(-50%, -50%) scale(1.1); }
.gallery__play-btn.hidden { opacity: 0; pointer-events: none; }
.gallery__note { text-align: center; margin-top: 40px; font-size: 15px; color: var(--gray); }
.gallery__note a { color: var(--green); font-weight: 600; }

/* === Calculator === */
.calculator { padding: 100px 0; background: var(--white); }
.calculator__inner { background: linear-gradient(135deg, var(--dark) 0%, #1e2a3a 50%, var(--dark-light) 100%); border-radius: var(--radius-lg); padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; color: var(--white); overflow: hidden; position: relative; }
.calculator__inner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(39,174,96,0.1), transparent 70%); pointer-events: none; }
.calculator__title { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.calculator__title span { color: var(--green); }
.calculator__subtitle { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 28px; line-height: 1.6; }
.calculator__benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.calculator__benefit { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.8); }
.calculator__visual { display: flex; justify-content: center; }
.calculator__icon-svg { width: 100%; max-width: 280px; }

/* === Quiz Modal === */
.modal__content--quiz { max-width: 580px; width: 94%; padding: 28px 28px 32px; }
.quiz__progress { height: 5px; background: #e8ecf0; border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.quiz__progress-bar { height: 100%; background: linear-gradient(90deg, var(--green), #2ecc71); border-radius: 3px; transition: width 0.4s ease; }
.quiz__step-label { font-size: 13px; color: var(--gray-light); margin-bottom: 20px; font-weight: 500; }
.quiz__step { display: none; animation: quiz-fade 0.3s ease; }
.quiz__step.active { display: block; }
@keyframes quiz-fade { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.quiz__question { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 20px; line-height: 1.3; }
.quiz__image-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz__image-options--4 { grid-template-columns: repeat(2, 1fr); }
.quiz__image-option { position: relative; cursor: pointer; min-width: 0; }
.quiz__image-option input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__image-card { border: 2px solid #e8ecf0; border-radius: 12px; padding: 12px 8px 10px; text-align: center; transition: all var(--transition); background: var(--white); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.quiz__image-card:hover { border-color: #b2dfdb; background: var(--green-lighter); }
.quiz__image-option input:checked + .quiz__image-card { border-color: var(--green); background: var(--green-lighter); box-shadow: 0 0 0 3px rgba(39,174,96,0.15); }
.quiz__image-icon { width: 60px; height: 60px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quiz__image-icon svg { width: 100%; height: 100%; }
.quiz__image-card span { font-size: 12px; font-weight: 600; color: var(--dark); display: block; line-height: 1.3; word-break: break-word; }
.quiz__final-text { font-size: 15px; color: var(--gray); margin-bottom: 24px; line-height: 1.6; }
.quiz__contact-fields { display: flex; flex-direction: column; gap: 0; }
.quiz__nav { display: flex; gap: 12px; margin-top: 24px; justify-content: flex-end; }
.quiz-prev { margin-right: auto; }

@media (max-width: 520px) {
    .modal__content--quiz { padding: 20px 16px 24px; }
    .quiz__image-options { grid-template-columns: 1fr 1fr; gap: 8px; }
    .quiz__image-options--4 { grid-template-columns: 1fr 1fr; }
    .quiz__question { font-size: 17px; margin-bottom: 16px; }
    .quiz__image-icon { width: 48px; height: 48px; }
    .quiz__image-card { padding: 10px 6px 8px; border-radius: 10px; }
    .quiz__image-card span { font-size: 11px; }
    .quiz__nav { margin-top: 18px; }
    .quiz__nav .btn { padding: 12px 20px; font-size: 14px; }
}

/* === Certificates === */
.certificates { padding: 100px 0; background: var(--gray-bg); }
.certificates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.certificate-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; text-align: center; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.certificate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.certificate-card__preview { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.certificate-card__icon svg { width: 120px; height: 150px; }
.certificate-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.certificate-card__desc { font-size: 13px; color: var(--gray); margin-bottom: 16px; line-height: 1.5; }

/* === Reviews === */
.reviews { padding: 100px 0; background: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card { background: var(--white); padding: 36px; border-radius: var(--radius-lg); border: 2px solid #f0f0f0; transition: all var(--transition); }
.review-card:hover { border-color: var(--green-light); box-shadow: var(--shadow); }
.review-card__stars { display: flex; gap: 2px; margin-bottom: 16px; }
.review-card__text { font-size: 15px; color: var(--dark); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-card__author { display: flex; gap: 12px; align-items: center; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.review-card__name { font-size: 15px; font-weight: 600; }
.review-card__location { font-size: 13px; color: var(--gray); }

/* === FAQ === */
.faq { padding: 100px 0; background: var(--gray-bg); }
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border-radius: var(--radius); border: 2px solid #f0f0f0; overflow: hidden; transition: all var(--transition); }
.faq__item.active { border-color: var(--green); }
.faq__question { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; font-size: 16px; font-weight: 600; color: var(--dark); text-align: left; cursor: pointer; gap: 16px; }
.faq__question svg { flex-shrink: 0; transition: transform var(--transition); color: var(--gray); }
.faq__item.active .faq__question svg { transform: rotate(180deg); color: var(--green); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq__item.active .faq__answer { max-height: 300px; }
.faq__answer p { padding: 0 24px 20px; font-size: 15px; color: var(--gray); line-height: 1.7; }

/* === About === */
.about { padding: 100px 0; background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__text { font-size: 16px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.about__text strong { color: var(--dark); }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.about__image { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.about__logo-large { padding: 40px; background: var(--green-lighter); border-radius: var(--radius-lg); }
.about__logo-large img { width: 350px; }
.about__info-cards { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.about__info-card { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--gray-bg); border-radius: 10px; font-size: 14px; color: var(--gray); }

/* === Contacts === */
.contacts { padding: 100px 0; background: var(--gray-bg); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contacts__info { display: flex; flex-direction: column; gap: 16px; }
.contacts__card { display: flex; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all var(--transition); }
.contacts__card:hover { box-shadow: var(--shadow); }
.contacts__card-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: var(--green-lighter); display: flex; align-items: center; justify-content: center; }
.contacts__card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contacts__card a, .contacts__card p { font-size: 14px; color: var(--gray); display: block; margin-top: 2px; }
.contacts__card a:hover { color: var(--green); }
.contacts__form-wrapper { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contacts__form-wrapper h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }

/* === CTA Section === */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.cta-section__inner { text-align: center; color: var(--white); }
.cta-section__title { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section__text { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Forms === */
.form__input, .form__textarea { width: 100%; padding: 14px 16px; border: 2px solid #e8ecf0; border-radius: 10px; font-size: 15px; font-family: var(--font); transition: border var(--transition); outline: none; margin-bottom: 12px; background: var(--white); color: var(--dark); }
.form__input:focus, .form__textarea:focus { border-color: var(--green); }
.form__textarea { resize: vertical; min-height: 80px; }
.form__label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--white); }
.form__privacy { font-size: 12px; color: var(--gray); margin-top: 12px; text-align: center; }
.calculator__form .form__input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--white); }
.calculator__form .form__input::placeholder { color: rgba(255,255,255,0.4); }
.calculator__form .form__input:focus { border-color: var(--green); }

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all var(--transition);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); } }

/* === Modal === */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition); }
.modal.active { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.modal__content { position: relative; background: var(--white); padding: 40px; border-radius: var(--radius-lg); max-width: 480px; width: 90%; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform var(--transition); }
.modal.active .modal__content { transform: translateY(0); }
.modal__content--sm { text-align: center; padding: 48px 40px; }
.modal__close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 28px; color: var(--gray); cursor: pointer; line-height: 1; }
.modal__close:hover { color: var(--dark); }
.modal__title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.modal__subtitle { font-size: 15px; color: var(--gray); margin-bottom: 24px; }
.modal__icon { margin-bottom: 20px; }
.modal__privacy { font-size: 12px; color: var(--gray-light); margin-top: 16px; text-align: center; }

/* === Footer === */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { display: inline-block; margin-bottom: 16px; }
.footer__logo img { height: 50px; }
.footer__desc { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer__socials a:hover { color: var(--green); }
.footer__heading { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.footer__link { display: block; font-size: 14px; color: rgba(255,255,255,0.5); padding: 4px 0; transition: color var(--transition); }
.footer__link:hover { color: var(--green); }
.footer__text { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3); }

/* === Reveal Animations === */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1280px) {
    .header__nav-link { padding: 6px 7px; font-size: 12px; }
    .header__phone { font-size: 13px; }
    .header__cta.btn { padding: 8px 14px; font-size: 12px; }
    .header__logo img { height: 44px; }
}

@media (max-width: 1024px) {
    .section-title { font-size: 32px; }
    .hero__title { font-size: 40px; }
    .hero__title-accent { font-size: 48px; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { order: -1; }
    .header__nav { display: none; }
    .header__burger { display: block; z-index: 1001; }
    .header__nav.active { display: flex; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 8px; z-index: 999; }
    .header__nav.active .header__nav-link { font-size: 20px; padding: 12px 24px; }
    .hero__septic-svg { max-width: 320px; }
    .hero__float-badge { display: none; }
    .hero__glow { width: 280px; height: 280px; }
    .hero__orbit { display: none; }
    .advantages__grid { grid-template-columns: repeat(2, 1fr); }
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .certificates__grid { grid-template-columns: repeat(2, 1fr); }
    .reviews__grid { grid-template-columns: 1fr; }
    .installation__grid { grid-template-columns: 1fr; }
    .calculator__inner { grid-template-columns: 1fr; padding: 40px; }
    .about__inner { grid-template-columns: 1fr; }
    .contacts__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar__address { display: none; }
    .header__actions { display: none; }

    .section-title { font-size: 28px; }
    .section-header { margin-bottom: 40px; }

    .hero { padding: 40px 0 60px; }
    .hero__title { font-size: 32px; }
    .hero__title-accent { font-size: 38px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__septic-svg { max-width: 260px; }
    .hero__scene { margin: 0 auto; }
    .hero__particle { display: none; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stats__number { font-size: 40px; }

    .advantages__grid { grid-template-columns: 1fr; }
    .products__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .certificates__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .how-it-works__steps { flex-direction: column; align-items: center; }
    .step-card { max-width: 100%; }
    .step-card__arrow { padding-top: 0; transform: rotate(90deg); }

    .gallery__grid { grid-template-columns: repeat(2, 1fr); }

    .calculator__inner { padding: 28px; gap: 32px; }
    .calculator__visual { display: none; }
    .cta-section__title { font-size: 28px; }
    .cta-section__actions { flex-direction: column; align-items: center; }

    .about__features { grid-template-columns: 1fr; }
    .about__logo-large img { width: 250px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 28px; }
    .hero__title-accent { font-size: 32px; }
    .gallery__grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
}
