/* Корректировка пробега, Тольятти.
   Палитра — гоночная ливрея: голубой, оранжевый, тёмно-синий на тёплом кремовом. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-rub.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+20BD; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-rub.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+20BD; }

:root {
  --bg: #F5F1E8;
  --paper: #FFFFFF;
  --sky: #BFE0F3;
  --sky-2: #DDEFF9;
  --orange: #FF6A1F;
  --orange-2: #FF8547;
  --peach: #FFE2D1;
  --navy: #0E2160;
  --navy-2: #1B3277;
  --muted: #55607F;
  --line: #E6DFD1;

  --font-d: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-t: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 80rem;
  --pad: clamp(1rem, 4vw, 3rem);
  --gap: clamp(.75rem, 1.4vw, 1.25rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --card-pad: clamp(1.25rem, 2.2vw, 2.25rem);
  --r-xl: clamp(1.5rem, 2.6vw, 2.5rem);
  --r-lg: clamp(1.25rem, 1.9vw, 2rem);
  --r-md: clamp(1rem, 1.3vw, 1.25rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hdr: 4.5rem;
}

/* На больших мониторах вся вёрстка растёт пропорционально: всё задано в rem. */
@media (min-width: 1600px) {
  html { font-size: min(calc(100% + (100vw - 1600px) * .0045), 175%); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-t);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: .5rem; }
::selection { background: var(--orange); color: var(--navy); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1.1rem; border-radius: .75rem; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { top: 1rem; }

.ico { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }

/* ---------- Типографика ---------- */

.h1, .h2, .h3, .svc__title, .big { font-family: var(--font-d); }
.h1 { font-weight: 700; font-size: clamp(2rem, .9rem + 3vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; }
.h2 { font-weight: 600; font-size: clamp(1.625rem, 1rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-weight: 600; font-size: clamp(1.0625rem, .92rem + .4vw, 1.3125rem); line-height: 1.22; letter-spacing: -.02em; }
.lead { font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem); line-height: 1.5; }
.big { font-weight: 700; font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.big--sm { font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); }
.card .big { color: var(--navy); }

/* ---------- Кнопки и мелочи ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.25rem; padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-t); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 2.75rem; padding: .5rem 1.15rem; font-size: .9375rem; }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: var(--orange-2); }
.btn--white { background: var(--paper); color: var(--navy); }
.btn--white:hover { border-color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem 1rem .45rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .72); color: var(--navy);
  font-weight: 500; font-size: .9375rem; text-decoration: none;
  transition: background-color .2s;
}
.pill:hover { background: #fff; }
.pill .ico { width: 1.1rem; height: 1.1rem; color: var(--orange); stroke-width: 2.4; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.25rem; padding: .3rem .9rem; border-radius: 999px; background: var(--bg); font-weight: 500; font-size: .9375rem; line-height: 1.2; }

.lamp { display: grid; place-items: center; width: 3rem; height: 3rem; flex: none; border-radius: .9rem; background: var(--navy); color: var(--orange); }
.lamp .ico { width: 1.6rem; height: 1.6rem; stroke-width: 1.9; }

/* ---------- Карточки ---------- */

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1rem;
  padding: var(--card-pad);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.card p { color: var(--muted); }
.card--sky { background: var(--sky); }
.card--peach { background: var(--peach); }
.card--orange { background: var(--orange); }
.card--navy { background: var(--navy); color: #fff; }
.card--sky p, .card--peach p, .card--orange p { color: rgba(14, 33, 96, .82); }
.card--navy p { color: rgba(255, 255, 255, .78); }
.card--navy .lamp { background: var(--navy-2); }

/* ---------- Шапка ---------- */

.hdr { position: sticky; top: 0; z-index: 50; isolation: isolate; transition: box-shadow .25s; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245, 241, 232, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hdr__in { display: flex; align-items: center; gap: 1rem; height: var(--hdr); }

.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--navy); text-decoration: none; }
.logo__mark { width: 2.4rem; height: 2.4rem; flex: none; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-14deg); }
.logo__words { display: grid; }
.logo__t { font: 700 .9375rem/1.15 var(--font-d); letter-spacing: -.02em; white-space: nowrap; }
.logo__s { font-size: .8125rem; line-height: 1.25; color: var(--muted); }

.nav { display: flex; gap: .15rem; margin-left: auto; }
.nav a { padding: .5rem .85rem; border-radius: 999px; font-weight: 500; font-size: .9375rem; text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: rgba(14, 33, 96, .07); }
.hdr__tel { margin-left: .5rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr__tel:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: .2em; }
.hdr__menu { display: none; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 2px solid var(--navy); border-radius: 50%; background: transparent; cursor: pointer; }
.hdr__menu .ico { width: 1.3rem; height: 1.3rem; }

.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(14, 33, 96, .45); }
.menu[hidden] { display: none; }
.menu__in { display: grid; padding: .5rem 0 1.25rem; }
.menu__in > a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font: 600 1.125rem/1.3 var(--font-d); letter-spacing: -.02em; text-decoration: none; }
.menu__in .btn { margin-top: 1rem; }

/* ---------- Первый экран ---------- */

.hero { padding-top: .25rem; }
.hero__card {
  --hp: clamp(1.5rem, 4.4vw, 4.5rem);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem);
  padding: var(--hp);
  border-radius: var(--r-xl);
  background: var(--sky);
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.1rem, 1.8vw, 1.6rem); }
.hero .h1 { max-width: 15ch; }
.hero .u { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .13em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.hero .lead { max-width: 36rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; width: 100%; max-width: 40rem; margin-top: .35rem; }
.fact { padding: .95rem 1.1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .78); }
.fact b { display: block; font: 700 clamp(1.0625rem, .9rem + .5vw, 1.375rem)/1.15 var(--font-d); letter-spacing: -.03em; white-space: nowrap; }
.fact span { display: block; margin-top: .3rem; font-size: .875rem; line-height: 1.3; color: var(--muted); }

.hero__visual { position: relative; align-self: stretch; display: grid; place-items: center; }
/* полоса ливреи: тёмно-синие кантики, оранжевая середина */
.hero__visual::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: calc(-1 * var(--hp)); bottom: calc(-1 * var(--hp));
  width: clamp(4.5rem, 7.5vw, 7.5rem); transform: translateX(-50%);
  background: linear-gradient(90deg, var(--navy) 0 6%, transparent 6% 13%, var(--orange) 13% 87%, transparent 87% 94%, var(--navy) 94% 100%);
}

.gauge { --s: 60; --dur: 0ms; position: relative; width: min(100%, 31rem); aspect-ratio: 1; container-type: inline-size; }
.js .gauge { --s: 0; }
.gauge__svg { width: 100%; height: 100%; overflow: visible; }
.gauge__face { fill: var(--paper); stroke: var(--navy); stroke-width: 10; }
.gauge__band, .gauge__prog { fill: none; stroke-width: 16; stroke-linecap: round; }
.gauge__band { stroke: var(--sky-2); }
.gauge__prog { stroke: var(--orange); stroke-dasharray: 100 200; stroke-dashoffset: calc(100 - var(--s) / 2.4); transition: stroke-dashoffset var(--dur) cubic-bezier(.45, .05, .25, 1); }
.gauge__maj { stroke: var(--navy); stroke-width: 4.5; stroke-linecap: round; }
.gauge__min { stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; opacity: .55; }
.gauge__nums { fill: var(--navy); font: 600 15px var(--font-d); letter-spacing: -.03em; text-anchor: middle; dominant-baseline: central; }
.gauge__unit { fill: var(--muted); font: 500 15px var(--font-t); text-anchor: middle; }
.gauge__needle { fill: var(--orange); transform-box: view-box; transform-origin: 200px 200px; transform: rotate(calc(135deg + var(--s) * 1.125deg)); transition: transform var(--dur) cubic-bezier(.45, .05, .25, 1); }
.gauge__cap { fill: var(--navy); }
.gauge__dot { fill: var(--orange); }

.odo { position: absolute; left: 50%; top: 73.5%; transform: translateX(-50%); display: flex; gap: .35cqw; padding: .8cqw; border-radius: 2.2cqw; background: var(--navy); font-size: 4.4cqw; line-height: 0; }
.odo__drum { width: 1.02em; height: 1.5em; overflow: hidden; border-radius: .9cqw; background: var(--paper); color: var(--navy); }
.odo__drum:last-child { background: var(--orange); }
.odo__strip { display: block; font: 700 1em/1.5em var(--font-d); text-align: center; font-variant-numeric: tabular-nums; }
.odo__strip::before { content: attr(data-cells); display: block; white-space: pre; }

.sticker { position: absolute; display: grid; place-items: center; text-align: center; font-family: var(--font-d); color: var(--navy); transition: transform .45s var(--ease); }
.sticker--round { left: -5%; top: 1%; width: 29%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); transform: rotate(-12deg); align-content: center; gap: .4cqw; }
.sticker--round b { font-size: 8.2cqw; font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.sticker--round small { font: 600 max(.6875rem, 2.75cqw)/1.15 var(--font-t); }
.sticker--pill { right: -6%; bottom: 7%; padding: 1.6cqw 3cqw; border-radius: 999px; background: var(--orange); font-size: max(.75rem, 3.1cqw); font-weight: 600; white-space: nowrap; transform: rotate(7deg); }
.gauge:hover .sticker--round { transform: rotate(-4deg) scale(1.04); }
.gauge:hover .sticker--pill { transform: rotate(2deg) scale(1.04); }

/* ---------- Секции ---------- */

.sec { margin-top: var(--section); }
.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem var(--gap); align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.sec__head .h2 { grid-column: 1 / span 7; }
.sec__head p { grid-column: 8 / -1; max-width: 30rem; font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); color: var(--muted); }

/* Услуги */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gap); }
.svc__main { grid-column: span 6; grid-row: span 2; min-height: 34rem; }
.svc__item { grid-column: span 3; min-height: 16.5rem; }
.svc__fw .chips { margin-top: auto; }
.svc__cta .btn { margin-top: auto; align-self: flex-start; }
.svc__body { display: grid; gap: .6rem; }
.svc__item p { font-size: 1rem; }
.svc__main .lamp { position: relative; }
.svc__main .svc__body { margin-top: auto; position: relative; }
.svc__title { font-weight: 700; font-size: clamp(1.625rem, 1rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; }
.svc__main p { max-width: 30rem; font-size: 1.0625rem; }
.svc__stats { position: relative; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.svc__stats dt { font-size: .875rem; color: rgba(255, 255, 255, .62); }
.svc__stats dd { font: 700 clamp(1.375rem, 1rem + 1vw, 1.875rem)/1.15 var(--font-d); letter-spacing: -.035em; color: var(--orange); white-space: nowrap; }
.svc__main .btn { position: relative; align-self: flex-start; }
.svc__deco { position: absolute; top: -9%; right: -10%; width: 64%; max-width: 26rem; pointer-events: none; }
.deco__band, .deco__prog { fill: none; stroke-width: 16; stroke-linecap: round; }
.deco__band { stroke: var(--navy-2); }
.deco__prog { stroke: var(--orange); stroke-dasharray: 100 200; stroke-dashoffset: 36; }
.deco__ticks { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 3; stroke-linecap: round; }
.deco__needle { fill: var(--orange); transform-box: view-box; transform-origin: 150px 150px; transform: rotate(307.8deg); }
.deco__cap { fill: var(--navy-2); }
.deco__dot { fill: var(--orange); }

/* Цены */
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.price__main { grid-column: span 6; justify-content: space-between; min-height: 18rem; }
.card .price__label { font-weight: 600; color: var(--navy); }
.price__main p:last-child { max-width: 30rem; }
.price__time { grid-column: span 3; justify-content: space-between; }
.price__time p:last-child { font-size: 1rem; }
.price__factors { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.price__ftext { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.price__ftext .btn { margin-top: .4rem; }
.factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.factors li { display: grid; align-content: start; gap: .45rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--bg); }
.factors b { font: 600 1.0625rem/1.25 var(--font-d); letter-spacing: -.02em; }
.factors li > span:last-child { font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.factor__n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: .35rem; border-radius: 50%; background: var(--orange); font: 700 1rem/1 var(--font-d); }

/* Марки */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.brand { min-height: 17rem; }
.brand .h3 { font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); }
.brand .chips { margin-top: .25rem; }
.flag { display: block; width: 3.25rem; aspect-ratio: 3 / 2; overflow: hidden; border-radius: .45rem; box-shadow: 0 0 0 1px var(--line); }
.flag svg { width: 100%; height: 100%; }
.brand__tag { position: absolute; top: 1.15rem; right: 1.15rem; padding: .35rem .75rem; border-radius: 999px; background: var(--orange); font-size: .8125rem; font-weight: 600; line-height: 1.2; transform: rotate(4deg); }
.note { margin-top: 1.25rem; color: var(--muted); }

/* Почему */
.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.why__text { grid-column: span 6; gap: 1.25rem; justify-content: center; }
.why__text p { font-size: 1.0625rem; }
.why__text b { color: var(--navy); }
.why__ill { grid-column: span 3; justify-content: space-between; }
.why__ill figcaption { font-size: 1rem; line-height: 1.4; color: rgba(14, 33, 96, .82); }
.why__ill figcaption b { display: block; font: 700 1.25rem/1.2 var(--font-d); letter-spacing: -.02em; color: var(--navy); }
.ill { width: 100%; height: auto; margin-block: auto; }
.ill__navy { fill: var(--navy); }
.ill__white { fill: var(--paper); }
.ill__orange { fill: var(--orange); }
.ill__shade { fill: rgba(14, 33, 96, .07); }
.ill__digit { fill: var(--navy); font: 700 38px var(--font-d); text-anchor: middle; dominant-baseline: central; }
.ill__tick { stroke: var(--orange); stroke-width: 4; stroke-linecap: round; }
.ill__trace { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .22; }
.ill__via circle { fill: var(--paper); stroke: var(--navy); stroke-width: 3; opacity: .35; }
.ill__pins rect { fill: #8A96B8; }
.ill__pin1 { fill: rgba(255, 255, 255, .55); }
.ill__chiplabel { fill: #fff; font: 600 15px var(--font-d); text-anchor: middle; dominant-baseline: central; letter-spacing: -.02em; }
.ill__tag { fill: var(--navy); font: 600 14px var(--font-t); text-anchor: middle; dominant-baseline: central; }
.ill__pulse { fill: none; stroke: var(--orange); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.step { min-height: 15rem; }
.step__n { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--sky); font: 700 1.375rem/1 var(--font-d); }
.step:first-child .step__n { background: var(--orange); }
.step .h3 { margin-top: 1rem; }
.step__links { margin-top: auto; }
.step__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.step__links a { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }

/* Вопросы */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--hdr) + 1.5rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.faq__head p { color: var(--muted); font-size: 1.125rem; }
.faq__list { grid-column: 6 / -1; display: grid; gap: .75rem; }
.qa { border-radius: var(--r-md); background: var(--paper); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font: 600 1.0625rem/1.35 var(--font-t); cursor: pointer; list-style: none; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa__i { position: relative; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sky); transition: background-color .2s, transform .3s var(--ease); }
.qa__i::before, .qa__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem; border-radius: 2px; background: var(--navy); }
.qa__i::after { transform: rotate(90deg); }
.qa[open] .qa__i { background: var(--orange); transform: rotate(45deg); }
.qa p { padding: 0 1.4rem 1.3rem; max-width: 44rem; color: var(--muted); }
.qa summary:hover { color: var(--navy-2); }

/* Контакты */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.contact__info { grid-column: span 5; gap: 1.5rem; }
.card .contact__addr { font: 600 clamp(1.25rem, 1rem + .8vw, 1.75rem)/1.25 var(--font-d); letter-spacing: -.025em; color: #fff; }
.contact__dl { display: grid; gap: 1rem; }
.contact__dl dt { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: rgba(255, 255, 255, .62); }
.contact__dl dt .ico { width: 1rem; height: 1rem; color: var(--orange); }
.contact__dl dd { margin-top: .2rem; }
.contact__dl a { text-decoration: none; }
.contact__dl a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact__tel { font: 700 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.1 var(--font-d); letter-spacing: -.035em; color: var(--orange); }
.contact__msg { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact__route { align-self: flex-start; margin-top: auto; }
.contact__map { grid-column: span 7; min-height: 30rem; padding: 0; background: #E8E4DA; }
.map__static, .map__live { position: absolute; inset: 0; }
.map__static img { width: 100%; height: 100%; object-fit: cover; }
.map__live { opacity: 0; transition: opacity .5s; }
.contact__map.is-live .map__live { opacity: 1; }
.contact__map.is-live .map__static { visibility: hidden; transition: visibility 0s .5s; }

/* ---------- Подвал ---------- */

.foot { margin-top: var(--section); padding-top: clamp(2.5rem, 5vw, 4.5rem); background: var(--navy); color: #fff; }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 2rem var(--gap); }
.logo--light { color: #fff; }
.logo--light .logo__s { color: rgba(255, 255, 255, .62); }
.foot__brand { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.foot__brand p { max-width: 30rem; font-size: .9375rem; color: rgba(255, 255, 255, .66); }
.foot__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: .6rem 2.5rem; align-content: start; }
.foot__nav a { text-decoration: none; color: rgba(255, 255, 255, .86); }
.foot__nav a:hover { color: var(--orange); }
.foot__contact { display: grid; gap: .35rem; align-content: start; color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.foot__tel { margin-bottom: .25rem; font: 700 1.375rem/1.2 var(--font-d); letter-spacing: -.03em; color: #fff; text-decoration: none; }
.foot__tel:hover { color: var(--orange); }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; color: rgba(255, 255, 255, .6); }
.foot__bottom a { display: inline-flex; align-items: center; gap: .35rem; color: #fff; text-decoration: none; font-weight: 500; }
.foot__bottom a .ico { width: 1rem; height: 1rem; }
.foot__bottom a:hover { color: var(--orange); }
.foot__stripe { height: 1.75rem; background: linear-gradient(180deg, var(--sky) 0 38%, var(--navy) 38% 50%, var(--orange) 50% 100%); }

/* ---------- Движение ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero__text > * { animation: rise .8s var(--ease) both; }
  .js .hero__text > :nth-child(2) { animation-delay: .06s; }
  .js .hero__text > :nth-child(3) { animation-delay: .12s; }
  .js .hero__text > :nth-child(4) { animation-delay: .18s; }
  .js .hero__text > :nth-child(5) { animation-delay: .24s; }
  .js .gauge { animation: pop .9s var(--ease) .1s both; }

  .js .deco__prog { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.45, .05, .25, 1) .3s; }
  .js .deco__needle { transform: rotate(135deg); transition: transform 1.6s cubic-bezier(.45, .05, .25, 1) .3s; }
  .js .svc__main.is-in .deco__prog { stroke-dashoffset: 36; }
  .js .svc__main.is-in .deco__needle { transform: rotate(307.8deg); }

  .ill__roll { animation: roll 3.2s cubic-bezier(.6, 0, .3, 1) infinite; }
  .ill__pulse { animation: pulse 2.4s ease-out infinite; }

  .svc__item, .brand, .step { transition: transform .35s var(--ease); }
  .svc__item:hover, .brand:hover, .step:hover { transform: translateY(-4px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.92) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes roll { 0%, 45% { transform: translateY(0); } 70%, 100% { transform: translateY(-54px); } }
@keyframes pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1199px) {
  .nav a { padding-inline: .6rem; }
  .hdr__tel { display: none; }
}

@media (max-width: 1279px) {
  .price__main { grid-column: 1 / -1; min-height: 0; }
  .price__time { grid-column: span 6; }
}

@media (max-width: 1099px) {
  .nav { display: none; }
  .hdr__tel { display: inline; margin-left: auto; }
  .hdr__menu { display: inline-grid; }

  .svc { grid-auto-rows: auto; }
  .br-wide { display: none; }
  .svc__main { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .svc__main .svc__body { margin-top: clamp(6.5rem, 20vw, 10.5rem); }
  .svc__deco { top: -2rem; right: -1.5rem; width: 40%; max-width: 19rem; }
  .svc__item { grid-column: span 6; min-height: 0; }
  .price__main { grid-column: 1 / -1; min-height: 0; }
  .price__time { grid-column: span 6; }
  .price__factors { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__text { grid-column: 1 / -1; }
  .why__ill { grid-column: span 6; }
  .faq__head { grid-column: 1 / -1; position: static; }
  .faq__list { grid-column: 1 / -1; }
  .contact__info, .contact__map { grid-column: 1 / -1; }
  .contact__map { min-height: 24rem; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .hero__card { grid-template-columns: 1fr; }
  .hero .h1 { max-width: 13ch; }
  .hero__visual { padding-top: .5rem; }
  .hero__visual::before { top: 0; }
  .gauge { width: min(100%, 26rem); }
  .sec__head { grid-template-columns: 1fr; }
  .sec__head .h2, .sec__head p { grid-column: auto; }
}

@media (max-width: 699px) {
  :root { --hdr: 4rem; }
  .hdr__in { gap: .5rem; }
  .hdr__tel { display: none; }
  .hdr__call { margin-left: auto; width: 2.75rem; padding: 0; }
  .hdr__call span { display: none; }
  .logo__mark { width: 2.2rem; height: 2.2rem; }
  .logo__t { font-size: .875rem; }

  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; gap: .5rem; }
  .fact { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; }
  .fact span { margin: 0; text-align: right; }
  .gauge { width: min(100%, 21rem); }

  .svc__item, .price__time, .why__ill { grid-column: 1 / -1; }
  .svc__cta .btn { align-self: stretch; }
  .svc__main { min-height: 0; }
  .svc__main .svc__body { margin-top: 7rem; }
  .svc__deco { width: 58%; }
  .svc__main .btn { align-self: stretch; white-space: normal; text-align: center; }
  .factors { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; }
  .brand { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step .h3 { margin-top: .75rem; }
  .contact__map { min-height: 20rem; }
  .contact__route { align-self: stretch; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 340px) {
  .logo__words { display: none; }
}
