/* BroAuto — автосервис, Астана */
:root {
  --paper: #f2efe8;
  --paper-2: #e7e3d9;
  --white: #fbfaf7;
  --ink: #0e0e0f;
  --ink-2: #18181a;
  --ink-3: #26262a;
  --muted: #68645c;
  --muted-d: #a09c93;
  --accent: #ff4d12;
  --accent-2: #ff7038;
  --ok: #1fa855;
  --line: rgba(14, 14, 15, .16);
  --line-d: rgba(242, 239, 232, .16);
  --r: 24px;
  --r-sm: 14px;
  --pad: clamp(18px, 4vw, 48px);
  --container: 1320px;
  --header-h: 76px;
  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-text: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;
  --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%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* зерно бумаги */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
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: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); 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); }
.mono { font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 16px/1 var(--f-text); white-space: nowrap; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn--xl { height: 76px; padding: 0 40px; font-size: 19px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn--accent:hover, .ticket .btn--accent:hover, .menu .btn--accent:hover { background: var(--paper); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); color: var(--ink); }
.corp .btn--dark:hover { background: var(--paper); }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line-d { border-color: var(--line-d); color: var(--paper); }
.btn--line-d:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(242, 239, 232, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-stuck { border-color: 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(--ink); }
.logo__mark { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg); }
.logo__word { font: 800 19px/1 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; }
.logo__word b { font-weight: 500; }
.logo--light { color: var(--paper); --logo-ink: #0e0e0f; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 15.5px; transition: background .2s; }
.nav a:hover { background: rgba(14, 14, 15, .08); }
.header__side { display: flex; align-items: center; gap: 18px; }
.header__tel { font: 500 15px/1 var(--f-mono); letter-spacing: -.01em; }
.header__tel:hover { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 24px; }
.burger[aria-expanded="true"] i:first-child { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 20.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 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: 18px 0; border-bottom: 1px solid var(--line-d);
  font: 800 clamp(24px, 7.4vw, 34px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em;
}
.menu__nav small { font: 500 12px var(--f-mono); color: var(--accent); letter-spacing: .08em; }
.menu__foot { display: grid; gap: 16px; margin-top: 32px; }
.menu__tel { text-align: center; font: 500 17px var(--f-mono); }

/* ---------- Первый экран ---------- */
.hero { padding: clamp(20px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: clamp(18px, 2.5vw, 30px); border-bottom: 1px solid var(--line); }
.hero__meta .mono { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--white); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-d); flex: none; }
.status.is-open i { background: var(--ok); box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(31, 168, 85, 0); } }

.hero__head { position: relative; padding: clamp(22px, 3.4vw, 48px) 0 clamp(26px, 3.6vw, 52px); }
.hero__title {
  font: 900 clamp(1.9rem, 10.3vw, 9.4rem)/.92 var(--f-display);
  letter-spacing: -.045em; text-transform: uppercase;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line + .hero__line { margin-top: .08em; }
.hero__title mark {
  display: inline-block; padding: .04em .14em .1em; margin-left: -.06em;
  background: var(--accent); color: var(--ink);
  border-radius: .1em; transform: rotate(-1.6deg); transform-origin: left center;
}
.js .hero__line { opacity: 0; transform: translateY(.35em); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero__line + .hero__line { transition-delay: .12s; }
.js.is-ready .hero__line { opacity: 1; transform: none; }

.stamp {
  position: absolute; right: 0; top: clamp(10px, 2vw, 34px);
  width: clamp(100px, 13.5vw, 184px); aspect-ratio: 1;
  display: grid; place-items: center; z-index: 2;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--ink), 0 18px 30px -16px rgba(14, 14, 15, .45);
}
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp__ring text { font: 700 14.5px var(--f-mono); letter-spacing: .5px; fill: var(--ink); }
.stamp__core {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: clamp(18px, 2.4vw, 34px);
  transition: background .3s, color .3s, transform .5s var(--ease);
}
.stamp:hover .stamp__core { background: var(--accent); color: var(--ink); transform: rotate(45deg) scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.hero__left { display: flex; flex-direction: column; gap: clamp(24px, 2.6vw, 36px); padding-top: 6px; }
.hero__lead { font-size: clamp(1.12rem, 1.7vw, 1.5rem); line-height: 1.42; max-width: 34em; letter-spacing: -.01em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks .ico { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--ink); color: var(--accent); }

/* Быстрая заявка */
.ticket {
  position: relative;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 30px);
  display: grid; gap: 20px;
  box-shadow: 0 30px 60px -30px rgba(14, 14, 15, .55);
}
.ticket__top { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px dashed var(--line-d); }
.ticket__time { color: var(--accent); }
.ticket legend, .field > span { display: block; margin-bottom: 12px; font: 600 15px/1.2 var(--f-text); color: var(--paper); }
.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: 42px; padding: 0 16px;
  border: 1.5px solid var(--line-d); border-radius: 999px;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.chip:hover span { border-color: var(--paper); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chip input:active + span { transform: scale(.95); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field input {
  width: 100%; height: 52px; padding: 0 18px;
  background: var(--ink-2); border: 1.5px solid var(--line-d); border-radius: var(--r-sm);
  color: var(--paper); font-size: 16px; outline: none;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: var(--muted-d); opacity: .75; }
.field input:focus { border-color: var(--accent); background: var(--ink-3); }
.ticket__cut { height: 0; margin: 4px calc(clamp(22px, 2.4vw, 30px) * -1) 0; border-top: 1px dashed var(--line-d); position: relative; }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.ticket__cut::before { left: -11px; }
.ticket__cut::after { right: -11px; }
.ticket__note { font-size: 13.5px; line-height: 1.4; color: var(--muted-d); text-align: center; margin-top: -6px; }

/* Факты */
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin-top: auto; border-top: 2px solid var(--ink); }
.facts > div { padding: 20px 18px 0 0; }
.facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 6px; font: 800 clamp(1.7rem, 2.7vw, 2.5rem)/1 var(--f-display); letter-spacing: -.04em; }
.facts dt .ico { width: .6em; height: .6em; color: var(--accent); }
.facts dd { margin-top: 10px; font: 500 11px/1.5 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* ---------- Ленты ---------- */
.tapes { position: relative; height: clamp(120px, 15vw, 190px); overflow: hidden; }
.tape { position: absolute; left: -4%; width: 108%; overflow: hidden; padding: clamp(11px, 1.3vw, 16px) 0; }
.tape--accent { top: 26%; background: var(--accent); color: var(--ink); transform: rotate(-2.2deg); z-index: 2; }
.tape--ink { top: 34%; background: var(--ink); color: var(--paper); transform: rotate(1.6deg); }
.tape__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.tape__track--rev { animation-direction: reverse; animation-duration: 52s; }
.tape span { display: inline-flex; align-items: center; font: 700 clamp(13px, 1.5vw, 19px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.tape span::after { content: "✱"; margin: 0 clamp(16px, 2vw, 30px); font-family: var(--f-mono); font-weight: 400; }
.tape--ink span::after { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 9.5vw, 148px) 0; position: relative; }
.section--ink { background: var(--ink); color: var(--paper); }
.shead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 68px); }
.label { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section--ink .label { color: var(--muted-d); }
.label i { width: 10px; height: 10px; background: var(--accent); flex: none; }
.label--ink { color: var(--ink); }
.label--ink i { background: var(--ink); }
.h2 { font: 800 clamp(1.85rem, 5.4vw, 4.5rem)/1 var(--f-display); letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.shead__note { font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--muted); max-width: 30em; padding-bottom: .4em; }
.section--ink .shead__note { color: var(--muted-d); }

/* ---------- Услуги ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.svc__item {
  position: relative; display: flex; flex-direction: column;
  min-height: 280px; padding: clamp(20px, 2.2vw, 30px);
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; isolation: isolate;
  transition: color .35s;
}
.svc__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.svc__num { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--muted); transition: color .35s; }
.svc__go {
  position: absolute; top: clamp(16px, 1.8vw, 24px); right: clamp(16px, 1.8vw, 24px);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease);
}
.svc__item h3 { margin-top: 64px; min-height: 2.24em; display: flex; align-items: flex-end; font: 700 clamp(1.15rem, 1.75vw, 1.5rem)/1.12 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; hyphens: manual; }
.svc__item p { margin-top: 14px; font-size: 15.5px; line-height: 1.45; color: var(--muted); transition: color .35s; max-width: 30em; }
.svc__tags { margin-top: auto; padding-top: 22px; font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.svc__item--ask { background: var(--accent); }
.svc__item--ask .svc__num, .svc__item--ask p, .svc__item--ask .svc__tags { color: var(--ink); }
.svc__item--ask .svc__go { background: var(--ink); color: var(--paper); }
@media (hover: hover) {
  .svc__item:hover { color: var(--paper); }
  .svc__item:hover::before { transform: none; }
  .svc__item:hover .svc__num, .svc__item:hover p { color: var(--muted-d); }
  .svc__item:hover .svc__go { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(45deg); }
  .svc__item--ask:hover .svc__num, .svc__item--ask:hover p { color: var(--muted-d); }
  .svc__item--ask:hover .svc__tags { color: var(--accent); }
  .svc__item--ask:hover .svc__go { transform: none; }
}

/* ---------- Как работаем ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 40px); counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-d); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--accent); }
.steps__n {
  display: block; font: 900 clamp(4rem, 8vw, 7.5rem)/.9 var(--f-display); letter-spacing: -.05em;
  color: var(--ink); -webkit-text-stroke: 3px var(--accent); paint-order: stroke fill;
}
.steps h3 { margin-top: 22px; font: 700 clamp(1.05rem, 1.5vw, 1.3rem)/1.15 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; }
.steps p { margin-top: 12px; color: var(--muted-d); font-size: 15.5px; line-height: 1.5; }

/* ---------- Отзывы ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(14px, 1.6vw, 24px); }
.rate {
  display: flex; flex-direction: column; min-height: 380px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.rate:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(14, 14, 15, .4); }
.rate--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rate__where { color: var(--muted); }
.rate--ink .rate__where { color: var(--muted-d); }
.rate__num { margin-top: auto; font: 900 clamp(4.4rem, 8.6vw, 8rem)/.9 var(--f-display); letter-spacing: -.06em; }
.rate__stars { display: flex; gap: 4px; margin-top: 18px; color: var(--accent); font-size: 20px; }
.rate__meta { margin-top: 12px; font-size: 15.5px; color: var(--muted); }
.rate--ink .rate__meta { color: var(--muted-d); }
.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; }
.rate--ink .rate__link { border-color: var(--line-d); }
.rate__link .ico { transition: transform .4s var(--ease); }
.rate:hover .rate__link .ico { transform: translate(3px, -3px); }
.praise { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); background: var(--paper-2); border-radius: var(--r); }
.praise__title { color: var(--muted); }
.praise__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.praise__list li { padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 500; font-size: 15.5px; line-height: 1.2; }
.praise__list li:nth-child(3n+1) { background: var(--ink); color: var(--paper); }
.social { display: grid; gap: 0; margin-top: auto; padding-top: 28px; }
.social a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; transition: color .2s, padding .3s var(--ease); }
.social a:hover { color: var(--accent); padding-left: 6px; }
.social b { font: 700 16px var(--f-display); letter-spacing: -.02em; }
.social__go { margin-left: auto; }

.brands { margin-top: clamp(56px, 8vw, 120px); overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0; }
.brands__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.brands span { font: 800 clamp(1.7rem, 4.6vw, 4rem)/1 var(--f-display); letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; color: var(--paper); -webkit-text-stroke: clamp(1.4px, .19vw, 2.4px) var(--ink); paint-order: stroke fill; }
.brands span:nth-child(4n+1) { color: var(--ink); }
.brands span::after { content: "/"; margin: 0 clamp(14px, 2vw, 32px); color: var(--accent); -webkit-text-stroke: 0; font-weight: 500; }

/* ---------- Филиалы ---------- */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.place { display: flex; flex-direction: column; padding: clamp(22px, 2.8vw, 40px); background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r); }
.place__tag { color: var(--accent); }
.place h3 { margin-top: 18px; font: 800 clamp(1.35rem, 2.7vw, 2.3rem)/1.05 var(--f-display); letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.place__list { margin: clamp(22px, 2.6vw, 34px) 0; display: grid; }
.place__list li { display: grid; grid-template-columns: 108px 1fr; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 16px; }
.place__list li:last-child { border-bottom: 1px solid var(--line-d); }
.place__list span { grid-row: span 2; font: 500 12px/1.9 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.place__list a { grid-column: 2; font-family: var(--f-mono); font-size: 15.5px; width: max-content; }
.place__list a:hover { color: var(--accent); }
.place__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.place__cta .btn { flex: 1 1 auto; }

.map { height: clamp(340px, 42vw, 520px); margin-top: clamp(14px, 1.6vw, 24px); border-radius: var(--r); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-d); position: relative; z-index: 0; }
.map__fallback { padding: 24px; }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(1.08) brightness(.97); }
.map .leaflet-container { background: #dedbd3; font-family: var(--f-text); }
.map .leaflet-control-attribution { font-size: 10px; background: rgba(242, 239, 232, .85); padding: 2px 14px 2px 8px; border-radius: 8px 0 0 0; }
.map .leaflet-bar a { background: var(--ink); color: var(--paper); border-color: var(--ink-3); }
.map .leaflet-bar a:hover { background: var(--accent); color: var(--ink); }
.pin { position: relative; width: 52px; height: 62px; }
.pin b {
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg);
  background: var(--accent); border: 3px solid var(--ink);
  box-shadow: 0 10px 18px -6px rgba(14, 14, 15, .6);
}
.pin i { position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; font: 800 13px var(--f-display); font-style: normal; letter-spacing: -.04em; color: var(--ink); }
.map .leaflet-popup-content-wrapper { background: var(--ink); color: var(--paper); border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(14, 14, 15, .6); }
.map .leaflet-popup-tip { background: var(--ink); }
.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-d) !important; top: 6px !important; right: 6px !important; }
.pop strong { display: block; font: 700 15px/1.2 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; }
.pop span { display: block; margin-top: 6px; color: var(--muted-d); }
.pop div { display: grid; gap: 8px; margin-top: 14px; }
.pop a { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 999px; font-weight: 600; color: var(--paper); border: 1.5px solid var(--line-d); }
.pop a:first-child { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ---------- Юрлицам ---------- */
.corp { background: var(--accent); padding: clamp(56px, 7vw, 108px) 0; }
.corp__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; }
.corp .label { margin-bottom: 20px; }
.corp .h2 { font-size: clamp(1.7rem, 4.4vw, 3.7rem); }
.corp__text { display: grid; gap: 26px; justify-items: start; }
.corp__text p { font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.45; font-weight: 500; }

/* ---------- Финал ---------- */
.final { padding: clamp(72px, 10vw, 160px) 0; }
.final__q { font: 900 clamp(2.1rem, 8vw, 7.2rem)/.96 var(--f-display); letter-spacing: -.045em; text-transform: uppercase; }
.final__row { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 56px); padding-top: clamp(24px, 3vw, 40px); border-top: 2px solid var(--ink); }
.final__a { font-size: clamp(1.08rem, 1.6vw, 1.4rem); line-height: 1.4; max-width: 26em; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 88px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px 24px; }
.footer__brand p { margin-top: 18px; max-width: 22em; color: var(--muted-d); font-size: 15.5px; }
.footer__h { color: var(--muted-d); margin-bottom: 16px; }
.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; }
.footer__top > div > span { color: var(--muted-d); }
.footer__top > div:not(.footer__brand) > a:hover { color: var(--accent); }
.footer__big { margin-top: clamp(36px, 5vw, 72px); font: 900 clamp(2.6rem, 15.2vw, 13.8rem)/.8 var(--f-display); letter-spacing: -.06em; text-transform: uppercase; color: var(--ink); -webkit-text-stroke: clamp(1.3px, .19vw, 2.4px) #4a4947; paint-order: stroke fill; white-space: nowrap; user-select: none; text-align: center; }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(24px, 3vw, 44px); padding-top: 20px; border-top: 1px solid var(--line-d); font: 500 11.5px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }

/* ---------- Плавающие кнопки ---------- */
.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px;
  background: var(--accent); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: 0 16px 30px -10px rgba(14, 14, 15, .5);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease), background .25s, color .25s;
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--ink); color: var(--accent); }
.bar { display: none; }

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

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .praise { grid-column: 1 / -1; }
  .rate { min-height: 320px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .header__tel, .header .btn span { display: none; }
  .header .btn--sm { width: 44px; padding: 0; font-size: 18px; }
  .header__side { gap: 10px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__word { font-size: 17px; }
  .hero__meta-mid { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .stamp { top: auto; bottom: calc(100% - clamp(22px, 3.4vw, 48px) - 5.4vw); }
  .shead { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 8px; }
  .facts > div { padding: 18px 12px 20px 0; }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .places { 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: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 6px;
    padding: 6px; border-radius: 999px;
    background: rgba(14, 14, 15, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 16px 30px -10px rgba(14, 14, 15, .6);
  }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 600; font-size: 15.5px; }
  .bar__wa { background: var(--accent); color: var(--ink); }
  .bar__tel { color: var(--paper); }
  .btn--xl { height: 64px; padding: 0 28px; font-size: 17px; width: 100%; }
}
@media (max-width: 620px) {
  .hero__meta-end { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .svc { grid-template-columns: 1fr; }
  .svc__item { min-height: 0; padding: 22px 20px 24px; }
  .svc__item h3 { margin-top: 30px; min-height: 0; padding-right: 48px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li { display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; }
  .steps__n { grid-row: span 2; font-size: 4.4rem; }
  .steps h3 { margin-top: 6px; }
  .trust { grid-template-columns: 1fr; }
  .rate { min-height: 270px; }
  .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], .js .hero__line { opacity: 1; transform: none; }
}
