/* =========================================================================
   Сфера-А — sferatula.ru. Фирменные цвета логотипа: жёлтый #F8C830 / золото #F2B705,
   графит #232323, серый #7A7A7A. Шрифт Golos Text (локально, без внешних CDN — 152-ФЗ).
   ========================================================================= */

@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/golos-text-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --y: #F8C830;          /* фирменный жёлтый */
  --y-2: #F2B705;        /* золото, ховеры */
  --y-soft: #FBF3DC;     /* подложки: тёплый кремовый, без лимонного оттенка */
  --gold-ink: #946A00;   /* золото для текста и цифр на светлом фоне (контраст 4.9:1) */
  --cream: #F8F1E1;      /* фон финальной формы */
  --ink: #1E1E1E;        /* графит: текст, тёмные секции */
  --ink-2: #2B2B2B;
  --gray: #7A7A7A;
  --muted: #5C5C5C;      /* вторичный текст (контраст ≥ 4.5 на белом) */
  --line: #E6E3DA;
  --bg: #FFFFFF;
  --bg-2: #F6F5F1;       /* светлые секции */
  --ok: #1F7A3E;
  --err: #B42318;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(30,30,30,.06), 0 8px 24px rgba(30,30,30,.06);
  --shadow-l: 0 20px 50px rgba(30,30,30,.16);
  --wrap: 1200px;
  --gut: 20px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(30,30,30,.35); text-underline-offset: 3px; }
a:hover { color: #000; text-decoration-color: var(--y-2); }
:focus-visible { outline: 3px solid var(--y-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.2vw, 48px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { margin: 0 0 1em; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 12px; background: var(--y); color: var(--ink); font: 700 16px/1.2 var(--font); text-decoration: none;
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 4px 12px rgba(160,120,0,.18); }
.btn:hover { background: var(--y-2); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn--lg { min-height: 58px; font-size: 17px; padding: 0 32px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Верхняя строка и шапка ---------- */
.topbar { background: var(--ink); color: #D9D9D9; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--y); }
.topbar__msgs { margin-left: auto; display: inline-flex; gap: 4px; }
.topbar__msgs a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: #fff; }
.topbar__msgs a:hover { background: var(--y); color: var(--ink); }
.topbar__msgs .icon { width: 17px; height: 17px; }
.topbar__rating { display: inline-flex; align-items: center; gap: 6px; }
.topbar__rating .icon { width: 16px; height: 16px; color: var(--y); }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 58px; height: auto; }
.logo__name { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name b { font-size: 22px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.logo__name b span { color: var(--y-2); }
.logo__name small { font-size: 12px; color: var(--muted); max-width: 170px; }
/* меню занимает всё место между логотипом и телефоном, пункты распределены равномерно */
.nav { display: flex; flex: 1 1 auto; justify-content: space-between; gap: 2px; margin: 0 clamp(12px, 3vw, 48px); }
.nav a { padding: 10px 9px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--y-soft); }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.header__phone { font-weight: 800; font-size: 19px; text-decoration: none; white-space: nowrap; }
.header__call { background: none; border: 0; padding: 0; font: 600 14px var(--font); color: var(--muted); text-decoration: underline dashed; text-underline-offset: 3px; cursor: pointer; }
.header__call:hover { color: var(--ink); }
.header__msgs { display: flex; gap: 6px; }
.msg { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); color: var(--ink); text-decoration: none; }
.msg .icon { width: 20px; height: 20px; }
.msg:hover { background: var(--y); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--bg-2); color: var(--ink); cursor: pointer; }
.burger .icon { width: 24px; height: 24px; }

.mnav { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.4); }
.mnav__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%); background: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.mnav__head { display: flex; justify-content: space-between; align-items: center; }
.mnav__links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 18px; text-decoration: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-2); cursor: pointer; color: var(--ink); }

/* ---------- Хлебные крошки ---------- */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #B9B5A8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Первый экран ---------- */
.hero { position: relative; background: linear-gradient(180deg, #FFFDF6 0%, var(--y-soft) 100%); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url(../img/hero-bg.svg) no-repeat center bottom / max(1600px, 100%) auto; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,253,246,.92) 0%, rgba(255,253,246,.7) 38%, rgba(255,253,246,0) 62%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 40px 48px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--gold-ink); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: normal; color: inherit; background: linear-gradient(transparent 62%, rgba(248,200,48,.6) 0); }
.hero__lead { font-size: 19px; color: #3D3D3D; max-width: 620px; }
.hero__points { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.hero__points .icon { color: var(--gold-ink); width: 24px; height: 24px; margin-top: 1px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { background: rgba(255,255,255,.7); }
.hero .btn--ghost:hover { background: #fff; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(30,30,30,.12); }
.hero__facts--row { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px; margin-top: 0; padding-top: 0; border-top: 0; }
.hero__facts--row > div { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 18px; backdrop-filter: blur(4px); }
.hero__facts b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hero__facts span { font-size: 14px; color: var(--muted); }
.hero-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.hero-card h2 { font-size: 24px; margin-bottom: 6px; }
.hero-card > p { color: var(--muted); font-size: 15px; }
.hero--page .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); padding-top: 24px; }
.hero--page .crumbs { color: var(--muted); padding: 0; margin-bottom: 18px; }
.hero--page .crumbs li + li::before { color: #B9B5A8; }

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--calc { background: var(--y-soft); }
.section--tight { padding: 56px 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.section__head p { max-width: 640px; color: var(--muted); margin: 0; }
.section--dark .section__head p { color: #CFCFCF; }
.section__head h2 { margin-bottom: 8px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--y); }
.hero .eyebrow { color: var(--gold-ink); }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.price--hit { border: 2px solid var(--y); }
.price__badge { position: absolute; top: -13px; left: 24px; background: var(--y); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--y-soft); color: var(--ink); margin-bottom: 16px; }
.price__icon .icon { width: 28px; height: 28px; }
.price h3 { margin-bottom: 14px; }
.price dl { margin: 0 0 18px; display: grid; gap: 10px; }
.price dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price dt { color: var(--muted); }
.price dd { margin: 0; font-weight: 700; white-space: nowrap; }
.price__total { margin-top: auto; padding-top: 6px; }
.price__total span { display: block; font-size: 14px; color: var(--muted); }
.price__total b { font-size: 30px; font-weight: 800; }
.price .btn { margin-top: 16px; }
.price__note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.prices-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---------- Карточки / преимущества ---------- */
.grid { display: grid; gap: 20px; }
.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: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--alt .card { border-color: transparent; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--y-soft); color: var(--gold-ink); margin-bottom: 16px; }
.section--dark .card__icon { background: rgba(248,200,48,.14); color: var(--y); }
.card__icon .icon { width: 26px; height: 26px; }
.section--dark .card { background: var(--ink-2); border-color: #3A3A3A; }
.section--dark .card p { color: #CFCFCF; }
.svc { display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); color: inherit; }
.svc__price { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: 18px; }
.svc .link-arrow { color: var(--ink); }

/* ---------- Этапы ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-size: 32px; font-weight: 800; color: var(--gold-ink); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--muted); margin: 0; }
.steps__time { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gold-ink); background: var(--y-soft); border-radius: 6px; padding: 2px 8px; }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0; color: var(--ink); background: #fff; border-radius: 20px; box-shadow: var(--shadow-l); overflow: hidden; }
.calc__body { padding: 32px; }
.calc__q { border: 0; padding: 0; margin: 0 0 22px; }
.calc__q legend { font-weight: 700; margin-bottom: 10px; font-size: 17px; }
.calc__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; transition: border-color .15s, background .15s; }
.chip input:checked + span { border-color: var(--y-2); background: var(--y-soft); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--y-2); outline-offset: 2px; }
.calc__side { background: var(--ink); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.calc__side h3 { color: #fff; margin: 0; }
.calc__est { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: center; margin-top: 8px; padding: 22px 24px; border-radius: 16px; background: var(--ink); color: #fff; }
.calc__est-sum span { display: block; font-size: 14px; color: #CFCFCF; margin-bottom: 4px; }
.calc__est-sum b { font-size: 34px; font-weight: 800; color: var(--y); line-height: 1.1; white-space: nowrap; }
.calc__est ul { margin: 0; padding-left: 18px; font-size: 14px; color: #DADADA; display: grid; gap: 4px; }
.calc__side { justify-content: center; }
.calc__side-lead { margin: 0 0 6px; font-size: 15px; color: #CFCFCF; }
.calc__side .lead-form label { color: #EDEDED; }
.calc__side .check span { color: #CFCFCF; }
.calc__side .check a { color: #fff; }
.calc__side .form__note { color: #A9A9A9; }

/* ---------- Формы ---------- */
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label, .field__label { font-size: 14px; font-weight: 600; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #D5D1C4; border-radius: 10px; font: 16px var(--font); color: var(--ink); background: #fff; }
.input:focus { border-color: var(--y-2); outline: none; box-shadow: 0 0 0 3px rgba(242,183,5,.25); }
.input[aria-invalid="true"] { border-color: var(--err); }
textarea.input { min-height: 96px; resize: vertical; }
.field__error { color: var(--err); font-size: 13px; }
.calc__side .field__error { color: #FF9C8F; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--y-2); }
.check--error span { color: var(--err); }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form__alert { padding: 12px 14px; border-radius: 10px; background: #FDECEA; color: var(--err); font-size: 14px; }
.form-done { text-align: center; padding: 20px 8px; }
.form-done .icon { width: 56px; height: 56px; color: var(--ok); }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Почему мы / доверие ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; }
.checklist .icon { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--y-soft); color: var(--gold-ink); }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: 15px; }
.section--dark .checklist span { color: #CFCFCF; }
.expert { display: flex; gap: 18px; align-items: center; background: var(--bg-2); border-radius: var(--radius); padding: 20px; }
.expert__ava { width: 72px; height: 72px; border-radius: 50%; background: #fff url(../img/logo-mark.svg) no-repeat center / 64%; border: 1px solid var(--line); flex: none; }
.section--alt .checklist .icon { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.section--alt .expert { background: #fff; }
.expert b { display: block; font-size: 18px; }
.expert span { color: var(--muted); font-size: 14px; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--y-soft); border-left: 4px solid var(--y); font-size: 15px; }
.notice .icon { color: var(--gold-ink); width: 24px; height: 24px; }
.notice p { margin: 0; }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-2); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table td:last-child { white-space: nowrap; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: #333; }
.faq__a p:last-child { margin: 0; }

/* ---------- Контент статей и страниц ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding: 32px 0 80px; }
.page__aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.content { font-size: 17px; line-height: 1.7; }
.content h2 { margin-top: 1.6em; font-size: clamp(22px, 2.6vw, 30px); }
.content h3 { margin-top: 1.4em; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content li { margin-bottom: .45em; }
.content ul li::marker { color: var(--gold-ink); }
.content img { border-radius: var(--radius); display: block; margin: 1.2em 0; }
.content figure { margin: 1.4em 0; }
.content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.content blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--y); background: var(--bg-2); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.content a { color: var(--gold-ink); }
.content > :first-child { margin-top: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 16px; height: 16px; }
.article-cover { border-radius: 18px; margin-bottom: 28px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--bg-2); }
.toc { background: var(--bg-2); border-radius: var(--radius); padding: 20px; }
.toc b { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; font-size: 15px; display: grid; gap: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.aside-cta { background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; }
.aside-cta h2, .aside-cta h3 { color: #fff; font-size: 20px; }
.aside-cta p { color: #CFCFCF; font-size: 15px; }
.aside-cta .btn { width: 100%; }
.aside-cta__phone { display: block; margin-top: 14px; text-align: center; color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.subnav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.subnav b { display: block; padding: 8px 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.subnav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15px; }
.subnav a:hover { background: var(--bg-2); }
.subnav a[aria-current] { background: var(--y-soft); font-weight: 700; }
.subnav .sub { padding-left: 14px; }

/* ---------- Новости / статьи ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.post:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); color: inherit; }
.post__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--bg-2) url(../img/logo-mark.svg) no-repeat center / 30%; }
.post__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__date { font-size: 13px; color: var(--muted); }
.post__title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.post__text { font-size: 15px; color: var(--muted); }
.post--line { flex-direction: row; }
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.news-item:hover .news-item__title { text-decoration: underline; text-decoration-color: var(--y-2); }
.news-item__date { color: var(--muted); font-size: 14px; padding-top: 2px; }
.news-item__title { font-weight: 700; font-size: 18px; line-height: 1.35; display: block; margin-bottom: 4px; }
.news-item__text { color: var(--muted); font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager span[aria-current] { background: var(--y); border-color: var(--y); }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs a { padding: 10px 18px; border-radius: 999px; background: var(--bg-2); text-decoration: none; font-weight: 600; }
.tabs a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- CTA-полоса ---------- */
.cta-band { background: var(--cream); border-top: 4px solid var(--y); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 56px; }
.cta-band__text { padding-top: 8px; }
.cta-band__points { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.cta-band__points li { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.cta-band__points .icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--gold-ink); box-shadow: 0 0 0 1px var(--line); }
.cta-band__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.cta-band__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; text-decoration: none; }
.cta-band__phone .icon { color: var(--gold-ink); }
.cta-band__contacts .muted { font-size: 14px; }
.cta-band__msgs { display: flex; gap: 6px; }
.cta-band__msgs .msg { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cta-band .lead-form textarea.input { min-height: 72px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .lead-form { background: #fff; padding: 24px; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--y-soft); flex: none; }
.contact-list span { display: block; color: var(--muted); font-size: 14px; }
.contact-list b, .contact-list a { font-size: 18px; font-weight: 700; text-decoration: none; }
.map { border-radius: 18px; overflow: hidden; min-height: 420px; background: var(--bg-2); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__stub { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.map__stub .icon { width: 32px; height: 32px; color: var(--gold-ink); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 24px; align-items: start; }
.reviews { position: relative; min-height: 640px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.reviews iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.req { width: 100%; border-collapse: collapse; font-size: 15px; }
.req th, .req td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.req th { width: 42%; color: var(--muted); font-weight: 500; padding-right: 16px; }

/* ---------- Подвал ---------- */
.footer { background: #141414; color: #A8A8A8; font-size: 15px; padding: 64px 0 28px; }
.footer a { color: #E6E6E6; text-decoration: none; transition: color .15s; }
.footer a:hover { color: var(--y); }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1.1fr 1.15fr; gap: 40px; align-items: start; }
.footer h2 { font-size: 13px; color: #8A8A8A; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin: 6px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { line-height: 1.35; }
.footer .logo__name b { color: #fff; }
.footer .logo__name small { color: #8A8A8A; }
.footer__about { margin: 18px 0 20px; line-height: 1.55; max-width: 300px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__links a { padding: 6px 12px; border-radius: 8px; background: #1F1F1F; font-size: 14px; }
.footer__links a:hover { background: #262626; }
.footer__phone { display: block; font-size: 22px; font-weight: 800; color: #fff !important; margin-bottom: 14px; white-space: nowrap; }
.footer__info { gap: 10px !important; margin-bottom: 20px !important; }
.footer__info li { display: flex; gap: 10px; align-items: flex-start; }
.footer__info .icon { width: 18px; height: 18px; color: #7A7A7A; margin-top: 2px; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer__actions .btn { box-shadow: none; }
.footer__msg { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #1F1F1F; }
.footer__msg:hover { background: #262626; }
.footer__msg .icon { width: 20px; height: 20px; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #262626; font-size: 13px; line-height: 1.6; color: #7D7D7D; }
.footer__req { margin: 0 0 8px; color: #9A9A9A; }
.footer__disclaimer { margin: 0; max-width: 1000px; }
.footer__bottom { margin-top: 20px; padding-top: 20px; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; color: #7D7D7D; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom a, .footer__bottom button { color: #B5B5B5; }
.footer__bottom button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer__bottom button:hover { color: var(--y); }

/* ---------- Модальные окна, cookie, панель на мобильных ---------- */
.modal { border: 0; padding: 0; border-radius: 20px; width: min(460px, calc(100% - 24px)); box-shadow: var(--shadow-l); }
.modal::backdrop { background: rgba(10,10,10,.55); }
.modal__body { padding: 30px 28px 26px; position: relative; }
.modal__close { position: absolute; right: 14px; top: 14px; }
.modal h2 { font-size: 24px; padding-right: 40px; margin-bottom: 6px; }
.modal__lead { color: var(--muted); font-size: 15px; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow-l); border: 1px solid var(--line); font-size: 14px; }
.cookie h2 { font-size: 17px; margin-bottom: 6px; }
.cookie p { margin-bottom: 12px; color: #333; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__opts { margin-bottom: 12px; display: grid; gap: 8px; }
.tabbar { display: none; }
.to-top { display: none; }

/* ---------- 404 / спасибо ---------- */
.state { text-align: center; padding: 96px 0; }
.state__code { font-size: clamp(80px, 16vw, 160px); font-weight: 900; color: var(--y); line-height: 1; }
.state p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.state .hero__ctas { justify-content: center; }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .nav a { padding: 10px 7px; font-size: 14px; }
  .logo__name small { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header__contacts .header__call { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .header .wrap { justify-content: space-between; }
  .header__contacts { margin-left: auto; }
  .hero .wrap, .hero--page .wrap { grid-template-columns: 1fr; gap: 32px; }
  .prices, .posts { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .why, .contacts, .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .wrap { gap: 28px; }
  .page { grid-template-columns: 1fr; }
  .page__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 720px) {
  :root { --gut: 16px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar__item--hours, .topbar__item--mail, .topbar__rating { display: none; }
  .topbar .wrap { gap: 12px; font-size: 13px; }
  .header .wrap { min-height: 64px; gap: 12px; }
  .logo img { width: 46px; }
  .logo__name b { font-size: 19px; }
  .logo__name small { display: none; }
  .header__phone { font-size: 16px; }
  .section { padding: 56px 0; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; }
  .hero__lead { font-size: 17px; }
  .hero__facts, .hero__facts--row { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .hero__facts b { font-size: 20px; }
  .hero__facts span { font-size: 12px; }
  .hero-card { padding: 22px 18px; }
  .hero__ctas .btn { width: 100%; }
  .prices, .posts, .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand, .footer__contacts { grid-column: 1 / -1; }
  .footer { padding-top: 48px; }
  .calc__body, .calc__side { padding: 22px 18px; }
  .calc__est { grid-template-columns: 1fr; padding: 18px; }
  .calc__est-sum b { font-size: 28px; }
  .form-row--2 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .content { font-size: 16px; }
  .cookie { left: 8px; right: 8px; bottom: 72px; max-width: none; }
  .tabbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; font: 600 12px var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; }
  .tabbar .tabbar__cta { background: var(--y); }
  .map { min-height: 300px; }
}
.header__phone-ico { display: none; }
@media (max-width: 359px) {
  .header__phone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--y); }
  .header__phone span { display: none; }
  .header__phone-ico { display: block; width: 22px; height: 22px; }
  .topbar__item { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 1025px) {
  .cookie { left: 50%; right: auto; transform: translateX(-50%); max-width: 980px; width: calc(100% - 32px); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 14px 20px; }
  .cookie h2 { display: none; }
  .cookie p { margin: 0; }
  .cookie__opts { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}
@media (max-width: 720px) {
  .hero::before { background-size: 1100px auto; opacity: .7; }
  .hero__facts--row { gap: 8px; }
  .hero__facts--row > div { padding: 10px 10px; }
  .hero__facts--row b { font-size: 17px; white-space: nowrap; }
  .hero::after { background: rgba(255,253,246,.6); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .header, .footer, .cookie, .tabbar, .cta-band, .page__aside, .modal { display: none !important; }
}

a[href^="tel:"] { white-space: nowrap; }

/* ---------- Списки: шапка раздела, блог ---------- */
.list-head { background: var(--bg-2); padding-bottom: 28px; }
.list-head h1 { margin-top: 18px; }
.list-head__lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.list-head .tabs { margin: 24px 0 0; }
.blog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
.article-card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); border-color: transparent; color: inherit; }
.article-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.article-card__tag { padding: 4px 10px; border-radius: 999px; background: var(--y-soft); color: var(--gold-ink); font-weight: 700; }
.article-card__title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.article-card__text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.article-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.article-card__foot .link-arrow { color: var(--ink); }
.article-card--lead { grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink); }
.article-card--lead .article-card__body { padding: 40px 44px; gap: 16px; }
.article-card--lead .article-card__title { font-size: clamp(26px, 3vw, 36px); max-width: 820px; }
.article-card--lead .article-card__text { color: #CFCFCF; font-size: 17px; max-width: 760px; }
.article-card--lead .article-card__meta { color: #BDBDBD; }
.article-card--lead .article-card__tag { background: rgba(248,200,48,.16); color: var(--y); }
.article-card--lead .article-card__foot { border-color: #333; color: #BDBDBD; }
.article-card--lead .article-card__foot .link-arrow { color: var(--y); }
.article-card--lead:hover { color: #fff; }
.topic-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .topic-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .topic-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topic-links { grid-template-columns: 1fr; } }
.topic-link { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border-radius: 14px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.topic-link:hover { box-shadow: 0 0 0 2px var(--y); color: inherit; }
.topic-link > .icon:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--y-soft); color: var(--gold-ink); flex: none; }
.topic-link span { display: grid; flex: 1; }
.topic-link small { color: var(--muted); font-size: 13px; }
.topic-link__go { color: var(--muted); }
@media (max-width: 720px) {
  .blog { grid-template-columns: 1fr; }
  .article-card__body, .article-card--lead .article-card__body { padding: 22px 20px; }
}

/* ---------- Статья: коммерческие блоки ---------- */
.inline-offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 32px 0; padding: 20px 22px; border-radius: 16px; background: var(--y-soft); border: 1px solid #EFE2BC; }
.inline-offer__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--gold-ink); }
.inline-offer__icon .icon { width: 26px; height: 26px; }
.inline-offer__text { display: grid; gap: 2px; font-size: 15px; line-height: 1.5; }
.inline-offer__text .eyebrow { margin: 0; font-size: 12px; }
.inline-offer__text b { font-size: 18px; }
.inline-offer__text strong { white-space: nowrap; }
.inline-offer__btns { display: flex; flex-direction: column; gap: 8px; }
.content .inline-offer a.btn { color: var(--ink); text-decoration: none; }
.content .inline-offer a.btn--dark { color: #fff; }
.next-steps { margin-top: 40px; }
.next-steps h2 { font-size: 24px; margin-bottom: 16px; }
.next-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.next-step { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.next-step:hover { border-color: var(--y); box-shadow: var(--shadow); color: var(--ink); }
.next-step .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--y-soft); color: var(--gold-ink); margin-bottom: 6px; }
.next-step b { font-size: 17px; }
.next-step span { font-size: 14px; color: var(--muted); }
.author-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--bg-2); }
.author-box b { display: block; font-size: 17px; }
.author-box .muted { font-size: 13px; display: block; }
.author-box .btn--ghost { color: var(--ink); }
.aside-offer { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.aside-offer .eyebrow { margin-bottom: 6px; }
.aside-offer h2 { font-size: 20px; margin-bottom: 8px; }
.aside-offer p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.aside-offer__price { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.aside-offer__price--text { font-size: 15px; font-weight: 700; color: var(--gold-ink); }
.aside-offer__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.aside-offer__list li { display: flex; gap: 8px; align-items: flex-start; }
.aside-offer__list .icon { width: 18px; height: 18px; color: var(--gold-ink); flex: none; margin-top: 2px; }
.aside-offer .btn { margin-top: 8px; }
.aside-offer .aside-cta__phone { color: var(--ink); }
.toc--mobile { display: none; margin-bottom: 20px; }
.toc--mobile summary { font-weight: 700; cursor: pointer; }
.toc--mobile ol { margin-top: 10px; }
@media (max-width: 1024px) {
  .toc--mobile:not([hidden]) { display: block; }
  .page__aside .toc { display: none; }
}
@media (max-width: 720px) {
  .inline-offer { grid-template-columns: 1fr; }
  .inline-offer__btns { flex-direction: row; flex-wrap: wrap; }
  .next-steps__grid { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: auto 1fr; }
  .author-box .btn { grid-column: 1 / -1; }
}
.blog--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog--3 .article-card__title { font-size: 19px; }
@media (max-width: 1024px) { .blog--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .blog--3 { grid-template-columns: 1fr; } }

/* ---------- Иллюстрации и фото ---------- */
.svc { overflow: hidden; }
.svc__img { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 6px; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.article-card__img { display: block; border-bottom: 1px solid var(--line); background: var(--y-soft); }
.article-card--lead .article-card__img { border-color: #333; }
@media (min-width: 900px) {
  .article-card--lead { flex-direction: row-reverse; }
  .article-card--lead .article-card__img { width: 42%; aspect-ratio: auto; border-bottom: 0; }
}
.article-cover--illus { aspect-ratio: 16 / 7; object-fit: cover; border: 1px solid var(--line); }
.expert__ava--photo { object-fit: cover; background: var(--bg-2); padding: 0; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.photos__item { margin: 0; }
.photos__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }
.photos__item figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.blog:not(.blog--3) .article-card:not(.article-card--lead) .article-card__img { aspect-ratio: 2 / 1; }

/* ---------- Отзывы: боковая карточка ---------- */
.reviews-side { position: sticky; top: 100px; display: grid; gap: 16px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.section--alt .reviews-side { border-color: transparent; box-shadow: var(--shadow); }
.reviews-side p { margin: 0; color: var(--muted); font-size: 15px; }
.reviews-side__rating { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.reviews-side__rating > b { font-size: 48px; font-weight: 800; line-height: 1; }
.reviews-side__rating > span { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.reviews-side__stars { display: flex; gap: 2px; color: var(--y-2); }
.reviews-side__stars .icon { width: 18px; height: 18px; }
.reviews-side .link-arrow { justify-self: start; font-size: 15px; }
.reviews-side__photo { margin: 4px 0 0; }
.reviews-side__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); background: var(--bg-2); }
.reviews-side__photo figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-side { position: static; }
  .reviews { min-height: 560px; }
  .reviews-side__photo { display: none; }
}

/* ---------- Ссылки в верхней строке ---------- */
.topbar__item--link { font-weight: 600; }
.topbar__item--link:hover, .topbar__item--link[aria-current] { color: var(--y); }
@media (max-width: 720px) { .topbar__item--link { display: none; } }

/* ---------- О компании ---------- */
.about-office { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.about-office__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-office__body { display: grid; gap: 4px; padding: 20px 24px 24px; font-size: 15px; }
.about-office__body b { font-size: 18px; }
.about-office__body .link-arrow { margin-top: 8px; justify-self: start; }
.partner { display: flex; flex-direction: column; gap: 10px; }
.partner__kind { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--y-soft); color: var(--gold-ink); font-size: 13px; font-weight: 700; }
.partner h3 { margin: 0; }
.partner__req { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.partner__req div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.partner__req dt { color: var(--muted); }
.partner__req dd { margin: 0; font-weight: 600; text-align: right; }
.partner__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.partner__check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.partner__check .icon { width: 16px; height: 16px; }
.money .card__icon { background: var(--y-soft); color: var(--gold-ink); }
.about-text p { color: var(--muted); }
.about-office-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.about-office-grid .photos { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (max-width: 1024px) { .about-office-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .about-office__img { aspect-ratio: 16 / 10; } }

/* ---------- Выпадающее меню «Услуги» ---------- */
.nav { align-items: center; }
.nav__drop { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 9px; border: 0; border-radius: 10px; background: none; font: 600 15px var(--font); color: inherit; cursor: pointer; white-space: nowrap; }
.nav__drop-btn:hover, .nav__drop-btn[aria-current], .nav__drop.is-open .nav__drop-btn { background: var(--y-soft); }
.nav__chev { width: 16px; height: 16px; transition: transform .15s; }
.nav__drop.is-open .nav__chev { transform: rotate(180deg); }
@media (hover: hover) { .nav__drop:hover .nav__chev { transform: rotate(180deg); } }
.nav__menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; min-width: 280px; padding: 8px; display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__drop:hover .nav__menu { opacity: 1; visibility: visible; transform: none; } }
.nav__menu a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 14px; }
.nav__menu a b { font-weight: 600; }
.nav__menu a span { font-size: 13px; font-weight: 600; color: var(--gold-ink); white-space: nowrap; }
@media (max-width: 1240px) { .nav__drop-btn { padding: 10px 7px; font-size: 14px; } }
.mnav__group { display: block; padding: 14px 4px 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.mnav__links a.mnav__sub { padding-left: 16px; font-size: 17px; }

/* ---------- Поиск ---------- */
.search-form { display: flex; gap: 8px; }
.search-form .input { min-height: 44px; }
.search-form .btn { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.hsearch { position: relative; flex: none; }
.hsearch__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.hsearch__btn:hover, .hsearch.is-open .hsearch__btn { background: var(--y-soft); }
.hsearch__pop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 40; width: 380px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l); display: none; }
.hsearch.is-open .hsearch__pop { display: block; }
.mnav__panel > .search-form .btn { padding: 0 14px; }
.search-form--page { max-width: 720px; margin: 8px 0 12px; }
.search-form--page .input { min-height: 52px; font-size: 17px; }
.search-results { list-style: none; margin: 0; padding: 0; max-width: 860px; display: grid; gap: 14px; }
.search-result { display: grid; gap: 6px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.search-result__kind { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--y-soft); color: var(--gold-ink); font-size: 12px; font-weight: 700; }
.search-result__title { font-size: 19px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.search-result__title:hover { text-decoration: underline; }
.search-result__text { margin: 0; color: var(--muted); font-size: 15px; }
.search-result__url { font-size: 13px; color: #8A877D; word-break: break-all; }
.search-result mark { background: rgba(248,200,48,.45); color: inherit; padding: 0 2px; border-radius: 3px; }
.search-empty { max-width: 720px; }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; }
.chip-link:hover { border-color: var(--y-2); background: var(--y-soft); }
@media (max-width: 1024px) { .hsearch { display: none; } }
