/* BroAuto — сеть автосервисов, Астана */
:root {
  --bg: #121212;
  --bg-alt: #171717;
  --surface: #1c1c1c;
  --surface-2: #252525;
  --text: #f3f3f1;
  --soft: #cfcfcb;
  --muted: #9a9a95;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --accent: #e8501f;
  --accent-h: #f66634;
  --ok: #2fb563;
  --r: 14px;
  --r-sm: 10px;
  --pad: clamp(18px, 4vw, 48px);
  --container: 1240px;
  --header-h: 72px;
  --font: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-h); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.label { font: 500 13px/1.3 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: 600 16px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 17px; }
.btn--xl { height: 62px; padding: 0 34px; font-size: 17.5px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-h); }
.btn--dark, .btn--line, .btn--line-d { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--dark:hover, .btn--line:hover, .btn--line-d:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(18, 18, 18, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); --logo-ink: #121212; }
.logo__mark { width: 40px; height: 40px; }
.logo__word { font: 700 18px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.logo__word b { font-weight: 700; color: var(--accent); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: 15.5px; color: var(--soft); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.header__side { display: flex; align-items: center; gap: 18px; }
.header__tel { font-weight: 600; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.header__tel:hover { color: var(--accent-h); }
.burger { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 16px; }
.burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px var(--pad) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font: 600 24px/1.2 var(--font); letter-spacing: -.01em; }
.menu__nav small { font: 500 13px var(--font); color: var(--accent); letter-spacing: .06em; }
.menu__foot { display: grid; gap: 16px; margin-top: 32px; }
.menu__tel { text-align: center; font-weight: 600; font-size: 18px; }

/* ---------- Первый экран ---------- */
.hero { padding: clamp(36px, 5.5vw, 84px) 0 clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero__left { display: flex; flex-direction: column; }
.hero__photo { position: relative; margin: 0; min-height: 440px; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 90% 50%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 18, 18, .45), rgba(18, 18, 18, 0) 45%); border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.hero__photo figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: rgba(18, 18, 18, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 500; color: var(--soft); }
.hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.status { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px/1 var(--font); color: var(--soft); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open i { background: var(--ok); }
.hero__title { margin-top: clamp(20px, 2.4vw, 30px); font: 600 clamp(2rem, 4.5vw, 3.75rem)/1.08 var(--font); letter-spacing: -.028em; text-wrap: balance; }
.hero__lead { margin-top: clamp(18px, 2vw, 26px); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(26px, 3vw, 38px) 0 clamp(36px, 5vw, 64px); }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0 20px; margin-top: auto; padding-top: clamp(24px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 6px; font: 600 clamp(1.8rem, 2.9vw, 2.5rem)/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts dt .ico { width: .5em; height: .5em; color: var(--accent); }
.facts dd { margin-top: 10px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }

/* Запись */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 22px; }
.ticket__top { display: grid; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ticket__title { font: 600 21px/1.2 var(--font); letter-spacing: -.01em; }
.ticket__time { font-size: 14.5px; color: var(--muted); }
.ticket legend, .field > span { display: block; margin-bottom: 12px; font: 500 14.5px/1.2 var(--font); color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--2 { display: grid; grid-template-columns: 1fr 1fr; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 8px;
  font-weight: 500; font-size: 15px; white-space: nowrap; color: var(--soft);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--text); color: var(--text); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-h); outline-offset: 2px; }
.field input {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--text); font-size: 16px; outline: none; transition: border-color .2s;
}
.field input::placeholder { color: var(--muted); opacity: .8; }
.field input:focus { border-color: var(--accent); }
.ticket__note { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: -8px; }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--ink { background: var(--bg-alt); border-block: 1px solid var(--line); }
.shead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4.4vw, 56px); }
.shead .label { grid-column: 1 / -1; }
.h2 { font: 600 clamp(1.7rem, 3.5vw, 2.75rem)/1.12 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.shead__note { font-size: clamp(1rem, 1.2vw, 1.08rem); color: var(--muted); max-width: 32em; padding-bottom: .25em; }

/* ---------- Услуги ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.svc__item { display: grid; grid-template-columns: minmax(0, 1fr) 24px; column-gap: 20px; align-items: start; padding: 22px 0 24px; border-top: 1px solid var(--line); transition: border-color .25s; }
.svc__num, .svc__tags { display: none; }
.svc__item h3 { grid-column: 1; grid-row: 1; font: 600 clamp(1.08rem, 1.5vw, 1.25rem)/1.25 var(--font); letter-spacing: -.01em; transition: color .2s; }
.svc__item p { grid-column: 1; grid-row: 2; margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 34em; }
.svc__go { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; color: var(--accent); font-size: 17px; transition: transform .3s var(--ease); }
.svc__item--ask h3 { color: var(--accent-h); }
@media (hover: hover) {
  .svc__item:hover { border-top-color: var(--line-2); }
  .svc__item:hover h3 { color: var(--accent-h); }
  .svc__item:hover .svc__go { transform: translate(3px, -3px); }
}

/* ---------- Рекламные блоки ---------- */
.section--tight { padding-top: 0; }
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.promo { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.promo__img { aspect-ratio: 16 / 10; background: #141414; overflow: hidden; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo__body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: clamp(22px, 2.8vw, 38px); }
.promo__title { font: 600 clamp(1.35rem, 2.1vw, 1.75rem)/1.15 var(--font); letter-spacing: -.02em; text-wrap: balance; }
.promo__body > p:not(.label) { color: var(--soft); font-size: 16px; line-height: 1.55; max-width: 34em; }
.promo__list { display: grid; gap: 10px; margin: 4px 0 8px; list-style: none; padding: 0; }
.promo__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.promo__list .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.promo__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 20px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.promo__price { display: grid; gap: 6px; }
.promo__price b { font: 600 clamp(1.6rem, 2.4vw, 2rem)/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.promo__price span { font-size: 14px; line-height: 1.3; color: var(--muted); }
@media (hover: hover) {
  .promo:hover .promo__img img { transform: scale(1.03); }
}

/* ---------- Команда ---------- */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.team__text { display: grid; gap: 16px; justify-items: start; }
.team__text p:not(.label) { color: var(--soft); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.55; max-width: 30em; }
.team__text .btn { margin-top: 10px; }
.team__photo { aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #141414; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Как работаем ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.steps li { padding-top: 22px; border-top: 1px solid var(--line-2); }
.steps__n { display: block; font: 600 14px/1 var(--font); letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps__n::before { content: "0"; }
.steps h3 { margin-top: 18px; font: 600 clamp(1.08rem, 1.45vw, 1.22rem)/1.25 var(--font); letter-spacing: -.01em; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- Отзывы ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(14px, 1.6vw, 20px); }
.rate { display: flex; flex-direction: column; min-height: 250px; padding: clamp(22px, 2.4vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s; }
.rate:hover { border-color: var(--line-2); }
.rate__num { margin-top: auto; padding-top: 28px; font: 600 clamp(3.4rem, 5.6vw, 4.6rem)/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rate__stars { display: flex; gap: 3px; margin-top: 14px; color: var(--accent); font-size: 17px; }
.rate__meta { margin-top: 10px; font-size: 15px; color: var(--muted); }
.rate__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.rate__link .ico { color: var(--accent); transition: transform .3s var(--ease); }
.rate:hover .rate__link .ico { transform: translate(3px, -3px); }
.praise { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.praise__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.praise__list li { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 500; font-size: 15px; line-height: 1.2; color: var(--soft); }
.social { display: grid; margin-top: auto; padding-top: 26px; }
.social a { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--soft); transition: color .2s; }
.social a:hover { color: var(--text); }
.social b { font-weight: 600; color: var(--text); }
.social__go { margin-left: auto; color: var(--accent); }

.brands { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(24px, 2.6vw, 32px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.brands__list { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 500; font-size: 17px; color: var(--soft); }
.brands__list li:last-child { color: var(--muted); }

/* ---------- Филиалы ---------- */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 20px); }
.place { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.place__tag { color: var(--accent); }
.place h3 { margin-top: 14px; font: 600 clamp(1.45rem, 2.3vw, 1.95rem)/1.15 var(--font); letter-spacing: -.02em; }
.place__list { margin: clamp(20px, 2.4vw, 28px) 0; display: grid; }
.place__list li { display: grid; grid-template-columns: 108px 1fr; gap: 2px 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.place__list li:last-child { border-bottom: 1px solid var(--line); }
.place__list span { grid-row: span 2; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.place__list a { grid-column: 2; width: max-content; font-weight: 500; font-variant-numeric: tabular-nums; }
.place__list a:hover { color: var(--accent-h); }
.place__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.place__cta .btn { flex: 1 1 auto; }

.map { height: clamp(320px, 38vw, 460px); margin-top: clamp(14px, 1.6vw, 20px); border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; z-index: 0; }
.map__fallback { padding: 24px; }
.map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) grayscale(.85) brightness(1.15) contrast(.95); }
.map.leaflet-container { background: #1a1a1a; font-family: var(--font); }
.map.leaflet-container .leaflet-control-attribution { font-size: 10px; background: rgba(18, 18, 18, .75); color: var(--muted); padding: 2px 12px 2px 8px; }
.map.leaflet-container .leaflet-control-attribution a { color: var(--soft); }
.map .leaflet-bar { border: 1px solid var(--line-2); }
.map .leaflet-bar a { background: var(--surface); color: var(--text); border-color: var(--line); }
.map .leaflet-bar a:hover { background: var(--surface-2); color: var(--text); }
.pin { position: relative; width: 44px; height: 54px; }
.pin b { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--accent); border: 2px solid #fff; box-shadow: 0 8px 16px -4px rgba(0, 0, 0, .7); }
.pin i { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; font: 700 12px var(--font); font-style: normal; letter-spacing: .02em; color: #fff; }
.map .leaflet-popup-content-wrapper { background: var(--surface-2); color: var(--text); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8); }
.map .leaflet-popup-tip { background: var(--surface-2); }
.map .leaflet-popup-content { margin: 18px 18px 16px; min-width: 216px; font-size: 14.5px; line-height: 1.4; }
.map .leaflet-popup-close-button { color: var(--muted) !important; top: 6px !important; right: 6px !important; }
.pop strong { display: block; font: 600 16px/1.25 var(--font); }
.pop span { display: block; margin-top: 4px; color: var(--muted); }
.pop div { display: grid; gap: 8px; margin-top: 14px; }
.pop a { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 8px; font-weight: 600; color: var(--text); border: 1px solid var(--line-2); }
.pop a:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Юрлицам ---------- */
.corp { padding: clamp(64px, 8vw, 120px) 0 0; }
.corp__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 72px); align-items: end; padding: clamp(26px, 4vw, 56px); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); }
.corp .label { margin-bottom: 16px; }
.corp__text { display: grid; gap: 24px; justify-items: start; }
.corp__text p { font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.55; color: var(--soft); }

/* ---------- Финал ---------- */
.final { padding: clamp(64px, 8vw, 120px) 0; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5.5vw, 88px); align-items: start; }
.final__text .h2 { margin-top: 14px; }
.final__a { margin-top: clamp(16px, 2vw, 22px); font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--soft); max-width: 30em; }
.final__contacts { display: grid; gap: 14px; margin-top: clamp(26px, 3vw, 38px); padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line); font-weight: 500; }
.final__contacts li { display: flex; align-items: center; gap: 12px; }
.final__contacts .ico { color: var(--accent); }
.final__contacts a:hover { color: var(--accent-h); }

/* ---------- Подвал ---------- */
.footer { background: #0d0d0d; border-top: 1px solid var(--line); padding: clamp(44px, 5vw, 72px) 0 26px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px 24px; }
.footer__brand p { margin-top: 16px; max-width: 22em; color: var(--muted); font-size: 15.5px; }
.footer__h { margin-bottom: 14px; }
.footer__top > div:not(.footer__brand) > a, .footer__top > div:not(.footer__brand) > span { display: block; width: max-content; max-width: 100%; padding: 5px 0; font-size: 16px; color: var(--soft); }
.footer__top > div:not(.footer__brand) > span { color: var(--muted); }
.footer__top > div:not(.footer__brand) > a:hover { color: var(--accent-h); }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- Плавающие кнопки ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--accent); color: #fff;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease), background .2s;
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--accent-h); }
.bar { display: none; }

/* ---------- Появление ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.steps li:nth-child(2), .trust > :nth-child(2), .places > :nth-child(2), .promos > :nth-child(2) { transition-delay: .07s; }
.steps li:nth-child(3), .trust > :nth-child(3) { transition-delay: .14s; }
.steps li:nth-child(4) { transition-delay: .21s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .praise { grid-column: 1 / -1; }
  .rate { min-height: 260px; }
}
@media (max-width: 860px) {
  :root { --header-h: 62px; }
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .header__tel, .header .btn { display: none; }
  .logo__mark { width: 36px; height: 36px; }
  .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero__left { display: contents; }
  .hero__top { order: 1; }
  .hero__title { order: 2; }
  .hero__photo { order: 3; min-height: 0; aspect-ratio: 16 / 11; margin-top: 22px; }
  .hero__lead { order: 4; }
  .hero__cta { order: 5; margin-bottom: 0; }
  .facts { order: 6; margin-top: 36px; }
  .promos { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .team__photo { order: -1; }
  .final__grid { grid-template-columns: 1fr; }
  .shead { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
  .svc { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; }
  .corp__in { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .fab { display: none; }
  .bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 18, 18, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: var(--r-sm); font-weight: 600; font-size: 15.5px; }
  .bar__wa { background: var(--accent); color: #fff; }
  .bar__tel { border: 1px solid var(--line-2); color: var(--text); }
  .btn--xl { width: 100%; }
}
@media (max-width: 620px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .trust { grid-template-columns: 1fr; }
  .rate { min-height: 0; }
  .rate__num { padding-top: 22px; }
  .place__list li { grid-template-columns: 92px 1fr; }
  .place__cta .btn { flex-basis: 100%; }
  .footer__bot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
