/* ============================================================
   ВІКНОМАЙСТЕР — ГОЛОВНА ТАБЛИЦЯ СТИЛІВ
   ============================================================

   СИСТЕМА КОЛЬОРІВ — змінюйте тут, зміни застосуються скрізь
   ──────────────────────────────────────────────────────────── */

:root {

  /* ══════════════════════════════════════════════════════════
     ПАЛІТРА: Deep Ocean (#2)
     Темний сапфір + яскравий синій + блакитний cyan-акцент
     ══════════════════════════════════════════════════════════ */

  /* ── СИНІЙ — шапка, hero, footer, темні блоки ───────────
     Змінюй ці 4 змінні щоб перефарбувати весь темний фон   */
  --color-brand-navy:       #1E3A5F;  /* основний сапфір — шапка, hero */
  --color-brand-navy-mid:   #1D4ED8;  /* яскравий синій — градієнт hero */
  --color-brand-navy-light: #3B82F6;  /* світло-синій — акценти, hover */
  --color-brand-navy-deep:  #0C1A2E;  /* майже чорний синій — footer bg */

  /* ── АКЦЕНТ — кнопки, CTA, іконки, ціни ────────────────
     Тут cyan замість помаранчевого — виглядає як "блакитна
     технологічна" компанія. Якщо хочеш повернути помаранч —
     просто замін на #F97316 / #EA580C / #FED7AA             */
  --color-brand-orange:       #06B6D4;  /* cyan — головна кнопка, акценти */
  --color-brand-orange-dark:  #0891B2;  /* темніший cyan — hover кнопок   */
  --color-brand-orange-light: #A5F3FC;  /* дуже світлий — текст на темному */

  /* ── НЕЙТРАЛЬНІ — фони, рамки, другорядний текст ───────
     Трохи холодніші ніж раніше, підтримують блакитну гаму  */
  --color-white:      #FFFFFF;
  --color-gray-50:    #EFF6FF;  /* блакитно-білий — фон alt-секцій     */
  --color-gray-100:   #DBEAFE;  /* дуже світло-синій — hover, рядки    */
  --color-gray-200:   #BFDBFE;  /* рамки карток, роздільники           */
  --color-gray-300:   #93C5FD;  /* рамки інпутів                       */
  --color-gray-400:   #60A5FA;  /* placeholder, другорядні іконки      */
  --color-gray-600:   #475569;  /* другорядний текст, підписи          */

  /* ── ТЕКСТ ──────────────────────────────────────────────
     Холодний майже-чорний замість нейтрального             */
  --color-text-primary:       #0F172A;           /* основний текст — темно-синій  */
  --color-text-secondary:     #475569;           /* вторинний — сіро-синій        */
  --color-text-on-dark:       #FFFFFF;           /* текст на темному фоні         */
  --color-text-on-dark-muted: rgba(255,255,255,0.68); /* приглушений на темному  */

  /* ── ФОНИ СЕКЦІЙ ────────────────────────────────────────
     --color-section-alt трохи блакитний замість нейтрально-сірого */
  --color-section-light: #FFFFFF;   /* звичайні секції (послуги, ціни, контакти) */
  --color-section-alt:   #EFF6FF;   /* alternate секції (переваги, як працюємо, FAQ) */
  --color-section-dark:  #1E3A5F;   /* темні секції (відгуки) — той самий navy   */
  --color-section-cta:   #1E3A5F;   /* фон блоку форми заявки                    */

  /* ── СЕМАНТИЧНІ ─────────────────────────────────────────*/
  --color-success: #22c55e;
  --color-error:   #ef4444;
  --color-warning: #f59e0b;

  /* ── РАДІУСИ ────────────────────────────────────────────*/
  --radius-sm: 6px;    /* badge, теги */
  --radius-md: 10px;   /* кнопки, інпути, картки */
  --radius-lg: 16px;   /* великі картки */
  --radius-xl: 24px;   /* hero-карта */

  /* ── ТІНІ — адаптовані під синій тон ───────────────────*/
  --shadow-sm: 0 1px 3px rgba(30,58,95,.08);
  --shadow-md: 0 4px 16px rgba(30,58,95,.13);
  --shadow-lg: 0 12px 40px rgba(30,58,95,.18);
  --shadow-xl: 0 24px 64px rgba(30,58,95,.22);

  /* ── ВІДСТУПИ СЕКЦІЙ ────────────────────────────────────*/
  --section-py: 80px;

  /* ── АНІМАЦІЯ ───────────────────────────────────────────*/
  --transition-fast: 0.15s ease;
  --transition-base: 0.22s ease;
  --transition-slow: 0.38s ease;

}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text-primary);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Відступ під sticky mobile bar — додається через JS */
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ── Контейнер ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Типографіка секцій ─────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-brand-orange);
  margin-bottom: 10px;
}

h2.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--color-brand-navy);
  margin-bottom: 32px;
  line-height: 1.2;
}

/* На темному фоні (reviews) */
.reviews h2.section-title,
.cta-section h2.section-title {
  color: var(--color-text-on-dark);
}
.reviews .section-tag {
  color: var(--color-brand-orange-light);
}

/* ── Утиліти ────────────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   КНОПКИ
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--color-brand-orange); outline-offset: 2px; }

/* Основна кнопка — помаранчева */
.btn-primary {
  background: var(--color-brand-orange);
  color: var(--color-white);
  border-color: var(--color-brand-orange);
}
.btn-primary:hover {
  background: var(--color-brand-orange-dark);
  border-color: var(--color-brand-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gray-200);
}
.btn-primary:active { transform: translateY(0); }

/* Контурна кнопка — на темному фоні (hero) */
.btn-outline {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(255,255,255,0.40);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.10);
}

/* Контурна кнопка — на світлому фоні (FAQ) */
.btn-outline-dark {
  background: transparent;
  color: var(--color-brand-navy);
  border-color: var(--color-brand-navy);
}
.btn-outline-dark:hover {
  background: var(--color-brand-navy);
  color: var(--color-white);
}

/* ============================================================
   ANNOUNCE BAR — смужка над шапкою
   ============================================================ */

.announce-bar {
  /* Колір фону: --color-brand-orange */
  background: var(--color-brand-orange);
  color: var(--color-white);
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.announce-bar strong { font-weight: 700; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Колір фону шапки: --color-brand-navy */
  background: var(--color-brand-navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 0;
}

/* Логотип */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  /* Колір тексту лого: білий */
  color: var(--color-text-on-dark);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 36px;
  letter-spacing: -0.3px;
}
/* Кольорова частина лого ("Майстер") */
.nav-logo span { color: var(--color-brand-orange); }
.site-logo-img { height: 34px; width: auto; object-fit: contain; }

/* Навігаційні посилання */
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  /* Колір посилань у шапці: напівпрозорий білий */
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.10);
}

/* Права частина: телефон + кнопка */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-phone-link {
  /* Колір телефону в шапці: білий */
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.nav-phone-link:hover { color: var(--color-brand-orange-light); }

.nav-cta {
  /* Кнопка "Замовити дзвінок" у шапці: помаранчева */
  background: var(--color-brand-orange);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  border: none;
  transition: background var(--transition-fast);
  letter-spacing: 0.1px;
}
.nav-cta:hover { background: var(--color-brand-orange-dark); }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  cursor: pointer;
  border: none;
  background: none;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  /* Колір рисок бургера: білий */
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Мобільний drawer ───────────────────────────────────────────────────────── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0; bottom: 0;
  /* Колір фону мобільного меню: той самий що шапка */
  background: var(--color-brand-navy);
  z-index: 99;
  flex-direction: column;
  overflow-y: auto;
  padding: 8px 0 32px;
}
.nav-drawer.open { display: flex; }

.nav-drawer li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-drawer a {
  display: block;
  padding: 16px 28px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  font-weight: 500;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-drawer a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}
.nav-drawer-cta {
  padding: 24px 28px 0;
}
.nav-drawer-cta .btn {
  width: 100%;
  font-size: 16px;
  padding: 15px;
}
.nav-drawer-phone {
  padding: 16px 28px 0;
  color: rgba(255,255,255,0.50);
  font-size: 14px;
}
.nav-drawer-phone a {
  color: var(--color-white);
  font-weight: 700;
  font-size: 18px;
  display: block;
  margin-top: 4px;
}

/* ============================================================
   HERO — перший екран
   ============================================================ */

.hero {
  /* Фон hero: градієнт від --color-brand-navy до navy-mid */
  background: linear-gradient(
    135deg,
    var(--color-brand-navy) 0%,
    var(--color-brand-navy-mid) 55%,
    #1e5fa6 100%
  );
  color: var(--color-text-on-dark);
  padding: var(--section-py) 0 calc(var(--section-py) - 8px);
  position: relative;
  overflow: hidden;
}

/* Декоративні кола на фоні */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Помаранчеве свічення праворуч */
    radial-gradient(ellipse 640px 420px at 72% 50%, rgba(232,106,26,0.13) 0%, transparent 68%),
    /* Легкий відблиск ліворуч */
    radial-gradient(ellipse 380px 280px at 8% 85%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge "Офіційна гарантія" */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* Фон badge: напівпрозорий помаранчевий */
  background: transparent;
  border: 1px solid #3B82F6;
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  /* Колір тексту badge: світло-помаранчевий */
  color: var(--color-brand-orange-light);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
/* Виділення міста в заголовку */
.hero h1 em {
  font-style: normal;
  color: var(--color-brand-orange-light);
}

.hero-sub {
  font-size: 16px;
  /* Колір підзаголовку hero: напівпрозорий білий */
  color: var(--color-text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-btns .btn {
  flex: 1;
  min-width: 170px;
}

/* Trust-рядок під кнопками */
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-on-dark-muted);
}
/* Колір іконок trust: світло-помаранчевий */
.trust-icon { color: var(--color-brand-orange-light); font-size: 18px; }

/* Права карта зі статистикою */
.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  /* Колір цифр статистики: світло-помаранчевий */
  color: var(--color-brand-orange-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin-top: 4px;
  line-height: 1.3;
}
.hero-timer {
  background: transparent;
  border: 1px solid #3B82F6;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-timer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  flex: 1;
  line-height: 1.45;
}
.hero-timer-badge {
  /* Фон badge таймера: помаранчевий */
  background: var(--color-brand-orange);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* Слот для фото майстра (якщо замінити карту) */
.hero-img-slot {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}
.hero-img-slot img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-slot i { font-size: 44px; color: rgba(255,255,255,0.18); }

/* ============================================================
   СЕКЦІЯ: ПОСЛУГИ
   ============================================================ */

.services {
  padding: var(--section-py) 0;
  /* Фон секції послуг: світло-сірий */
  background: var(--color-section-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.service-card {
  /* Фон картки послуги: білий */
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}
/* Декоративна лінія зверху при hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  /* Лінія: помаранчева */
  background: var(--color-brand-orange);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.service-card:hover {
  border-color: var(--color-brand-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  /* Фон іконки послуги: дуже світло-помаранчевий */
  background: var(--color-gray-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  /* Колір іконки: помаранчевий */
  color: var(--color-brand-orange);
  margin-bottom: 16px;
  overflow: hidden;
  transition: background var(--transition-base);
}
.service-card:hover .service-icon {
  background: #1E3A5F;
}
.service-icon img { width: 30px; height: 30px; object-fit: contain; }

.service-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}
.service-price {
  font-size: 13px;
  /* Колір ціни: помаранчевий */
  color: var(--color-brand-orange);
  font-weight: 700;
}
.service-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   СЕКЦІЯ: ПЕРЕВАГИ "ЧОМУ ОБИРАЮТЬ НАС"
   ============================================================ */

.why {
  padding: var(--section-py) 0;
  /* Фон: білий */
  background: var(--color-section-light);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-item {
  /* Фон картки переваги: дуже світло-сірий */
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  /* Ліва лінія: помаранчева */
  border-left: 3px solid var(--color-brand-orange);
  transition: box-shadow var(--transition-base);
}
.why-item:hover { box-shadow: var(--shadow-sm); }

.why-item-icon {
  font-size: 26px;
  /* Колір іконки переваги: помаранчевий */
  color: var(--color-brand-orange);
  margin-bottom: 12px;
  line-height: 1;
}
.why-item-icon img { width: 30px; height: 30px; object-fit: contain; }
.why-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 5px;
}
.why-item p {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Права колонка — великі числа */
.why-numbers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-number-item {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 20px 24px;
  /* Фон: темно-синій */
  background: var(--color-brand-navy);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}
/* Перший блок виділений помаранчевим */
.why-number-item:first-child {
  background: var(--color-brand-orange);
}
.why-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  min-width: 76px;
  letter-spacing: -1px;
}
.why-label {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.45;
}

/* ============================================================
   СЕКЦІЯ: ЯК МИ ПРАЦЮЄМО
   ============================================================ */

.how {
  padding: var(--section-py) 0;
  /* Фон: світло-сірий */
  background: var(--color-section-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

/* Лінія між кроками */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(10% + 22px);
  right: calc(10% + 22px);
  height: 2px;
  /* Колір лінії між кроками: сірий */
  background: var(--color-gray-200);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  /* Фон номера кроку: темно-синій */
  background: var(--color-brand-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 18px;
  /* Рамка щоб лінія не проходила крізь коло */
  border: 4px solid var(--color-section-alt);
  transition: background var(--transition-base), transform var(--transition-base);
}
/* Перший крок та hover: помаранчевий */
.step:first-child .step-num { background: var(--color-brand-orange); }
.step:hover .step-num {
  background: var(--color-brand-orange);
  transform: scale(1.08);
}
.step-num img { width: 26px; height: 26px; object-fit: contain; border-radius: 0; }

.step h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 6px;
}
.step p {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

/* ============================================================
   СЕКЦІЯ: ЦІНИ
   ============================================================ */

.prices {
  padding: var(--section-py) 0;
  /* Фон: білий */
  background: var(--color-section-light);
}

.prices-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.price-table-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead tr {
  /* Фон шапки таблиці: темно-синій */
  background: var(--color-brand-navy);
}
.price-table th {
  padding: 14px 18px;
  text-align: left;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 13px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-text-primary);
}
.price-table td:last-child {
  text-align: right;
  /* Колір ціни в таблиці: помаранчевий */
  color: var(--color-brand-orange);
  font-weight: 700;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td {
  /* Чергові рядки: дуже світлий фон */
  background: var(--color-gray-50);
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  /* Фон примітки: дуже світло-помаранчевий */
  background: transparent;
  border: 1px solid var(--color-brand-orange);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.price-note-icon {
  /* Колір іконки примітки: помаранчевий */
  color: var(--color-brand-orange);
  flex-shrink: 0;
  font-size: 17px;
  margin-top: 1px;
}

.prices-cta {
  /* Фон CTA блоку: дуже світлий */
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--color-gray-200);
}
.prices-cta-icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  /* Фон іконки: дуже світло-помаранчевий */
  background: transparent;
  border-color: var(--color-brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  /* Колір іконки: помаранчевий */
  color: var(--color-brand-orange);
  overflow: hidden;
}
.prices-cta-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.prices-cta h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.prices-cta p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.prices-cta .btn { width: 100%; }

/* ============================================================
   СЕКЦІЯ: ВІДГУКИ
   ============================================================ */

.reviews {
  padding: var(--section-py) 0;
  /* Фон відгуків: темно-синій */
  background: var(--color-section-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.review-card {
  /* Фон картки відгуку: напівпрозорий білий */
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: background var(--transition-base), transform var(--transition-base);
}
.review-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

.review-stars {
  /* Колір зірок: світло-помаранчевий */
  color: var(--color-brand-orange-light);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.review-text {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  /* Фон аватара: напівпрозорий білий */
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: rgba(255,255,255,0.50);
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
}
.review-city {
  font-size: 11px;
  color: rgba(255,255,255,0.42);
  margin-top: 1px;
}

/* ============================================================
   СЕКЦІЯ: FAQ
   ============================================================ */

.faq {
  padding: var(--section-py) 0;
  /* Фон: світло-сірий */
  background: var(--color-section-alt);
}

.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.faq-intro h2.section-title { margin-bottom: 14px; }
.faq-intro > p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.faq-item {
  /* Фон питання: білий */
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}
.faq-item.open {
  box-shadow: var(--shadow-sm);
  /* Рамка відкритого питання: помаранчева */
  border-color: var(--color-gray-200);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand-navy);
  cursor: pointer;
  gap: 14px;
  transition: color var(--transition-fast);
}
.faq-q:hover { color: var(--color-brand-orange); }
.faq-chevron {
  font-size: 18px;
  color: var(--color-gray-400);
  transition: transform 0.3s ease, color 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  /* Колір стрілки відкритого питання: помаранчева */
  color: var(--color-brand-orange);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--color-gray-100);
  padding-top: 14px;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   СЕКЦІЯ: ФОРМА ЗАЯВКИ (CTA)
   ============================================================ */

.cta-section {
  padding: var(--section-py) 0;
  /* Фон секції CTA: темно-синій градієнт */
  background: linear-gradient(135deg, var(--color-brand-navy) 0%, var(--color-brand-navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
/* Декоративне коло */
.cta-section::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: rgba(232,106,26,0.07);
  top: -200px; right: -100px;
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  color: var(--color-white);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-text > p {
  color: var(--color-text-on-dark-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.cta-bullets { display: flex; flex-direction: column; gap: 11px; }
.cta-bullet {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
/* Колір галочок у CTA: світло-помаранчевий */
.cta-bullet-icon { color: var(--color-brand-orange-light); font-size: 17px; flex-shrink: 0; }

/* ── Форма ──────────────────────────────────────────────────────────────────── */
.form-card {
  /* Фон картки форми: білий */
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-xl);
}
.form-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--color-brand-navy);
  margin-bottom: 4px;
}
.form-card > p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 22px;
}

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gray-600);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  /* Рамка інпуту: сірий */
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--color-white);
  outline: none;
}
.form-input:focus {
  /* Рамка активного інпуту: помаранчева */
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 0 3px rgba(232,106,26,0.12);
}
.form-input::placeholder { color: var(--color-gray-400); }
.form-textarea { min-height: 90px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 15px;
  /* Кнопка надсилання: помаранчева */
  background: var(--color-brand-orange);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--color-brand-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-gray-200)btn btn-primary;
}
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { opacity: 0.60; cursor: not-allowed; transform: none; }

.form-privacy {
  text-align: center;
  font-size: 11px;
  color: var(--color-gray-400);
  margin-top: 10px;
  line-height: 1.5;
}

/* Стани валідації */
.input-error { border-color: var(--color-error) !important; }
.error-msg {
  font-size: 11px;
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}

/* Успішне надсилання */
.form-success { text-align: center; padding: 24px 0; display: none; }
.form-success-icon { font-size: 52px; color: var(--color-success); margin-bottom: 12px; }
.form-success h4 { font-size: 20px; font-weight: 800; color: var(--color-brand-navy); margin-bottom: 8px; }
.form-success p { color: var(--color-text-secondary); font-size: 14px; line-height: 1.6; }

/* ============================================================
   СЕКЦІЯ: КОНТАКТИ
   ============================================================ */

.contacts {
  padding: var(--section-py) 0;
  /* Фон: білий */
  background: var(--color-section-light);
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contacts-list { display: flex; flex-direction: column; gap: 20px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon-wrap {
  width: 46px; height: 46px;
  /* Фон іконки контакту: дуже світло-помаранчевий */
  background: var(--color-gray-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  /* Колір іконки: помаранчевий */
  color: var(--color-brand-orange);
  flex-shrink: 0;
  overflow: hidden;
  transition: background var(--transition-fast);
}
.contact-item:hover .contact-icon-wrap {
  background: #1E3A5F;
}
.contact-icon-wrap img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }

.contact-label {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-bottom: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand-navy);
}
.contact-value a { color: inherit; transition: color var(--transition-fast); }
.contact-value a:hover { color: var(--color-brand-orange); }

.map-placeholder {
  /* Фон плейсхолдера мапи: дуже світлий */
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-gray-200);
  border-style: dashed;
}
.map-placeholder .map-icon {
  font-size: 40px;
  color: var(--color-gray-300);
}
.map-placeholder small {
  font-size: 12px;
  color: var(--color-gray-400);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  /* Фон футера: дуже темний синій */
  background: var(--color-brand-navy-deep);
  color: rgba(255,255,255,0.48);
  position: relative;
  z-index: 1;
}

.footer-main {
  padding: 52px 0 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  display: block;
}
/* Кольорова частина лого у футері */
.footer-brand .logo span { color: var(--color-brand-orange); }
.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  max-width: 240px;
}

.footer h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--color-white); }

/* Іконки соцмереж */
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  /* Фон іконки соцмережі: напівпрозорий білий */
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-base);
}
.footer-social:hover {
  /* Hover стан іконки: помаранчевий фон */
  background: var(--color-brand-orange);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
}

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */

.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  /* Фон sticky bar: темно-синій */
  background: var(--color-brand-navy);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
  z-index: 200;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.32);
}

.sticky-btn {
  flex: 1;
  padding: 13px 10px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}
/* Кнопка "Зателефонувати": помаранчева */
.sticky-btn-call {
  background: var(--color-brand-orange);
  color: var(--color-white);
}
.sticky-btn-call:hover { background: var(--color-brand-orange-dark); }

/* Кнопка "Залишити заявку": напівпрозора */
.sticky-btn-msg {
  background: rgba(255,255,255,0.11);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.20);
}
.sticky-btn-msg:hover { background: rgba(255,255,255,0.18); }

/* ============================================================
   TOAST — сповіщення
   ============================================================ */

.toast {
  position: fixed;
  top: 80px; right: 16px;
  /* Фон toast: темно-синій */
  background: var(--color-brand-navy);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateX(130%);
  transition: transform 0.36s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 999;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { transform: translateX(0); }
/* Бокова смужка: зелена / червона */
.toast.success { border-left: 4px solid var(--color-success); }
.toast.error   { border-left: 4px solid var(--color-error); }

/* ============================================================
   SPINNER
   ============================================================ */

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.30);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SCROLL REVEAL (базові стилі, JS додає решту)
   ============================================================ */

.service-card,
.why-item,
.review-card,
.step {
  will-change: opacity, transform;
}

/* ============================================================
   RESPONSIVE — TABLET 900px
   ============================================================ */
@media (max-width: 900px) {

  :root { --section-py: 56px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-right .nav-phone-link { display: none; }
  .nav-right .nav-cta { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-btns .btn { flex: 1 1 calc(50% - 6px); padding: 12px 16px; }
  .hero-trust { gap: 14px; }

  /* Why */
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .why-numbers { flex-direction: row; flex-wrap: wrap; }
  .why-number-item { flex: 1 1 calc(50% - 7px); }
  .why-num { font-size: 32px; min-width: 60px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .step {
    text-align: left;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-gray-200);
  }
  .step:last-child { border-bottom: none; }
  .step-num { margin: 0; flex-shrink: 0; width: 46px; height: 46px; border-color: var(--color-section-alt); }

  /* Prices */
  .prices-inner { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 30px 24px; }

  /* Contacts */
  .contacts-inner { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Sticky bar */
  .sticky-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* ============================================================
   RESPONSIVE — MOBILE 600px
   ============================================================ */
@media (max-width: 600px) {

  :root { --section-py: 44px; }

  .container { padding: 0 16px; }

  /* Announce */
  .announce-bar { font-size: 12px; padding: 8px 14px; }

  /* Nav */
  .nav { height: 58px; }
  .nav-logo { font-size: 16px; }
  .nav-drawer { top: 58px; }

  /* Hero */
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 23px; letter-spacing: -0.2px; }
  .hero-sub { font-size: 14px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .hero-trust { gap: 12px; }
  .trust-item { font-size: 12px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { padding: 16px 14px; }
  .service-icon { width: 42px; height: 42px; font-size: 19px; margin-bottom: 12px; }
  .service-name { font-size: 13px; }
  .service-desc { display: none; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-numbers { flex-direction: column; }
  .why-number-item { flex: none; }
  .why-num { font-size: 36px; }

  /* Prices */
  .price-table td, .price-table th { padding: 10px 12px; font-size: 12px; }
  .prices-cta { padding: 24px 20px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q { font-size: 13px; padding: 16px; }
  .faq-a-inner { padding: 0 16px 16px; padding-top: 12px; }

  /* Form */
  .form-card { padding: 24px 18px; border-radius: var(--radius-lg); }
  .cta-text h2 { font-size: 21px; }

  /* Contacts */
  .contact-value { font-size: 14px; }
  .map-placeholder { height: 220px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }

  /* Sticky */
  .sticky-btn { font-size: 13px; padding: 12px 8px; }
}

/* ============================================================
   RESPONSIVE — SMALL 380px
   ============================================================ */
@media (max-width: 380px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 20px; }
  .hero-btns .btn { font-size: 14px; padding: 12px 16px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
