/* =============================================
   ЭКОЛОГИЯ ДОМА — Фирменный стиль
   Основные цвета:
     --blue-dark:  #0069AA  (Pantone 29C)
     --blue-light: #78BDE8  (Pantone 292C)
     --text:       #231F20
============================================= */

/* ---- Шрифты ---- */
@font-face {
  font-family: 'OfficinaSans';
  src: url('../fonts/OfficinaSans-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OfficinaSans';
  src: url('../fonts/OfficinaSans-BookItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'OfficinaSans';
  src: url('../fonts/OfficinaSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OfficinaSans';
  src: url('../fonts/OfficinaSans-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---- CSS переменные ---- */
:root {
  --blue-dark:   #0069AA;
  --blue-mid:    #1A7FBF;
  --blue-light:  #78BDE8;
  --blue-pale:   #D6EEFA;
  --green:       #5C9B2F;
  --text:        #231F20;
  --text-muted:  #666;
  --white:       #ffffff;
  --bg:          #f7f9fc;

  --font:        'OfficinaSans', 'Arial', sans-serif;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0, 105, 170, 0.12);
  --shadow-lg:   0 8px 40px rgba(0, 105, 170, 0.18);

  --header-h:    72px;
  --max-w:       1240px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Утилиты ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Кнопки ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}
.btn--primary:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn--outline:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn--ghost:hover {
  background: rgba(0, 105, 170, 0.08);
}


/* ============================================
   TOPBAR
============================================ */
.topbar {
  background: var(--white);
  color: var(--blue-dark);
  height: 36px;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.topbar__item:hover { color: var(--blue-mid); }

.topbar__item svg { stroke: var(--blue-dark); flex-shrink: 0; }


/* ============================================
   HEADER
============================================ */
.header {
  position: sticky;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(to bottom, var(--blue-dark) 0%, var(--blue-light) 100%);
  border-bottom: none;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.header__logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header__nav {
  flex: 1;
}

.nav__list {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 1px;
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.header__cta {
  font-size: 0.88rem;
  padding: 10px 22px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: var(--white) !important;
  backdrop-filter: blur(4px);
}

.header__cta:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Dropdown */
.nav__item,
.nav__item--has-dropdown {
  position: relative;
}

.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link--dropdown svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav__item--has-dropdown:hover .nav__link--dropdown svg {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 500;
  list-style: none;
}

.nav__item--has-dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.nav__dropdown li a:hover {
  color: var(--blue-dark);
  background: var(--bg);
  padding-left: 26px;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   HERO — Split 50/50
============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Левая половина — текст */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 0;
  padding-left: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
}

.hero__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.hero__title span {
  color: var(--blue-dark);
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 105, 170, 0.15);
}

.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}

.stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Правая половина — квиз */
.hero__quiz {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}

/* ============================================
   QUIZ
============================================ */
.quiz {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  width: 100%;
  max-width: 420px;
}

.quiz__header {
  margin-bottom: 28px;
}

.quiz__step-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.quiz__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz__step {
  display: none;
}

.quiz__step--active {
  display: block;
}

.quiz__question {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.quiz__subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.55;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-align: left;
  width: 100%;
}

.quiz__option:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(4px);
}

.quiz__option.is-selected {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
}

.quiz__option svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.quiz__option.is-selected svg {
  stroke: var(--blue-dark);
  opacity: 1;
}

.quiz__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__form .form-group {
  gap: 0;
}

.quiz__form .form-group label {
  display: none;
}

.quiz__form .form-group input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.quiz__form .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.quiz__form .form-group input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.quiz__form .form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.quiz__note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.5;
  margin-top: 6px;
}

/* Правая половина — визуал (старый, не используется) */
.hero__visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--blue-light) 100%);
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
}

.hero__bg-shape--1 {
  width: 700px;
  height: 700px;
  background: rgba(255, 255, 255, 0.06);
  top: -200px;
  right: -200px;
}

.hero__bg-shape--2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -100px;
  left: -150px;
}

.hero__bg-shape--3 {
  width: 300px;
  height: 300px;
  background: rgba(120, 189, 232, 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__emblem {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.hero__emblem img {
  max-width: 340px;
  filter: brightness(0) invert(1);
  opacity: 0.18;
}


/* ============================================
   FOOTER — 3 колонки, тёмный
============================================ */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #005a93 0%, var(--blue-mid) 55%, var(--blue-light) 100%);
  color: var(--white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 0;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Бренд-колонка */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  padding-right: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col:not(.footer__col--brand) {
  padding: 0 40px;
}

.footer__col:last-child {
  padding-right: 0;
}

/* Декоративные круги — фон всего футера */
.footer__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer__shape--1 {
  width: 700px;
  height: 700px;
  background: rgba(255, 255, 255, 0.06);
  top: -280px;
  right: -180px;
}

.footer__shape--2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -200px;
  left: -150px;
}

.footer__shape--3 {
  width: 300px;
  height: 300px;
  background: rgba(120, 189, 232, 0.2);
  top: 40%;
  left: 38%;
  transform: translate(-50%, -50%);
}

.footer__logo {
  display: block;
  margin-bottom: 20px;
}

.footer__logo img {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
}

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

/* Навигация и контакты */
.footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  padding-top: 4px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, padding-left 0.2s;
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contacts svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--blue-light);
}

.footer__contacts a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__contacts a:hover {
  color: var(--white);
}

/* Нижняя строка */
.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}


/* ============================================
   ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ
============================================ */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}


/* ============================================
   СЕКЦИЯ УСЛУГИ
============================================ */
.services {
  padding: 100px 0;
  background: var(--bg);
}

.services__header {
  text-align: center;
  margin-bottom: 56px;
}

.services__header .section-desc {
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  box-shadow: 0 2px 12px rgba(0, 105, 170, 0.07);
  border: 1px solid rgba(0, 105, 170, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(0, 105, 170, 0.2);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.service-card__icon svg {
  stroke: var(--blue-dark);
  transition: stroke 0.25s ease;
}

.service-card:hover .service-card__icon {
  background: var(--blue-dark);
}

.service-card:hover .service-card__icon svg {
  stroke: var(--white);
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-card__link {
  gap: 10px;
  color: var(--blue-mid);
}


/* ============================================
   МОДАЛЬНАЯ ФОРМА
============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.modal__close:hover { color: var(--text); }

.modal__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.modal__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 28px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Успешная отправка */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0;
}

.form-success svg {
  stroke: var(--blue-dark);
}

.form-success p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.form-success span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================
   АДАПТИВ
============================================ */
@media (max-width: 1024px) {
  .hero__content {
    padding: 60px 40px;
    padding-left: 24px;
  }

  .header__inner {
    gap: 16px;
  }

  .nav__link {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .btn.header__cta {
    padding: 10px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer__col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
    margin-bottom: 8px;
  }
.footer__col:not(.footer__col--brand) {
    padding: 0 0 0 0;
  }
  .footer__col:not(.footer__col--brand):first-of-type {
    padding-right: 32px;
  }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Header mobile */
  .burger { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 105, 170, 0.1);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    padding: 10px 16px;
    font-size: 1rem;
    color: var(--text);
  }

  .nav__link:hover {
    color: var(--blue-dark);
    background: var(--blue-pale);
  }

  .nav__link--active {
    color: var(--blue-dark) !important;
    background: var(--blue-pale);
  }

  .nav__link--active::after {
    background: var(--blue-dark);
  }

  .nav__link::after {
    display: none;
  }

  /* Мобильный дропдаун — скрыт */
  .nav__item--has-dropdown .nav__link--dropdown svg {
    display: none;
  }

  .nav__item--has-dropdown .nav__dropdown {
    display: none !important;
  }

  .header__cta {
    display: none;
  }

  .topbar {
    display: none;
  }

  .header {
    top: 0;
  }

  .header__nav {
    top: var(--header-h);
  }

  /* Hero mobile */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 48px 24px 40px;
  }

  .hero__quiz {
    padding: 40px 20px;
  }

  .quiz {
    padding: 28px 20px;
  }

  .quiz__question {
    font-size: 1.05rem;
  }

  .hero__stats {
    gap: 24px;
  }

  /* Footer mobile */
  .footer__inner {
    grid-template-columns: 1fr;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 0;
  }

  .footer__bottom-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer__col--brand {
    padding-right: 0;
    border-right: none;
  }
  .footer__col:not(.footer__col--brand) {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 28px;
  }
  .footer__col:last-child {
    padding-right: 0;
  }
}

@media (max-width: 540px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
}
