:root {
  --accent: #f5c400;
  --dark: #15171a;
  --bg: #f1f1ee;
  --surface: #fff;
  --text: #191b1e;
  --muted: color-mix(in srgb, var(--text) 64%, var(--bg));
  --line: color-mix(in srgb, var(--text) 14%, var(--bg));
  --on-dark: #f6f6f3;
  --radius: 6px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --font-display: "Arial Narrow", "Roboto Condensed", "Liberation Sans Narrow", Impact, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 64px); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sprite { position: absolute; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding-block: clamp(60px, 7.5vw, 104px); }
.section-tint { background: var(--surface); }
.section-head { display: grid; justify-items: start; gap: 12px; max-width: 720px; margin-bottom: 32px; }
.section-head.is-center { justify-items: center; max-width: none; text-align: center; }
.section-head p { margin: 0; color: var(--muted); }
.head-mark { display: block; width: 46px; height: 46px; }
.head-mark svg { width: 100%; height: 100%; }
.js .section-head.in .head-mark svg { animation: roll-in 1s var(--ease) both; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease) var(--d, 0ms), transform .65s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 26px; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: background .16s, color .16s, border-color .16s, transform .16s var(--ease), box-shadow .16s; }
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--dark); box-shadow: 0 0 0 transparent; }
.btn-primary:hover { box-shadow: 4px 4px 0 color-mix(in srgb, var(--accent) 45%, #000); }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--on-dark) 55%, transparent); color: var(--on-dark); }
.btn-ghost:hover { background: var(--on-dark); color: var(--dark); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-light { background: var(--dark); color: var(--on-dark); }

.site-header { position: sticky; z-index: 30; top: 0; background: var(--surface); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.site-header.is-dark { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: inline-flex; flex: none; align-items: center; min-width: 0; text-decoration: none; }
.brand-logo { width: auto; max-width: 220px; height: 62px; object-fit: contain; }
.brand-logo.is-tile { border-radius: 6px; }
.brand-text { display: -webkit-box; max-width: 320px; overflow: hidden; font-family: var(--font-display); font-size: 27px; font-weight: 800; line-height: 1.02; text-transform: uppercase; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.brand-text.is-long { font-size: 20px; }
.main-nav { display: flex; flex: 1; justify-content: center; gap: 26px; }
.main-nav a { position: relative; padding: 5px 0; font-size: 15px; font-weight: 600; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--accent); transform: scaleX(0) skewX(-24deg); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1) skewX(-24deg); }
.header-phone { flex: none; padding: 9px 16px; background: var(--accent); border: 0; border-radius: var(--radius); color: var(--dark); cursor: pointer; font-size: 16px; font-weight: 800; white-space: nowrap; transition: transform .16s var(--ease), box-shadow .16s; }
.header-phone:hover { box-shadow: 3px 3px 0 color-mix(in srgb, var(--accent) 45%, #000); transform: translate(-1px, -1px); }
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 6px auto; background: currentColor; }
.road-progress { position: fixed; z-index: 31; top: 77px; right: 0; left: 0; height: 3px; background: color-mix(in srgb, var(--dark) 20%, transparent); pointer-events: none; --p: 0; }
.road-progress i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p)); transform-origin: left; }
.road-progress svg { position: absolute; bottom: 3px; left: 0; width: 16px; height: 16px; translate: calc(var(--p) * (100vw - 34px)) 0; rotate: calc(var(--p) * 2880deg); }

.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.hero-bg { position: absolute; inset: 0 0 0 44%; width: 56%; height: 100%; object-fit: cover; animation: hero-zoom 9s var(--ease) both; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--dark) 44%, color-mix(in srgb, var(--dark) 82%, transparent) 60%, color-mix(in srgb, var(--dark) 12%, transparent) 100%); }
.hero::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 39%; width: 150px; background: repeating-linear-gradient(115deg, color-mix(in srgb, var(--accent) 10%, transparent) 0 12px, transparent 12px 28px); transform: skewX(-16deg); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; align-content: space-between; gap: 40px; min-height: min(680px, calc(100vh - 130px)); padding-block: clamp(40px, 6vw, 70px) 76px; }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 3px 12px; background: var(--accent); color: var(--dark); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: skewX(-10deg); animation: slide-in .7s var(--ease) both; }
.hero-name { font-size: clamp(60px, 9.4vw, 128px); line-height: .92; overflow-wrap: anywhere; animation: slide-in .8s .08s var(--ease) both; }
.hero-name.is-mid { font-size: clamp(44px, 6.4vw, 86px); line-height: .96; }
.hero-name.is-long { font-size: clamp(34px, 4.5vw, 60px); line-height: 1; }
.hero-slogan { max-width: 560px; margin: 16px 0 0; color: var(--accent); font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; animation: slide-in .8s .16s var(--ease) both; }
.lead { max-width: 540px; margin: 16px 0 0; font-size: 18px; opacity: .86; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: slide-in .8s .24s var(--ease) both; }
.hero-strip { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 14px 42px; max-width: 62%; margin: 0; animation: slide-in .8s .32s var(--ease) both; }
.hero-strip div { padding-left: 12px; border-left: 3px solid var(--accent); }
.hero-strip dt { font-size: 13px; opacity: .72; }
.hero-strip dd { max-width: 340px; margin: 0; font-weight: 700; line-height: 1.3; }
.hero-tire { position: absolute; z-index: 3; right: clamp(16px, 5vw, 76px); bottom: 34px; width: clamp(140px, 21vw, 300px); aspect-ratio: 1; cursor: pointer; will-change: transform; animation: tire-fly 2s .35s linear both; }
.tire-roll { width: 100%; height: 100%; animation: tire-roll 2s .35s cubic-bezier(.15, .6, .3, 1) both; }
.hero-tire [data-tire-spin], .hero-tire svg { display: block; width: 100%; height: 100%; }
.skid { position: absolute; z-index: 2; right: clamp(60px, 11vw, 190px); bottom: 34px; width: min(44vw, 620px); height: 16px; background: repeating-linear-gradient(90deg, rgb(0 0 0 / .62) 0 9px, transparent 9px 13px); filter: blur(.6px); opacity: .85; transform: scaleX(0); transform-origin: right; animation: skid 1s 1.2s var(--ease) forwards; }

.ticker { position: relative; z-index: 4; display: flex; overflow: hidden; padding: 9px 0; background: var(--accent); color: var(--dark); }
.ticker-track { display: flex; flex: none; align-items: center; gap: 20px; padding-right: 20px; animation: ticker 30s linear infinite; }
.ticker span { font-family: var(--font-display); font-size: 21px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.ticker svg { flex: none; width: 24px; height: 24px; animation: spin 2.6s linear infinite; }

.catalog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 28px; }
.catalog-head .section-head { margin-bottom: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; background: var(--dark); border-radius: var(--radius); color: var(--on-dark); }
.stats div { display: grid; min-width: 112px; padding: 11px 18px; }
.stats div + div { border-left: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent); }
.stats dd { order: -1; margin: 0; color: var(--accent); font-family: var(--font-display); font-size: 29px; font-weight: 800; line-height: 1; white-space: nowrap; }
.stats dt { font-size: 13px; opacity: .78; }
.price-groups { display: grid; gap: 8px; }
.cat { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .25s, opacity .65s var(--ease) var(--d, 0ms), transform .65s var(--ease) var(--d, 0ms); }
.cat:hover { border-color: color-mix(in srgb, var(--dark) 40%, var(--line)); }
.cat[open] { box-shadow: 0 18px 34px -30px rgb(0 0 0 / .8); }
.cat > summary { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 18px 12px 14px; cursor: pointer; list-style: none; }
.cat > summary::-webkit-details-marker { display: none; }
.cat > summary::after { content: "+"; display: grid; flex: none; width: 34px; height: 34px; place-items: center; background: var(--accent); border-radius: var(--radius); color: var(--dark); font-size: 23px; font-weight: 700; line-height: 1; transition: rotate .3s var(--ease); }
.cat[open] > summary { border-bottom: 1px solid var(--line); }
.cat[open] > summary::after { content: "−"; rotate: 180deg; }
.cat-icon { display: grid; flex: none; width: 46px; height: 46px; place-items: center; background: var(--dark); border-radius: var(--radius); color: var(--accent); transition: transform .35s var(--ease); }
.cat-icon svg { width: 25px; height: 25px; }
.cat > summary:hover .cat-icon { transform: rotate(-8deg) scale(1.07); }
.cat-title { flex: 1; min-width: 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.08; overflow-wrap: anywhere; }
.cat-meta { flex: none; color: var(--muted); font-size: 14px; white-space: nowrap; }
.cat[open] .svc-list { animation: open-list .4s var(--ease); }
.svc-list { margin: 0; padding: 0; list-style: none; }
.svc { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 15px 18px; transition: background .18s; }
.svc::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--accent); transform: scaleY(0); transition: transform .22s var(--ease); }
.svc:hover { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.svc:hover::before { transform: scaleY(1); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc-photo { flex: none; width: 62px; height: 62px; border-radius: 4px; object-fit: cover; }
.svc-main { flex: 1; min-width: 0; }
.svc-title { display: block; padding: 0; background: none; border: 0; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; text-align: left; }
.svc-title:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.svc-desc { display: -webkit-box; margin: 3px 0 0; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.chip { padding: 1px 7px; background: var(--bg); border-radius: 3px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.chip b { color: var(--text); }
.svc-price { display: grid; flex: none; justify-items: end; gap: 3px; text-align: right; }
.svc-price strong { font-size: 19px; line-height: 1.25; white-space: nowrap; }
.svc-price small { color: var(--muted); font-size: 13px; }
.svc-order { min-height: 34px; margin-top: 3px; padding: 4px 12px; background: var(--dark); border: 0; border-radius: 4px; color: var(--on-dark); cursor: pointer; font-size: 13px; font-weight: 700; transition: background .16s, color .16s; }
.svc-order:hover { background: var(--accent); color: var(--dark); }

.section-steps { overflow: hidden; background: var(--dark); color: var(--on-dark); }
.section-steps h2 { color: var(--on-dark); }
.steps-road { position: absolute; top: 0; right: 0; left: 0; height: 12px; background: repeating-linear-gradient(115deg, var(--accent) 0 14px, transparent 14px 26px); }
.js .steps-road[data-reveal] { opacity: 1; transform: none; }
.steps-road svg { position: absolute; top: -13px; left: -60px; width: 38px; height: 38px; }
.steps-road.in svg { animation: cross-road 3.4s .2s cubic-bezier(.3, .1, .4, 1) both; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; align-content: start; gap: 8px; padding: 26px 24px; overflow: hidden; background: color-mix(in srgb, var(--on-dark) 6%, var(--dark)); border: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); border-radius: var(--radius); transition: border-color .2s, opacity .65s var(--ease) var(--d, 0ms), transform .65s var(--ease) var(--d, 0ms); }
.steps li:hover { border-color: var(--accent); }
.step-mark { position: relative; display: grid; width: 74px; height: 74px; margin-bottom: 8px; place-items: center; }
.step-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite; }
.steps li:nth-child(even) .step-mark svg { animation-direction: reverse; }
.step-mark b { position: relative; color: var(--accent); font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; }
.steps h3 { font-size: 30px; }
.steps p { margin: 0; color: color-mix(in srgb, var(--on-dark) 72%, var(--dark)); }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(30px, 6vw, 72px); }
.about-grid.no-image { grid-template-columns: minmax(0, 900px); }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; }
.about-photo svg { position: absolute; right: -14px; bottom: -14px; width: 92px; height: 92px; animation: spin 10s linear infinite; }
.about-text { margin: 20px 0 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.features li { display: grid; gap: 3px; padding-left: 12px; border-left: 3px solid var(--accent); }
.features svg { display: none; }
.features span { color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery button { position: relative; display: block; padding: 0; overflow: hidden; aspect-ratio: 1; background: var(--dark); border: 0; border-radius: var(--radius); cursor: zoom-in; transition: opacity .65s var(--ease) var(--d, 0ms), transform .65s var(--ease) var(--d, 0ms); }
.gallery button:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, color-mix(in srgb, var(--accent) 55%, transparent) 50%, transparent 60%); transform: translateX(-110%); transition: transform .65s var(--ease); }
.gallery button:hover::after { transform: translateX(110%); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }

.section-reviews { overflow: hidden; background: var(--dark); color: var(--on-dark); }
.section-reviews h2 { color: var(--on-dark); }
.reviews-deco { position: absolute; animation: spin 16s linear infinite; }
.reviews-deco.d1 { top: -110px; left: -110px; width: 300px; height: 300px; opacity: .55; }
.reviews-deco.d2 { right: 34%; bottom: -70px; width: 150px; height: 150px; opacity: .4; animation-direction: reverse; }
.reviews-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 60px); }
.reviews-copy { display: grid; justify-items: start; gap: 14px; }
.reviews-copy p { margin: 0; opacity: .82; }
.quote-mark { height: 56px; color: var(--accent); font-family: Georgia, serif; font-size: 120px; line-height: 1; }
.stars { display: flex; gap: 5px; }
.stars i { width: 22px; height: 22px; background: var(--accent); clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 80% 92%, 50% 71%, 20% 92%, 31% 57%, 2% 35%, 38% 35%); }
.reviews-copy.in .stars i { animation: pop .6s var(--ease) both; }
.stars i:nth-child(2) { animation-delay: .1s !important; }
.stars i:nth-child(3) { animation-delay: .2s !important; }
.stars i:nth-child(4) { animation-delay: .3s !important; }
.stars i:nth-child(5) { animation-delay: .4s !important; }
.reviews-frame { height: 680px; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: 10px 10px 0 var(--accent); }
.reviews-frame iframe, .map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.contacts-stage { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: center; }
.contacts-stage.no-map { grid-template-columns: minmax(0, 1fr); }
.map-frame { grid-column: 2; grid-row: 1; height: 580px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contacts-card { position: relative; z-index: 1; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-right: -24px; padding: 32px 30px; background: var(--dark); border-top: 5px solid var(--accent); border-radius: var(--radius); box-shadow: 0 30px 50px -24px rgb(0 0 0 / .7); color: var(--on-dark); }
.no-map .contacts-card { width: min(560px, 100%); margin-inline: auto; }
.contacts-mark { position: absolute; top: 16px; right: 16px; width: 58px; height: 58px; animation: spin 9s linear infinite; }
.contacts-card h2 { padding-right: 58px; font-size: clamp(32px, 3.5vw, 46px); }
.contact-phones { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contact-phones a { color: var(--accent); font-family: var(--font-display); font-size: clamp(27px, 3vw, 36px); font-weight: 800; line-height: 1.15; text-decoration: none; }
.contact-phones small { display: block; opacity: .7; }
.contacts-card p { margin: 0; }
.location { display: grid; width: 100%; gap: 2px; padding: 12px 14px; background: color-mix(in srgb, var(--on-dark) 7%, var(--dark)); border: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); border-left: 4px solid transparent; border-radius: var(--radius); cursor: pointer; text-align: left; }
.location.is-active { border-left-color: var(--accent); }
.location small { font-size: 14px; opacity: .72; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: auto; }
.contacts-actions .btn { flex: 1 1 130px; min-height: 48px; padding-inline: 12px; }
.messengers { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 600; }

.site-footer { position: relative; background: var(--dark); color: var(--on-dark); }
.road { position: relative; height: 76px; overflow: hidden; background: #24272b; border-block: 4px solid var(--accent); }
.road-line { position: absolute; top: 50%; right: -86px; left: 0; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, #e8e8e4 0 46px, transparent 46px 86px); animation: road 1.2s linear infinite; }
.road-tire { position: absolute; bottom: 5px; left: -70px; width: 56px; height: 56px; animation: road-cross 8s linear infinite, spin 1s linear infinite; }
.footer-body { padding-block: 44px 22px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 34px clamp(24px, 4vw, 56px); padding-bottom: 34px; }
.footer-grid > * { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.footer-grid h4 { margin-bottom: 6px; color: var(--accent); font-size: 21px; }
.footer-grid a { font-size: 15px; text-decoration: none; opacity: .86; transition: opacity .2s, translate .2s var(--ease), color .2s; }
.footer-grid a:hover { color: var(--accent); opacity: 1; translate: 3px 0; }
.footer-brand img { width: auto; max-width: 220px; height: 92px; object-fit: contain; object-position: left center; }
.footer-brand strong { font-family: var(--font-display); font-size: 38px; font-weight: 800; line-height: 1; overflow-wrap: anywhere; text-transform: uppercase; }
.footer-brand p { margin: 0; font-size: 15px; opacity: .75; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-grid .footer-phone { font-family: var(--font-display); font-size: 24px; font-weight: 800; opacity: 1; }
.footer-grid .btn { min-height: 42px; margin-top: 6px; padding: 7px 20px; font-size: 15px; opacity: 1; }
.footer-grid .btn:hover { color: var(--dark); translate: none; }
.footer-grid address { font-size: 15px; font-style: normal; line-height: 1.4; opacity: .86; }
.footer-grid address small { display: block; margin-top: 3px; font-size: 14px; opacity: .8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); font-size: 14px; }
.footer-bottom span { opacity: .66; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.call-bar { display: none; }

dialog { color: var(--text); }
.item-dialog, .order-dialog { max-height: calc(100dvh - 24px); padding: 0; overflow: auto; background: var(--surface); border: 0; border-radius: 10px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7); }
.item-dialog[open], .order-dialog[open] { animation: dialog-in .35s var(--ease); }
.item-dialog { width: min(820px, calc(100vw - 24px)); }
.item-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.item-dialog:has([data-item-photo][hidden])[open] { width: min(540px, calc(100vw - 24px)); grid-template-columns: minmax(0, 1fr); }
.item-dialog::backdrop, .order-dialog::backdrop, .lightbox::backdrop { background: rgb(10 11 13 / .8); backdrop-filter: blur(3px); }
.item-dialog-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.item-dialog-body { display: flex; flex-direction: column; gap: 10px; padding: 32px 26px 24px; }
.item-dialog-body h3 { padding-right: 30px; font-size: 28px; line-height: 1.05; overflow-wrap: anywhere; }
.item-dialog-body p { margin: 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; white-space: pre-line; }
.item-dialog-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.item-dialog-foot strong { font-size: 24px; }
.dialog-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: rotate .3s var(--ease); }
.dialog-close:hover { rotate: 90deg; }

.order-dialog { width: min(540px, calc(100vw - 24px)); padding: 32px 30px 26px; overflow-x: hidden; border-top: 6px solid var(--accent); }
.order-dialog h3 { padding-right: 34px; font-size: 36px; }
.order-tire { position: absolute; top: 12px; left: -50px; width: 34px; height: 34px; pointer-events: none; }
.order-dialog[open] .order-tire { animation: dialog-tire 1.5s .1s cubic-bezier(.2, .5, .3, 1) both; }
.order-item { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 10px; background: var(--bg); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.order-item img { flex: none; width: 66px; height: 66px; border-radius: 4px; object-fit: cover; }
.order-item div { display: grid; min-width: 0; line-height: 1.3; }
.order-item strong { font-weight: 700; overflow-wrap: anywhere; }
.order-item span { font-size: 18px; font-weight: 800; }
.order-hint { margin: 16px 0 10px; color: var(--muted); font-size: 16px; }
.order-phones { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.order-phones li { display: grid; gap: 8px; padding: 14px 16px; background: var(--dark); border-radius: var(--radius); color: var(--on-dark); }
.order-line { display: grid; gap: 1px; }
.order-number { color: var(--accent); font-family: var(--font-display); font-size: clamp(28px, 7.6vw, 42px); font-weight: 800; line-height: 1.1; user-select: all; white-space: nowrap; }
.order-line small { opacity: .7; }
.order-call { display: none; width: 100%; }
.order-messengers { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 14px; font-size: 15px; }
.order-messengers span { color: var(--muted); }
.order-messengers a { font-weight: 700; }
.order-schedule { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .order-call { display: inline-flex; }
}

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; background: transparent; border: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 4px; object-fit: contain; }
.lightbox-nav { position: absolute; top: 50%; width: 46px; height: 46px; background: rgb(255 255 255 / .9); border: 0; border-radius: 50%; color: #111; cursor: pointer; font-size: 28px; line-height: 1; transform: translateY(-50%); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

@keyframes tire-fly {
  0% { transform: translate(82vw, -96vh); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  34% { transform: translate(34vw, 0); animation-timing-function: cubic-bezier(.1, .5, .5, 1); }
  50% { transform: translate(21vw, -38%); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  65% { transform: translate(11vw, 0); animation-timing-function: cubic-bezier(.1, .5, .5, 1); }
  76% { transform: translate(6vw, -13%); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  86% { transform: translate(2vw, 0); animation-timing-function: ease-out; }
  100% { transform: none; }
}
@keyframes tire-roll { from { transform: rotate(-1260deg); } to { transform: none; } }
@keyframes skid { to { transform: scaleX(1); } }
@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: none; } }
@keyframes slide-in { from { translate: -26px 0; } to { translate: 0 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes roll-in { from { opacity: 0; transform: translateX(-70px) rotate(-360deg); } to { opacity: 1; transform: none; } }
@keyframes cross-road { to { translate: calc(100vw + 120px) 0; rotate: 1440deg; } }
@keyframes road { to { transform: translateX(-86px); } }
@keyframes road-cross { to { translate: calc(100vw + 140px) 0; } }
@keyframes dialog-tire { to { translate: 640px 0; rotate: 900deg; } }
@keyframes open-list { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.2); } 70% { transform: scale(1.25); } 100% { opacity: 1; transform: none; } }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .header-phone { margin-left: auto; }
  .nav-toggle { display: block; margin-left: 0; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: var(--dark); border-bottom: 3px solid var(--accent); color: var(--on-dark); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; font-size: 17px; }
  .hero-strip { max-width: 72%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-stage:not(.no-map) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .wrap { padding-inline: 16px; }
  .header-inner { gap: 10px; height: 66px; }
  .brand-logo { max-width: 160px; height: 50px; }
  .brand-text { max-width: 220px; font-size: 22px; }
  .brand-text.is-long { font-size: 17px; }
  .header-phone { display: none; }
  .nav-toggle { margin-left: auto; }
  .main-nav { padding-inline: 16px; }
  .road-progress { top: 63px; }
  .hero-bg { inset: 0; width: 100%; }
  .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--dark) 58%, transparent), var(--dark) 86%); }
  .hero::after { display: none; }
  .hero-inner { min-height: 0; gap: 26px; padding-block: 34px 26px; }
  .hero-name { font-size: clamp(54px, 17vw, 76px); }
  .hero-name.is-mid { font-size: clamp(38px, 11.4vw, 52px); }
  .hero-name.is-long { font-size: clamp(29px, 8.6vw, 38px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .hero-tire { top: 18px; right: -34px; bottom: auto; width: 128px; }
  .skid { display: none; }
  .ticker span { font-size: 18px; }
  .stats { width: 100%; }
  .stats div { flex: 1; min-width: 0; padding: 10px 12px; }
  .stats dd { font-size: 23px; }
  .cat > summary { flex-wrap: wrap; gap: 4px 11px; padding: 11px 12px; }
  .cat-icon { width: 40px; height: 40px; }
  .cat-title { flex-basis: calc(100% - 100px); }
  .cat > summary::after { order: 2; }
  .cat-meta { order: 3; flex-basis: 100%; white-space: normal; }
  .svc { flex-wrap: wrap; gap: 10px 12px; padding: 13px 14px; }
  .svc-photo { width: 48px; height: 48px; }
  .svc-main { flex-basis: calc(100% - 60px); }
  .svc:not(:has(.svc-photo)) .svc-main { flex-basis: 100%; }
  .svc-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; width: 100%; text-align: left; }
  .svc-order { margin: 0 0 0 auto; min-height: 38px; padding-inline: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .reviews-frame { height: 560px; box-shadow: 6px 6px 0 var(--accent); }
  .contacts-stage, .contacts-stage:not(.no-map) { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .contacts-card { width: 100%; margin-right: 0; padding: 26px 20px; }
  .map-frame { height: 340px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .item-dialog[open] { grid-template-columns: minmax(0, 1fr); }
  .item-dialog-photo img { height: 280px; min-height: 0; }
  .item-dialog-body { padding: 20px 18px; }
  .order-dialog { padding: 26px 18px 20px; }
  .call-bar { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .call-bar .btn { flex: 1; min-height: 46px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .skid { transform: none; }
  .road-tire { left: 40%; }
}
