/* =========================================================================
   ТехноВиїзд — виїзний ремонт ноутбуків, ПК і телевізорів (Київ)
   styles.css — єдиний файл стилів
   Структура:
     01. Токени і скидання
     02. Типографіка та утиліти
     03. Кнопки, бейджі, чіпи
     04. Хедер і навігація
     05. Герой
     06. Форма заявки
     07. Смуга довіри / лічильники
     08. Кроки роботи
     09. Картки послуг
     10. Бігучий рядок брендів
     11. Ціни (таби + таблиці)
     12. Симптоми несправностей
     13. Переваги
     14. Відгуки (шаблон)
     15. FAQ
     16. Зона виїзду
     17. CTA-банер
     18. Контакти
     19. Футер
     20. Підсторінки
     21. Анімації
     22. Адаптив
   ========================================================================= */

/* ============================ 01. ТОКЕНИ ================================ */
:root {
  /* Кольори */
  --ink-900: #050A16;
  --ink-800: #0A1121;
  --ink-700: #111A2E;
  --ink-600: #1A2740;
  --ink-500: #2B3A57;

  --c-text: #0C1526;
  --c-text-2: #4E5C77;
  --c-text-3: #7A879E;
  --c-line: #E4EAF4;
  --c-line-2: #EEF2F9;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F8FD;
  --c-bg-soft-2: #EEF3FB;

  --brand: #1E5EFF;
  --brand-600: #1247D6;
  --brand-700: #0B33A8;
  --brand-100: #E7EEFF;
  --cyan: #12C7E8;
  --cyan-100: #E1F8FD;
  --accent: #FF7A29;
  --accent-600: #E8620F;
  --accent-100: #FFF0E6;
  --ok: #12B76A;
  --ok-100: #E4F8EE;
  --warn: #F5A524;

  /* Градієнти */
  --grad-brand: linear-gradient(135deg, #1E5EFF 0%, #12C7E8 100%);
  --grad-accent: linear-gradient(135deg, #FF9147 0%, #FF6A16 100%);
  --grad-dark: linear-gradient(165deg, #0A1121 0%, #101B33 55%, #0A1121 100%);
  --grad-text: linear-gradient(100deg, #FFFFFF 0%, #BFD4FF 45%, #7FE9FF 100%);

  /* Тіні */
  --sh-xs: 0 1px 2px rgba(12, 21, 38, .06);
  --sh-sm: 0 2px 8px rgba(12, 21, 38, .06), 0 1px 2px rgba(12, 21, 38, .04);
  --sh-md: 0 12px 28px -10px rgba(14, 30, 62, .16), 0 4px 10px -4px rgba(14, 30, 62, .08);
  --sh-lg: 0 30px 60px -22px rgba(11, 27, 60, .28), 0 10px 24px -14px rgba(11, 27, 60, .16);
  --sh-brand: 0 14px 30px -12px rgba(30, 94, 255, .55);
  --sh-accent: 0 14px 30px -12px rgba(255, 106, 22, .5);

  /* Геометрія */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --maxw: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 7.5vw, 104px);

  /* Типографіка */
  --f-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .68, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

::selection { background: var(--brand); color: #fff; }

/* Скролбар */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--c-bg-soft); }
::-webkit-scrollbar-thumb { background: #C7D2E6; border-radius: 99px; border: 3px solid var(--c-bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #A9B8D4; }

/* Індикатор прогресу читання */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: var(--grad-brand);
  z-index: 1200;
  transition: width .1s linear;
}

/* ====================== 02. ТИПОГРАФІКА / УТИЛІТИ ======================= */
h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--c-text);
}

h1 { font-size: clamp(2.05rem, 1.15rem + 3.6vw, 3.85rem); }
h2 { font-size: clamp(1.65rem, 1.05rem + 2.3vw, 2.75rem); }
h3 { font-size: clamp(1.18rem, 1rem + .75vw, 1.5rem); line-height: 1.24; }
h4 { font-size: 1.06rem; line-height: 1.35; font-weight: 700; }

p { color: var(--c-text-2); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 900px; }

.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--ink-800); color: #EAF0FB; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #A9B8D4; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.03rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.section--dark .eyebrow { color: var(--cyan); }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--dark .grad-text,
.hero .grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); color: var(--c-text-2); }
.muted { color: var(--c-text-3); font-size: .9rem; }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ==================== 03. КНОПКИ / БЕЙДЖІ / ЧІПИ ======================== */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .32) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:focus-visible { outline: 3px solid rgba(30, 94, 255, .45); outline-offset: 3px; }

.btn--primary { background: var(--grad-brand); box-shadow: var(--sh-brand); }
.btn--primary:hover { box-shadow: 0 18px 38px -14px rgba(30, 94, 255, .7); }

.btn--accent { background: var(--grad-accent); box-shadow: var(--sh-accent); }
.btn--accent:hover { box-shadow: 0 18px 38px -14px rgba(255, 106, 22, .68); }

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }

.btn--light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
}
.btn--light:hover { background: rgba(255, 255, 255, .18); }

.btn--lg { padding: 17px 34px; font-size: 1.03rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: .79rem;
  font-weight: 700;
  font-family: var(--f-head);
  letter-spacing: -.005em;
  background: var(--brand-100);
  color: var(--brand-600);
}
.badge--ok { background: var(--ok-100); color: #068950; }
.badge--accent { background: var(--accent-100); color: var(--accent-600); }
.badge--cyan { background: var(--cyan-100); color: #0A87A0; }
.badge--dark { background: rgba(255, 255, 255, .1); color: #DCE6FA; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  font-size: .87rem;
  font-weight: 600;
  color: #D9E4F8;
  backdrop-filter: blur(10px);
}
.chip svg { width: 17px; height: 17px; color: var(--cyan); flex: none; }

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .93rem;
  color: var(--brand);
}
.pill-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pill-link:hover svg { transform: translateX(4px); }

/* ======================= 04. ХЕДЕР / НАВІГАЦІЯ ========================== */
.topbar {
  background: var(--ink-900);
  color: #A9B8D4;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; color: var(--cyan); }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; color: #9FF0C4; font-weight: 600; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2BE08C;
  box-shadow: 0 0 0 0 rgba(43, 224, 140, .7);
  animation: pulseDot 2.2s infinite;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 26px -18px rgba(11, 27, 60, .5);
}
.header__inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  min-height: 74px;
  transition: min-height .3s var(--ease);
}
.header.is-stuck .header__inner { min-height: 64px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-brand);
  transition: transform .4s var(--ease-out);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__mark svg { width: 23px; height: 23px; color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.08; }
.logo__name { font-family: var(--f-head); font-weight: 800; font-size: 1.16rem; letter-spacing: -.03em; }
.logo__name span { color: var(--brand); }
.logo__tag { font-size: .68rem; color: var(--c-text-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

.nav { margin-left: auto; flex: 0 0 auto; }
.nav__list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav__link {
  position: relative;
  display: block;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 600;
  color: var(--c-text-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--brand); background: var(--brand-100); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.header__phone:hover { color: var(--brand); }
.header__phone-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand);
  flex: none;
}
.header__phone-ico svg { width: 17px; height: 17px; animation: ring 3.5s var(--ease) infinite; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-bg-soft);
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  position: relative;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--c-text); border-radius: 2px;
  transition: transform .3s var(--ease), top .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  overflow: hidden;
  background: rgba(5, 10, 22, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  background: #fff;
  padding: 26px var(--gutter) 34px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .42s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--c-bg-soft); display: grid; place-items: center; }
.mobile-menu__close svg { width: 18px; height: 18px; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px;
  border-radius: var(--r-sm);
  font-family: var(--f-head); font-weight: 700; font-size: 1.03rem;
  transition: background-color .2s var(--ease);
}
.mobile-menu__list a:hover { background: var(--c-bg-soft); }
.mobile-menu__list svg { width: 15px; height: 15px; color: var(--c-text-3); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* Липкий мобільний CTA-бар */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: none;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  transition: transform .4s var(--ease-out);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding-inline: 12px; }

/* ============================= 05. ГЕРОЙ ================================ */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: #E9F0FC;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 92px) clamp(64px, 9vw, 120px);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(120, 160, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 72%);
  animation: gridDrift 26s linear infinite;
}
.orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .5; }
.orb--1 { width: 480px; height: 480px; background: #1E5EFF; top: -140px; left: -110px; animation: float1 17s ease-in-out infinite; }
.orb--2 { width: 420px; height: 420px; background: #12C7E8; top: 6%; right: -120px; opacity: .34; animation: float2 21s ease-in-out infinite; }
.orb--3 { width: 340px; height: 340px; background: #FF7A29; bottom: -160px; left: 38%; opacity: .2; animation: float3 25s ease-in-out infinite; }
.hero__noise {
  position: absolute; inset: 0; z-index: -1; opacity: .45; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0);
  background-size: 3px 3px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .84rem; font-weight: 600; color: #D6E3FA;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}
.hero__badge b {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--grad-accent); color: #fff; font-size: .76rem; font-weight: 800;
  font-family: var(--f-head);
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; }
.hero__sub {
  font-size: clamp(1rem, .94rem + .35vw, 1.14rem);
  color: #A9BDDF;
  max-width: 58ch;
  margin-bottom: 26px;
}
.hero__sub b { color: #fff; font-weight: 600; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { display: flex; align-items: center; gap: 9px; font-size: .87rem; color: #90A4C9; margin-top: 22px; }
.hero__note svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.stat__num {
  font-family: var(--f-head);
  font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.05;
  display: flex; align-items: baseline; gap: 2px;
  white-space: nowrap;
}
.stat__num i { font-style: normal; color: var(--cyan); }
.stat__label { font-size: .82rem; color: #8FA4C9; margin-top: 5px; line-height: 1.4; }

/* ========================= 06. ФОРМА ЗАЯВКИ ============================= */
.lead-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  color: var(--c-text);
}
/* градієнтна рамка: малюється маскою поверх картки, тому білий фон лишається білим */
.lead-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--r-xl) + 1.5px);
  padding: 1.5px;
  background: linear-gradient(140deg, #1E5EFF, #12C7E8 55%, #FF9147);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.lead-card__head { margin-bottom: 20px; }
.lead-card__head h3 { margin-bottom: 7px; font-size: 1.32rem; }
.lead-card__head p { font-size: .9rem; }

.form-grid { display: grid; gap: 14px; }
.field { position: relative; }
.field__label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: 6px;
}
.field__label i { color: var(--accent); font-style: normal; }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg-soft);
  font-size: .96rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9AA7BF; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 94, 255, .12);
}
.textarea { resize: vertical; min-height: 84px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5C77' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field.has-error .input, .field.has-error .select { border-color: #EF4444; background: #FEF2F2; }
.field__error {
  display: none;
  font-size: .78rem;
  color: #DC2626;
  margin-top: 5px;
  font-weight: 600;
}
.field.has-error .field__error { display: block; animation: shakeIn .35s var(--ease); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--c-text-3); line-height: 1.5; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.form-success {
  display: none;
  text-align: center;
  padding: 22px 6px;
}
.form-success.is-visible { display: block; animation: popIn .5s var(--ease-out); }
.form-success__ico {
  width: 66px; height: 66px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ok-100);
  color: var(--ok);
  display: grid; place-items: center;
}
.form-success__ico svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 8px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--c-line);
  font-size: .78rem; color: var(--c-text-3);
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 14px; height: 14px; color: var(--ok); }

/* ==================== 07. СМУГА ДОВІРИ / ЛІЧИЛЬНИКИ ==================== */
.usp-strip {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.usp-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border-inline: 1px solid var(--c-line);
}
.usp {
  background: #fff;
  padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2vw, 26px);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: background-color .3s var(--ease);
}
.usp:hover { background: var(--c-bg-soft); }
.usp__ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand);
  transition: transform .4s var(--ease-out);
}
.usp:hover .usp__ico { transform: translateY(-3px) rotate(-6deg); }
.usp:nth-child(2) .usp__ico { background: var(--cyan-100); color: #0A87A0; }
.usp:nth-child(3) .usp__ico { background: var(--accent-100); color: var(--accent-600); }
.usp:nth-child(4) .usp__ico { background: var(--ok-100); color: #068950; }
.usp__ico svg { width: 22px; height: 22px; }
.usp h4 { margin-bottom: 4px; font-size: 1rem; }
.usp p { font-size: .855rem; line-height: 1.5; }

/* ========================== 08. КРОКИ РОБОТИ ============================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 7px, transparent 7px 15px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid; place-items: center;
  background: #fff;
  border: 1.5px solid var(--c-line);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand);
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .3s;
  position: relative;
}
.step__num::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 27px;
  border: 1.5px dashed rgba(30, 94, 255, .3);
  opacity: 0;
  transition: opacity .3s var(--ease);
  animation: spinSlow 14s linear infinite;
}
.step:hover .step__num { transform: translateY(-5px); box-shadow: var(--sh-brand); background: var(--grad-brand); color: #fff; border-color: transparent; }
.step:hover .step__num::after { opacity: 1; }
.step h4 { margin-bottom: 8px; font-size: 1.06rem; }
.step p { font-size: .89rem; }
.step__time {
  display: inline-block;
  margin-top: 10px;
  font-size: .76rem;
  font-weight: 700;
  font-family: var(--f-head);
  color: var(--accent-600);
  background: var(--accent-100);
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

/* ========================= 09. КАРТКИ ПОСЛУГ ============================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .3s;
}
.svc::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.svc:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); }
.svc:hover::before { opacity: 1; }

.svc__visual {
  position: relative;
  height: 194px;
  background: linear-gradient(160deg, #EEF4FF 0%, #E4EEFC 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-2);
}
.svc__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(18, 199, 232, .22), transparent 55%);
}
.svc:nth-child(2) .svc__visual { background: linear-gradient(160deg, #F0FBFE 0%, #E2F3FA 100%); }
.svc:nth-child(3) .svc__visual { background: linear-gradient(160deg, #FFF5EE 0%, #FDEBE0 100%); }
.svc__art { width: 168px; height: auto; position: relative; z-index: 1; transition: transform .55s var(--ease-out); }
.svc:hover .svc__art { transform: scale(1.06) translateY(-4px); }

.svc__price-tag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: .84rem;
  color: var(--c-text);
  box-shadow: var(--sh-sm);
}
.svc__price-tag small { color: var(--c-text-3); font-weight: 600; }

.svc__body { padding: clamp(20px, 2.4vw, 26px); display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { margin-bottom: 10px; }
.svc__body > p { font-size: .92rem; margin-bottom: 16px; }
.svc__list { display: grid; gap: 9px; margin-bottom: 20px; }
.svc__list li { display: flex; gap: 9px; font-size: .88rem; color: var(--c-text-2); line-height: 1.45; }
.svc__list svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 2px; }
.svc__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
}
.svc__from { font-size: .8rem; color: var(--c-text-3); }
.svc__from b { display: block; font-family: var(--f-head); font-size: 1.14rem; color: var(--c-text); }

/* ===================== 10. БІГУЧИЙ РЯДОК БРЕНДІВ ======================== */
.marquee {
  overflow: hidden;
  padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px); }
.marquee__item {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.05rem, .85rem + .7vw, 1.5rem);
  letter-spacing: -.02em;
  color: #97A6C0;
  white-space: nowrap;
  transition: color .3s var(--ease), transform .3s var(--ease);
  opacity: .85;
}
.marquee__item:hover { color: var(--brand); transform: scale(1.05); }
.section--dark .marquee__item { color: #5D6E8E; }
.section--dark .marquee__item:hover { color: var(--cyan); }

/* ============================ 11. ЦІНИ ================================= */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--f-head); font-weight: 700; font-size: .95rem;
  color: var(--c-text-2);
  background: #fff;
  border: 1.5px solid var(--c-line);
  transition: all .3s var(--ease);
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-brand);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .45s var(--ease-out); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  font-size: .93rem;
}
.price-table thead th {
  background: var(--ink-800);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: left;
  padding: 15px 20px;
  white-space: nowrap;
}
.price-table thead th:last-child, .price-table td:last-child { text-align: right; }
.price-table tbody tr { border-top: 1px solid var(--c-line-2); transition: background-color .2s var(--ease); }
.price-table tbody tr:hover { background: var(--brand-100); }
.price-table td { padding: 14px 20px; vertical-align: top; }
.price-table td:first-child { font-weight: 600; color: var(--c-text); }
.price-table td small { display: block; color: var(--c-text-3); font-size: .8rem; font-weight: 400; margin-top: 2px; }
.price-table .price {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--brand);
  white-space: nowrap;
}
.price-table .price small { display: inline; color: var(--c-text-3); font-weight: 600; font-size: .78rem; }
.price-table .term { color: var(--c-text-2); white-space: nowrap; font-size: .88rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }

.price-note {
  display: flex; gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--accent-100);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
  font-size: .87rem;
  color: #7A4415;
  line-height: 1.55;
}
.price-note svg { width: 19px; height: 19px; color: var(--accent-600); flex: none; margin-top: 2px; }
.price-note b { color: #5C3210; }

/* ========================== 12. СИМПТОМИ =============================== */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 14px;
}
.symptom {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), border-color .3s;
}
.symptom:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(30, 94, 255, .35); }
.symptom__ico {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  background: var(--c-bg-soft-2);
  color: var(--brand);
  display: grid; place-items: center;
}
.symptom__ico svg { width: 19px; height: 19px; }
.symptom b { display: block; font-family: var(--f-head); font-size: .95rem; margin-bottom: 3px; }
.symptom span { font-size: .82rem; color: var(--c-text-3); line-height: 1.45; }

/* ========================== 13. ПЕРЕВАГИ =============================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.why {
  position: relative;
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  overflow: hidden;
  transition: transform .45s var(--ease-out), background-color .35s var(--ease), border-color .35s;
}
.why::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  top: -120px; right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 94, 255, .38), transparent 68%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.why:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); border-color: rgba(120, 170, 255, .3); }
.why:hover::after { opacity: 1; }
.why__ico {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(30, 94, 255, .18);
  color: #7EB6FF;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.why__ico svg { width: 25px; height: 25px; }
.why h3 { font-size: 1.14rem; margin-bottom: 10px; position: relative; z-index: 1; }
.why p { font-size: .9rem; position: relative; z-index: 1; }

/* ====================== 14. ВІДГУКИ (ШАБЛОН) =========================== */
.tpl-note {
  display: flex; gap: 11px; align-items: flex-start;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 13px 16px;
  border: 1.5px dashed var(--warn);
  border-radius: var(--r-md);
  background: #FFFBF0;
  font-size: .84rem;
  color: #7A5510;
  line-height: 1.5;
}
.tpl-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82em;
  background: rgba(0, 0, 0, .06);
  padding: 1px 5px;
  border-radius: 5px;
}
.tpl-note svg { width: 18px; height: 18px; color: var(--warn); flex: none; margin-top: 2px; }

.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.rev {
  position: relative;
  padding: clamp(22px, 2.6vw, 28px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.rev:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.rev__stars { display: flex; gap: 3px; margin-bottom: 14px; color: #FFB020; }
.rev__stars svg { width: 17px; height: 17px; }
.rev__text { font-size: .93rem; color: var(--c-text-2); margin-bottom: 18px; min-height: 84px; }
.rev__author { display: flex; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid var(--c-line-2); }
.rev__ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-bg-soft-2);
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 800; color: var(--c-text-3);
  flex: none;
}
.rev__author b { display: block; font-family: var(--f-head); font-size: .93rem; }
.rev__author span { font-size: .79rem; color: var(--c-text-3); }

/* ============================= 15. FAQ ================================= */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item.is-open { border-color: rgba(30, 94, 255, .4); box-shadow: var(--sh-md); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.01rem;
  line-height: 1.35;
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--brand); }
.faq__ico {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--c-bg-soft-2);
  display: grid; place-items: center;
  color: var(--brand);
  transition: transform .35s var(--ease), background-color .3s;
}
.faq__ico svg { width: 15px; height: 15px; }
.faq__item.is-open .faq__ico { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 20px; font-size: .93rem; }
.faq__a p + p { padding-top: 0; }

/* ========================= 16. ЗОНА ВИЇЗДУ ============================= */
.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.zone__map {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #EDF3FF, #E1EBFB);
  border: 1px solid var(--c-line);
  padding: 22px;
}
.zone__districts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.zone__districts li {
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: .84rem;
  font-weight: 600;
  color: var(--c-text-2);
  transition: all .25s var(--ease);
}
.zone__districts li:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.zone__cities { display: grid; gap: 10px; margin-top: 24px; }
.zone__cities li { display: flex; gap: 10px; font-size: .92rem; color: var(--c-text-2); }
.zone__cities svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }

/* ========================== 17. CTA-БАНЕР ============================== */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-dark);
  padding: clamp(32px, 4.5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 32px;
  align-items: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 12% 20%, rgba(30, 94, 255, .5), transparent 46%),
    radial-gradient(circle at 88% 78%, rgba(18, 199, 232, .38), transparent 48%);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridDrift 30s linear infinite;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #A9BDDF; max-width: 56ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }

/* ========================== 18. КОНТАКТИ =============================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
}
.contact__list { display: grid; gap: 14px; margin-top: 26px; }
.contact__item {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
.contact__item:hover { transform: translateX(4px); box-shadow: var(--sh-md); }
.contact__ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand);
  display: grid; place-items: center;
}
.contact__ico svg { width: 21px; height: 21px; }
.contact__item b { display: block; font-family: var(--f-head); font-size: .84rem; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact__item a, .contact__item span { font-size: 1.02rem; font-weight: 600; color: var(--c-text); }
.contact__item a:hover { color: var(--brand); }
.contact__item p { font-size: .86rem; margin-top: 3px; }

.messengers { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.msg-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-family: var(--f-head);
  font-size: .9rem;
  color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.msg-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.msg-btn svg { width: 18px; height: 18px; }
.msg-btn--tg { background: #2AABEE; }
.msg-btn--vb { background: #7360F2; }
.msg-btn--wa { background: #25D366; }

/* =========================== 19. ФУТЕР ================================= */
.footer { background: var(--ink-900); color: #8FA1C0; padding-block: clamp(46px, 6vw, 72px) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 3vw, 44px);
  padding-bottom: 40px;
}
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: -.01em; }
.footer p { font-size: .88rem; color: #8FA1C0; }
.footer__links { display: grid; gap: 9px; }
.footer__links a { font-size: .89rem; color: #8FA1C0; transition: color .2s var(--ease), transform .2s var(--ease); display: inline-block; }
.footer__links a:hover { color: var(--cyan); transform: translateX(3px); }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: #6D7F9E; }
.footer__contacts { display: grid; gap: 11px; margin-top: 4px; }
.footer__contacts a, .footer__contacts span { display: flex; gap: 10px; align-items: flex-start; font-size: .89rem; color: #B6C6E0; }
.footer__contacts svg { width: 16px; height: 16px; color: var(--cyan); flex: none; margin-top: 3px; }
.footer__contacts a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .81rem;
  color: #6D7F9E;
}
.footer__bottom a { color: #8FA1C0; }
.footer__bottom a:hover { color: var(--cyan); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ========================= 20. ПІДСТОРІНКИ ============================= */
.subhero {
  position: relative;
  background: var(--grad-dark);
  color: #E9F0FC;
  padding-block: clamp(38px, 5vw, 62px) clamp(46px, 6vw, 76px);
  overflow: hidden;
  isolation: isolate;
}
.subhero__bg { position: absolute; inset: 0; z-index: -1; }
.subhero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.subhero h1 { color: #fff; margin-bottom: 16px; }
.subhero p { color: #A9BDDF; max-width: 60ch; }
.subhero__art { display: grid; place-items: center; }
.subhero__art svg { width: min(100%, 340px); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .4)); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: #7E92B6; margin-bottom: 20px; }
.crumbs a { color: #A9BDDF; }
.crumbs a:hover { color: var(--cyan); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 42px; margin-bottom: 4px; }
.prose h3 { margin-top: 30px; margin-bottom: 2px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p { font-size: 1rem; }
.prose ul { display: grid; gap: 11px; }
.prose ul li { display: flex; gap: 11px; font-size: .96rem; color: var(--c-text-2); line-height: 1.6; }
.prose ul li::before {
  content: "";
  width: 7px; height: 7px; margin-top: 10px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex: none;
}
.prose ol { counter-reset: n; display: grid; gap: 13px; }
.prose ol li { counter-increment: n; display: flex; gap: 13px; font-size: .96rem; color: var(--c-text-2); line-height: 1.6; }
.prose ol li::before {
  content: counter(n);
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand);
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 800; font-size: .82rem;
}
.prose strong { color: var(--c-text); font-weight: 700; }
.callout {
  display: flex; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--brand);
  font-size: .93rem;
  color: var(--c-text-2);
}
.callout svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.callout b { color: var(--c-text); }

.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.side-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
.side-card--dark { background: var(--grad-dark); border-color: transparent; color: #E9F0FC; }
.side-card--dark h4 { color: #fff; }
.side-card--dark p { color: #A9BDDF; }
.side-card h4 { margin-bottom: 12px; font-size: 1.08rem; }
.side-card p { font-size: .88rem; margin-bottom: 16px; }
.side-list { display: grid; gap: 11px; }
.side-list li { display: flex; gap: 10px; font-size: .87rem; color: var(--c-text-2); }
.side-list svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }
.side-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.side-price b { font-family: var(--f-head); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.side-price span { font-size: .84rem; color: var(--c-text-3); }

/* =========================== 21. АНІМАЦІЇ ============================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(.94); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.9); } 60% { transform: scale(1.02); } 100% { opacity: 1; transform: scale(1); } }
@keyframes shakeIn { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 54px 54px; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(43, 224, 140, .65); }
  70% { box-shadow: 0 0 0 8px rgba(43, 224, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 224, 140, 0); }
}
@keyframes ring {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-14deg); }
  70% { transform: rotate(12deg); }
  74% { transform: rotate(-10deg); }
  78% { transform: rotate(8deg); }
  82% { transform: rotate(-5deg); }
  86% { transform: rotate(0); }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 44px) scale(1.09); }
  66% { transform: translate(-32px, 70px) scale(.95); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-72px, 58px) scale(1.14); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(70px, -48px) scale(1.1); }
  75% { transform: translate(-46px, -22px) scale(.94); }
}
/* Анімовані SVG-ілюстрації */
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .85; } 88% { opacity: .85; } 100% { transform: translateY(78px); opacity: 0; } }
@keyframes blink { 0%, 45%, 100% { opacity: .25; } 50%, 95% { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
.anim-scan { animation: scan 3.4s var(--ease) infinite; }
.anim-blink { animation: blink 2.2s steps(1) infinite; }
.anim-blink-2 { animation: blink 2.8s steps(1) .4s infinite; }
.anim-bob { animation: bob 4.5s ease-in-out infinite; }
.anim-spin-slow { transform-origin: center; animation: spinSlow 9s linear infinite; }
.anim-draw { stroke-dasharray: 300; stroke-dashoffset: 300; animation: dash 2.6s var(--ease-out) forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================== 22. АДАПТИВ =============================== */
/* компактний хедер на середніх екранах, поки меню ще горизонтальне */
@media (min-width: 1121px) and (max-width: 1520px) {
  .nav__link { padding: 9px 9px; font-size: .89rem; }
  .header__inner { gap: 10px; }
  .header__phone { font-size: .93rem; gap: 8px; }
  .header__phone-ico { width: 32px; height: 32px; }
  .header__actions { gap: 8px; }
  .header__actions .btn { padding-inline: 16px; font-size: .86rem; }
  .logo__tag { display: none; }
  .logo__mark { width: 38px; height: 38px; border-radius: 11px; }
}

@media (max-width: 1120px) {
  .hero__inner { grid-template-columns: 1fr; }
  .lead-card { max-width: 560px; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1120px) {
  /* горизонтальні появи замінюємо вертикальними, щоб не було бокового скролу */
  .reveal--left, .reveal--right { transform: translateY(26px); }
  .nav { display: none; }
  .burger { display: grid; }
  .header__phone .header__phone-txt { display: none; }
  .usp-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .why-grid, .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .zone, .contact, .subhero__inner { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__list li:nth-child(n+3) { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .svc-grid, .why-grid, .rev-grid, .sidebar { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .price-table { font-size: .88rem; }
  .price-table td, .price-table thead th { padding: 12px 14px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; white-space: normal; }
  .cta-band__actions { min-width: 0; }
  .messengers .msg-btn { flex: 1; justify-content: center; }
}

@media (max-width: 640px) {
  /* у хедері лишаємо тільки лого, іконку телефону і бургер — CTA дублює липка панель знизу */
  .header__actions .btn { display: none; }
  .logo__tag { display: none; }
  .header__phone { gap: 0; }
  .header__inner { gap: 10px; }
  .topbar__inner { min-height: 34px; font-size: .78rem; }
  .topbar__status { display: none; }
}

@media (max-width: 520px) {
  .usp-strip__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; }
  .tab { justify-content: center; }
}

/* Друк */
@media print {
  .header, .topbar, .mobile-cta, .cta-band, .hero__bg { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; }
}

/* =================== 23. ВІДЖЕТ ЗВОРОТНОГО ДЗВІНКА ===================== */
/* Плаваюча кнопка */
.cb-fab {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 62px;
  padding: 0;
  border-radius: var(--r-pill);
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(255, 106, 22, .7), 0 4px 10px rgba(0, 0, 0, .12);
  overflow: hidden;
  transform: translateY(24px) scale(.85);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease-out), opacity .35s var(--ease), visibility .35s, box-shadow .3s var(--ease);
}
.cb-fab.is-ready { transform: none; opacity: 1; visibility: visible; }
.cb-fab:hover { box-shadow: 0 20px 42px -12px rgba(255, 106, 22, .85); }
.cb-fab:focus-visible { outline: 3px solid rgba(255, 122, 41, .5); outline-offset: 4px; }

.cb-fab__ico {
  width: 62px; height: 62px; flex: none;
  display: grid; place-items: center;
  position: relative;
}
.cb-fab__ico svg { width: 25px; height: 25px; animation: ring 3.5s var(--ease) infinite; }
.cb-fab__ico::before,
.cb-fab__ico::after {
  content: "";
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  animation: cbPulse 2.6s var(--ease-out) infinite;
}
.cb-fab__ico::after { animation-delay: 1.3s; }

.cb-fab__label {
  max-width: 0;
  white-space: nowrap;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .95rem;
  overflow: hidden;
  transition: max-width .45s var(--ease-out), padding-right .45s var(--ease-out);
}
.cb-fab:hover .cb-fab__label,
.cb-fab.is-teasing .cb-fab__label { max-width: 220px; padding-right: 24px; }

/* Маленький «дзвіночок» з лічильником непрочитаного */
.cb-fab__dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-600);
  font-size: 9px; font-weight: 800;
  display: grid; place-items: center;
  font-family: var(--f-head);
}

@keyframes cbPulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Оверлей */
.cb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 10, 22, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.cb-overlay.is-open { opacity: 1; visibility: visible; }

/* Вікно */
.cb-modal {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 30px 28px 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  transform: translateY(22px) scale(.96);
  transition: transform .42s var(--ease-out);
}
.cb-overlay.is-open .cb-modal { transform: none; }
.cb-modal::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--r-xl) + 1.5px);
  padding: 1.5px;
  background: linear-gradient(140deg, #FF9147, #FF6A16 45%, #1E5EFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cb-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-bg-soft);
  color: var(--c-text-2);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.cb-close:hover { background: var(--c-line); transform: rotate(90deg); }
.cb-close svg { width: 16px; height: 16px; }

.cb-head { text-align: center; margin-bottom: 22px; }
.cb-avatar {
  width: 78px; height: 78px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  display: grid; place-items: center;
  position: relative;
  box-shadow: var(--sh-accent);
}
.cb-avatar svg { width: 32px; height: 32px; animation: ring 3.5s var(--ease) infinite; }
.cb-avatar::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 122, 41, .45);
  animation: cbPulse 2.6s var(--ease-out) infinite;
}
.cb-head h3 { font-size: 1.34rem; margin-bottom: 8px; }
.cb-head p { font-size: .92rem; }

.cb-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--ok-100);
  color: #068950;
  font-size: .84rem;
  font-weight: 700;
  font-family: var(--f-head);
}
.cb-timer b { font-variant-numeric: tabular-nums; }
.cb-timer .dot-live { width: 7px; height: 7px; }

.cb-form { display: grid; gap: 14px; }
.cb-form .input { padding: 15px 16px; font-size: 1.06rem; font-weight: 600; letter-spacing: .01em; }
.cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.cb-when { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-when input { position: absolute; opacity: 0; pointer-events: none; }
.cb-when label {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 10px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--c-line);
  background: var(--c-bg-soft);
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all .25s var(--ease);
}
.cb-when label svg { width: 15px; height: 15px; }
.cb-when input:checked + label {
  border-color: var(--accent);
  background: var(--accent-100);
  color: var(--accent-600);
}
.cb-when input:focus-visible + label { outline: 3px solid rgba(255, 122, 41, .4); outline-offset: 2px; }

.cb-note {
  display: flex; gap: 9px;
  font-size: .76rem;
  color: var(--c-text-3);
  line-height: 1.45;
}
.cb-note svg { width: 14px; height: 14px; color: var(--ok); flex: none; margin-top: 2px; }
.cb-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.cb-alt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
  text-align: center;
  font-size: .85rem;
  color: var(--c-text-3);
}
.cb-alt a {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-head); font-weight: 800; font-size: 1.02rem;
  color: var(--c-text);
  margin-top: 4px;
}
.cb-alt a:hover { color: var(--brand); }
.cb-alt svg { width: 16px; height: 16px; color: var(--brand); }

/* Стани */
.cb-state { display: none; text-align: center; padding: 6px 0 4px; }
.cb-state.is-active { display: block; animation: popIn .45s var(--ease-out); }
.cb-state__ico {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.cb-state__ico svg { width: 34px; height: 34px; }
.cb-state--ok .cb-state__ico { background: var(--ok-100); color: var(--ok); }
.cb-state--wait .cb-state__ico { background: var(--brand-100); color: var(--brand); }
.cb-state--err .cb-state__ico { background: #FEE4E2; color: #D92D20; }
.cb-state h3 { margin-bottom: 10px; }
.cb-state p { font-size: .94rem; }

.cb-ring-anim { position: relative; }
.cb-ring-anim::before,
.cb-ring-anim::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: .45;
  animation: cbPulse 2.2s var(--ease-out) infinite;
}
.cb-ring-anim::after { animation-delay: 1.1s; }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::before {
  content: "";
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spinSlow .7s linear infinite;
}

@media (max-width: 720px) {
  /* на мобільному замість плаваючої кнопки працює нижня панель:
     «Подзвонити» + «Передзвоніть мені» — щоб не захаращувати екран */
  .cb-fab { display: none; }
  .cb-modal { padding: 26px 20px 22px; }
  .cb-avatar { width: 66px; height: 66px; }
  .cb-head h3 { font-size: 1.2rem; }
  .mobile-cta .btn { font-size: .9rem; }
}
