/* pf-ya.site — стили нового дизайна (ноябрь 2026).
   Старый style.css пока остаётся для подстраниц, пока их не переведём на этот файл. */

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f4ef;
  --surface: #ffffff;
  --surface-2: #e9ebe3;
  --ink: #15181d;
  --ink-2: #353c45;
  --muted: #5f6772;
  --line: #dcdfd6;
  --accent: #0f7a55;
  --accent-hover: #0b6446;
  --accent-soft: #dcf1e5;
  --mark: #c9f06b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(21, 24, 29, .05), 0 10px 30px rgba(21, 24, 29, .06);
  --container: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* страховка: ничто не делает страницу шире экрана телефона */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.022em; font-weight: 800; color: var(--ink); overflow-wrap: break-word; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.55rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.18rem; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding-top: 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.kicker { display: block; margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); padding: 0 .08em; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 11px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 inherit; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2f37; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: #c9cdc3; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--tg { background: #229ed9; color: #fff; }
.btn--tg:hover { background: #1a8cc2; color: #fff; }
.btn--max { background: #5b4ee8; color: #fff; }
.btn--max:hover { background: #4a3ed3; color: #fff; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn svg { flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* Шапка */
/* Размытие фона — на псевдоэлементе: backdrop-filter на самой шапке делает её «рамкой» для fixed-меню,
   и меню на телефоне открывалось высотой 40px (баг, исправлен 11.11.2026). */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(243, 244, 239, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--accent); }
.header__phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--accent); }
.header__inner > .btn { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Первый экран */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__eyebrow, .hero__note { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero__eyebrow { margin-bottom: 20px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero__eyebrow span, .hero__note span { position: relative; padding-left: 14px; }
.hero__eyebrow span::before, .hero__note span::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.hero__lead { margin-top: 22px; font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__note { margin-top: 14px; font-size: .93rem; color: var(--muted); }
.hero__note strong { color: var(--ink); }
.hero__alt { margin-top: 26px; padding-top: 20px; border-top: 1px dashed #c9cdc3; color: var(--ink-2); font-size: .98rem; }

/* Карточка-отчёт в первом экране */
.report { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.report__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.report__title { font-weight: 800; font-size: 1rem; }
.report__date { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.report table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.report th { text-align: left; font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 18px 6px; }
.report td { padding: 9px 18px; border-top: 1px solid #eef0ea; vertical-align: middle; }
.report td:first-child { color: var(--ink-2); }
.report th:not(:first-child), .report td:not(:first-child) { text-align: right; white-space: nowrap; width: 1%; }
.pos { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-hover); font-weight: 800; }
.delta { color: var(--accent); font-weight: 700; }
.report__foot { padding: 12px 18px 16px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); background: #fafbf8; }

/* Полоса фактов */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact { padding: 22px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__num { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fact__label { display: block; margin-top: 6px; color: var(--muted); font-size: .93rem; line-height: 1.4; }

/* Два способа */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.way { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.way--main { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.way__badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; letter-spacing: .02em; }
.way__label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.way h3 { margin-top: 8px; font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.way__price { margin-top: 12px; font-size: 1.05rem; color: var(--ink-2); }
.way__price strong { font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.way__rows { margin: 22px 0 26px; border-top: 1px solid var(--line); }
.way__rows li { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.way__rows b { color: var(--muted); font-weight: 600; }
.way .btn { margin-top: auto; }
.ways__note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: .98rem; }
.step__time { display: block; margin-top: 14px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.features { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature { padding: 22px 24px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature h3 { font-size: 1.02rem; }
.feature p { margin-top: 8px; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.steps__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* Цены */
.prices { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.price-card--panel { background: var(--ink); color: #e9ece6; border-color: var(--ink); }
.price-card--panel h3, .price-card--panel .price-big { color: #fff; }
.price-card--panel .way__label { color: #9fe3bf; }
.price-big { margin: 14px 0 6px; font-size: clamp(2.4rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-big small { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: #b9c0b6; }
.ticks { margin: 20px 0 26px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b6446' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.price-card--panel .ticks li::before { background-color: #23463a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239fe3bf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-card .btn { margin-top: auto; }
.tariffs { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .97rem; }
.tariffs th { text-align: left; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 10px 0; }
.tariffs td { padding: 15px 12px 15px 0; border-top: 1px solid var(--line); vertical-align: top; }
.tariffs td:last-child, .tariffs th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.tariffs td:last-child { font-weight: 800; font-size: 1.08rem; }
.tariffs b { display: block; }
.tariffs span { color: var(--muted); font-size: .9rem; }
.price-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Кейсы */
.cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.case { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case:nth-child(-n+2) { grid-column: span 3; }
.case__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef0ea; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .3s; }
.case__img:hover img { transform: scale(1.03); }
.case__body { padding: 20px 22px 24px; }
.case__niche { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case h3 { margin-top: 6px; }
.case__result { margin-top: 10px; color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.case__result strong { color: var(--accent-hover); }

/* Отзывы */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.review { scroll-snap-align: start; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e8ebe4; cursor: zoom-in; }
.review img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; }
.reviews__hint { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* Направления и города */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: block; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.tile h3 { font-size: 1.08rem; }
.tile h3::after { content: " →"; color: var(--accent); }
.tile p { margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities a { display: inline-block; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.cities a:hover { border-color: var(--accent); color: var(--accent); }
.cities a.cities__all { background: var(--ink); border-color: var(--ink); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }

/* Риски */
.safety { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.safety__text p + p { margin-top: 14px; }
.safety__text p { color: var(--ink-2); }
.safety__list { display: grid; gap: 14px; }
.safety__list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.safety__list b { display: block; margin-bottom: 4px; }
.safety__list span { color: var(--muted); font-size: .95rem; }

/* Текст о услуге */
.prose { max-width: 780px; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }

/* Вопросы */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.07rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 50px 22px 0; color: var(--ink-2); }

/* Заявка */
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.order__text p { margin-top: 16px; color: var(--ink-2); }
.contacts { margin-top: 28px; display: grid; gap: 12px; }
.contacts a { font-weight: 700; text-decoration: none; }
.contacts__phone { font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.contacts__phone:hover { color: var(--accent); }
.contacts__row { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts__row .btn { flex: 1 1 210px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #cfd3c9; border-radius: 10px; background: #fbfbf9; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s, background .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.form__note { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.form__status { margin-top: 12px; font-weight: 600; font-size: .95rem; }
.form__status--ok { color: var(--accent-hover); }
.form__status--err { color: #b42318; }

/* Подвал */
.footer { background: var(--ink); color: #b9c0b6; padding: 56px 0 28px; margin-top: 0; }
.footer a { color: #e9ece6; text-decoration: none; }
.footer a:hover { color: #9fe3bf; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; }
.footer__about { margin-top: 14px; font-size: .93rem; line-height: 1.55; max-width: 26em; }
.footer__about a { text-decoration: underline; text-decoration-color: #4a515b; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer__links { display: grid; gap: 9px; font-size: .94rem; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #2c3139; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }

/* Нижняя панель на телефоне */
.sticky-cta { display: none; }

/* Окно «Связаться»: Telegram, Max, звонок, заявка */
.sheet { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-end; justify-content: center; background: rgba(12, 14, 17, .55); }
.sheet.is-open { display: flex; }
.sheet__panel { position: relative; width: 100%; max-width: 460px; background: var(--surface); border-radius: 18px 18px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 10px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
.sheet__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; padding-right: 44px; }
.sheet__sub { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.sheet .btn { width: 100%; justify-content: flex-start; padding-left: 20px; }
.sheet__form { margin-top: 6px; text-align: center; }
@media (min-width: 600px) { .sheet { align-items: center; } .sheet__panel { border-radius: 18px; } }

/* Контакты в мобильном меню и в боковой карточке */
.menu-contacts__title { margin-top: 22px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu-contacts { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.aside-card__msg { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aside-card .aside-card__msg .btn { margin-top: 0; width: auto; min-height: 42px; padding: 8px 10px; font-size: .92rem; gap: 6px; }
.aside-card__msg svg { width: 18px; height: 18px; }

/* Просмотр картинок */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 14, 17, .88); display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Подстраницы */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 22px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: #b5bab0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22em; }
.page-hero__lead { margin-top: 18px; max-width: 46em; font-size: clamp(1.04rem, 1.5vw, 1.16rem); color: var(--ink-2); }
.page-hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
/* Только вертикальные отступы: боковые даёт .container (раньше padding обнулял их, и текст прилипал к краю телефона) */
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 72px); }
.article { max-width: 760px; }
.article > * + * { margin-top: 16px; }
.article h2 { margin-top: 44px; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.article h3 { margin-top: 30px; }
.article h2 + *, .article h3 + * { margin-top: 12px; }
.article p, .article li { color: var(--ink-2); }
.article { overflow-wrap: break-word; }
.article ul, .article ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding-left: 0; }
.article ul li { position: relative; padding-left: 22px; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.article ol { counter-reset: li; }
.article ol li { position: relative; padding-left: 36px; counter-increment: li; }
.article ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 800; display: grid; place-items: center; }
.article strong { color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.article th, .article td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: #fafbf8; }
.article tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.callout { padding: 18px 22px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #c4e6d3; color: var(--ink); }
.callout p { color: var(--ink); }
.callout--dark { background: var(--ink); border-color: var(--ink); }
.callout--dark p, .callout--dark strong { color: #fff; }
.figure { margin: 24px 0 0; }
.figure a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #eef0ea; }
.figure figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card--main { background: var(--ink); border-color: var(--ink); color: #c9cfc6; }
.aside-card--main .aside-card__title { color: #fff; }
.aside-card__label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fe3bf; }
.aside-card:not(.aside-card--main) .aside-card__label { color: var(--muted); }
.aside-card__title { margin-top: 6px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.aside-card p { margin-top: 8px; font-size: .93rem; line-height: 1.5; }
.aside-card .btn { margin-top: 16px; width: 100%; }
.aside-card__phone { display: block; margin-top: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.page-faq { padding: clamp(44px, 6vw, 64px) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related { padding: clamp(44px, 6vw, 64px) 0; }
.related h2 { margin-bottom: 22px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.cta-band { background: var(--ink); color: #c9cfc6; padding: clamp(40px, 6vw, 60px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 18em; }
.cta-band p { margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { color: #fff; border-color: #4a515b; }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }
.cta-band + .footer { border-top: 1px solid #2c3139; }
.page-order { padding: clamp(44px, 6vw, 64px) 0; }

/* Адаптив */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header__phone { display: none; }
}
.hero__grid > *, .prices > *, .order > *, .safety > *, .split > *, .page-body > * { min-width: 0; }
@media (max-width: 960px) {
  .hero__grid, .prices, .order, .safety, .split { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case, .case:nth-child(-n+2) { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .nav, .header__phone, .header__inner > .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--bg); padding: 20px; overflow-y: auto; }
  .menu-open .mobile-menu { display: block; }
  .mobile-menu nav { display: grid; gap: 4px; }
  .mobile-menu nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.08rem; }
  .mobile-menu > .btn { margin-top: 20px; width: 100%; }
  .menu-contacts .btn { min-height: 48px; padding: 10px 6px; gap: 6px; font-size: .95rem; }
  .menu-open { overflow: hidden; }
  .ways, .steps { grid-template-columns: 1fr; }
  .way--main { margin-top: 6px; }
  .sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 244, 239, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .sticky-cta .btn { flex: 1; min-height: 50px; padding: 10px 14px; font-size: .97rem; }
  .sticky-cta .btn--ghost { flex: 0 0 auto; gap: 7px; background: var(--surface); }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .link-arrow { white-space: normal; }
  .article p, .article li { hyphens: auto; }
  .tariffs td:last-child { white-space: normal; }
  .tariffs td { padding-right: 8px; }
  .report__date { white-space: normal; }
  .contacts__phone { font-size: 1.35rem; }
  .report table { table-layout: fixed; }
  .report th:first-child { width: auto; }
  .report th:nth-child(2) { width: 5.2rem; }
  .report th:nth-child(3) { width: 4.6rem; }
  .report td, .report th { padding-left: 12px; padding-right: 12px; }
  .report td:first-child { font-size: .86rem; line-height: 1.35; }
  .report td:nth-child(2) { white-space: normal; font-size: .84rem; line-height: 1.2; }
  .cases { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .case { scroll-snap-align: start; }
  .tile { padding: 16px 18px; }
  .section { padding: 48px 0; }
  .facts, .features, .tiles, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .fact + .fact, .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .way__rows li { grid-template-columns: 1fr; gap: 2px; }
  .tariffs th:nth-child(2), .tariffs td:nth-child(2) { display: none; }
  .faq details p { padding-right: 0; }
  .reviews { grid-auto-columns: 62%; }
  .aside { grid-template-columns: 1fr; }
  .page-hero__cta .btn { width: 100%; }
  .article th, .article td { padding: 9px 10px; }
}
@media (max-width: 359px) {
  .container { padding: 0 16px; }
  .sticky-cta { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .sticky-cta .btn { font-size: .9rem; padding: 10px; }
  .menu-contacts { grid-template-columns: 1fr; }
}
