/* Clean House — дизайн-система (джерело: design_handoff_clean_house/style-reference.md) */
:root {
  --deep-harbor: #0f2d3a;
  --fresh-aqua: #2ec4b6;
  --citrus: #ffc857;
  --citrus-hover: #f5b93a;
  --lagoon: #0e6e6a;
  --seafoam: #e6f7f4;
  --leaf: #2f9e62;
  --coral: #e5484d;
  --graphite: #475560;
  --ink: #14212a;
  --pebble: #9aa5ad;
  --slate: #66737c;
  --cloud: #eef2f4;
  --paper: #ffffff;
  --hairline: rgba(15, 45, 58, 0.10);

  --font-body: 'Manrope', 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Unbounded', 'Montserrat', ui-sans-serif, system-ui, sans-serif;

  --shadow-subtle: rgba(15, 45, 58, 0.10) 0 0 0 1px;
  --shadow-lg: rgba(15, 45, 58, 0.06) 0 4px 16px;
  --shadow-xl: rgba(15, 45, 58, 0.10) 0 12px 32px, rgba(15, 45, 58, 0.04) 0 32px 48px;
  --shadow-focus: rgba(46, 196, 182, 0.35) 0 0 0 4px;

  --r-pill: 9999px;
  --r-card: 16px;
  --r-media: 24px;
  --r-panel: 32px;

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--graphite);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  font-feature-settings: "calt", "tnum"; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--lagoon); text-decoration: none; }
a:hover { color: var(--deep-harbor); }
button { font-family: inherit; }
input::placeholder { color: var(--pebble); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--r-pill); }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.bg-cloud { background: var(--cloud); }
.bg-seafoam { background: var(--seafoam); }
.stack { display: flex; flex-direction: column; }
.grid-auto { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 320px)), 1fr)); }

/* ---------- Типографіка ---------- */
.h1 {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance;
}
.h1--service { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance;
}
.h2--sm { font-size: 32px; line-height: 1.15; }
.lead { font-size: 20px; line-height: 1.5; color: var(--graphite); max-width: 520px; text-wrap: pretty; }
.muted { color: var(--slate); }
.num { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.accent { color: var(--fresh-aqua); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: var(--r-pill); font-weight: 600; white-space: nowrap;
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.btn-primary { background: var(--citrus); color: var(--deep-harbor); font-size: 18px; min-height: 56px; padding: 16px 32px; }
.btn-primary:hover { background: var(--citrus-hover); color: var(--deep-harbor); box-shadow: var(--shadow-lg); }
.btn-sm { font-size: 15px; min-height: 0; padding: 10px 22px; }
.btn-block { width: 100%; }
.btn-outline {
  background: transparent; color: var(--deep-harbor); border: 1.5px solid var(--deep-harbor);
  font-size: 16px; min-height: 52px; padding: 14px 28px;
}
.btn-outline:hover { background: var(--deep-harbor); color: var(--paper); }
.link {
  color: var(--lagoon); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px;
}
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--deep-harbor); background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s;
}
.icon-btn:hover { background: var(--seafoam); }

/* ---------- Бейджі ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--seafoam); color: var(--deep-harbor); font-weight: 600; font-size: 14px; line-height: 1.3;
  padding: 8px 14px; border-radius: var(--r-pill);
}
.badge--sm { font-size: 13px; }
.badge-dark { background: var(--deep-harbor); color: var(--fresh-aqua); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: var(--r-pill); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: var(--hairline) 0 1px 0; }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { flex: none; display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav {
  display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; justify-content: safe center;
  overflow-x: auto; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 8px 12px; border-radius: var(--r-pill); white-space: nowrap;
  font-weight: 500; font-size: 15px; color: var(--deep-harbor); transition: background-color .15s;
}
.nav a:hover, .nav a.is-active { background: var(--seafoam); color: var(--deep-harbor); }
.nav a.is-active { font-weight: 600; }
.header__actions { flex: none; display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--deep-harbor); white-space: nowrap; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cloud);
  align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
  padding: 16px 24px 120px; overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  padding: 16px 4px; border-bottom: 1px solid var(--hairline); color: var(--deep-harbor);
  font-weight: 600; font-size: 20px;
}
.mobile-menu__sub { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 8px 16px; }
.mobile-menu__sub a { border: 0 !important; font-size: 16px !important; font-weight: 500 !important; padding: 8px 4px !important; color: var(--graphite) !important; }
.mobile-menu__contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-size: 16px; }
.mobile-menu__contacts a:first-child { font-weight: 700; font-size: 20px; color: var(--deep-harbor); }

/* ---------- Перемикач мов ---------- */
.lang-switch { flex: none; display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--cloud); }
.lang-switch a {
  min-width: 36px; padding: 5px 8px; border-radius: var(--r-pill); text-align: center;
  font-weight: 600; font-size: 13px; line-height: 1.3; letter-spacing: 0.02em; color: var(--slate); transition: background-color .15s, color .15s;
}
.lang-switch a:hover { color: var(--deep-harbor); }
.lang-switch a[aria-current] { background: var(--paper); color: var(--deep-harbor); box-shadow: var(--shadow-subtle); }
@media (max-width: 479px) { .lang-switch--header { display: none; } }
.lang-switch--menu { margin: 8px 0 16px; }
@media (min-width: 480px) { .lang-switch--menu { display: none; } }
.lang-switch--menu a { min-width: 56px; padding: 10px 14px; font-size: 16px; }
.lang-switch--footer { background: rgba(255, 255, 255, 0.08); }
.lang-switch--footer a { color: rgba(255, 255, 255, 0.6); }
.lang-switch--footer a:hover { color: var(--fresh-aqua); }
.lang-switch--footer a[aria-current] { background: var(--fresh-aqua); color: var(--deep-harbor); box-shadow: none; }

@media (max-width: 1099px) { .header__phone span { display: none; } }
@media (max-width: 767px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .logo img { height: 28px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 96px; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__media { position: relative; padding: 0 0 48px 24px; }
.quick-card {
  position: absolute; left: 0; bottom: 0; width: min(300px, 80%); background: var(--paper);
  border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; gap: 12px;
}
.quick-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Фото-плейсхолдери (до появи реальних фото) */
.photo {
  border-radius: var(--r-panel); overflow: hidden; position: relative;
  background: repeating-linear-gradient(135deg, var(--cloud) 0 14px, #e7ecef 14px 28px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__label {
  font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.4; color: var(--slate);
  background: var(--paper); padding: 6px 12px; border-radius: var(--r-pill); text-align: center;
}

/* ---------- Stats ---------- */
.stats {
  margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: var(--hairline); border-radius: var(--r-media); overflow: hidden; box-shadow: var(--shadow-subtle);
}
.stats > div { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.stats .num { font-size: 40px; line-height: 1.1; }
.stats span:last-child { font-size: 16px; color: var(--slate); }

/* ---------- Заголовок секції ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head p { max-width: 400px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.section-head--center p { max-width: 520px; }

/* ---------- Service card ---------- */
.service-card {
  background: var(--paper); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-subtle);
  display: flex; flex-direction: column; gap: 16px; color: var(--graphite); transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); color: var(--graphite); }
.service-card__num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--seafoam); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--lagoon);
}
.service-card__title { font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ink); }
.service-card__desc { font-size: 16px; line-height: 1.55; }
.service-card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card__price { font-weight: 700; font-size: 18px; color: var(--deep-harbor); }
.arrow-circle { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cloud); display: flex; align-items: center; justify-content: center; }
.service-card--compact { gap: 12px; }
.service-card--compact .service-card__title { font-size: 18px; }
.service-card--compact .service-card__price { font-size: 16px; }
.service-card--compact .arrow-circle { width: 36px; height: 36px; }

/* ---------- Two-column layout ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: start; }
.split__copy { display: flex; flex-direction: column; gap: 32px; padding-top: 16px; }
.split__copy > p { max-width: 460px; }

.features { display: flex; flex-direction: column; gap: 28px; }
.feature { display: flex; gap: 24px; align-items: flex-start; }
.feature__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--seafoam); display: flex; align-items: center; justify-content: center; }
.feature__title { display: block; font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }
.feature__text { font-size: 16px; line-height: 1.55; color: var(--slate); }

/* ---------- Калькулятор ---------- */
.calc {
  background: var(--paper); border-radius: var(--r-panel); padding: 32px; box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 28px;
}
.calc__label { font-weight: 600; font-size: 14px; color: var(--deep-harbor); }
.calc__group { display: flex; flex-direction: column; gap: 12px; }
.calc__title { font-weight: 700; font-size: 24px; letter-spacing: -0.24px; color: var(--ink); line-height: 1.35; }

.segmented { display: flex; flex-wrap: wrap; gap: 2px; background: var(--cloud); border-radius: 24px; padding: 4px; }
.segmented button {
  flex: 1 1 auto; border: 0; cursor: pointer; height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; background: transparent; color: var(--slate); white-space: nowrap; transition: background-color .15s, color .15s;
}
.segmented button[aria-pressed="true"] { background: var(--paper); color: var(--deep-harbor); box-shadow: var(--shadow-lg); }
.segmented--light { background: var(--paper); }
.segmented--light button { flex: 0 0 auto; padding: 0 18px; }
.segmented--light button[aria-pressed="true"] { background: var(--deep-harbor); color: var(--paper); box-shadow: none; }

.steppers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stepper { background: var(--cloud); border-radius: var(--r-card); padding: 16px 16px 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper__label { display: block; font-size: 14px; color: var(--slate); line-height: 1.4; }
.stepper__value { display: block; font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.3; }
.stepper__btns { display: flex; gap: 8px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow-subtle);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: box-shadow .15s;
}
.stepper button:hover:not(:disabled) { box-shadow: var(--fresh-aqua) 0 0 0 1.5px; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; color: var(--deep-harbor); background: var(--paper); border: 1.5px solid rgba(15, 45, 58, 0.14);
  transition: background-color .15s, border-color .15s;
}
.chip .chip__check { display: none; }
.chip[aria-pressed="true"] { background: var(--seafoam); border-color: var(--fresh-aqua); }
.chip[aria-pressed="true"] .chip__check { display: block; }
.chip__price { color: var(--slate); font-weight: 500; }

.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  border: 0; cursor: pointer; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px;
  background: var(--paper); color: var(--deep-harbor); box-shadow: var(--shadow-subtle);
}
.slot[aria-pressed="true"] { background: var(--deep-harbor); color: var(--paper); box-shadow: none; }
.slot:disabled { background: var(--cloud); color: var(--pebble); box-shadow: none; text-decoration: line-through; cursor: not-allowed; }

.calc__total { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.calc__sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.calc__price { display: flex; align-items: baseline; gap: 8px; }
.calc__price .from { font-size: 18px; color: var(--slate); font-weight: 500; }
.calc__price .num { font-size: 40px; line-height: 1.1; letter-spacing: -0.4px; }
.calc__hours { font-size: 14px; color: var(--slate); }

/* ---------- Steps ---------- */
.step { background: var(--paper); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.step .num { font-size: 32px; color: var(--lagoon); line-height: 1.1; }
.step__title { display: block; font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.step__text { font-size: 16px; line-height: 1.55; color: var(--slate); }

/* ---------- Before / After ---------- */
.ba {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-media); overflow: hidden;
  cursor: ew-resize; user-select: none; touch-action: none; --pos: 50%;
}
.ba__layer { position: absolute; inset: 0; display: flex; align-items: center; padding: 24px; }
.ba__after { background: repeating-linear-gradient(135deg, var(--seafoam) 0 14px, #d9f1ed 14px 28px); justify-content: flex-end; }
.ba__after .photo__label { color: var(--lagoon); }
.ba__before { background: repeating-linear-gradient(135deg, #dfe4e7 0 14px, #d3d9dd 14px 28px); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .photo__label { color: var(--graphite); }
.ba__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__tag { position: absolute; top: 16px; background: var(--deep-harbor); color: var(--paper); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: var(--r-pill); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--paper); }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
}

/* ---------- Pricing ---------- */
.tier { background: var(--paper); border-radius: var(--r-panel); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.tier__name { display: block; font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.tier__sub { font-size: 16px; color: var(--slate); }
.tier__price { display: flex; align-items: baseline; gap: 8px; }
.tier__price .from { font-size: 16px; color: var(--slate); }
.tier__price .num { font-size: 40px; line-height: 1.1; letter-spacing: -0.4px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 2px; }
.tier .btn { margin-top: auto; }
.tier--dark { background: var(--deep-harbor); }
.tier--dark .tier__name, .tier--dark .num { color: var(--paper); }
.tier--dark .tier__sub, .tier--dark .from { color: rgba(255, 255, 255, 0.8) !important; }
.tier--dark .checklist { color: rgba(255, 255, 255, 0.88); }
.tier__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.badge-aqua { background: var(--fresh-aqua); color: var(--deep-harbor); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }

/* ---------- Reviews ---------- */
.review { background: var(--cloud); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.review__stars { display: flex; gap: 4px; }
.review__text { font-size: 18px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.review__author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--deep-harbor); color: var(--paper); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.review__name { display: block; font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.4; }
.review__meta { font-size: 14px; color: var(--slate); }
.carousel-btns { display: flex; gap: 10px; }

/* ---------- Areas ---------- */
.area-chip { padding: 10px 16px; border-radius: var(--r-pill); background: var(--paper); box-shadow: var(--shadow-subtle); font-weight: 600; font-size: 14px; color: var(--deep-harbor); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--paper); border-radius: var(--r-card); overflow: hidden; }
.faq--cloud .faq__item { background: var(--cloud); }
.faq__q {
  width: 100%; border: 0; background: transparent; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; text-align: left; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); border-radius: var(--r-card);
}
.faq__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cloud);
  display: flex; align-items: center; justify-content: center; transition: transform .2s, background-color .2s;
}
.faq--cloud .faq__icon { background: var(--paper); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--seafoam); }
.faq--cloud .faq__item.is-open .faq__icon { background: var(--paper); }
.faq__a { display: none; padding: 0 24px 24px; font-size: 16px; line-height: 1.6; max-width: 620px; }
.faq__item.is-open .faq__a { display: block; }

/* ---------- Final CTA ---------- */
.cta-dark {
  background: var(--deep-harbor); border-radius: var(--r-panel); padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center;
}
.cta-dark .h2 { color: var(--paper); }
.cta-dark p { color: rgba(255, 255, 255, 0.8); max-width: 460px; }
.lead-form { background: var(--paper); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-weight: 600; font-size: 14px; color: var(--deep-harbor); }
.field__control {
  display: flex; align-items: center; border-radius: var(--r-card); border: 1.5px solid var(--pebble); padding: 0 16px;
  transition: box-shadow .15s, border-color .15s;
}
.field__control:focus-within { border-color: var(--fresh-aqua); box-shadow: var(--shadow-focus); }
.field__prefix { font-size: 16px; color: var(--deep-harbor); font-weight: 600; padding-right: 10px; }
.field__control input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 0; font-family: inherit; font-size: 16px; color: var(--ink); background: transparent;
}
.field__error { display: none; font-size: 13px; color: var(--coral); }
.field.has-error .field__control { border-color: var(--coral); box-shadow: none; }
.field.has-error .field__error { display: block; }
.lead-form__note { font-size: 13px; color: var(--slate); text-align: center; }
.lead-form__summary { font-size: 14px; line-height: 1.5; color: var(--slate); background: var(--cloud); border-radius: 12px; padding: 10px 14px; }
.lead-form__summary:empty { display: none; }
[hidden] { display: none !important; }
.success { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 16px 0; }
.success__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--seafoam); display: flex; align-items: center; justify-content: center; }
.success__title { font-weight: 700; font-size: 20px; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--deep-harbor); color: rgba(255, 255, 255, 0.8); padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col a { color: rgba(255, 255, 255, 0.8); }
.footer__col a:hover { color: var(--fresh-aqua); }
.footer__title { font-weight: 700; color: var(--paper); margin-bottom: 4px; }
.footer__brand { gap: 14px; }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { line-height: 1.6; max-width: 260px; }
.footer .footer__phone { color: var(--paper); font-weight: 700; font-size: 18px; }
.footer .footer__mail { color: var(--fresh-aqua); }
.footer__bottom {
  margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.6);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.6); }
.footer__bottom a:hover { color: var(--fresh-aqua); }

/* ---------- Messenger / mobile bar ---------- */
.messenger { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.messenger__links { display: none; flex-direction: column; align-items: flex-end; gap: 10px; }
.messenger.is-open .messenger__links { display: flex; }
.messenger__links a {
  background: var(--paper); color: var(--deep-harbor); font-weight: 600; font-size: 15px; padding: 12px 20px;
  border-radius: var(--r-pill); box-shadow: rgba(15, 45, 58, 0.10) 0 12px 32px; transition: background-color .15s;
}
.messenger__links a:hover { background: var(--seafoam); color: var(--deep-harbor); }
.messenger__btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--fresh-aqua); cursor: pointer;
  box-shadow: rgba(15, 45, 58, 0.10) 0 12px 32px; display: flex; align-items: center; justify-content: center; transition: background-color .15s;
}
.messenger__btn:hover { background: var(--lagoon); }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .messenger { display: none; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: var(--hairline) 0 -1px 0;
  }
  .mobile-bar .btn-outline { flex: 1; min-height: 52px; padding: 0 12px; }
  .mobile-bar .btn-primary { flex: 2; min-height: 52px; padding: 0 16px; font-size: 16px; }
  body { padding-bottom: 76px; }
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 64px; }
  .calc, .tier { padding: 24px; }
  .hero__media { padding-left: 0; }
  .quick-card { left: 12px; }
}

/* ---------- Service page ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.breadcrumbs a { color: var(--lagoon); font-weight: 600; }
.breadcrumbs span:last-child { color: var(--graphite); }
.service-hero { padding: 24px 0 96px; }
.service-hero .container { display: flex; flex-direction: column; gap: 32px; }
.kpis { display: flex; flex-wrap: wrap; gap: 32px; }
.kpi__label { display: block; font-size: 14px; color: var(--slate); }
.kpi__value { display: flex; align-items: baseline; gap: 6px; }
.kpi__value .from { font-size: 16px; color: var(--slate); }
.kpi__value .num { font-size: 32px; line-height: 1.2; letter-spacing: -0.3px; }
.zone-card { background: var(--paper); border-radius: var(--r-panel); padding: 32px; }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 24px; align-content: start; }
.zone-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink); }
.dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--seafoam); display: flex; align-items: center; justify-content: center; }
.dot--minus { background: var(--cloud); }
.not-list { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 12px; }
.not-list li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--graphite); }
/* «Для кого підходить» — продовжує білий hero, тому без верхнього відступу */
.audience { padding: 0 0 96px; }
.audience-card {
  background: var(--paper); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-subtle);
  display: flex; flex-direction: column; gap: 20px;
}
.audience-card .feature__title { margin-bottom: 8px; }
.audience__alt {
  margin-top: 20px; background: var(--seafoam); border-radius: var(--r-card); padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.audience__alt p { font-size: 16px; line-height: 1.5; color: var(--ink); display: flex; gap: 12px; align-items: center; }
.audience__alt p svg { flex: none; }
.audience__alt .link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 767px) { .audience { padding-bottom: 64px; } }

.price-table {background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow-subtle); overflow: hidden; }
.price-table > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; }
.price-table > div + div { border-top: 1px solid var(--hairline); }
.price-table span:first-child { font-size: 16px; }
.price-table span:last-child { font-weight: 700; font-size: 18px; color: var(--deep-harbor); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
