/* Layout: одна колонка до 1120px; первый экран = номер телефона как дорожный знак, ниже — «что случилось» и разделы. */
:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --ink: #15202a;
  --muted: #5a6875;
  --line: #d5dce3;
  --sign: #f2a900;        /* дорожный жёлтый */
  --sign-ink: #1c1400;
  --road: #1f2b36;        /* асфальт */
  --road-ink: #f3f5f7;
  --ok: #2f8a4f;
  --f-display: "Russo One", "Arial Black", Impact, sans-serif;
  --f-body: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "PT Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e151c; --surface: #16202a; --ink: #e7ecf1; --muted: #9aa8b5; --line: #2a3744;
    --sign: #ffbe2e; --sign-ink: #1c1400; --road: #0a1016; --road-ink: #e7ecf1; --ok: #4fb874;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e151c; --surface: #16202a; --ink: #e7ecf1; --muted: #9aa8b5; --line: #2a3744;
  --sign: #ffbe2e; --sign-ink: #1c1400; --road: #0a1016; --road-ink: #e7ecf1; --ok: #4fb874;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; letter-spacing: .01em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
section { padding-block: 48px; }
.sec-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 68ch; }
.sec-head p { color: var(--muted); }

/* шапка */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--road); color: var(--road-ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.logo { font-family: var(--f-display); font-size: 1.25rem; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo .tri { width: 26px; height: 23px; flex: none; }
.logo b { color: var(--sign); font-weight: 400; }
.top nav { display: flex; gap: 18px; font-size: .92rem; }
.top nav a { text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; }
.top .tel { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 1rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 1279px) { .top nav { display: none; } }
.top nav a { white-space: nowrap; }

/* первый экран */
.hero { background: var(--road); color: var(--road-ink); padding-block: 28px 44px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--sign) 0 48px, transparent 48px 84px); opacity: .9; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.08; }
.hero h1 span { color: var(--sign); }
.lead { margin-top: 16px; max-width: 56ch; font-size: 1.05rem; opacity: .92; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.facts li { list-style: none; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.facts { padding: 0; margin-bottom: 0; }

.callcard { background: var(--sign); color: var(--sign-ink); border-radius: 14px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.callcard .lbl { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.callcard .num { font-family: var(--f-display); font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; text-decoration: none; display: block; user-select: all; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: var(--r);
  font: 600 .95rem var(--f-body); text-decoration: none; border: 2px solid var(--sign-ink); background: transparent; color: var(--sign-ink); cursor: pointer; }
.btn.solid { background: var(--sign-ink); color: var(--sign); }
.btn.wide { grid-column: 1 / -1; }
.btn:hover { filter: brightness(1.08); }
.callcard small { font-size: .82rem; opacity: .8; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* что случилось */
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.issue { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; display: grid; gap: 4px; }
.issue:hover { border-color: var(--sign); }
.issue strong { font-size: 1rem; }
.issue span { color: var(--muted); font-size: .88rem; }
.issue.truck { border-left: 4px solid var(--sign); }

/* услуги */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.svc header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.svc header h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.price-tag { font-family: var(--f-mono); font-variant-numeric: tabular-nums; background: var(--sign); color: var(--sign-ink); border-radius: 6px; padding: 3px 8px; font-size: .9rem; white-space: nowrap; }
.svc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
@media (max-width: 460px) { .svc ul { columns: 1; } }
.svc li { break-inside: avoid; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.svc li a { text-decoration: none; }
.svc li a:hover { text-decoration: underline; text-decoration-color: var(--sign); text-underline-offset: 3px; }

/* цены */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } }
.pr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; }
.pr .v { font-family: var(--f-display); font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.pr .v small { font-family: var(--f-body); font-size: .95rem; color: var(--muted); margin-right: 4px; }
.note { margin-top: 14px; color: var(--muted); font-size: .92rem; max-width: 72ch; }

/* как работаем */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--f-display); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--road); color: var(--sign); }
.steps p { color: var(--muted); font-size: .92rem; }

/* зона выезда */
.tabs { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; color: var(--ink); font: 600 .92rem var(--f-body); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--road); color: var(--sign); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.cities a { display: inline-block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: .92rem; }
.cities a:hover { border-color: var(--sign); }
.cities .rg { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin-left: 6px; }
.roads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.road-sign { font-family: var(--f-display); background: #c8102e; color: #fff; border-radius: 6px; padding: 4px 10px; border: 2px solid #fff; box-shadow: 0 0 0 2px #c8102e; text-decoration: none; font-size: .95rem; }
.road-sign.r { background: #1d5fae; box-shadow: 0 0 0 2px #1d5fae; }

/* марки */
.brands { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: .95rem; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.brands li::after { content: "·"; margin-left: 14px; color: var(--line); }
.brands li:last-child::after { content: ""; }

/* отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.rv { background: var(--surface); border: 1px dashed var(--muted); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; align-content: start; }
.rv .badge { justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; color: var(--muted); }
.rv .stars { color: var(--sign); letter-spacing: 2px; }
.rv p { color: var(--muted); font-style: italic; }
.rv footer { font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rv-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.rv-cta a { border: 2px solid var(--ink); border-radius: var(--r); padding: 10px 14px; text-decoration: none; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 14px; color: var(--muted); max-width: 68ch; }

/* подвал */
.foot { background: var(--road); color: var(--road-ink); padding-block: 36px 110px; margin-top: 24px; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.foot h3 { color: var(--sign); font-size: .9rem; font-family: var(--f-mono); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.foot a { text-decoration: none; opacity: .88; }
.foot a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* нижняя панель */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--road); border-top: 3px solid var(--sign);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 6px; }
.dock a, .dock button { display: grid; place-items: center; gap: 2px; min-height: 52px; border-radius: 8px; text-decoration: none; font: 600 .78rem var(--f-body);
  color: var(--road-ink); background: rgba(255,255,255,.07); border: 0; cursor: pointer; }
.dock a svg, .dock button svg { width: 20px; height: 20px; }
.dock .call { background: var(--sign); color: var(--sign-ink); font-size: .9rem; }
@media (min-width: 900px) { .dock { left: auto; right: 16px; bottom: 16px; width: 520px; border-radius: 14px; border: 3px solid var(--sign); } }
.geo-msg { font-size: .85rem; margin-top: 4px; }

.proto { background: var(--sign); color: var(--sign-ink); font-size: .85rem; text-align: center; padding: 6px 16px; }

/* ===== v2: гладкие поверхности, градиенты, движение ===== */
:root {
  --bg2: #e3e8ee;
  --sign2: #ff8a00;
  --glow: rgba(242,169,0,.35);
  --shadow: 0 1px 2px rgba(20,32,42,.06), 0 8px 24px -8px rgba(20,32,42,.16);
  --shadow-up: 0 2px 4px rgba(20,32,42,.08), 0 18px 40px -12px rgba(20,32,42,.28);
  --glass: rgba(31,43,54,.78);
  --edge: rgba(255,255,255,.7);
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg2: #0a1016; --sign2: #ff9a1f; --glow: rgba(255,190,46,.28);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -8px rgba(0,0,0,.6);
    --shadow-up: 0 2px 4px rgba(0,0,0,.5), 0 18px 40px -12px rgba(0,0,0,.75);
    --glass: rgba(10,16,22,.72); --edge: rgba(255,255,255,.06);
  }
}
:root[data-theme="dark"] {
  --bg2: #0a1016; --sign2: #ff9a1f; --glow: rgba(255,190,46,.28);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -8px rgba(0,0,0,.6);
  --shadow-up: 0 2px 4px rgba(0,0,0,.5), 0 18px 40px -12px rgba(0,0,0,.75);
  --glass: rgba(10,16,22,.72); --edge: rgba(255,255,255,.06);
}
body { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%) fixed; }

.top { background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }

.hero { background:
    radial-gradient(60% 80% at 85% 10%, rgba(255,170,0,.28), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(40,110,200,.30), transparent 60%),
    linear-gradient(160deg, #1d2a36 0%, #121b24 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  padding-block: 40px 64px; }
.hero::after { height: 6px; bottom: 18px; background: repeating-linear-gradient(90deg, var(--sign) 0 56px, transparent 56px 100px);
  background-size: 100px 6px; border-radius: 3px; opacity: .85; }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 42px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); pointer-events: none; }
.hero .facts li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); }

.callcard { background: linear-gradient(145deg, #ffd25a 0%, var(--sign) 45%, var(--sign2) 100%);
  border-radius: 22px; padding: 24px; position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 24px 60px -18px var(--glow), 0 10px 30px rgba(0,0,0,.3); }
.callcard::before { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-60%); pointer-events: none; }
.callcard .btn { border-radius: 12px; border-width: 1.5px; background: rgba(255,255,255,.18); }
.callcard .btn.solid { background: linear-gradient(180deg, #2a2108, var(--sign-ink)); color: var(--sign); box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #1f9d4c; box-shadow: 0 0 0 0 rgba(31,157,76,.6); }

.issue, .svc, .pr, .steps li, .faq details, .rv, .cities a, .tabs {
  border-color: transparent; box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); }
.issue, .pr, .steps li, .rv { border-radius: 18px; }
.svc { border-radius: 22px; }
.faq details { border-radius: 14px; }
.issue { padding: 18px; position: relative; overflow: hidden; }
.issue::after { content: "→"; position: absolute; right: 16px; top: 16px; color: var(--muted); font-family: var(--f-mono); }
.issue.truck { border-left: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--sign) 16%, var(--surface)), var(--surface) 60%); }
.issue:hover, .pr:hover, .steps li:hover, .svc:hover, .cities a:hover { box-shadow: var(--shadow-up); border-color: transparent; }
.issue:hover { transform: translateY(-3px); }
.issue:hover::after { color: var(--ink); transform: translateX(3px); }
.pr:first-child { background: linear-gradient(150deg, #22313e, #141d26); color: var(--road-ink); }
.pr:first-child .eyebrow, .pr:first-child .v small, .pr:first-child .mono { color: rgba(243,245,247,.72) !important; }
.pr:first-child .v { color: var(--sign); }
.price-tag { background: linear-gradient(135deg, #ffd25a, var(--sign) 50%, var(--sign2)); border-radius: 999px; padding: 4px 12px; }
.steps li::before { background: linear-gradient(145deg, #2c3c4a, #141d26); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.tabs button[aria-selected="true"] { background: linear-gradient(145deg, #2c3c4a, #141d26); box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.cities a { border-radius: 10px; }
.rv { border: 1px dashed color-mix(in srgb, var(--muted) 60%, transparent); }
.rv-cta a { border-radius: 12px; }
#ceny { background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--sign) 10%, transparent), transparent 70%); }

.dock { background: var(--glass); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-top: 1px solid rgba(255,255,255,.1); }
.dock a, .dock button { border-radius: 12px; }
.dock .call { background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); box-shadow: 0 8px 20px -8px var(--glow); }
@media (min-width: 900px) { .dock { border: 1px solid rgba(255,255,255,.12); border-radius: 20px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.5); } }
.foot { background: linear-gradient(180deg, #1a2530, #0f161d); }

@media (prefers-reduced-motion: no-preference) {
  .issue, .pr, .steps li, .svc, .cities a, .issue::after, .btn, .dock a, .dock button { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .2s; }
  .hero { animation: drift 18s ease-in-out infinite alternate; }
  .hero::after { animation: road 1.2s linear infinite; }
  .hero h1, .hero .lead, .hero .facts, .callcard { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lead { animation-delay: .08s; } .hero .facts { animation-delay: .16s; } .callcard { animation-delay: .12s; }
  .callcard:hover::before { transform: translateX(60%); transition: transform .9s ease; }
  .live i { animation: pulse 1.8s ease-out infinite; }
  .btn:active, .dock a:active, .dock button:active { transform: scale(.97); }
  .dock .call svg { animation: ring 3.5s ease-in-out infinite; }
}
/* ===== v3: меню и боковые колонки ===== */
[id] { scroll-margin-top: 84px; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08); color: var(--road-ink); cursor: pointer; flex: none; }
.burger svg { width: 22px; height: 22px; }
.top-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 420px) { .top .tel { font-size: .88rem; } }

.side { display: none; }
.side-nav { display: grid; gap: 2px; }
.side-title { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 8px; }
.side-nav > a, .side-nav summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer; list-style: none; color: var(--ink); }
.side-nav summary::-webkit-details-marker { display: none; }
.side-nav > a:hover, .side-nav summary:hover { background: color-mix(in srgb, var(--sign) 12%, transparent); }
.side-nav > a.active { background: linear-gradient(145deg, #2c3c4a, #141d26); color: var(--sign); box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); }
.side-nav summary .p { font-family: var(--f-mono); font-size: .72rem; font-weight: 400; color: var(--muted); margin-left: auto; }
.side-nav summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; flex: none; }
.side-nav details[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.side-nav details ul { list-style: none; margin: 2px 0 8px 12px; padding: 0 0 0 10px; border-left: 2px solid var(--line); display: grid; }
.side-nav details li a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; font-size: .9rem; color: var(--muted); }
.side-nav details li a:hover { color: var(--ink); background: color-mix(in srgb, var(--sign) 10%, transparent); }
.side-nav details li a.all { color: var(--ink); font-weight: 600; }

.side-card { border-radius: 20px; padding: 18px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); display: grid; gap: 10px; }
.side-card h3 { font-size: .95rem; }
.side-card ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--sign) 14%, var(--surface)); }
.mini-call { border-radius: 22px; padding: 18px; color: var(--sign-ink); display: grid; gap: 10px;
  background: linear-gradient(145deg, #ffd25a 0%, var(--sign) 45%, var(--sign2) 100%); box-shadow: 0 20px 44px -18px var(--glow), var(--shadow); }
.mini-call .num { font-family: var(--f-display); font-size: 1.35rem; text-decoration: none; font-variant-numeric: tabular-nums; user-select: all; }
.mini-call .now { font-size: .82rem; }
.mini-call .btns .btn { min-height: 42px; font-size: .86rem; border-radius: 12px; border-width: 1.5px; background: rgba(255,255,255,.18); }
.mini-call .btns .btn.solid { background: linear-gradient(180deg, #2a2108, var(--sign-ink)); color: var(--sign); }

@media (min-width: 1280px) {
  .layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 28px; max-width: 1640px; margin: 0 auto; padding: 22px 22px 0; }
  .side { display: grid; gap: 16px; align-content: start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); align-self: start;
    max-height: calc(100vh - 100px); overflow: auto; scrollbar-width: thin; padding-bottom: 12px; }
  .side-left .side-nav { border-radius: 22px; padding: 12px; box-shadow: var(--shadow);
    background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); }
  main .wrap { max-width: none; padding-inline: 4px; }
  .hero { border-radius: 30px; }
  .hero .wrap { grid-template-columns: 1fr; padding-inline: 36px; }
  .hero .callcard { display: none; }
  .burger, .dock { display: none; }
  .top .wrap { max-width: 1640px; padding-inline: 22px; }
  .top nav { display: none; }
  .foot { padding-block: 36px; }
  .foot .wrap { max-width: 1640px; }
}

.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8,12,16,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); transform: translateX(104%);
  background: linear-gradient(180deg, var(--surface), var(--bg)); box-shadow: -20px 0 60px -20px rgba(0,0,0,.5);
  border-radius: 24px 0 0 24px; display: flex; flex-direction: column;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(14px + env(safe-area-inset-bottom, 0px)); overflow: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.drawer-head .logo { color: var(--ink); }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.drawer .mini-call { margin-top: auto; }
.drawer .side-nav { margin-bottom: 16px; }
.drawer .side-nav > a, .drawer .side-nav summary, .drawer .side-nav details li { opacity: 1; }
body.lock { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .drawer-bg { transition: opacity .3s ease; }
  .drawer-panel { transition: transform .38s cubic-bezier(.2,.8,.2,1); }
  .drawer.open .side-nav > * { animation: slidein .4s cubic-bezier(.2,.8,.2,1) both; }
  .drawer.open .side-nav > *:nth-child(2) { animation-delay: .04s; } .drawer.open .side-nav > *:nth-child(3) { animation-delay: .08s; }
  .drawer.open .side-nav > *:nth-child(4) { animation-delay: .12s; } .drawer.open .side-nav > *:nth-child(5) { animation-delay: .16s; }
  .drawer.open .side-nav > *:nth-child(n+6) { animation-delay: .2s; }
  .side-nav > a, .side-nav summary { transition: background .2s, color .2s; }
  .burger { transition: background .2s; }
}
@keyframes slidein { from { transform: translateX(24px); opacity: .01; } to { transform: none; opacity: 1; } }

/* ===== v4: диагностика и погода ===== */
.diag { border-radius: 26px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow);
  background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--sign) 14%, transparent), transparent 60%),
              linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 90%, var(--bg2))); }
.diag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.diag-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 260px; }
.diag-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--sign), var(--sign2)); }
.diag-back { border: 0; background: none; color: var(--muted); font: 600 .9rem var(--f-body); cursor: pointer; padding: 6px 0; }
.diag-back[disabled] { visibility: hidden; }
.diag-q { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin-bottom: 14px; }
.diag-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.diag-opt { text-align: left; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer;
  background: var(--surface); color: var(--ink); font: 600 1rem var(--f-body); display: grid; gap: 2px; }
.diag-opt small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.diag-opt:hover { border-color: var(--sign); box-shadow: 0 10px 24px -14px var(--glow); }
.diag-res h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin-bottom: 14px; }
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 680px) { .diag-grid { grid-template-columns: 1fr; } }
.diag-box { border-radius: 16px; padding: 14px 16px; background: color-mix(in srgb, var(--bg) 70%, var(--surface)); min-width: 0; }
.diag-box h4 { margin: 0 0 8px; font-size: .78rem; font-family: var(--f-mono); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.diag-box ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: .94rem; }
.diag-master { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(150deg, #22313e, #141d26); color: var(--road-ink); display: grid; gap: 6px; }
.diag-master b { color: var(--sign); }
.diag-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.diag-actions a, .diag-actions button { min-height: 46px; padding: 10px 16px; border-radius: 12px; font: 600 .95rem var(--f-body); text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.diag-actions .go { background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); color: var(--sign-ink); border: 0; box-shadow: 0 10px 24px -12px var(--glow); }
.diag-actions .sec { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.diag-note { margin-top: 12px; font-size: .82rem; color: var(--muted); }

.wx { border-radius: 20px; padding: 16px 18px; display: grid; gap: 8px; color: var(--road-ink);
  background: radial-gradient(90% 120% at 100% 0%, rgba(80,150,230,.35), transparent 60%), linear-gradient(150deg, #22313e, #121b24);
  box-shadow: var(--shadow); }
.wx-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .82rem; opacity: .8; }
.wx-time { font-family: var(--f-display); font-size: 1.6rem; opacity: 1; font-variant-numeric: tabular-nums; color: #fff; }
.wx-main { display: flex; align-items: center; gap: 12px; }
.wx-ico { width: 38px; height: 38px; flex: none; color: var(--sign); }
.wx-t { font-family: var(--f-display); font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.wx-desc { font-size: .88rem; opacity: .85; line-height: 1.3; }
.wx-tip { font-size: .86rem; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.07); }
.wx-tip a { color: var(--sign); }
.hero .wx { margin-top: 20px; max-width: 420px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); box-shadow: none; backdrop-filter: blur(8px); }
@media (min-width: 1280px) { .hero .wx { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .diag-step { animation: stepin .35s cubic-bezier(.2,.8,.2,1) both; }
  .diag-opt { transition: border-color .2s, box-shadow .2s, transform .2s; }
  .diag-opt:hover { transform: translateY(-2px); }
  .diag-bar i { transition: width .4s cubic-bezier(.2,.8,.2,1); }
  .wx-ico { animation: bob 4s ease-in-out infinite; }
}
@keyframes stepin { from { transform: translateX(18px); opacity: .01; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-3px); } }

/* ===== v5: правки, диагностика 2, радар ===== */
.issue { padding-right: 44px; }
.issue::after { top: 18px; }

.diag-n { font-size: .78rem; color: var(--muted); letter-spacing: .06em; margin-bottom: 6px; }
.diag-opts.big { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.diag-opts.big .diag-opt { padding: 18px; }
.diag-ic { width: 64px; height: 32px; color: var(--sign2); display: block; margin-bottom: 6px; }
.diag-ic svg { width: 100%; height: 100%; }
.diag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.diag-chips span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--sign) 18%, var(--surface)); }
.diag-check { list-style: none; padding-left: 0 !important; }
.diag-check label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.diag-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sign2); flex: none; }
.diag-check input:checked + span { text-decoration: line-through; color: var(--muted); }
.diag-form { margin-top: 16px; padding: 16px; border-radius: 18px; border: 1.5px dashed var(--line); display: grid; gap: 10px; }
.diag-form h4 { margin: 0; font-size: 1rem; }
.diag-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .diag-fields { grid-template-columns: 1fr; } }
.diag-fields label { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); min-width: 0; }
.diag-fields input { font: 500 1rem var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; width: 100%; }
.diag-fields input:focus { outline: none; border-color: var(--sign); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sign) 30%, transparent); }
.diag-geo { justify-self: start; border: 0; background: none; color: var(--ink); font: 600 .9rem var(--f-body); text-decoration: underline; text-decoration-color: var(--sign); text-underline-offset: 3px; cursor: pointer; padding: 2px 0; }
.diag-geo-st { font-size: .82rem; color: var(--muted); }
.diag-form .diag-actions { margin-top: 4px; }

.rd { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .rd { grid-template-columns: 1fr; } }
.rd-map { border-radius: 26px; padding: 14px; box-shadow: var(--shadow);
  background: radial-gradient(circle at 50% 50%, #1f3443 0%, #13202b 55%, #0d161e 100%); }
#radar { display: block; width: 100%; max-width: 560px; margin: 0 auto; height: auto; aspect-ratio: 1; }
.rd-ring { fill: none; stroke: rgba(130,200,170,.22); stroke-width: 1; }
.rd-ring-t { fill: rgba(170,215,195,.6); font: 10.5px var(--f-mono); }
.rd-axis { stroke: rgba(130,200,170,.12); stroke-width: 1; }
.rd-compass { fill: rgba(220,235,228,.75); font: 12px var(--f-mono); }
.rd-sweep { transform-origin: 250px 250px; }
.rd-sweep-p { fill: url(#rdGrad); fill: rgba(120,230,170,.10); }
.rd-dot { cursor: pointer; outline: none; }
.rd-hit { fill: transparent; }
.rd-c { fill: var(--sign); stroke: #0d161e; stroke-width: 1.5; }
.rd-dot.gr .rd-c { fill: #0d161e; stroke: var(--sign); stroke-width: 2; }
.rd-dot.home .rd-c { fill: #fff; stroke: var(--sign); stroke-width: 3; }
.rd-dot.sel .rd-c { stroke: #fff; stroke-width: 2.5; }
.rd-dot:hover .rd-c, .rd-dot:focus-visible .rd-c { stroke: #fff; stroke-width: 2.5; }
.rd-lab { fill: rgba(232,240,236,.85); font: 600 11.5px var(--f-body); paint-order: stroke; stroke: #0f1a23; stroke-width: 3px; pointer-events: none; }
.rd-lab.sel { fill: var(--sign); font-size: 13px; }
.rd-legend { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; color: rgba(220,232,226,.75); font-size: .8rem; margin-top: 6px; }
.rd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 50%; background: var(--sign); display: inline-block; }
.lg.gr { background: transparent; border: 2px solid var(--sign); }
.rd-side { display: grid; gap: 12px; min-width: 0; }
.rd-info { border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 10px;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); }
.rd-info h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.rd-info dl { margin: 0; display: grid; gap: 8px; }
.rd-info dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.rd-info dt { color: var(--muted); font-size: .9rem; }
.rd-info dd { margin: 0; font-weight: 600; text-align: right; }
.rd-act { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-act a { min-height: 44px; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; }
.rd-act .go { background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); color: var(--sign-ink); }
.rd-act .sec { border: 1.5px solid var(--line); }
.rd-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow: auto; border-radius: 18px; box-shadow: var(--shadow);
  background: var(--surface); display: grid; gap: 2px; scrollbar-width: thin; }
.rd-list button { width: 100%; display: flex; justify-content: space-between; gap: 10px; border: 0; background: none; color: var(--ink);
  font: 500 .93rem var(--f-body); padding: 8px 10px; border-radius: 10px; cursor: pointer; text-align: left; }
.rd-list button small { color: var(--muted); white-space: nowrap; }
.rd-list button:hover { background: color-mix(in srgb, var(--sign) 12%, transparent); }
.rd-list button.on { background: linear-gradient(145deg, #2c3c4a, #141d26); color: var(--sign); }
.rd-list button.on small { color: rgba(243,245,247,.75); }
@media (prefers-reduced-motion: no-preference) {
  .rd-sweep { animation: sweep 6s linear infinite; }
  .rd-c { transition: r .2s; }
}
@keyframes sweep { to { transform: rotate(-360deg); } }

/* ===== v6: выбор города ===== */
.city-pick { display: grid; gap: 6px; padding: 12px; border-radius: 16px; margin-bottom: 8px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--sign) 16%, var(--surface)), var(--surface)); }
.cp { display: grid; gap: 4px; }
.cp-l { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-sel { position: relative; display: block; }
.cp-sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cp select, .diag-fields select { appearance: none; -webkit-appearance: none; width: 100%; font: 600 1rem var(--f-body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 36px 10px 12px; cursor: pointer; }
.cp select:focus, .diag-fields select:focus { outline: none; border-color: var(--sign); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sign) 30%, transparent); }
.cp-info { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.cp-info b { color: var(--ink); font-weight: 600; }
.hero .city-pick { margin-top: 20px; max-width: 420px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); margin-bottom: 0; }
.hero .cp-l, .hero .cp-info { color: rgba(243,245,247,.75); }
.hero .cp-info b { color: #fff; }
.hero .cp select { background: rgba(0,0,0,.28); color: #fff; border-color: rgba(255,255,255,.22); }
.hero .cp-sel::after { border-color: rgba(255,255,255,.7); }
.cp select option, .cp select optgroup { color: #15202a; background: #fff; }
@media (min-width: 1280px) { .hero .city-pick { display: none; } }
.diag-fields { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.diag-fields select { font-weight: 500; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.rd-act button { min-height: 44px; padding: 10px 16px; border-radius: 12px; font: 600 1rem var(--f-body); background: none; color: var(--ink); border: 1.5px solid var(--line); cursor: pointer; }
.rd-act button:hover { border-color: var(--sign); }

/* ===== v7: мобильная адаптация и фирменные цвета ===== */
html, body { overflow-x: hidden; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg { max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.top .wrap { min-width: 0; }
.logo { min-width: 0; flex-shrink: 1; }
.top .tel { display: inline-flex; align-items: center; gap: 8px; }
.top .tel svg { width: 18px; height: 18px; flex: none; color: var(--sign); }
@media (max-width: 560px) {
  .top .tel { width: 44px; height: 44px; justify-content: center; border-radius: 12px; background: var(--sign); color: var(--sign-ink); }
  .top .tel svg { color: var(--sign-ink); width: 20px; height: 20px; }
  .top .tel span { display: none; }
  .logo { font-size: 1.12rem; }
}
.drawer { overflow: hidden; }
.dock { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
.dock a, .dock button { min-width: 0; font-size: .7rem; padding: 4px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock .call { font-size: .82rem; }
.foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.hero .wrap > * , .layout > *, .cols > *, .rd > * { min-width: 0; }
.hero h1 { overflow-wrap: anywhere; hyphens: auto; }
.facts li { font-size: .84rem; }

/* фирменные цвета мессенджеров */
a[href*="wa.me"].btn, .dock a[href*="wa.me"], .diag-actions a[href*="wa.me"] { background: #25D366 !important; color: #fff !important; border-color: #25D366 !important; }
a[href*="t.me"].btn, .dock a[href*="t.me"] { background: #229ED9 !important; color: #fff !important; border-color: #229ED9 !important; }
a[href*="max.ru"].btn, .dock a[href*="max.ru"] { background: linear-gradient(135deg, #3D7BFF 0%, #7A3CF0 100%) !important; color: #fff !important; border-color: transparent !important; }
.btn[data-geo], .dock button[data-geo], #dSms { }
.dock button[data-geo] { background: #34C759; color: #fff; }
.btn[data-geo] { background: rgba(255,255,255,.85) !important; color: #1c1400 !important; }
a[href*="wa.me"].btn:hover, a[href*="t.me"].btn:hover, a[href*="max.ru"].btn:hover { filter: brightness(1.07); }
.brand-ic { width: 18px; height: 18px; flex: none; }

@media (max-width: 480px) {
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 8px 6px; font-size: .84rem; white-space: nowrap; }
  .rd-map { padding: 8px; border-radius: 20px; }
}

/* ===== v8: баннер cookie ===== */
.cookie { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  max-width: 460px; margin-inline: auto; border-radius: 20px; padding: 16px 16px 14px; display: grid; gap: 12px;
  background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.45), 0 0 0 1px var(--line); }
.cookie-h { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cookie-h svg { width: 24px; height: 24px; color: var(--sign2); flex: none; }
.cookie p { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.cookie p a { color: var(--ink); text-decoration-color: var(--sign); text-underline-offset: 2px; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-btns button { min-height: 44px; border-radius: 12px; font: 600 .92rem var(--f-body); cursor: pointer; }
.cookie-yes { border: 0; color: var(--sign-ink); background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); }
.cookie-no { border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
@media (min-width: 900px) { .cookie { left: 24px; right: auto; bottom: 24px; margin: 0; } }
@media (min-width: 1280px) { .cookie { bottom: 24px; } }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.foot-legal a, .foot-legal button { color: var(--road-ink); opacity: .75; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.foot-legal a:hover, .foot-legal button:hover { opacity: 1; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .cookie:not([hidden]) { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; } }

/* ===== v9: настоящие отзывы ===== */
.rv.real { border: 0; box-shadow: var(--shadow); }
.rv.real p { font-style: normal; color: var(--ink); font-size: .95rem; }
.rv.real header { display: flex; align-items: center; gap: 10px; }
.rv.real header span:last-child { display: grid; line-height: 1.25; }
.rv.real header small { color: var(--muted); font-size: .8rem; }
.rv-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; color: var(--sign-ink);
  background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); }
.rv.real footer { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: auto; }
.reviews { align-items: stretch; }
.rv.real { display: flex; flex-direction: column; gap: 10px; }

/* ===== v10: меню по разделам ===== */
.side-sub { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.side-mini { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 12px 12px 4px; margin-top: 8px; border-top: 1px solid var(--line); }
.side-mini a { font-size: .86rem; color: var(--muted); text-decoration: none; }
.side-mini a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sign); }
.side-nav details + details, .side-nav > a + details { margin-top: 0; }

/* ===== v11: выбор города — список ссылок ===== */
.cp-d { position: relative; }
.cp-d summary { list-style: none; cursor: pointer; font: 600 1rem var(--f-body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 36px 10px 12px; position: relative; }
.cp-d summary::-webkit-details-marker { display: none; }
.cp-d summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.cp-d[open] summary { border-color: var(--sign); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sign) 30%, transparent); }
.cp-d[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.cp-pop { margin-top: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-up); padding: 8px; }
.cp-q { width: 100%; font: 500 .95rem var(--f-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.cp-q:focus { outline: none; border-color: var(--sign); }
.cp-groups { max-height: 300px; overflow: auto; margin-top: 6px; scrollbar-width: thin; }
.cp-g { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 4px; }
.cp-groups ul { list-style: none; margin: 0; padding: 0; display: grid; }
.cp-groups a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.cp-groups a small { color: var(--muted); white-space: nowrap; font-size: .76rem; }
.cp-groups a:hover { background: color-mix(in srgb, var(--sign) 14%, transparent); }
.cp-groups a.on { background: linear-gradient(145deg, #2c3c4a, #141d26); color: var(--sign); }
.cp-groups a.on small { color: rgba(243,245,247,.7); }
.hero .cp-d summary { background: rgba(0,0,0,.28); color: #fff; border-color: rgba(255,255,255,.22); }
.hero .cp-d summary::after { border-color: rgba(255,255,255,.7); }

/* выбор города внутри меню: перебиваем стили подменю */
.side-nav .cp-d > summary { display: block; justify-content: initial; padding: 10px 36px 10px 12px; border-radius: 12px; font-size: 1rem; background: var(--surface); border: 1.5px solid var(--line); }
.side-nav .cp-d > summary:hover { background: var(--surface); }
.side-nav .cp-d > summary::after, .side-nav .cp-d[open] > summary::after { position: absolute; right: 14px; top: 50%; margin: 0; }
.side-nav .cp-d > summary::after { transform: translateY(-70%) rotate(45deg); }
.side-nav .cp-d[open] > summary::after { transform: translateY(-20%) rotate(225deg); }
.side-nav .cp-d[open] > summary { border-color: var(--sign); }
.side-nav .cp-groups ul { margin: 0; padding: 0; border-left: 0; }
.side-nav .cp-groups li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; color: var(--ink); font-size: .92rem; }
.side-nav .cp-groups li a.on { color: var(--sign); }

/* ===== v12: «Ваш город?» ===== */
.city-ask { position: fixed; z-index: 45; top: calc(env(safe-area-inset-top, 0px) + 74px); left: 12px; right: 12px; max-width: 380px; margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px 12px; align-items: center; padding: 14px 14px 14px 16px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.45), 0 0 0 1px var(--line); color: var(--ink); }
.ca-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--sign-ink); background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); }
.ca-ic svg { width: 20px; height: 20px; }
.ca-t { font-size: 1rem; }
.ca-x { width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; border-radius: 8px; }
.ca-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.ca-btns button { min-height: 42px; border-radius: 12px; font: 600 .92rem var(--f-body); cursor: pointer; }
.ca-yes { border: 0; color: var(--sign-ink); background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); }
.ca-no { border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
@media (min-width: 1280px) { .city-ask { left: auto; right: 24px; margin: 0; top: calc(env(safe-area-inset-top, 0px) + 72px); } }
@media (prefers-reduced-motion: no-preference) { .city-ask:not([hidden]) { animation: drop .4s cubic-bezier(.2,.8,.2,1) both; } }
@keyframes drop { from { transform: translateY(-12px); opacity: .01; } to { transform: none; opacity: 1; } }

/* ===== v13: блок «О нас» ===== */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; border-radius: 26px; padding: clamp(20px, 3vw, 32px);
  color: var(--road-ink); background: radial-gradient(70% 90% at 100% 0%, rgba(255,170,0,.22), transparent 60%), linear-gradient(150deg, #22313e, #121b24); box-shadow: var(--shadow); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about .eyebrow { color: rgba(243,245,247,.65); }
.about h2 { margin: 8px 0 12px; }
.about-main p { opacity: .88; max-width: 58ch; }
.about-link { display: inline-flex; margin-top: 16px; padding: 11px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--sign-ink);
  background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.about-facts div { border-radius: 14px; padding: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 2px; }
.about-facts b { white-space: nowrap; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--sign); font-variant-numeric: tabular-nums; }
.about-facts span { font-size: .78rem; opacity: .75; line-height: 1.3; }
.about-l { margin: 16px 0 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.about-kit { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.about-kit li { font-size: .84rem; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }

/* ===== v14: кратко, районы, марки, SEO-текст ===== */
.tldr-sec { padding-block: 28px 0; }
.tldr { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, color-mix(in srgb, var(--sign) 14%, var(--surface)), var(--surface) 70%); }
.tldr-l { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--road); color: var(--sign); margin-top: 2px; }
.tldr p { font-size: .98rem; max-width: 90ch; }
.tldr a { font-weight: 600; text-decoration-color: var(--sign); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 560px) { .tldr { grid-template-columns: 1fr; gap: 8px; } .tldr-l { justify-self: start; } }
.districts { margin-top: 22px; }
.districts ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.districts li { padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .92rem; font-weight: 500; }
.districts-n { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.brand-btns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-btns a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem;
  color: var(--ink); background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 90%, var(--bg2))); box-shadow: var(--shadow); border: 1px solid transparent; }
.brand-btns a:hover { border-color: var(--sign); box-shadow: var(--shadow-up); transform: translateY(-2px); }
.brand-btns a.all { background: linear-gradient(145deg, #2c3c4a, #141d26); color: var(--sign); }
@media (prefers-reduced-motion: no-preference) { .brand-btns a { transition: transform .2s, box-shadow .2s, border-color .2s; } }
.seo-sec { padding-top: 0; }
.seo-text { max-width: 820px; border-top: 1px solid var(--line); padding-top: 28px; color: var(--muted); }
.seo-text h2 { color: var(--ink); font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 12px; }
.seo-text h3 { color: var(--ink); margin: 18px 0 6px; font-size: 1rem; }
.seo-text p { max-width: 72ch; margin-bottom: 10px; font-size: .95rem; }

/* ===== v15: компоненты страниц услуг ===== */
.hero--svc { padding-block: 26px 52px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; margin-bottom: 12px; color: rgba(243,245,247,.65); }
.crumbs a { color: rgba(243,245,247,.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--sign); }
.hero--svc h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
.ptable { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); max-width: 760px; }
.pt-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.pt-row:last-child { border-bottom: 0; }
.pt-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-row.free b { color: var(--ok); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.two > * { min-width: 0; }
.card-plain { border-radius: 22px; padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); }
.card-plain h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.card-plain.warn { background: linear-gradient(150deg, color-mix(in srgb, var(--sign) 16%, var(--surface)), var(--surface) 70%); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 5px; height: 8px; border: solid var(--sign-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 4px; }
.inline-links a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--sign); text-underline-offset: 3px; }
.reviews.two-up { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .reviews.two-up { grid-template-columns: 1fr; } }
.city-links { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a { display: inline-block; padding: 7px 14px; border-radius: 10px; text-decoration: none; background: var(--surface); box-shadow: var(--shadow); font-size: .92rem; }
.city-links a:hover { box-shadow: var(--shadow-up); color: var(--ink); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.related a { display: grid; gap: 2px; padding: 16px 44px 16px 18px; border-radius: 18px; text-decoration: none; box-shadow: var(--shadow); position: relative;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); }
.related a::after { content: "→"; position: absolute; right: 16px; top: 16px; color: var(--muted); font-family: var(--f-mono); }
.related a span { color: var(--muted); font-size: .88rem; }
.related a:hover { box-shadow: var(--shadow-up); transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) { .related a { transition: transform .2s, box-shadow .2s; } }

.side-nav details li a.cur { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--sign) 16%, transparent); }

/* ===== v16: преимущества, цены в hero, причины, выбор, CTA ===== */
.adv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .adv { grid-template-columns: 1fr; } }
.adv li { border-radius: 20px; padding: 18px; display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); }
.adv li:nth-child(1), .adv li:nth-child(2) { background: linear-gradient(150deg, #22313e, #141d26); color: var(--road-ink); }
.adv li:nth-child(1) span:last-child, .adv li:nth-child(2) span:last-child { color: rgba(243,245,247,.72); }
.adv-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--sign-ink); margin-bottom: 4px;
  background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); box-shadow: 0 8px 18px -10px var(--glow); }
.adv-ic svg { width: 22px; height: 22px; }
.adv b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.adv li > span:last-child { color: var(--muted); font-size: .88rem; line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) { .adv li { transition: transform .25s, box-shadow .25s; } .adv li:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); } }

.price-hero { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.price-hero div { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); min-width: 140px; }
.price-hero div:first-child { background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); color: var(--sign-ink); border-color: transparent; }
.price-hero span { font-size: .78rem; opacity: .8; }
.price-hero b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero-art { display: none; }
@media (min-width: 1280px) {
  .hero--svc .wrap { grid-template-columns: minmax(0, 1fr) 280px; align-items: center; }
  .hero--svc .hero-art { display: block; }
}
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.hero-art .charge { transform-origin: 160px 186px; }
@media (prefers-reduced-motion: no-preference) { .hero-art .charge { animation: charge 3.2s ease-in-out infinite; } }
@keyframes charge { 0% { transform: scaleY(.15); } 70%, 100% { transform: scaleY(1); } }

.causes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .causes { grid-template-columns: 1fr; } }
.causes div { border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); background: var(--surface); display: grid; gap: 6px; border-top: 3px solid var(--sign); }
.causes b { font-size: 1.02rem; }
.causes p { color: var(--muted); font-size: .92rem; }

.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .choice { grid-template-columns: 1fr; } }
.ch { border-radius: 20px; padding: 18px; display: grid; gap: 8px; align-content: start; text-decoration: none; box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--bg2))); border: 1.5px solid transparent; }
.ch b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.ch p { color: var(--muted); font-size: .92rem; }
.ch.on { background: linear-gradient(150deg, #22313e, #141d26); color: var(--road-ink); }
.ch.on p { color: rgba(243,245,247,.75); }
.ch-tag { justify-self: start; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--sign); color: var(--sign-ink); }
.ch-p { font-family: var(--f-display); color: var(--sign); font-size: 1.2rem; }
.ch-l { font-weight: 600; text-decoration: underline; text-decoration-color: var(--sign); text-underline-offset: 3px; }
a.ch:hover { border-color: var(--sign); box-shadow: var(--shadow-up); }

.cta-sec { padding-block: 8px 40px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 24px; color: var(--sign-ink);
  background: linear-gradient(120deg, #ffd25a 0%, var(--sign) 45%, var(--sign2) 100%); box-shadow: 0 24px 50px -24px var(--glow); }
.cta-band b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 2.6vw, 1.55rem); }
.cta-band span { font-size: .95rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-btns .go { padding: 12px 20px; border-radius: 14px; background: linear-gradient(180deg, #2a2108, var(--sign-ink)); color: var(--sign); text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-btns .sec { padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.35); border: 1.5px solid var(--sign-ink); color: var(--sign-ink); font: 600 .95rem var(--f-body); cursor: pointer; }

.price-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); max-width: 560px; }
.price-hero div { min-width: 0; padding: 11px 14px; }
.price-hero b { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
@media (min-width: 1280px) { .hero--svc .wrap { grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; } }

/* ===== v17: статья «Полезно знать» ===== */
.guide { display: grid; gap: 14px; }
.guide-head { border-radius: 26px; padding: clamp(20px, 3.5vw, 34px); color: var(--road-ink);
  background: radial-gradient(70% 100% at 100% 0%, rgba(255,170,0,.2), transparent 60%), linear-gradient(150deg, #22313e, #121b24); box-shadow: var(--shadow); }
.guide-head .eyebrow { color: rgba(243,245,247,.6); }
.guide-head h2 { margin: 8px 0 12px; }
.guide-lead { font-size: 1.04rem; opacity: .9; max-width: 72ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { font-size: .86rem; padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--road-ink); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.toc a:hover { background: var(--sign); color: var(--sign-ink); border-color: transparent; }
.g-block { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; border-radius: 22px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 94%, var(--bg2))); }
@media (max-width: 560px) { .g-block { grid-template-columns: 1fr; gap: 8px; } }
.g-num { font-family: var(--f-display); font-size: 2rem; line-height: 1; background: linear-gradient(145deg, #ffd25a, var(--sign) 50%, var(--sign2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-block h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); margin-bottom: 8px; }
.g-block p { color: var(--muted); max-width: 72ch; margin-bottom: 8px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }
.cmp { border-radius: 16px; padding: 14px 16px; }
.cmp b { display: block; margin-bottom: 8px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.cmp li { position: relative; padding-left: 24px; }
.cmp.bad { background: color-mix(in srgb, #e5484d 9%, var(--surface)); }
.cmp.bad li::before { content: "✕"; position: absolute; left: 0; color: #e5484d; font-weight: 700; }
.cmp.good { background: color-mix(in srgb, var(--ok) 11%, var(--surface)); }
.cmp.good li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.tips { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 10px; }
.tips li { counter-increment: t; position: relative; padding-left: 40px; color: var(--muted); }
.tips li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-size: .9rem; color: var(--sign); background: linear-gradient(145deg, #2c3c4a, #141d26); }
.tips b { color: var(--ink); }
.scen { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scen li { padding: 8px 14px; border-radius: 12px; font-size: .92rem; font-weight: 500; background: color-mix(in srgb, var(--sign) 14%, var(--surface)); }
.callout { border-radius: 22px; padding: 20px 22px; display: grid; gap: 8px; color: var(--sign-ink);
  background: linear-gradient(120deg, #ffd25a 0%, var(--sign) 45%, var(--sign2) 100%); box-shadow: 0 20px 44px -22px var(--glow); }
.callout-l { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.callout p { font-size: 1.05rem; font-weight: 500; max-width: 70ch; }
.callout a { justify-self: start; font-weight: 700; color: var(--sign-ink); text-decoration: underline; text-underline-offset: 3px; }

/* v18: заголовки боковых карточек и подвала — не h3, чтобы не ломать структуру страницы */
.side-card .side-h { font-size: .95rem; font-weight: 700; margin: 0; text-wrap: balance; }
.foot .foot-h { color: var(--sign); font-size: .9rem; font-family: var(--f-mono); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.guide-meta { margin: 10px 0 14px; font-size: .88rem; color: inherit; opacity: .7; }
.nf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.nf-actions .btn:not(.solid) { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
/* v19: объёмные кнопки связи с обрамлением */
.btn[href^="tel:"], .btn[href*="wa.me"], .btn[href*="t.me"], .btn[href*="max.ru"], .btn[data-geo],
.dock a, .dock button, .diag-actions .go, .top .tel {
  --t: #fff; --m: #eef0f3; --d: #d9dde3; --e: #a9b0ba; --c: #1c1400;
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--t) 0%, var(--m) 52%, var(--d) 100%) !important;
  color: var(--c) !important;
  border: 1.5px solid var(--e) !important;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.55),
    inset 0 -3px 0 rgba(0,0,0,.14),
    0 3px 0 var(--e),
    0 0 0 3px rgba(255,255,255,.10),
    0 10px 18px -8px rgba(0,0,0,.55) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .12s ease, filter .15s !important;
}
/* блик сверху — эффект выпуклой кнопки */
.btn[href^="tel:"]::after, .btn[href*="wa.me"]::after, .btn[href*="t.me"]::after, .btn[href*="max.ru"]::after, .btn[data-geo]::after,
.dock a::after, .dock button::after, .diag-actions .go::after, .top .tel::after {
  content: ""; position: absolute; left: 3%; right: 3%; top: 1px; height: 50%; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,0)); pointer-events: none; z-index: -1;
}
.btn.solid[href^="tel:"]::after { background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0)); }
.top .tel svg { color: currentColor !important; }
@media (min-width: 561px) { .top .tel { padding: 5px 12px; border-radius: 10px; } }
.btn[href*="wa.me"], .dock a[href*="wa.me"] { --t: #5fe38c; --m: #25D366; --d: #1db954; --e: #128c4a; --c: #fff; }
.btn[href*="t.me"], .dock a[href*="t.me"] { --t: #5cc6f2; --m: #229ED9; --d: #1b8cc4; --e: #146c99; --c: #fff; }
.btn[href*="max.ru"], .dock a[href*="max.ru"] { --e: #4a22a8; --c: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.12)), linear-gradient(135deg, #3D7BFF 0%, #7A3CF0 100%) !important; }
.dock button[data-geo] { --t: #6fdc8c; --m: #34C759; --d: #2bb04d; --e: #1d7f37; --c: #fff; }
.btn[data-geo] { --t: #ffffff; --m: #f4f5f7; --d: #e3e6ea; --e: #b4bac3; --c: #1c1400; text-shadow: none; }
.dock .call, .diag-actions .go, .top .tel { --t: #ffe48f; --m: #ffbe2e; --d: #ff9a1f; --e: #b86a00; --c: #1c1400; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.btn.solid[href^="tel:"] { --t: #4a3b12; --m: #2a2108; --d: #1c1400; --e: #000; --c: #ffbe2e; text-shadow: 0 1px 0 #000; }
.btn[data-geo] svg, .dock a svg, .dock button svg, .btn .brand-ic { filter: drop-shadow(0 1px 0 rgba(0,0,0,.2)); }
@media (hover: hover) {
  .btn[href^="tel:"]:hover, .btn[href*="wa.me"]:hover, .btn[href*="t.me"]:hover, .btn[href*="max.ru"]:hover, .btn[data-geo]:hover,
  .dock a:hover, .dock button:hover, .diag-actions .go:hover, .top .tel:hover { transform: translateY(-1px); filter: brightness(1.05); }
}
.btn[href^="tel:"]:active, .btn[href*="wa.me"]:active, .btn[href*="t.me"]:active, .btn[href*="max.ru"]:active, .btn[data-geo]:active,
.dock a:active, .dock button:active, .diag-actions .go:active, .top .tel:active {
  transform: translateY(3px) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 0 0 var(--e), 0 0 0 3px rgba(255,255,255,.08), 0 4px 8px -6px rgba(0,0,0,.5) !important;
}
.dock { gap: 7px; padding-top: 9px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); }
.dock a, .dock button { min-height: 50px; }
/* v20: ссылки-чипы в статье */
.scen.links li { padding: 0; background: none; }
.scen.links a { display: block; padding: 8px 14px; border-radius: 12px; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--sign) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--sign) 30%, transparent); transition: background .15s, transform .15s; }
.scen.links a:hover { background: var(--sign); color: var(--sign-ink); transform: translateY(-1px); }
/* v21: ключ на странице вскрытия */
.hero-art .key { transform-origin: 112px 168px; }
@media (prefers-reduced-motion: no-preference) { .hero-art .key { animation: keyturn 3.6s ease-in-out infinite; } }
@keyframes keyturn { 0%, 55%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(14px) rotate(0); } 40% { transform: translateX(14px) rotate(-18deg); } }
/* v22: мультиметр на странице автоэлектрика */
.hero-art .mm-dial { transform-origin: 160px 146px; }
@media (prefers-reduced-motion: no-preference) { .hero-art .mm-dial { animation: mmdial 3.4s ease-in-out infinite; } .hero-art .mm-val { animation: mmblink 3.4s steps(1) infinite; } }
@keyframes mmdial { 0%, 100% { transform: rotate(-50deg); } 50% { transform: rotate(40deg); } }
@keyframes mmblink { 0%, 92% { opacity: 1; } 95% { opacity: .3; } }
/* v23: раздел работ выездного автосервиса */
.works h3 { margin: 22px 0 10px; font-size: 1.05rem; }
.works h3:first-child { margin-top: 0; }
.works .related a b { font-size: .98rem; }
.hero-art .gear { transform-origin: 170px 120px; }
@media (prefers-reduced-motion: no-preference) { .hero-art .gear { animation: gearspin 14s linear infinite; } }
@keyframes gearspin { to { transform: rotate(360deg); } }
.scen.sensors { margin: 12px 0 4px; }
.scen.sensors li { font-size: .86rem; }
/* v24: таблица «гнёт ли клапана» */
.vv-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; max-width: 760px; margin-bottom: 14px; }
.vv-pick label { display: grid; gap: 6px; font-size: .82rem; color: var(--muted); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.vv-pick select, .vv-pick input { font: 500 1rem var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box; text-transform: none; letter-spacing: 0; }
.vv-pick select:focus, .vv-pick input:focus { outline: 2px solid var(--sign); outline-offset: 1px; border-color: transparent; }
.vv-empty { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--sign) 16%, var(--surface)); }
.vv-wrap { border-radius: 20px; box-shadow: var(--shadow); background: var(--surface); overflow: hidden; }
.vv-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.vv-table th { text-align: left; font: 400 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.vv-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vv-table tr:last-child td { border-bottom: 0; }
.vv-table td small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.vv-table tr[hidden] { display: none; }
.vv { display: inline-block; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.vv.ok { background: #dff5e6; color: #13612f; }
.vv.bad { background: #fde2e1; color: #a1201b; }
.vv.mid { background: #fff0cc; color: #7a4d00; }
.vv.chain { background: #e6ebf0; color: #3a4b5a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vv.ok { background: #143823; color: #8fe0aa; } :root:not([data-theme="light"]) .vv.bad { background: #4a1715; color: #ffaaa6; } :root:not([data-theme="light"]) .vv.mid { background: #46340d; color: #ffd27a; } :root:not([data-theme="light"]) .vv.chain { background: #24313d; color: #c6d1db; } }
:root[data-theme="dark"] .vv.ok { background: #143823; color: #8fe0aa; } :root[data-theme="dark"] .vv.bad { background: #4a1715; color: #ffaaa6; } :root[data-theme="dark"] .vv.mid { background: #46340d; color: #ffd27a; } :root[data-theme="dark"] .vv.chain { background: #24313d; color: #c6d1db; }
.vv-how { margin-top: 16px; padding: 0; }
.vv-how h3 { font-size: 1.15rem; margin: 6px 0 10px; }
@media (max-width: 680px) {
  .vv-table thead { display: none; }
  .vv-table, .vv-table tbody, .vv-table tr, .vv-table td { display: block; }
  .vv-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
  .vv-table td { padding: 0; border: 0; }
  .vv-table td:nth-child(1) { grid-column: 1 / -1; }
  .vv-table td:nth-child(3) { grid-column: 1 / -1; order: 4; }
  .vv-table td:nth-child(4) { text-align: right; white-space: nowrap; }
}
/* v25: длинные подписи в плашках цен переносятся (цены держит неразрывный пробел) */
.price-hero b { white-space: normal; text-wrap: balance; overflow-wrap: anywhere; line-height: 1.15; }
/* v26: подбор АКБ по маркам */
.fit-list { display: grid; gap: 10px; }
.fit { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.fit summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.fit summary::-webkit-details-marker { display: none; }
.fit summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sign) 22%, var(--surface)); font-family: var(--f-mono); }
.fit[open] summary::after { content: "−"; }
.fit-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fit-table th { text-align: left; font: 400 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; border-top: 1px solid var(--line); }
.fit-table td { padding: 10px 18px; border-top: 1px solid var(--line); vertical-align: top; }
@media (max-width: 680px) {
  .fit-table thead { display: none; }
  .fit-table, .fit-table tbody, .fit-table tr, .fit-table td { display: block; }
  .fit-table tr { padding: 10px 18px; border-top: 1px solid var(--line); }
  .fit-table td { padding: 2px 0; border: 0; }
  .fit-table td:not(:first-child)::before { content: attr(data-l) ": "; color: var(--muted); }
}
.akb-prices .pt-row span small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
/* v27: диагностика — блоки и коды */
.blocks-grid > div b { font-family: var(--f-mono); font-weight: 400; letter-spacing: .02em; }
.fit.codes { overflow: hidden; }
.fit.codes .fit-table td:first-child { white-space: nowrap; }
@media (max-width: 680px) { .fit.codes .fit-table td:first-child { white-space: normal; } }
.fit summary small { display: block; font: 400 .78rem var(--f-mono); color: var(--muted); margin-top: 3px; letter-spacing: .02em; }

/* v28 — бесплатная консультация */
.consult-top { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--sign); background: rgba(242,169,0,.12); color: #fff; font: 600 .86rem/1.05 var(--f-body); cursor: pointer; white-space: nowrap; animation: consultPulse 2.8s ease-in-out infinite; }
.consult-top svg { width: 20px; height: 20px; color: var(--sign); flex: none; }
.consult-top b { color: var(--sign); font-weight: 700; }
.consult-top:hover { background: rgba(242,169,0,.22); }
@keyframes consultPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,169,0,.45); } 50% { box-shadow: 0 0 0 6px rgba(242,169,0,0); } }
.top .logo { flex: none; white-space: nowrap; }
.top-right { min-width: 0; flex-shrink: 1; justify-content: flex-end; }
.consult-top span { white-space: nowrap; }
@media (max-width: 1100px) { .consult-top { padding: 0 12px; font-size: .8rem; } }
@media (max-width: 600px) {
  .consult-top { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; flex: none; }
  .consult-top span { display: none; }
  .consult-top svg { width: 22px; height: 22px; }
}
@media (max-width: 370px) { .top .logo { font-size: 1.02rem; gap: 6px; } .top .logo .tri { width: 22px; height: 20px; } .top .wrap { gap: 8px; } .top-right { gap: 6px; } .consult-top, .top .tel, .burger { width: 40px; height: 40px; } }
.btn.consult { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff !important; color: #1c1400 !important; border: 2px dashed rgba(28,20,0,.45) !important; font-weight: 700; }
.btn.consult svg { width: 18px; height: 18px; }
.btn.consult small { display: block; font-weight: 500; opacity: .7; font-size: .74rem; }
.cta-btns .consult-cta { border: 1.5px solid var(--sign); background: transparent; color: inherit; border-radius: 12px; padding: 12px 16px; font: 600 .92rem var(--f-body); cursor: pointer; }
.cm-back { position: fixed; inset: 0; z-index: 90; background: rgba(5,9,13,.62); backdrop-filter: blur(4px); display: grid; place-items: end center; padding: 0; }
.cm-back[hidden] { display: none; }
@media (min-width: 640px) { .cm-back { place-items: center; padding: 20px; } }
.cm { width: min(520px, 100%); max-height: 92vh; overflow: auto; background: #fff; color: #1c2730; border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); animation: cmUp .25s cubic-bezier(.2,.7,.2,1); }
@media (min-width: 640px) { .cm { border-radius: 22px; padding: 26px; } }
@keyframes cmUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.cm-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.cm h2 { font-size: 1.35rem; margin: 0 0 6px; color: #1c2730; }
.cm p.cm-sub { margin: 0 0 14px; font-size: .92rem; color: #4a5763; }
.cm-x { flex: none; width: 38px; height: 38px; border-radius: 10px; border: 0; background: #eef1f4; font-size: 1.3rem; cursor: pointer; color: #1c2730; }
.cm-perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.cm-perks li { font-size: .78rem; background: #fff6df; color: #6b4a00; border-radius: 999px; padding: 4px 10px; }
.cm label { display: block; font-size: .8rem; font-weight: 600; margin: 10px 0 6px; color: #33414d; }
.cm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-chips button { border: 1.5px solid #d6dde3; background: #f7f9fa; color: #1c2730; border-radius: 999px; padding: 7px 12px; font: 500 .85rem var(--f-body); cursor: pointer; }
.cm-chips button[aria-pressed="true"] { background: var(--sign); border-color: var(--sign); color: #1c1400; font-weight: 700; }
.cm input, .cm textarea { width: 100%; box-sizing: border-box; border: 1.5px solid #d6dde3; border-radius: 12px; padding: 11px 12px; font: 400 1rem var(--f-body); color: #1c2730; background: #fff; }
.cm textarea { min-height: 70px; resize: vertical; }
.cm input:focus, .cm textarea:focus { outline: none; border-color: var(--sign); box-shadow: 0 0 0 3px rgba(242,169,0,.25); }
.cm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cm-actions a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; text-decoration: none; font: 700 .92rem var(--f-body); }
.cm-actions .cm-sms { grid-column: 1 / -1; background: #34C759 !important; color: #fff !important; font-size: 1rem; min-height: 52px; }
.cm-actions .cm-call { grid-column: 1 / -1; background: linear-gradient(145deg, #ffd25a, var(--sign)); color: #1c1400; }
.cm-note { font-size: .75rem; color: #6b7883; margin: 12px 0 0; }
@keyframes drift { from { background-position: 0% 0%, 0% 100%, 0 0; } to { background-position: 100% 30%, 30% 60%, 0 0; } }
@keyframes road { to { background-position: -100px 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: .01; } to { transform: none; opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,76,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(31,157,76,0); } }
@keyframes ring { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 93% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } }
@media (prefers-reduced-motion: no-preference) { .issue, .cities a, .btn { transition: border-color .15s, filter .15s; } }
