/* ============================================================
   Спецуборка.рф — Казань
   Уборка после смерти. Клиническое спокойствие: петроль + янтарь
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --petrol-900: #0b3a40;
  --petrol-800: #0e4c54;
  --petrol-700: #145e67;
  --petrol-600: #1c777f;
  --amber-600: #d3812a;
  --amber-500: #e2953a;
  --amber-400: #efb066;

  /* Светлая тема (по умолчанию) */
  --bg: #eef2f1;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --surface-2: #f0f4f3;
  --ink: #10201f;
  --ink-soft: #33474550;
  --muted: #566a68;
  --line: #d7e0de;
  --line-strong: #bfcecb;
  --brand: var(--petrol-800);
  --brand-strong: var(--petrol-900);
  --brand-soft: #e2edeb;
  --accent: var(--amber-600);
  --accent-ink: #ffffff;
  --shadow-sm: 0 1px 2px rgba(11, 58, 64, .06), 0 4px 14px rgba(11, 58, 64, .06);
  --shadow-md: 0 10px 30px rgba(11, 58, 64, .10);
  --shadow-lg: 0 24px 60px rgba(11, 58, 64, .16);
  --ring: 0 0 0 3px rgba(28, 119, 127, .35);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --header-h: 68px;

  --font-display: "Manrope", "Golos Text", system-ui, sans-serif;
  --font-body: "Golos Text", "Manrope", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0a1413;
  --paper: #0d1a18;
  --surface: #10201e;
  --surface-2: #142825;
  --ink: #e8efed;
  --muted: #9bb0ad;
  --line: #21302e;
  --line-strong: #2c3f3c;
  --brand: #2a8890;
  --brand-strong: #35a0a8;
  --brand-soft: #12332f;
  --accent: var(--amber-500);
  --accent-ink: #1a1207;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.35);
  --shadow-md: 0 14px 36px rgba(0,0,0,.45);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.55);
  --ring: 0 0 0 3px rgba(53, 160, 168, .4);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-size: 17px;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 1rem + 2.3vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, .9rem + 1vw, 1.4rem); font-weight: 700; }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Раскладка ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(48px, 4vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section--brand { background: linear-gradient(160deg, var(--petrol-800), var(--petrol-900)); color: #eaf3f2; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: #c4dbd8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.section--brand .eyebrow { color: var(--amber-400); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head p { margin-top: 14px; font-size: 1.08rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 12px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px rgba(211,129,42,.32); }
.btn--accent:hover { background: var(--amber-500); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--lg { padding: 17px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn svg { width: 19px; height: 19px; }

/* ---------- Верхняя инфо-полоса ---------- */
.topbar {
  background: var(--petrol-900); color: #cfe4e2;
  font-size: .84rem; font-weight: 500;
}
.topbar .container { display: flex; align-items: center; gap: 22px; min-height: 40px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; color: var(--amber-400); }
.topbar__spacer { margin-left: auto; }
.topbar a:hover { color: #fff; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; line-height: 1; }
.brand__name span { color: var(--brand); }
.brand__sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  padding: 9px 14px; border-radius: 9px; color: var(--ink); transition: background .15s, color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.header__phone svg { width: 18px; height: 18px; color: var(--brand); }
.header__phone:hover { color: var(--brand); }

/* Переключатель темы */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink); display: grid; place-items: center;
  transition: background .15s, transform .15s;
}
.theme-toggle:hover { background: var(--brand-soft); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Бургер */
.burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink); }
.burger svg { width: 22px; height: 22px; margin-inline: auto; }

/* Мобильное меню */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 80; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(6,20,19,.5); backdrop-filter: blur(2px); }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; width: min(86vw, 340px); height: 100%;
  background: var(--surface); box-shadow: var(--shadow-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .28s ease;
}
.mobile-nav[data-open="true"] .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-nav__close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; padding: 13px 12px; border-radius: 10px; }
.mobile-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-nav__phone { margin-top: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 420px at 88% -8%, rgba(28,119,127,.14), transparent 60%),
    radial-gradient(520px 380px at 6% 108%, rgba(211,129,42,.10), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; padding-top: 54px; padding-bottom: 54px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); margin-bottom: 20px;
}
.hero__badge svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(2.15rem, 1.2rem + 3.6vw, 3.55rem); }
.hero h1 span { color: var(--brand); }
.hero__lead { margin-top: 20px; font-size: 1.16rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); list-style: none; }
.hero__trust svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Панель-протокол в hero */
.hero__panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.hero__panel h2 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.hero__panel h2 svg { width: 20px; height: 20px; color: var(--accent); }
.protocol { list-style: none; padding: 0; margin: 18px 0 0; }
.protocol li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.protocol li:first-child { border-top: none; padding-top: 4px; }
.protocol__k { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--ink); }
.protocol__v { font-weight: 700; color: var(--brand); font-family: var(--font-display); margin-left: auto; text-align: right; white-space: nowrap; }
.protocol__num { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-family: var(--font-display); font-weight: 800; font-size: .82rem; display: grid; place-items: center; flex-shrink: 0; }
.hero__license { margin-top: 18px; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-size: .8rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.hero__license svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ---------- Полоса преимуществ ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.usp__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.usp__ico svg { width: 23px; height: 23px; }
.usp__item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.usp__item p { font-size: .92rem; margin: 0; }

/* ---------- Сетка карточек ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 15px; }
.card__ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; margin: 0; }
.card--amber .card__ico { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

/* Кейс-нумерация (реальная последовательность) */
.case-card { display: flex; gap: 16px; }
.case-card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--accent); line-height: 1; min-width: 42px; }

/* ---------- Список "что входит" ---------- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; list-style: none; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.checklist span { color: var(--ink); font-size: .98rem; }

/* ---------- Протокол работ (вертикальная лента) ---------- */
.timeline { list-style: none; padding: 0; position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 26px 60px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; box-shadow: 0 0 0 5px var(--paper);
}
.section--paper .timeline__dot { box-shadow: 0 0 0 5px var(--paper); }
.timeline h3 { font-size: 1.08rem; margin-bottom: 4px; }
.timeline p { font-size: .95rem; margin: 0; }

/* ---------- Гарантия / блок с акцентом ---------- */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.feature__media {
  border-radius: 20px; padding: 34px; background: linear-gradient(155deg, var(--petrol-700), var(--petrol-900));
  color: #eef6f5; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.feature__media::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(239,176,102,.14); }
.feature__seal { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 10px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.feature__seal svg { width: 18px; height: 18px; color: var(--amber-400); }
.feature__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.4rem + 3vw, 3.6rem); margin: 20px 0 6px; line-height: 1; }
.feature__media p { color: #cfe3e0; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.feature ul li { display: flex; gap: 12px; align-items: flex-start; }
.feature ul svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.feature ul span { color: var(--ink); }

/* ---------- Таблица цен ---------- */
.pricebox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.pricebox__head { padding: 16px 22px; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 12px; }
.pricebox__head svg { width: 22px; height: 22px; color: var(--amber-400); }
.pricebox__head h3 { color: #fff; font-size: 1.12rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 14px 22px; border-top: 1px solid var(--line); font-size: .96rem; }
.price-table thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; border-top: none; }
.price-table tbody tr:hover { background: var(--surface-2); }
.price-table td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.price-table td:last-child { text-align: right; font-family: var(--font-display); font-weight: 800; color: var(--brand); white-space: nowrap; }
.price-table .free { color: #1a8a4b; }
.price-note { margin-top: 14px; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.calc__form { padding: 30px; }
.calc__row { margin-bottom: 20px; }
.calc__row > label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .92rem; margin-bottom: 10px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 15px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: .9rem; transition: all .15s; color: var(--ink); background: var(--surface); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.chip input:focus-visible + span { box-shadow: var(--ring); }
.calc__range { width: 100%; accent-color: var(--brand); }
.calc__area-val { font-family: var(--font-display); font-weight: 800; color: var(--brand); }
.field { width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1rem; font-family: inherit; }
.field:focus-visible { border-color: var(--brand); box-shadow: var(--ring); }
.calc__result { background: linear-gradient(160deg, var(--petrol-800), var(--petrol-900)); color: #eef6f5; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.calc__result-label { font-size: .9rem; color: #bcd7d4; }
.calc__result-sum { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); margin: 6px 0 4px; }
.calc__result small { color: #bcd7d4; font-size: .82rem; }
.calc__result .btn { margin-top: 20px; }
.calc__hint { font-size: .78rem; color: #9dc0bc; margin-top: 14px; }

/* ---------- Форма заявки ---------- */
.leadform { display: grid; gap: 14px; }
.leadform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.leadform .consent { font-size: .8rem; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.leadform .consent input { margin-top: 4px; accent-color: var(--brand); }
.form-ok { display: none; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 12px; padding: 16px; color: var(--brand); font-weight: 600; }
.form-ok.show { display: block; }

/* ---------- Отзывы ---------- */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review__stars { color: var(--amber-500); letter-spacing: 2px; margin-bottom: 10px; }
.review p { color: var(--ink); font-size: .97rem; }
.review__author { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.review__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.review__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem; }
.review__meta { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--ink); display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.faq__q svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; transition: transform .25s; }
.faq__item[data-open="true"] .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 22px 20px; color: var(--muted); }

/* ---------- SEO текстовый блок ---------- */
.prose { max-width: 820px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* ---------- Города ---------- */
.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.cities a { padding: 8px 14px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); transition: all .15s; }
.cities a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- CTA лента ---------- */
.cta-strip { background: linear-gradient(150deg, var(--amber-600), #b8691d); color: #fff; border-radius: 22px; padding: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; box-shadow: var(--shadow-md); }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #ffe9d2; margin-top: 8px; }
.cta-strip .btn--primary { background: #fff; color: var(--petrol-900); }
.cta-strip .btn--primary:hover { background: #f2f2f2; }
.cta-strip .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-strip .btn--ghost:hover { background: rgba(255,255,255,.14); }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Подвал ---------- */
.footer { background: var(--petrol-900); color: #b9d2cf; padding: 56px 0 26px; }
.footer a { color: #cfe4e2; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 34px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--amber-400); }
.footer__desc { font-size: .9rem; margin: 16px 0; color: #9fc0bc; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--amber-400); flex-shrink: 0; margin-top: 3px; }
.footer__map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.footer__map iframe { width: 100%; height: 210px; border: 0; display: block; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: #8fb0ac; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Плавающая кнопка телефона ---------- */
.fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 70;
  width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(211,129,42,.5);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 27px; height: 27px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: fab-ring 2.4s ease-out infinite; }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.fab__label { position: absolute; right: 74px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(8px); transition: all .2s; pointer-events: none; }
.fab:hover .fab__label { opacity: 1; transform: translateX(0); }

/* ---------- Хлебные крошки / шапка страницы ---------- */
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0 34px; position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 300px at 90% -20%, rgba(28,119,127,.12), transparent 60%); }
.pagehead .container { position: relative; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.pagehead h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); }
.pagehead p { margin-top: 12px; max-width: 680px; font-size: 1.06rem; }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.contact-card__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.contact-card__ico svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--muted); font-size: .96rem; }
.contact-card a.big { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; }
.map-embed { position: relative; overflow: hidden; }
.map-embed a { position: absolute; z-index: 2; }

/* ---------- Reveal-анимация ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 34px; }
  .hero__panel { max-width: 520px; }
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .calc { grid-template-columns: 1fr; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .header__phone span.full { display: none; }
  .burger { display: grid; place-items: center; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; }
  .topbar__item.hide-sm { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .usp { grid-template-columns: 1fr; }
  .leadform .row2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: .9rem; }
  .hero__cta .btn { width: 100%; }
  .fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .brand__sub { display: none; }
}
