/* PR-VRACHA.RU — единый файл стилей. Версия подключается через ?v= из config.php (assets_version). */

@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/assets/fonts/golos-text.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #14262e;
  --ink-soft: #4a5d63;
  --ink-mute: #7a8b90;
  --petrol: #0b4f5c;
  --petrol-deep: #073a44;
  --petrol-night: #062d35;
  --mint: #e9f3f1;
  --mint-line: #cfe2dd;
  --vital: #17a58c;
  --vital-soft: #dff4ef;
  --vital-glow: rgba(23,165,140,.28);
  --paper: #ffffff;
  --paper-2: #f5f9f8;
  --line: #dfe8e6;
  --head: "Unbounded", "Golos Text", Arial, sans-serif;
  --body: "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --r: 10px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(7,58,68,.06), 0 4px 14px rgba(7,58,68,.05);
  --shadow-md: 0 10px 30px rgba(7,58,68,.10), 0 2px 6px rgba(7,58,68,.05);
  --shadow-lg: 0 24px 60px rgba(7,58,68,.16);
  --ease: cubic-bezier(.22,.8,.3,1);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.62 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s; }
a:hover { color: var(--vital); }
:focus-visible { outline: 3px solid var(--vital); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--petrol); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Переходы между страницами ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.site-header { view-transition-name: header; }
::view-transition-old(header), ::view-transition-new(header) { animation: none; }
/* Fallback для браузеров без View Transitions: класс ставит JS */
body.no-vt main { transition: opacity .32s var(--ease), transform .32s var(--ease); }
body.no-vt.is-loading main { opacity: 0; transform: translateY(10px); }
body.no-vt.is-leaving main { opacity: 0; transform: translateY(-8px); transition-duration: .22s; }
.page-progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); width: 100%; height: 3px; z-index: 120; pointer-events: none; }
.page-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--vital), #5ed3bd); transition: width .3s ease, opacity .3s; opacity: 0; }
body.is-leaving .page-progress span { width: 85%; opacity: 1; transition: width 1.6s cubic-bezier(.1,.7,.2,1), opacity .1s; }

/* ---------- Появление при скролле (класс .rv ставит JS, без JS всё видно) ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Типографика ---------- */
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; max-width: 22ch; }
h2 { font-size: clamp(23px, 2.7vw, 32px); margin-top: 0; max-width: 30ch; }
h3 { font-size: 18px; font-family: var(--body); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.4em; line-height: 1.55; }
.section-lead { color: var(--ink-soft); max-width: 62ch; margin-bottom: 2em; font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--vital); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #8fe0cf; }
.prose .eyebrow { display: flex; margin-top: 2.2em; margin-bottom: 8px; }
.prose .eyebrow + h2 { margin-top: 0; }
.section > .eyebrow, .wrap > .eyebrow, .section > .wrap > .eyebrow { display: flex; }
.prose { max-width: 72ch; }
.prose--wide { max-width: 80ch; font-size: 18px; }
.prose p { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mint); font-weight: 600; }
.legal h2 { font-family: var(--body); font-size: 19px; }
.note { font-size: 15px; color: var(--ink-soft); max-width: 72ch; }

/* ---------- Кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: var(--r); font: 600 16px/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn svg { transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--petrol); color: #fff; border-color: var(--petrol); box-shadow: 0 6px 18px rgba(11,79,92,.22); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); z-index: -1; }
.btn-primary:hover { background: var(--petrol-deep); border-color: var(--petrol-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,79,92,.28); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #9db3b8; border-color: #9db3b8; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--mint-line); }
.btn-ghost:hover { background: var(--mint); border-color: var(--petrol); color: var(--petrol); transform: translateY(-2px); }
.btn-ghost--light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost--light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 15px; border-radius: 8px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(7,58,68,.08); border-color: transparent; }
.topbar { background: var(--petrol-night); color: #b7d4da; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo svg { color: var(--vital); flex: none; }
.logo em { font-style: normal; color: var(--petrol); }
.logo--light { color: #fff; } .logo--light em { color: #9bd8cd; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 12px; border-radius: 8px; transition: background-color .18s, color .18s; }
.nav a:not(.btn):hover { color: var(--petrol); background: var(--mint); }
.nav-phone { font-weight: 700 !important; white-space: nowrap; margin-left: 8px; }
.nav .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Первый экран (главная) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mint) 0%, var(--paper) 100%); border-bottom: 1px solid var(--mint-line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--mint-line) 1px, transparent 1px), linear-gradient(90deg, var(--mint-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, var(--vital-glow) 0%, transparent 62%); animation: float 9s ease-in-out infinite alternate; }
@keyframes float { from { transform: translate(0,0); } to { transform: translate(-30px, 30px); } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 64px 0 56px; }
.hero h1 { max-width: 18ch; animation: rise .8s var(--ease) both; }
.hero .eyebrow { animation: rise .6s var(--ease) both; }
.hero-lead { font-size: 19px; color: var(--ink-soft); max-width: 56ch; animation: rise .8s var(--ease) .1s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; animation: rise .8s var(--ease) .2s both; }
.hero-trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-soft); animation: rise .8s var(--ease) .3s both; }
.hero-trust li { position: relative; padding-left: 22px; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--vital); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 6.1-6.1 1.4 1.4-7.5 7.5z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 6.1-6.1 1.4 1.4-7.5 7.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-viz { display: grid; gap: 20px; animation: rise 1s var(--ease) .2s both; }
.pulse { width: 100%; height: auto; aspect-ratio: 640 / 260; display: block; background: rgba(255,255,255,.55); border: 1px solid var(--mint-line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 6px; }
.pulse-grid { stroke: var(--mint-line); stroke-width: 1; fill: none; }
.pulse-line { stroke: var(--vital); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 2.4s cubic-bezier(.3,.7,.3,1) .2s forwards, glow 2.6s ease-in-out 2.8s infinite alternate; }
.pulse-dot { fill: var(--vital); offset-path: path("M0 180 H90 l14-24 14 24 h40 l10-70 12 140 12-110 10 40 h50 l14-24 14 24 h60 l10-70 12 140 12-110 10 40 h50 l14-24 14 24 h70"); offset-rotate: 0deg; animation: travel 2.4s cubic-bezier(.3,.7,.3,1) .2s forwards, beat 1.2s ease-in-out 2.8s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glow { from { filter: drop-shadow(0 0 0 transparent); } to { filter: drop-shadow(0 0 6px var(--vital-glow)); } }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes beat { 0%, 100% { r: 5; } 50% { r: 8; } }
@media (prefers-reduced-motion: reduce) { .pulse-line { stroke-dashoffset: 0; } .pulse-dot { offset-distance: 100%; } }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-facts li { background: var(--paper); border: 1px solid var(--mint-line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.hero-facts li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hero-facts b { font-family: var(--head); font-size: 23px; font-weight: 700; color: var(--petrol); }
.hero-facts span { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }

/* ---------- Первый экран разделов (города, кому) ---------- */
.hub-hero { position: relative; overflow: hidden; color: #e6f0f2; background: linear-gradient(135deg, var(--petrol-night) 0%, var(--petrol) 60%, #0e6a77 100%); padding: 0 0 40px; margin-bottom: 36px; }
.hub-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); }
.hub-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(23,165,140,.45) 0%, transparent 62%); animation: float 10s ease-in-out infinite alternate; }
.hub-hero .wrap { position: relative; }
.hub-hero .crumbs, .hub-hero .crumbs a { color: #9fc4cb; }
.hub-hero .crumbs li + li::before { color: #5a8b94; }
.hub-hero h1 { color: #fff; max-width: 20ch; }
.hub-hero .lead { color: #c8dde1; }
.hub-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hub-stats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.hub-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 960px; }
.hub-stats li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; backdrop-filter: blur(6px); }
.hub-stats b { font-family: var(--head); font-size: 22px; font-weight: 700; color: #fff; }
.hub-stats span { font-size: 13px; color: #b7d4da; line-height: 1.3; }
.city-card-big { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 28px 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); backdrop-filter: blur(8px); min-width: 240px; animation: rise 1s var(--ease) .2s both; }
.city-card-letter { font-family: var(--head); font-weight: 800; font-size: 96px; line-height: 1; color: #fff; text-shadow: 0 0 40px rgba(23,165,140,.6); }
.city-card-big b { font-family: var(--head); font-size: 18px; color: #fff; }
.city-card-big span:last-child { font-size: 13px; color: #b7d4da; }
.who-hero-icon { width: 200px; height: 200px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(23,165,140,.35), rgba(23,165,140,0) 70%); color: #8fe0cf; animation: rise 1s var(--ease) .2s both; }
.who-hero-icon svg { filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); animation: hover-y 5s ease-in-out infinite alternate; }
@keyframes hover-y { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* ---------- Секции ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .section { padding: 32px 0 0; }
.wrap > .section { padding: 40px 0 8px; }
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 20px 0 32px; }
.page-head-icon { position: relative; width: 190px; height: 190px; display: grid; place-items: center; color: var(--petrol); }
.page-head-icon .orb { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--vital-glow), transparent 70%); animation: pulse-orb 4s ease-in-out infinite; }
.page-head-icon svg { position: relative; opacity: .7; animation: hover-y 5s ease-in-out infinite alternate; }
@keyframes pulse-orb { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
.head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; }
.price-tag { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--petrol); margin: 0; padding: 10px 16px; background: var(--mint); border-radius: var(--r); }
.meta-chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-soft); background: #fff; }

/* ---------- Карточки услуг ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 26px 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); min-height: 100%; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--petrol), var(--vital)); transform: scaleX(.35); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mint-line); color: var(--ink); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--vital-soft); color: var(--petrol); transition: transform .3s var(--ease), background-color .3s; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); background: var(--mint); }
.card-title { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.3; }
.card-text { font-size: 15px; color: var(--ink-soft); }
.card-price { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--petrol); font-size: 15px; padding-top: 12px; border-top: 1px dashed var(--line); }
.card-price::after { content: "→"; font-family: var(--head); color: var(--vital); transition: transform .3s var(--ease); }
.card:hover .card-price::after { transform: translateX(5px); }

/* ---------- Кому ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon num" "name name" "text text" "tasks tasks" "price price" "go go"; gap: 8px 12px; align-content: start; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.who::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--vital-glow), transparent 65%); opacity: 0; transition: opacity .4s; }
.who:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: var(--ink); }
.who:hover::after { opacity: 1; }
.who-icon { grid-area: icon; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--vital-soft); color: var(--petrol); transition: transform .3s var(--ease); }
.who:hover .who-icon { transform: rotate(-6deg) scale(1.06); }
.who-num { grid-area: num; justify-self: end; font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1; color: var(--mint-line); letter-spacing: -.02em; }
.who-name { grid-area: name; font-family: var(--head); font-weight: 600; font-size: 18px; margin-top: 6px; }
.who-text { grid-area: text; font-size: 15px; color: var(--ink-soft); }
.who-tasks { grid-area: tasks; display: grid; gap: 6px; margin-top: 6px; }
.who-tasks em { font-style: normal; font-size: 14px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.who-tasks em::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--vital); border-radius: 2px; }
.who-price { grid-area: price; font-weight: 700; color: var(--petrol); font-size: 15px; margin-top: 6px; }
.who-go, .city-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--vital); }
.who-go { grid-area: go; }
.who-go svg, .city-go svg { transition: transform .3s var(--ease); }
.who:hover .who-go svg, .city:hover .city-go svg { transform: translateX(5px); }
.who-grid--big { margin-bottom: 8px; }

/* Задачи (нумерованные карточки) */
.tasks { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tasks li { counter-increment: t; position: relative; padding: 18px 20px 18px 66px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; }
.tasks li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--vital); }

/* Подходящие услуги (сегмент) */
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fit { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon name price" "icon why why"; gap: 4px 16px; align-items: start; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.fit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mint-line); color: var(--ink); }
.fit-icon { grid-area: icon; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--vital-soft); color: var(--petrol); }
.fit-name { grid-area: name; font-family: var(--head); font-weight: 600; font-size: 16px; }
.fit-why { grid-area: why; font-size: 15px; color: var(--ink-soft); }
.fit-price { grid-area: price; font-weight: 700; color: var(--petrol); white-space: nowrap; font-size: 15px; }

/* Матрица сегмент × услуга */
.matrix th { font-size: 13px; }
.matrix td.m { text-align: center; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--vital); box-shadow: 0 0 0 4px var(--vital-soft); }
.dot--off { background: var(--line); box-shadow: none; }

/* ---------- Шаги ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: linear-gradient(90deg, var(--petrol), var(--vital)); opacity: .25; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--petrol); color: #fff; font: 700 15px/40px var(--head); text-align: center; box-shadow: 0 0 0 6px var(--paper-2), 0 6px 16px rgba(11,79,92,.25); transition: transform .3s var(--ease), background-color .3s; }
.steps li:hover::before { transform: scale(1.1); background: var(--vital); }
.steps h3 { margin-bottom: .3em; }
.steps p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- Города ---------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 24px; }
.city { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; min-height: 100%; }
.city:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mint-line); color: var(--ink); }
.city-letter { position: absolute; right: 10px; top: -14px; font-family: var(--head); font-weight: 800; font-size: 92px; line-height: 1; color: var(--paper-2); letter-spacing: -.04em; transition: color .3s, transform .4s var(--ease); pointer-events: none; }
.city:hover .city-letter { color: var(--vital-soft); transform: translateY(-4px); }
.city-name { position: relative; font-family: var(--head); font-weight: 600; font-size: 18px; }
.city-meta { position: relative; font-size: 13px; color: var(--ink-mute); }
.city-tags { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.city-tags em, .chips em { font-style: normal; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--petrol); font-weight: 500; }
.city-note { position: relative; font-size: 14px; color: var(--ink-soft); line-height: 1.45; margin-top: 4px; }

/* Локальный блок: текст + факты */
.local { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding: 8px 0 24px; }
.local-facts { position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { display: grid; gap: 4px; padding: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s; }
.fact:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.fact b { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--petrol); line-height: 1.15; }
.fact > span { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.fact--wide { grid-column: 1 / -1; }
.fact--wide > span { font-weight: 600; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fact--quote p { margin: 0; font-size: 15px; color: var(--ink-soft); font-style: italic; }

/* ---------- Списки ссылок ---------- */
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.link-grid--cities { grid-template-columns: repeat(4, 1fr); }
.link-grid li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.link-grid a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.link-grid a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vital); flex: none; transition: transform .3s var(--ease); }
.link-grid a:hover::before { transform: scale(1.6); }
.link-row { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-row li a { display: inline-block; padding: 8px 14px; background: var(--mint); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.link-row li a:hover { background: var(--petrol); color: #fff; transform: translateY(-2px); }

/* ---------- Списки ---------- */
.check-list { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.check-list--2 { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--vital); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 6.1-6.1 1.4 1.4-7.5 7.5z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 6.1-6.1 1.4 1.4-7.5 7.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.check-list--cards { gap: 12px 16px; }
.check-list--cards li { padding: 16px 18px 16px 48px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; }
.check-list--cards li::before { left: 16px; top: 18px; }
.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 76ch; }
.tips li { padding: 16px 20px; background: var(--paper-2); border-left: 4px solid var(--petrol); border-radius: 0 var(--r) var(--r) 0; transition: border-color .2s, transform .3s var(--ease); }
.tips li:hover { border-left-color: var(--vital); transform: translateX(4px); }

/* ---------- Таблицы цен ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.prices { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.prices caption { text-align: left; font-weight: 600; padding: 14px 16px 6px; color: var(--ink-soft); font-size: 14px; caption-side: top; }
.prices th, .prices td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices tbody tr:last-child td { border-bottom: 0; }
.prices tbody tr { transition: background-color .2s; }
.prices tbody tr:hover { background: var(--paper-2); }
.prices th { background: var(--mint); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.prices td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--petrol); }

/* ---------- Заявка ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--petrol-night), var(--petrol-deep) 55%, #0b5461); color: #e3eef0; margin: 48px 0; }
.cta::before { content: ""; position: absolute; width: 700px; height: 700px; left: -200px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(23,165,140,.35), transparent 62%); animation: float 12s ease-in-out infinite alternate; }
.cta-in { position: relative; width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; padding: 60px 0; align-items: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 52ch; color: #c8dde1; font-size: 17px; }
.cta-contacts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.cta-contacts a { color: #9bd8cd; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cta-contacts a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vital); }
.cta-contacts a:hover { color: #fff; text-decoration: underline; }
form.lead { display: grid; gap: 14px; background: var(--paper); color: var(--ink); padding: 28px; border-radius: var(--r-lg); margin: 0; font-size: 16px; box-shadow: var(--shadow-lg); }
form.lead label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; color: var(--ink-soft); }
form.lead input[type="text"], form.lead textarea { font: 400 16px/1.4 var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); color: var(--ink); width: 100%; min-height: 50px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
form.lead textarea { min-height: 88px; resize: vertical; }
form.lead input:focus, form.lead textarea:focus { border-color: var(--petrol); background: #fff; outline: 0; box-shadow: 0 0 0 4px var(--vital-soft); }
form.lead input::placeholder, form.lead textarea::placeholder { color: #a3b1b5; }
form.lead .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--ink-soft); }
form.lead .check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--vital); }
form.lead .hp { position: absolute; left: -9999px; }
form.lead .btn { width: 100%; }
form.lead.is-error input:invalid, form.lead.is-error textarea:invalid { border-color: #c0392b; }
.form-msg { font-size: 14px; color: #c0392b; margin: 0; }
.form-msg:empty { display: none; }

/* Капча-свайп */
.slide-cap { display: grid; gap: 6px; }
.slide-track { position: relative; height: 54px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab; transition: border-color .3s, box-shadow .3s; }
.slide-track:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--vital-soft); border-color: var(--petrol); }
.slide-track.is-dragging { cursor: grabbing; }
.slide-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--vital-soft), #bfe9df); border-radius: 999px; }
.slide-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; padding-left: 44px; background: linear-gradient(90deg, var(--ink-soft) 0%, var(--ink-soft) 40%, #b9c9cd 50%, var(--ink-soft) 60%, var(--ink-soft) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.6s linear infinite; pointer-events: none; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.slide-knob { position: absolute; left: 3px; top: 3px; width: 46px; height: 46px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(11,79,92,.3); transition: background-color .25s; will-change: transform; }
.slide-track:not(.is-dragging):not(.is-done) .slide-knob { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(8px); } }
.slide-track.is-done { border-color: var(--vital); box-shadow: 0 0 0 4px var(--vital-soft); cursor: default; }
.slide-track.is-done .slide-fill { width: 100%; background: linear-gradient(90deg, var(--vital-soft), #c9efe6); }
.slide-track.is-done .slide-knob { background: var(--vital); }
.slide-track.is-done .slide-label { animation: none; background: none; color: var(--petrol); font-weight: 600; padding-left: 0; padding-right: 44px; }
.slide-track.is-done .slide-knob svg { transform: scale(1.1); }

/* ---------- FAQ ---------- */
.faq { padding: 8px 0 24px; }
.faq-list { max-width: 78ch; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--mint-line); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f5c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease), background-color .25s; }
.faq-item[open] summary::after { transform: rotate(135deg); background-color: var(--vital-soft); }
.faq-item summary h3 { margin: 0; font-size: 17px; }
.faq-a { padding: 0 20px 18px; color: var(--ink-soft); animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-a p { margin: 0; }

/* ---------- Смежные ---------- */
.related { padding: 12px 0 28px; }
.related h2 { font-size: 22px; }

/* ---------- Блог ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mint-line); color: var(--ink); }
.post time { font-size: 13px; color: var(--ink-mute); }
.post-title { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.3; }
.post-lead { font-size: 15px; color: var(--ink-soft); }
.article { max-width: 76ch; padding: 12px 0 24px; }
.article-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 1.2em; }
.article h1 { max-width: none; }

/* Статья: сетка, содержание, автор, полезно, подписка */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.article-grid .article { max-width: 76ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; font-size: 14px; color: var(--ink-soft); }
.author { display: inline-flex; align-items: center; gap: 12px; line-height: 1.3; }
.author b { color: var(--ink); } .author small { color: var(--ink-mute); }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--petrol), var(--vital)); color: #fff; display: grid; place-items: center; font: 700 17px var(--head); flex: none; }
.author-avatar--lg { width: 56px; height: 56px; font-size: 22px; }
.meta-items { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.meta-items .views { display: inline-flex; align-items: center; gap: 5px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc ol a { display: flex; gap: 10px; padding: 7px 0; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; line-height: 1.4; border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px; transition: color .2s, border-color .2s; }
.toc ol a::before { content: counter(toc, decimal-leading-zero); font-family: var(--head); font-size: 12px; color: var(--vital); padding-top: 2px; flex: none; }
.toc ol a:hover, .toc ol a.on { color: var(--petrol); border-left-color: var(--vital); }
.toc--side { position: sticky; top: 100px; padding: 20px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.toc-title { font-family: var(--head); font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.toc-cta { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; text-decoration: none; }
.toc--mobile { display: none; margin: 0 0 24px; }
.toc--mobile details { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.toc--mobile summary { cursor: pointer; font-weight: 600; font-family: var(--head); font-size: 14px; }
.toc--mobile ol { margin-top: 8px; }
.article-body h2 { scroll-margin-top: 96px; }
.helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 40px 0 0; padding: 22px 24px; background: var(--mint); border-radius: var(--r-lg); }
.helpful-q { margin: 0; font-family: var(--head); font-weight: 600; font-size: 16px; }
.helpful-count { background: rgba(255,255,255,.2); padding: 2px 9px; border-radius: 999px; font-size: 13px; }
.helpful.is-done [data-helpful-btn] { background: var(--vital); border-color: var(--vital); pointer-events: none; }
.helpful-thanks { font-size: 14px; color: var(--petrol); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin: 20px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.author-box p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }
.subscribe { margin: 36px 0 0; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--petrol-night), var(--petrol)); color: #e3eef0; }
.subscribe h2 { color: #fff; font-size: 22px; margin: 0 0 6px; }
.subscribe p { color: #c8dde1; font-size: 15px; margin: 0 0 18px; }
.subscribe-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.subscribe-form input[type="email"] { font: 400 16px var(--body); padding: 13px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); background: rgba(255,255,255,.1); color: #fff; min-height: 50px; }
.subscribe-form input[type="email"]::placeholder { color: #9fc4cb; }
.subscribe-form input[type="email"]:focus { outline: 0; border-color: var(--vital); background: rgba(255,255,255,.14); box-shadow: 0 0 0 4px rgba(23,165,140,.3); }
.subscribe-form .btn-primary { background: var(--vital); border-color: var(--vital); }
.subscribe-form .btn-primary:hover { background: #138c76; border-color: #138c76; }
.subscribe-form .hp { position: absolute; left: -9999px; }
.subscribe-note, .subscribe-form .form-msg { grid-column: 1 / -1; font-size: 12.5px; color: #9fc4cb; margin: 0; }
.subscribe-note a { color: #c8dde1; }
.subscribe-form .form-msg { color: #ffb4a8; }
.subscribe-ok { color: #fff !important; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr; } .article-side { display: none; } .toc--mobile { display: block; } }
@media (max-width: 560px) { .subscribe-form { grid-template-columns: 1fr; } .article-meta { flex-direction: column; align-items: flex-start; } }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; padding: 12px 0 48px; align-items: start; }
.contacts { display: grid; grid-template-columns: 140px 1fr; gap: 14px 16px; margin: 0; }
.contacts dt { font-weight: 600; color: var(--ink-soft); }
.contacts dd { margin: 0; }
.contacts-grid form.lead { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.thanks { padding: 60px 0 80px; }

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

/* ---------- Подвал ---------- */
.site-footer { background: linear-gradient(180deg, var(--ink), #0e1b21); color: #b9c9cd; padding: 56px 0 24px; margin-top: 24px; font-size: 15px; }
.site-footer a { color: #d9e6e8; text-decoration: none; transition: color .18s; }
.site-footer a:hover { color: #9bd8cd; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-about p { max-width: 40ch; }
.foot-contacts a { font-weight: 600; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cities { grid-template-columns: 1fr 1fr; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #2c3f47; font-size: 13px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .cards, .who-grid, .post-grid, .link-grid { grid-template-columns: repeat(2, 1fr); }
  .link-grid--cities, .city-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 36px; }
  .cta-in, .contacts-grid, .local { grid-template-columns: 1fr; }
  .local-facts { position: static; }
  .page-head-icon { display: none; }
  .hub-hero-in { grid-template-columns: 1fr; }
  .city-card-big, .who-hero-icon { display: none; }
  .hub-stats--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar .wrap span:first-child { display: none; }
  .burger { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(20,38,46,.08); animation: nav-in .25s var(--ease); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 48px; display: flex; align-items: center; border-radius: 0; }
  .nav a:not(.btn):hover { background: none; }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; }
  .cards, .who-grid, .post-grid, .link-grid, .link-grid--cities, .steps, .check-list--2, .foot-grid, .tasks, .fit-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city { padding: 18px 14px 14px; }
  .city-note { display: none; }
  .hero-facts, .hub-stats, .hub-stats--4 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .cta-in { padding: 40px 0; }
  form.lead { padding: 20px; }
  .contacts { grid-template-columns: 1fr; gap: 2px 0; }
  .contacts dd { margin-bottom: 10px; }
  .foot-cities { grid-template-columns: 1fr 1fr; }
  .local-facts { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon why" "icon price"; }
}
