/* Вера в жизнь, версия 3: «Свежий зелёный» (выбор автора 2026-12-01).
   Значения только отсюда. Брендбук: docs/Брендбук.md */
:root {
  --bg: #F7FAF8;
  --surface: #FFFFFF;
  --mint: #DDF0E7;
  --mint-2: #EEF7F2;
  --ink: #12251D;
  --muted: #4F6359;
  --line: #DCE8E1;
  --green: #2E9B6F;
  --green-text: #1F7E57;
  --green-d: #0F5A43;
  --green-dd: #0B4433;
  --on-green: #F2FAF6;
  --on-green-muted: #B5D6C7;
  --line-green: rgba(255, 255, 255, .16);
  --red: #C8242F;
  --focus: #2E9B6F;
  --shadow: 0 1px 2px rgba(15, 90, 67, .06), 0 16px 40px rgba(15, 90, 67, .12);
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head: "Manrope", "Golos Text", system-ui, sans-serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1410;
    --surface: #111F19;
    --mint: #173328;
    --mint-2: #13261E;
    --ink: #E8F3EE;
    --muted: #9DB5AA;
    --line: #21382E;
    --green: #4CC08F;
    --green-text: #6FD3A8;
    --green-d: #1E7A58;
    --green-dd: #0F3D2E;
    --focus: #6FD3A8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--sans); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
.wrap { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Кнопки */
.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 8px 0 24px; border-radius: var(--r-pill);
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn { background: var(--green-d); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(15, 90, 67, .28); }
.btn:hover { background: var(--green-dd); transform: translateY(-2px); }
.btn .arr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn-sm { min-height: 48px; padding: 0 20px; box-shadow: none; }
.btn-light { background: #fff; color: #0B4433; box-shadow: none; }
.btn-light .arr { background: #DDF0E7; }
.btn-light:hover { background: #EEF7F2; }
.btn-line { padding: 0 24px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--green); transform: translateY(-2px); }
.btn:active, .btn-line:active { transform: scale(.98); }
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; font-weight: 600; font-size: 16px; text-decoration: none; }
.play-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--green-text); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.play:hover .play-ic { transform: scale(1.08); border-color: var(--green); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font: 800 20px/1.2 var(--head); letter-spacing: -0.02em; white-space: nowrap; }
.brand small { display: block; font-size: 14px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.nav { display: none; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.nav a { font-size: 16px; color: var(--muted); text-decoration: none; padding: 8px 16px; border-radius: var(--r-pill); transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--mint-2); }
.top-call { width: 48px; padding: 0; }
.top-call span { display: none; }

/* Живые пятна */
.blob { position: absolute; z-index: 0; pointer-events: none; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; animation: morph 14s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; right: -160px; top: -80px; background: var(--mint); opacity: .9; }
.blob-2 { width: 260px; height: 260px; left: -120px; top: 360px; background: var(--mint-2); animation-duration: 18s; animation-direction: reverse; }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; transform: translate(0, 0) rotate(0); }
  33% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; transform: translate(-16px, 20px) rotate(8deg); }
  66% { border-radius: 38% 62% 50% 50% / 62% 38% 62% 38%; transform: translate(12px, -12px) rotate(-6deg); }
}

/* Первый экран */
.hero { position: relative; overflow: hidden; padding: 24px 0 64px; }
.hero .wrap { z-index: 1; display: grid; gap: 48px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--green-text); }
.tag .ic { width: 20px; height: 20px; }
.hero h1 { margin-top: 24px; font-size: 36px; max-width: 640px; }
.hero h1 em { font-style: normal; color: var(--green-text); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; border-radius: 4px; background: var(--mint); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) 1s; }
.loaded .hero h1 em::after { transform: scaleX(1); }
.lead { margin-top: 24px; max-width: 540px; color: var(--muted); }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

.hero-pic { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 24px 24px 40px; }
.frame { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; background: var(--mint); box-shadow: var(--shadow); animation: morph-frame 12s ease-in-out infinite; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.loaded .frame img { transform: scale(1.02); }
@keyframes morph-frame {
  0%, 100% { border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; }
  50% { border-radius: 58% 42% 54% 46% / 42% 56% 44% 58%; }
}
.spine-card { position: absolute; right: 0; top: 40%; width: 88px; padding: 12px 8px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.loaded .spine-card { animation: bob 6s ease-in-out infinite 1.5s; }
.spine { width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
.spine-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 2.2s var(--ease) .6s; }
.loaded .spine-line { stroke-dashoffset: 0; }
.vert rect { fill: var(--green-d); opacity: 0; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.loaded .vert rect { opacity: 1; transform: none; }
.vert rect:nth-child(2) { transition-delay: .1s; } .vert rect:nth-child(3) { transition-delay: .2s; } .vert rect:nth-child(4) { transition-delay: .3s; }
.vert rect:nth-child(5) { transition-delay: .4s; } .vert rect:nth-child(6) { transition-delay: .5s; } .vert rect:nth-child(7) { transition-delay: .6s; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 250px; }
.badge b { display: block; font: 800 18px/1.2 var(--head); letter-spacing: -0.01em; }
.badge span { display: block; font-size: 14px; line-height: 1.3; color: var(--muted); }
.badge img { width: 32px; height: 32px; flex: none; }
.badge-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--green-d); flex: none; }
.b1 { left: 0; top: 16px; }
.b2 { left: 8px; bottom: 16px; }
.loaded .b1 { animation: bob 5s ease-in-out infinite 1.4s; }
.loaded .b2 { animation: bob 5.5s ease-in-out infinite 2s; }
.script { position: absolute; right: 8px; bottom: 0; font: 700 16px/1.2 var(--head); color: var(--green-text); transform: rotate(-4deg); }

/* Бегущая строка */
.mq-wrap { overflow: hidden; padding: 16px 0; }
.marquee { overflow: hidden; background: var(--green-d); color: var(--on-green); padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -24px; box-shadow: var(--shadow); }
.mq-track { display: flex; width: max-content; animation: mq 34s linear infinite; }
.mq-track span { display: flex; align-items: center; gap: 24px; padding-right: 24px; font: 700 20px/1.2 var(--head); white-space: nowrap; }
.mq-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--on-green-muted); }
@keyframes mq { to { transform: translateX(-50%); } }

/* Разделы */
.sec { position: relative; padding: 64px 0; }
.sec-head { max-width: 680px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.kicker { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); background: var(--mint); color: var(--green-d); font-size: 14px; font-weight: 600; }
.sec h2 { margin-top: 16px; font-size: 30px; }
.sec-lead { margin-top: 16px; color: var(--muted); }

.ill { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ill-card { position: relative; padding: 16px; border-radius: var(--r-lg); background: var(--mint-2); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), opacity .7s var(--ease); }
.ill-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--mint); }
.art { width: 72px; height: 72px; margin-bottom: 16px; transition: transform .6s var(--ease); }
.ill-card:hover .art { transform: rotate(-6deg) scale(1.08); }
.a-line { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .a-line { stroke-dashoffset: 0; }
.a-dots > *, .a-fill { fill: var(--green-d); opacity: .9; }
.ill-card h3 { font-size: 20px; }
.ill-card p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.4; }

.serv { margin-top: 16px; display: grid; gap: 12px; }
.serv-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), opacity .7s var(--ease); }
.serv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.serv-ic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--green-d); color: #fff; transition: transform .5s var(--ease); }
.serv-card:hover .serv-ic { transform: rotate(-8deg) scale(1.06); }
.serv-card h3 { font-size: 20px; }
.serv-card p { margin-top: 4px; font-size: 16px; color: var(--muted); }

/* Цифры */
.stats { padding: 16px 0; }
.stats .wrap { display: grid; gap: 12px; }
.stat { padding: 24px; border-radius: var(--r-lg); background: var(--green-d); color: var(--on-green); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.stat b { display: block; font: 800 48px/1 var(--head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--on-green-muted); font-size: 16px; }
.stat:nth-child(2) { background: var(--green); color: #fff; }
.stat:nth-child(2) span { color: rgba(255, 255, 255, .82); }
.stat:nth-child(3) { background: var(--mint); color: var(--ink); }
.stat:nth-child(3) span { color: var(--muted); }

/* Приём */
.pr-grid { display: grid; gap: 40px; align-items: start; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) .3s; }
.steps.go::after { transform: scaleY(1); }
.steps li { position: relative; display: flex; gap: 16px; padding: 12px 0; }
.dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green); color: var(--green-text); font: 800 18px/1 var(--head); }
.steps b { display: block; font: 700 20px/1.3 var(--head); padding-top: 8px; }
.steps div span { display: block; color: var(--muted); font-size: 16px; }
.phones { position: relative; overflow: hidden; padding: 32px 24px; border-radius: var(--r-xl); background: var(--green-d); color: var(--on-green); }
.phones::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; background: rgba(255, 255, 255, .07); animation: morph 12s ease-in-out infinite; }
.phones-cap { position: relative; font-size: 14px; color: var(--on-green-muted); }
.phones a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--line-green); font: 800 24px/1.2 var(--head); letter-spacing: -0.01em; text-decoration: none; }
.phones a .ic { transition: transform .3s var(--ease); }
.phones a:hover .ic { transform: translateX(6px); }
.lic { position: relative; margin-top: 24px; display: flex; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--on-green-muted); }

/* Как найти */
.route { margin-top: 40px; display: grid; gap: 16px; }
.shot { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .7s var(--ease); }
.shot:hover { box-shadow: var(--shadow); }
.shot-img { overflow: hidden; }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.shot.in img { transform: scale(1); }
.shot.in:hover img { transform: scale(1.06); }
.shot:nth-child(1) img, .shot:nth-child(3) img { object-position: 50% 30%; }
.shot figcaption { flex: 1; display: flex; gap: 12px; align-items: flex-start; padding: 16px; font-size: 16px; line-height: 1.4; }
.num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-d); color: #fff; font: 800 14px/1 var(--head); }

.where { margin-top: 16px; display: grid; gap: 16px; align-items: stretch; }
.map { display: block; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.map img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .8s var(--ease); }
.map:hover img { transform: scale(1.04); }
.facts { padding: 24px; border-radius: var(--r-lg); background: var(--mint-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.fact { display: flex; gap: 12px; }
.fact-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface); color: var(--green-text); }
.fact b { display: block; font-weight: 600; }
.fact span { display: block; font-size: 16px; color: var(--muted); }
.facts .btn-line { margin-top: auto; align-self: flex-start; white-space: normal; text-align: center; }

/* Схема проезда */
.scheme { margin-top: 40px; display: grid; gap: 24px; padding: 24px; border-radius: var(--r-xl); background: var(--mint-2); border: 1px solid var(--line); align-items: center; }
.scheme h3 { font-size: 24px; }
.scheme ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.scheme li { counter-increment: s; position: relative; padding-left: 44px; font-size: 16px; line-height: 1.5; }
.scheme li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-d); color: #fff; font: 800 14px/1 var(--head); }
.scheme-map { width: 100%; height: auto; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.sc-road { fill: var(--ink); opacity: .88; }
.sc-side { stroke: var(--ink); stroke-width: 8; opacity: .88; }
.sc-t { font: 700 14px var(--head); fill: var(--ink); }
.sc-s { font-weight: 600; fill: var(--muted); }
.sc-on { fill: var(--bg); font-size: 13px; letter-spacing: .02em; }
.sc-box { fill: var(--mint); stroke: var(--green-d); stroke-width: 2; }
.sc-market { fill: var(--mint); }
.sc-house { fill: var(--line); }
.sc-route { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.scheme.in .sc-route { stroke-dashoffset: 0; }
.sc-car { fill: var(--red); stroke: #fff; stroke-width: 3; }
.sc-pin rect { fill: var(--surface); stroke: var(--green); stroke-width: 2; }
.sc-pin-t { font: 800 15px var(--head); fill: var(--ink); }
.sc-pin-s { font: 600 13px var(--sans); fill: var(--green-text); }
.mail { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; border-bottom: 1px solid var(--line-green); font: 600 16px/1.2 var(--sans); text-decoration: none; overflow-wrap: anywhere; }
.mail .ic { transition: transform .3s var(--ease); }
.mail:hover .ic { transform: translateX(6px); }
@media (min-width: 900px) { .scheme { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 32px; gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .sc-route { stroke-dashoffset: 0 !important; } .sc-car { display: none; } }

/* Вопросы */
.faq { margin-top: 32px; display: grid; gap: 8px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 0 16px 0 24px; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.faq details[open] { border-color: var(--green); background: var(--mint-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.sum-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mint); color: var(--green-text); transition: transform .35s var(--ease), background-color .25s var(--ease); }
.faq details[open] .sum-ic { transform: rotate(180deg); background: var(--green-d); color: #fff; }
.ans { padding: 0 8px 24px 0; color: var(--muted); }
.ans a { color: var(--ink); font-weight: 600; }

/* Финал */
.final { padding: 0 0 64px; }
.final-box { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 40px 24px; border-radius: var(--r-xl); background: var(--green-d); color: var(--on-green); }
.blob-3 { width: 360px; height: 360px; right: -120px; top: -140px; background: rgba(255, 255, 255, .08); }
.final-txt { position: relative; }
.final-box h2 { font-size: 30px; }
.final-box p { margin-top: 8px; color: var(--on-green-muted); }
.final-box .btn { position: relative; justify-self: start; }

footer { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.warn { font-size: 16px; font-weight: 600; color: var(--ink); }
.foot { margin-top: 16px; display: grid; gap: 8px; }

/* Ссылки на страницы услуг */
.serv-card { position: relative; }
.ill-card h3 a, .serv-card h3 a { text-decoration: none; }
.ill-card h3 a::after, .serv-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ill-card h3 a:focus-visible, .serv-card h3 a:focus-visible { outline: none; }
.ill-card:has(a:focus-visible), .serv-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--green-text); }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.ill-card:hover .more::after, .serv-card:hover .more::after { transform: translateX(4px); }
.serv-card .more { grid-column: 2; }
.foot-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--green-text); }

/* Страница услуги */
.crumbs ol { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green-text); font-weight: 600; text-decoration: none; }
.page-hero { position: relative; overflow: hidden; padding: 8px 0 48px; }
.page-hero .wrap { z-index: 1; }
.page-hero h1 { margin-top: 16px; font-size: 36px; max-width: 760px; }
.page-hero .lead { max-width: 680px; }
.page-hero .blob-1 { opacity: .7; }
.txt { max-width: 760px; }
.txt h2 + p, .txt h2 + ul { margin-top: 16px; }
.txt p + p, .txt p + ul, .txt ul + p { margin-top: 16px; }
.txt p, .txt li { color: var(--muted); }
.txt b { color: var(--ink); }
.txt + .txt { margin-top: 56px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; 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='%230F5A43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3 3 7-7'/%3E%3C/svg%3E") center / 18px no-repeat; }
.checks a { color: var(--ink); font-weight: 600; }
.sec-tight { padding-top: 0; }
.serv-card.plain { grid-template-columns: 1fr; }
.serv-card.plain .more { grid-column: auto; }

/* Появление */
.js .rv { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .ill .rv:nth-child(2), .js .serv .rv:nth-child(2), .js .route .rv:nth-child(2), .js .stats .rv:nth-child(2) { transition-delay: .1s; }
.js .ill .rv:nth-child(3), .js .serv .rv:nth-child(3), .js .route .rv:nth-child(3), .js .stats .rv:nth-child(3) { transition-delay: .2s; }
.js .ill .rv:nth-child(4) { transition-delay: .3s; }
.js .rv.in:hover { transition-delay: 0s; }
.js .ill-card.in:hover { transform: translateY(-6px); }
.js .serv-card.in:hover { transform: translateY(-4px); }
.js .shot.in:hover { transform: translateY(-6px); }
.js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.loaded .hero h1 .w { opacity: 1; transform: none; }
.hero h1 .w:nth-child(2) { transition-delay: .08s; } .hero h1 .w:nth-child(3) { transition-delay: .16s; }
.hero h1 .w:nth-child(4) { transition-delay: .24s; } .hero h1 .w:nth-child(5) { transition-delay: .36s; }
.js .hero .tag, .js .hero .lead, .js .hero .cta, .js .hero-pic > * { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero .tag, .js .hero .lead, .js .hero .cta, .js .frame { transform: translateY(24px); }
.loaded .hero .tag, .loaded .hero .lead, .loaded .hero .cta, .loaded .hero-pic > * { opacity: 1; }
.loaded .hero .tag, .loaded .hero .lead, .loaded .hero .cta, .loaded .frame { transform: none; }
.hero .lead { transition-delay: .45s; } .hero .cta { transition-delay: .55s; }
.hero-pic > .b1 { transition-delay: .9s; } .hero-pic > .b2 { transition-delay: 1.1s; } .hero-pic > .spine-card { transition-delay: .7s; } .hero-pic > .script { transition-delay: 1.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-property: opacity !important; transition-duration: .2s !important; transition-delay: 0s !important; }
  .js .rv, .js .hero h1 .w, .js .hero .tag, .js .hero .lead, .js .hero .cta, .js .frame { transform: none !important; }
  .frame img, .shot img { transform: none !important; }
  .spine-line, .a-line { stroke-dashoffset: 0 !important; }
  .steps::after, .hero h1 em::after { transform: none !important; }
}

@media (min-width: 560px) {
  .top-call { width: auto; padding: 0 20px; }
  .top-call span { display: inline; }
  .stats .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 20px; }
  .stat b { font-size: 36px; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .hero h1, .page-hero h1 { font-size: 48px; }
  .sec h2, .final-box h2 { font-size: 36px; }
  .ill { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .ill-card { padding: 20px; }
  .serv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .serv-card { grid-template-columns: 1fr; }
  .serv-ic { grid-row: auto; margin-bottom: 16px; }
  .serv-card .more { grid-column: auto; }
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .where { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .stat b { font-size: 48px; }
  .stat { padding: 24px; }
  .final-box { grid-template-columns: 1fr auto; align-items: center; padding: 56px 48px; }
}

@media (min-width: 1000px) {
  .nav { display: flex; }
  .hero { padding: 40px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; }
  .hero h1 { font-size: 60px; }
  .page-hero h1 { font-size: 56px; }
  .page-hero { padding-bottom: 64px; }
  .hero-pic { max-width: none; }
  .blob-1 { width: 720px; height: 720px; right: -200px; top: -120px; }
  .sec { padding: 96px 0; }
  .sec h2, .final-box h2 { font-size: 48px; }
  .pr-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .final { padding-bottom: 96px; }
}
