/* tuningsto.ru — те же цвета и шрифт, что в CRM: бетон, графит, сигнальный жёлтый с тёмным текстом */
:root {
  --canvas: #eceef1;
  --line: #d9dde3;
  --ink: #1c2026;
  --graphite: #23282f;
  --graphite-2: #2c323a;
  --graphite-line: #3a414b;
  --signal: #ffcc1a;
  --signal-deep: #f2b800;
  --signal-soft: #fff6d1;
  --muted: #555d6a;
  --muted-dark: #a9b0bb;
  --ok: #1f9d55;
  --ok-dark: #5fd68f;
  --radius: 16px;
  --wrap: 1180px;
  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal-deep); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-deep); }
.btn-ghost-dark { border-color: var(--graphite-line); color: #fff; }
.btn-ghost-dark:hover { border-color: #6b7380; background: rgba(255,255,255,.05); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: #9aa1ab; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--graphite-2); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn-sm svg { width: 16px; height: 16px; }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--graphite); color: #fff; border-bottom: 1px solid #15181d; }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--signal); display: grid; place-items: center; flex: none; overflow: hidden; }
.logo-mark svg { width: 24px; height: 24px; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted-dark); letter-spacing: 0; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 10px; border-radius: 8px; color: #d5d9df; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.top-phone { display: none; }
.top-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: transparent; border: 0; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.signal { background: var(--signal); color: var(--ink); }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: fixed; left: 0; right: 0; top: 64px; background: var(--graphite); border-top: 1px solid var(--graphite-line); padding: 8px 16px 20px; display: grid; gap: 2px; box-shadow: 0 20px 40px rgba(0,0,0,.35); max-height: calc(100dvh - 64px); overflow-y: auto; }
.menu-panel a { display: block; padding: 14px 8px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--graphite-line); }
.menu-panel a:last-child { border-bottom: 0; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .top-actions { margin-left: 8px; }
  .menu, .top-actions .icon-btn.call { display: none; }
  .top-phone { display: inline-flex; }
}

/* ---------- Первый экран ---------- */
.hero { background: var(--graphite); color: #fff; padding: 40px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; gap: 32px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--signal); border-radius: 2px; }
.hero h1 { font-size: clamp(32px, 6.4vw, 56px); font-weight: 700; margin-top: 16px; max-width: 15ch; }
.hero-text { margin-top: 18px; font-size: 18px; color: #c9ced6; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 559px) { .hero-cta .btn { flex: 1 1 100%; } }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #8b929c; flex: none; }
.status.open i { background: var(--ok-dark); box-shadow: 0 0 0 4px rgba(95,214,143,.18); }
.status.light { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.status.light.open i { background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.hero-card { background: var(--graphite-2); border: 1px solid var(--graphite-line); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; align-self: start; }
.hero-card h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); font-weight: 600; }
.hc-row { display: flex; gap: 14px; align-items: flex-start; }
.hc-row svg { width: 20px; height: 20px; color: var(--signal); flex: none; margin-top: 2px; }
.hc-row b { display: block; font-weight: 600; }
.hc-row span { color: var(--muted-dark); font-size: 15px; }
.hc-row a { color: #fff; }
.hc-link { color: var(--signal) !important; font-weight: 600; text-decoration: none; font-size: 15px; }
.hc-link:hover { text-decoration: underline; }
/* Фото на первом экране: слева затемнение под текст */
.hero.has-photo { background: linear-gradient(180deg, rgba(35,40,47,.82), rgba(35,40,47,.94)), var(--hero-img) center / cover no-repeat, var(--graphite); }
@media (min-width: 900px) { .hero.has-photo { background: linear-gradient(90deg, rgba(35,40,47,.97) 0%, rgba(35,40,47,.9) 42%, rgba(35,40,47,.45) 75%, rgba(35,40,47,.3) 100%), var(--hero-img) 70% 55% / cover no-repeat, var(--graphite); } .hero.has-photo .hero-card { background: rgba(35,40,47,.88); backdrop-filter: blur(6px); } }
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
}

/* ---------- Разделы ---------- */
.sec { padding: 56px 0; }
.sec.plain + .sec.plain { padding-top: 0; }
.sec.white { background: #fff; }
.sec.dark { background: var(--graphite); color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 700; }
.sec-head p { color: var(--muted); max-width: 60ch; }
.sec.dark .sec-head p { color: var(--muted-dark); }
.eyebrow { font: 600 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.sec.dark .eyebrow { color: var(--signal); }
@media (min-width: 760px) { .sec { padding: 80px 0; } .sec.plain + .sec.plain { padding-top: 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Услуги */
.svc { padding: 24px; display: grid; gap: 10px; align-content: start; }
.svc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--signal); color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.svc-ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 20px; font-weight: 650; }
.svc p { color: var(--muted); }
.svc a { font-weight: 600; text-decoration: none; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.svc a:hover { text-decoration: underline; }
.nodo { margin-top: 16px; padding: 20px 24px; display: grid; gap: 14px; background: transparent; border-style: dashed; border-color: #b9bfc8; }
.nodo-head { display: flex; gap: 12px; align-items: flex-start; }
.nodo-head svg { width: 22px; height: 22px; color: var(--muted); flex: none; margin-top: 1px; }
.nodo-head b { font-weight: 650; display: block; }
.nodo-head span { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.chip.no { text-decoration: line-through; text-decoration-color: #9aa1ab; color: #3d434c; }
@media (min-width: 900px) { .nodo { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* ---------- Цены ---------- */
@media (max-width: 759px) { .price-tabs { display: none !important; } }
.price-tabs { display: flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 20px; }
.price-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--ink); }
.price-tabs a svg { width: 17px; height: 17px; }
.price-tabs a:hover { background: var(--canvas); }
.price-block { padding: 20px; }
.price-block + .price-block { margin-top: 16px; }
.price-block > h3 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.price-block > h3 svg { width: 22px; height: 22px; }
.price-note { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (min-width: 760px) { .price-block { padding: 28px; } }

/* Переключатели на чистом CSS: работают и без JavaScript */
.rd { position: absolute; opacity: 0; pointer-events: none; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--canvas); border-radius: 10px; margin: 18px 0 4px; }
.seg label { padding: 9px 14px; border-radius: 7px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); text-align: center; display: grid; place-items: center; line-height: 1.25; }
@media (max-width: 559px) { .seg { display: grid; width: 100%; } .seg label { font-size: 14px; padding: 9px 8px; } }
.panel { display: none; }
.g0:checked ~ .seg .lg0, .g1:checked ~ .seg .lg1, .g2:checked ~ .seg .lg2, .g3:checked ~ .seg .lg3 { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28,32,38,.12); }
.g0:checked ~ .panels .pg0, .g1:checked ~ .panels .pg1, .g2:checked ~ .panels .pg2, .g3:checked ~ .panels .pg3 { display: block; }
.g0:focus-visible ~ .seg .lg0, .g1:focus-visible ~ .seg .lg1, .g2:focus-visible ~ .seg .lg2, .g3:focus-visible ~ .seg .lg3 { outline: 2px solid var(--signal-deep); outline-offset: 2px; }

/* Таблица шиномонтажа — компьютер */
.tt-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; }
.tt { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tt th, .tt td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tt th:first-child, .tt td:first-child { text-align: left; white-space: normal; position: sticky; left: 0; background: #fff; }
.tt thead th { background: var(--canvas); font: 600 13px/1.2 var(--mono); color: var(--ink); }
.tt thead th:first-child { background: var(--canvas); font-family: var(--font); color: var(--muted); font-weight: 500; }
.tt tbody tr:last-child td { border-bottom: 0; }
.tt td { font-variant-numeric: tabular-nums; }
.tt tr.main td { background: var(--signal-soft); font-weight: 700; }
.tt tr.main td:first-child { background: var(--signal-soft); }
.tt small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.dash { color: #a3a9b2; }

/* Шиномонтаж — телефон: выбор радиуса */
.tm { display: none; margin-top: 14px; }
.rads { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 8px; }
.rads label { flex: none; min-width: 64px; padding: 9px 10px; text-align: center; border: 1.5px solid var(--ink); border-radius: 7px; font: 600 14px/1 var(--mono); background: #fff; cursor: pointer; }
.tm-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.tm-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tm-rows li:last-child { border-bottom: 0; }
.tm-rows li.main { background: var(--signal-soft); margin: 0 -12px; padding: 13px 12px; border-radius: 10px; border-bottom: 0; font-weight: 700; }
.tm-rows small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.tm-rows .p { display: none; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 650; }
.r0:checked ~ .rads .lr0, .r1:checked ~ .rads .lr1, .r2:checked ~ .rads .lr2, .r3:checked ~ .rads .lr3, .r4:checked ~ .rads .lr4, .r5:checked ~ .rads .lr5, .r6:checked ~ .rads .lr6, .r7:checked ~ .rads .lr7, .r8:checked ~ .rads .lr8, .r9:checked ~ .rads .lr9 { background: var(--signal); }
.r0:checked ~ .tm-rows .p0, .r1:checked ~ .tm-rows .p1, .r2:checked ~ .tm-rows .p2, .r3:checked ~ .tm-rows .p3, .r4:checked ~ .tm-rows .p4, .r5:checked ~ .tm-rows .p5, .r6:checked ~ .tm-rows .p6, .r7:checked ~ .tm-rows .p7, .r8:checked ~ .tm-rows .p8, .r9:checked ~ .tm-rows .p9 { display: inline; }
@media (max-width: 759px) { .tt-wrap.has-m { display: none; } .tm { display: block; } }

/* Прочие цены: строки с точками */
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.plist li:last-child { border-bottom: 0; }
.plist .n { flex: 1 1 auto; min-width: 0; }
.plist .n small { display: block; color: var(--muted); font-size: 13px; }
.plist .v { flex: none; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist .v em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 14px; margin-right: 4px; }
.extras { margin-top: 22px; }
.extras h4, .wgroup h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.wgroups { display: grid; margin-top: 18px; }
.wgroup { break-inside: avoid; margin-bottom: 26px; }
@media (min-width: 900px) { .wgroups { display: block; columns: 2; column-gap: 48px; } .extras .plist { columns: 2; column-gap: 48px; } .extras .plist li { break-inside: avoid; } }

/* ---------- Акции ---------- */
.promo { overflow: hidden; display: grid; align-content: start; }
.promo-img { aspect-ratio: 16 / 9; background: var(--canvas); }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 22px; display: grid; gap: 10px; }
.promo-badge { justify-self: start; background: var(--signal); color: var(--ink); font: 700 15px/1 var(--mono); padding: 7px 10px; border-radius: 7px; }
.promo h3 { font-size: 20px; font-weight: 650; }
.promo p { color: var(--muted); }
.promo .until { font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.promo .until svg { width: 16px; height: 16px; }

/* ---------- О нас ---------- */
.about { display: grid; gap: 32px; }
.about-text { font-size: 18px; color: #d3d7dd; max-width: 60ch; margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 150px)); gap: 10px; margin-top: 26px; }
.fact { border: 1px solid var(--graphite-line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.fact b { display: block; font: 700 clamp(22px, 5vw, 28px)/1 var(--mono); color: var(--signal); white-space: nowrap; }
.fact span { color: var(--muted-dark); font-size: 14px; }
.team { display: grid; gap: 14px; }
.person { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 16px; background: var(--graphite-2); border: 1px solid var(--graphite-line); border-radius: var(--radius); align-items: center; }
.person-ph { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #343b44; display: grid; place-items: center; color: var(--signal); }
.person-ph img { width: 100%; height: 100%; object-fit: cover; }
.person-ph svg { width: 34px; height: 34px; }
.person b { display: block; font-size: 17px; font-weight: 650; }
.person .role { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font-size: 14px; font-weight: 600; }
.person p { color: var(--muted-dark); font-size: 15px; margin-top: 4px; }
.flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; background: conic-gradient(#fff 25%, #1c2026 0 50%, #fff 0 75%, #1c2026 0) 0 0 / 6px 6px; border: 1px solid #fff; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #343b44; position: relative; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; font-size: 13px; background: rgba(28,32,38,.78); color: #fff; padding: 4px 8px; border-radius: 6px; width: max-content; max-width: calc(100% - 16px); }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Отзывы ---------- */
.reviews { display: grid; gap: 24px; }
.rv-side { display: grid; gap: 16px; align-content: start; }
.rv-badge { width: 150px; height: 50px; border: 0; }
.rv-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .reviews { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; } .rv-frame { height: 720px; } }

/* ---------- Как добраться ---------- */
.route { display: grid; gap: 16px; }
.map { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #dfe3e8; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.route-info { padding: 22px; display: grid; gap: 20px; align-content: start; }
.addr { font-size: 20px; font-weight: 650; line-height: 1.35; }
.addr-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.coords { font: 500 13px/1 var(--mono); color: var(--muted); padding: 6px 8px; background: var(--canvas); border-radius: 6px; }
.go { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.go .btn { padding: 0 12px; }
.how { display: grid; gap: 14px; }
.how-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.how-item svg { width: 22px; height: 22px; color: var(--ink); margin-top: 1px; }
.how-item b { display: block; font-weight: 650; }
.how-item p { color: var(--muted); }
.route-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.route-photos figure { margin: 0; }
.route-photos .ph { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #dfe3e8; position: relative; }
.route-photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.route-photos .num { position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; border-radius: 7px; background: var(--signal); font: 700 14px/26px var(--mono); text-align: center; }
.route-photos figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (min-width: 900px) { .route { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .map { min-height: 520px; } .route-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .go .only-mobile { display: none; } }

/* ---------- Контакты ---------- */
.contact { display: grid; gap: 16px; }
.cbox { padding: 22px; display: grid; gap: 18px; align-content: start; }
.big-phone { font: 700 clamp(24px, 4vw, 30px)/1.1 var(--font); text-decoration: none; letter-spacing: -0.01em; }
.big-phone:hover { color: #000; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
.muted { color: var(--muted); font-size: 15px; }
.tg { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--canvas); }
.tg b { font-weight: 650; display: flex; gap: 8px; align-items: center; }
.tg b svg { width: 20px; height: 20px; color: #229ed9; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--mono); font-size: 14px; }
.hours tr:last-child td { border-bottom: 0; }
.hours tr.off td:last-child { font-family: var(--font); color: var(--muted); }
.hours tr.today td { font-weight: 700; }
.hours tr.today td:first-child::after { content: " · сегодня"; font-weight: 500; color: var(--muted); }
.special { list-style: none; margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--signal-soft); font-size: 15px; display: grid; gap: 4px; }
.form { padding: 22px; display: grid; gap: 14px; align-content: start; }
.form h3 { font-size: 22px; font-weight: 700; }
.f { display: grid; gap: 6px; }
.f span { font-size: 14px; font-weight: 600; }
.f input, .f textarea { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.f input:focus, .f textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,204,26,.55); }
.f textarea { resize: vertical; min-height: 96px; }
.f-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .f-row { grid-template-columns: 1fr 1fr; } }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form-msg.ok { background: #e3f6ea; color: #0f5b30; }
.form-msg.err { background: #fde8e8; color: #8a1c1c; }
.form-msg:empty { display: none; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } .contact.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); } }

/* ---------- Подвал ---------- */
.foot { background: #15181d; color: var(--muted-dark); font-size: 14px; padding: 32px 0 calc(32px + 72px); }
.foot .wrap { display: grid; gap: 14px; }
.foot a { color: #d5d9df; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 760px) { .foot { padding-bottom: 32px; } .foot .wrap { grid-template-columns: 1fr auto; align-items: end; } }

/* Нижняя панель на телефоне */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.dock .btn { min-height: 48px; min-width: 0; padding: 0 6px; font-size: 14px; gap: 6px; }
.dock .btn svg { width: 17px; height: 17px; }
@media (min-width: 760px) { .dock { display: none; } }

/* Политика и служебные страницы */
.doc { padding: 40px 0 64px; }
.doc .card { padding: 24px; max-width: 820px; }
.doc h1 { font-size: 28px; margin-bottom: 18px; }
.doc h2 { font-size: 18px; margin: 22px 0 6px; }
.doc p { color: #343a43; }
@media (min-width: 760px) { .doc .card { padding: 40px 48px; } }

/* ---------- Без навязанных услуг ---------- */
.promise { background: var(--signal); color: var(--ink); padding: 36px 0; }
.promise h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; margin-bottom: 20px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.promise li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.pr-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.pr-ico svg { width: 20px; height: 20px; stroke-width: 3; }
.promise b { display: block; font-size: 17px; font-weight: 700; }
.promise p { color: #3b3313; font-size: 15px; margin-top: 2px; }
@media (min-width: 760px) { .promise { padding: 44px 0; } .promise ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; } }
@media (min-width: 1080px) { .promise ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Ралли ---------- */
.rally { margin-top: 32px; display: grid; border: 1px solid var(--graphite-line); border-radius: var(--radius); overflow: hidden; background: var(--graphite-2); }
.rally-ph { aspect-ratio: 3 / 2; background: #343b44; }
.rally-ph img { width: 100%; height: 100%; object-fit: cover; }
.rally-body { padding: 22px; display: grid; gap: 12px; align-content: center; }
.rally-body .role { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.rally-body h3 { font-size: clamp(22px, 3.2vw, 28px); font-weight: 700; }
.rally-body p { color: #d3d7dd; }
.rally-body ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.rally-body li { position: relative; padding-left: 26px; color: #fff; font-weight: 500; }
.rally-body li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 11px; border-radius: 2px; background: conic-gradient(#fff 25%, #1c2026 0 50%, #fff 0 75%, #1c2026 0) 0 0 / 5.5px 5.5px; border: 1px solid #fff; }
@media (min-width: 900px) { .rally { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .rally-ph { aspect-ratio: auto; min-height: 340px; } .rally-body { padding: 36px 40px; } }

/* Телефон на компьютере: окошко с номером */
.tel-pop { position: fixed; z-index: 60; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 18px 40px rgba(28,32,38,.22); width: max-content; max-width: calc(100vw - 24px); }
.tel-num { font: 700 26px/1.1 var(--font); letter-spacing: -0.01em; user-select: all; }
.tel-hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tel-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
