/* ============================================================
   TEAM SERVICE — ОСНОВНЫЕ СТИЛИ
   Порядок: reset -> базовое -> раскладка -> компоненты -> секции -> утилиты
   Цвета берутся ТОЛЬКО из tokens.css
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: var(--lh-tight); font-weight: 700; color: var(--ink-900); text-wrap: balance; }
h1 { font-size: var(--fs-3xl); letter-spacing: -.02em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -.01em; }
h3 { font-size: var(--fs-lg); }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-md); color: var(--ink-700); }
.muted { color: var(--c-text-muted); }
.small { font-size: var(--fs-sm); }

/* ---------- Раскладка ---------- */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, var(--container-narrow)); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--brand { background: var(--c-bg-brand); }
.section__head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { margin-bottom: 12px; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack > * + * { margin-top: 16px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--fs-base); line-height: 1; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t-fast), box-shadow var(--t);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--cta { background: var(--c-cta); color: var(--white); box-shadow: var(--shadow); }
.btn--cta:hover { background: var(--c-cta-hover); }
.btn--primary { background: var(--c-primary); color: var(--white); }
.btn--primary:hover { background: var(--c-primary-hover); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--ink-300); }
.btn--ghost:hover { border-color: var(--c-primary); background: var(--brand-050); }
.btn--light { background: var(--white); color: var(--brand-700); }
.btn--light:hover { background: var(--brand-100); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1eb455; }
.btn--lg { padding: 17px 34px; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; flex: none; }

/* ---------- Бейджи и чипы ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: var(--radius-pill); background: var(--brand-100); color: var(--brand-700);
  font-size: var(--fs-sm); font-weight: 600;
}
.badge--ok { background: var(--ok-100); color: var(--ok-600); }
.badge--accent { background: var(--accent-100); color: var(--warn-600); }
.chip {
  display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--c-border);
  border-radius: var(--radius-pill); background: var(--white); font-size: var(--fs-sm); color: var(--ink-700);
}

/* ---------- Карточки ---------- */
.card {
  background: var(--white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card--hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--brand-100); }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: var(--radius-sm); background: var(--brand-100); color: var(--brand-600);
}
.card__icon svg { width: 28px; height: 28px; }
.card__title { margin-bottom: 8px; }
.card__text { color: var(--ink-700); font-size: var(--fs-sm); }

/* ============================================================
   ШАПКА
   ============================================================ */
.topbar { background: var(--brand-900); color: rgba(255,255,255,.82); font-size: var(--fs-xs); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: inherit; }
.topbar__list { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; opacity: .8; }
@media (max-width: 720px) { .topbar { display: none; } }

.header {
  position: sticky; top: 0; z-index: 50; isolation: isolate; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-border); transition: box-shadow var(--t);
}
.header.is-stuck { box-shadow: var(--shadow); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 800; font-size: var(--fs-md); color: var(--brand-900); letter-spacing: -.01em; }
.logo__tag { font-size: 11px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .06em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 20px; }
.nav__link { color: var(--ink-700); font-weight: 500; font-size: var(--fs-sm); text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-primary); text-decoration: none; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-primary); border-radius: 2px;
}
.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.header__phone strong { font-size: var(--fs-md); color: var(--brand-900); font-weight: 700; white-space: nowrap; }
.header__phone span { font-size: 11px; color: var(--c-text-muted); }
.header__phone:hover { text-decoration: none; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast);
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 1199px) {
  .burger { display: grid; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--white);
    border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all var(--t);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; }
  .nav__link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--ink-100); font-size: var(--fs-base); }
  .nav__list li:last-child .nav__link { border-bottom: none; }
  .nav__link[aria-current="page"]::after { display: none; }
  .header__phone { display: none; }
  .header__actions .btn { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand-600) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 320px at 88% 12%, rgba(255,255,255,.14), transparent 70%),
    radial-gradient(420px 260px at 8% 92%, rgba(245,158,11,.16), transparent 70%);
}
.hero__grid {
  position: relative; z-index: 1; display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1.15fr .85fr; align-items: center;
  padding-block: clamp(40px, 5vw, 76px);
}
.hero__title { color: var(--white); margin-bottom: 18px; }
.hero__title em { font-style: normal; color: var(--accent-500); }
.hero__text { color: rgba(255,255,255,.86); font-size: var(--fs-md); margin-bottom: 26px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__usp { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__usp li { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-sm); color: rgba(255,255,255,.9); }
.hero__usp svg { width: 18px; height: 18px; color: var(--accent-500); flex: none; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Форма-карточка ---------- */
.lead-form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-lg); color: var(--c-text); }
.lead-form__title { font-size: var(--fs-lg); margin-bottom: 6px; }
.lead-form__sub { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field__label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 6px; color: var(--ink-700); }
.field__control {
  width: 100%; padding: 13px 16px; border: 1px solid var(--ink-300); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color var(--t), box-shadow var(--t);
}
.field__control:focus { outline: none; border-color: var(--c-primary); box-shadow: var(--ring); }
.field__control[aria-invalid="true"] { border-color: var(--err-600); background: var(--err-100); }
.field__error { display: none; margin-top: 6px; font-size: var(--fs-xs); color: var(--err-600); }
.field.is-invalid .field__error { display: block; }
.form__note { margin-top: 12px; font-size: var(--fs-xs); color: var(--c-text-muted); }
.form__note a { text-decoration: underline; }
.form__status { margin-top: 12px; font-size: var(--fs-sm); display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { color: var(--ok-600); }
.form__status--err { color: var(--err-600); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); color: var(--c-text-muted); }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--c-primary); }

/* ============================================================
   ПОЛОСА ПРЕИМУЩЕСТВ
   ============================================================ */
.usp-bar { border-bottom: 1px solid var(--c-border); background: var(--white); }
.usp-bar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.usp-bar__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-right: 1px solid var(--c-border); }
.usp-bar__item:last-child { border-right: none; }
.usp-bar__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--brand-600); }
.usp-bar__icon svg { width: 22px; height: 22px; }
.usp-bar__title { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 3px; }
.usp-bar__text { font-size: var(--fs-xs); color: var(--c-text-muted); }
@media (max-width: 720px) { .usp-bar__item { border-right: none; border-bottom: 1px solid var(--c-border); padding: 20px 4px; } }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.service-card__media { aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--brand-100), var(--brand-050)); display: grid; place-items: center; color: var(--brand-600); overflow: hidden; }
.service-card__media svg { width: 76px; height: 76px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card--hover:hover .service-card__media img { transform: scale(1.04); }

/* Универсальная медиа-рамка для фото в секциях */
.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink-100); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 10; }
.split { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.service-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card__title { margin-bottom: 10px; }
.service-card__list { margin: 14px 0 20px; display: grid; gap: 8px; }
.service-card__list li { position: relative; padding-left: 26px; font-size: var(--fs-sm); color: var(--ink-700); }
.service-card__list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok-100);
}
.service-card__list li::after {
  content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 4px;
  border-left: 2px solid var(--ok-600); border-bottom: 2px solid var(--ok-600); transform: rotate(-45deg);
}
.service-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.service-card__price { font-size: var(--fs-sm); color: var(--c-text-muted); }
.service-card__price strong { display: block; font-size: var(--fs-lg); color: var(--accent-600); }

/* ============================================================
   ШАГИ РАБОТЫ
   ============================================================ */
.steps { counter-reset: step; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding-top: 14px; }
.step__num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-primary); color: var(--white); font-weight: 700; font-size: var(--fs-md); margin-bottom: 14px;
}
.step__num::before { content: counter(step); }
.step__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 6px; }
.step__text { font-size: var(--fs-sm); color: var(--ink-700); }
.step::after {
  content: ""; position: absolute; top: 37px; left: 60px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-300) 0 8px, transparent 8px 16px);
}
.step:last-child::after { display: none; }
@media (max-width: 760px) { .step::after { display: none; } }

/* ============================================================
   ПРАЙС
   ============================================================ */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: var(--fs-sm); }
.price-table caption { text-align: left; padding: 16px 18px; font-weight: 700; font-size: var(--fs-base); background: var(--brand-050); border-bottom: 1px solid var(--c-border); }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--ink-100); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-700); }
.price-table tbody tr:hover { background: var(--brand-050); }
.price-table td:last-child, .price-table thead th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--accent-600); }
.price-table thead th:last-child { color: var(--ink-700); }
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-note { margin-top: 14px; font-size: var(--fs-xs); color: var(--c-text-muted); }

/* Таблица цен на узких экранах: компактнее, чтобы влезала без прокрутки */
@media (max-width: 560px) {
  .price-table { font-size: 12.5px; }
  .price-table th, .price-table td { padding: 10px 8px; }
  .price-table caption { padding: 12px 10px; font-size: var(--fs-sm); }
}

/* ============================================================
   НЕИСПРАВНОСТИ (табы + сетка)
   ============================================================ */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  padding: 11px 22px; border-radius: var(--radius-pill); border: 1px solid var(--c-border);
  background: var(--white); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-700); transition: all var(--t);
}
.tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: var(--white); }
.tabpanel[hidden] { display: none; }
.fault { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--white); border: 1px solid var(--c-border); border-radius: var(--radius); }
.fault__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--accent-100); color: var(--warn-600); }
.fault__icon svg { width: 20px; height: 20px; }
.fault__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 4px; }
.fault__text { font-size: var(--fs-sm); color: var(--ink-700); }

/* ============================================================
   ЦИФРЫ / БРЕНДЫ / ОТЗЫВЫ
   ============================================================ */
.stats { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat__value { font-size: var(--fs-2xl); font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.stat__label { font-size: var(--fs-sm); color: var(--ink-700); margin-top: 6px; }

.brands { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brands .chip { font-weight: 600; color: var(--ink-700); font-size: var(--fs-base); padding: 10px 20px; }

/* Лента фирменных логотипов: по умолчанию приглушены, при наведении — в цвете */
.brand-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  align-items: stretch; margin-bottom: 32px;
}
.brand-logos__item {
  flex: 0 1 190px; display: grid; place-items: center; padding: 18px; min-height: 140px;
  background: var(--white); border: 1px solid var(--c-border); border-radius: var(--radius);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.brand-logos__item:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-logos__item img {
  height: 92px; width: auto; max-width: 100%;
  opacity: 1; transition: transform var(--t);
}
.brand-logos__item:hover img { transform: scale(1.05); }

/* ---------- Кнопки мессенджеров и соц-иконки ---------- */
.messengers { display: flex; flex-wrap: wrap; gap: 12px; }
.messenger {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--c-border); background: var(--white); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-900);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.messenger:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-1px); }
.messenger img { width: 22px; height: 22px; flex: none; }
.messenger--wa:hover { border-color: #25d366; }
.messenger--tg:hover { border-color: #2aabee; }
.messenger--ig:hover { border-color: #d62976; }

.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background var(--t), transform var(--t-fast);
}
.social a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.social img { width: 20px; height: 20px; }

/* Плавающие мессенджеры (WhatsApp + Telegram) */
.fab-stack { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: grid; gap: 10px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); background: var(--white); transition: transform var(--t-fast);
}
.fab:hover { transform: scale(1.06); text-decoration: none; }
.fab img { width: 30px; height: 30px; }
@media (max-width: 720px) { .fab-stack { bottom: 78px; } .fab { width: 48px; height: 48px; } .fab img { width: 26px; height: 26px; } }

.review { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.review__stars { display: flex; gap: 3px; color: var(--accent-500); }
.review__stars svg { width: 18px; height: 18px; }
.review__text { font-size: var(--fs-sm); color: var(--ink-700); flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; flex: none; }
.review__person { display: flex; flex-direction: column; line-height: 1.3; }
.review__name { font-weight: 600; font-size: var(--fs-sm); }
.review__meta { font-size: var(--fs-xs); color: var(--c-text-muted); }

/* ============================================================
   CTA-БЛОК
   ============================================================ */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--white);
  background: linear-gradient(120deg, var(--brand-700), var(--brand-600));
  padding: clamp(28px, 4vw, 52px); display: grid; gap: 32px; grid-template-columns: 1.1fr .9fr; align-items: center;
}
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 240px at 92% 10%, rgba(245,158,11,.22), transparent 70%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta__title { color: var(--white); margin-bottom: 12px; }
.cta__text { color: rgba(255,255,255,.88); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: var(--fs-base);
}
.faq__q:hover { color: var(--c-primary); }
.faq__q svg { width: 20px; height: 20px; flex: none; transition: transform var(--t); color: var(--c-primary); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { padding: 0 22px 22px; font-size: var(--fs-sm); color: var(--ink-700); }
.faq__a[hidden] { display: none; }

/* ============================================================
   ЗОНЫ ВЫЕЗДА
   ============================================================ */
.districts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   ХЛЕБНЫЕ КРОШКИ + ЗАГОЛОВОК СТРАНИЦЫ
   ============================================================ */
.page-head { background: var(--c-bg-brand); border-bottom: 1px solid var(--c-border); padding-block: clamp(24px, 3vw, 44px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--c-text-muted); margin-bottom: 14px; }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--ink-300); }
.breadcrumbs li:last-child::after { content: none; }
.page-head__title { margin-bottom: 10px; }
.page-head__text { color: var(--ink-700); max-width: 70ch; }

/* ---------- Текстовый контент статей ---------- */
.prose h2 { margin-top: 36px; margin-bottom: 14px; }
.prose h3 { margin-top: 26px; margin-bottom: 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-700); }
.prose ul { margin: 0 0 18px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--ink-700); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding-top: clamp(40px, 5vw, 64px); font-size: var(--fs-sm); }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer__title { color: var(--white); font-size: var(--fs-base); font-weight: 700; margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__about { max-width: 34ch; }
.footer .logo__name, .footer .logo__tag { color: var(--white); }
.footer .logo { margin-bottom: 16px; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact-item svg { width: 18px; height: 18px; flex: none; margin-top: 3px; opacity: .7; }
.footer__phone { color: var(--white) !important; font-size: var(--fs-md); font-weight: 700; }
.footer__bottom {
  margin-top: 36px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--fs-xs);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ============================================================
   ПЛАВАЮЩИЕ ДЕЙСТВИЯ (моб. панель + WhatsApp)
   ============================================================ */
.fab-wa {
  position: fixed; right: 18px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa:hover { background: #1eb455; text-decoration: none; }
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .fab-wa { bottom: 78px; width: 50px; height: 50px; }
  .fab-wa svg { width: 26px; height: 26px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--c-border);
  }
  .mobile-bar .btn { padding: 13px 12px; font-size: var(--fs-sm); }
  body { padding-bottom: 74px; }
}

/* ============================================================
   МОДАЛЬНОЕ ОКНО
   ============================================================ */
.modal { border: 0; padding: 0; background: transparent; max-width: 460px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(11, 36, 64, .6); backdrop-filter: blur(3px); }
.modal__inner { position: relative; }
.modal__close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--ink-100); cursor: pointer; display: grid; place-items: center; color: var(--ink-700);
}
.modal__close:hover { background: var(--ink-200); }
.modal__close svg { width: 18px; height: 18px; }

/* ============================================================
   УТИЛИТЫ
   ============================================================ */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); transition: top var(--t);
}
.skip-link:focus { top: 8px; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
