/* Шериф-Авто.рф — тёмно-синий + золото, как на старом сайте и баннере */

@font-face { font-family: "Unbounded"; font-weight: 500 900; font-display: swap; src: url("../fonts/unbounded.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url("../fonts/onest.woff2") format("woff2"); }

:root {
  --bg: #070b12;
  --bg-2: #0a111c;
  --panel: #0e1726;
  --panel-2: #121d2f;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(232, 184, 74, .38);
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, .66);
  --dim: rgba(244, 241, 234, .42);
  --gold: #e8b84a;
  --gold-1: #f9de8a;
  --gold-2: #c8902d;
  --gold-grad: linear-gradient(180deg, #fbe49c 0%, #f0c35a 45%, #d49b33 100%);
  --ink: #1a1307;
  --tg: #2aabee;
  --radius: 22px;
  --wrap: 1180px;
  --gutter: 16px;
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Unbounded", "Arial Black", Arial, sans-serif;
  --body: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.01em; line-height: 1.12; }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 17px; letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { min-height: 64px; font-size: 18px; padding: 0 34px; }
.btn-wide { width: 100%; }
.btn-gold {
  background: var(--gold-grad);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(232, 184, 74, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232, 184, 74, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-line { border: 2px solid rgba(244, 241, 234, .55); color: var(--text); background: rgba(7, 11, 18, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-1); transform: translateY(-2px); }
.btn-tg { background: var(--tg); color: #fff; }
.btn:active { transform: translateY(0) scale(.98); }
/* блик по золотой кнопке */
.shine::after {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s 1.5s infinite var(--ease);
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

.round {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s, transform .2s;
}
.round svg { width: 22px; height: 22px; }
.round:hover { border-color: var(--line-gold); transform: translateY(-1px); }
.round.tg { background: #16314a; border-color: transparent; color: var(--tg); }
.round.tg:hover { background: #1b3c5a; }

/* ---------- шапка ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background .3s, box-shadow .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
.head.is-scrolled {
  background: rgba(9, 15, 25, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .25);
}
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 4px;
  border-top: 1.5px solid var(--line-gold); border-bottom: 1.5px solid var(--line-gold);
  font: 700 clamp(14px, 4.2vw, 19px)/1 var(--display); letter-spacing: .05em; white-space: nowrap;
}
.logo-d { color: var(--gold); font-size: .6em; }
.logo-t b { color: var(--gold); font-weight: 700; }
.logo-sm { font-size: 15px; }
.nav { display: none; gap: 30px; font-weight: 500; color: var(--muted); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.head-act { display: flex; align-items: center; gap: 12px; }
.head-phone { display: none; align-items: center; gap: 8px; font-weight: 700; }
.head-phone svg { color: var(--gold); }
.burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 6px; }
.burger i { display: block; width: 28px; height: 2.5px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .burger { display: none; }
  .head-phone { display: inline-flex; }
}

/* мобильное меню */
.menu {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--head-h) + env(safe-area-inset-top) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(232, 184, 74, .12), transparent 60%), rgba(7, 11, 18, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  overflow-y: auto;
  animation: fade .25s var(--ease);
}
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { font: 700 26px/1.2 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-foot { display: grid; gap: 12px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- первый экран ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head-h) + env(safe-area-inset-top) + 28px) 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 50% 35%, #101b2e 0%, var(--bg) 70%); }
.hero-side { position: absolute; bottom: 0; width: min(46vw, 560px); aspect-ratio: 400 / 690; background-size: cover; background-repeat: no-repeat; opacity: .9; }
.hero-l { left: 0; background-image: url("../img/hero-left.jpg"); background-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 98%), linear-gradient(0deg, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 45%, transparent 98%), linear-gradient(0deg, #000 70%, transparent); mask-composite: intersect;
  animation: drift-l 18s ease-in-out infinite alternate; }
.hero-r { right: 0; background-image: url("../img/hero-right.jpg"); background-position: left bottom;
  -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent 98%), linear-gradient(0deg, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(270deg, #000 45%, transparent 98%), linear-gradient(0deg, #000 70%, transparent); mask-composite: intersect;
  animation: drift-r 18s ease-in-out infinite alternate; }
@keyframes drift-l { to { transform: scale(1.06) translateX(-8px); } }
@keyframes drift-r { to { transform: scale(1.06) translateX(8px); } }
/* на телефоне машины выглядывают снизу по краям, как на старом сайте */
@media (max-width: 719px) {
  .hero-side { width: 62vw; opacity: .55; }
  .hero-l { left: -18vw; }
  .hero-r { right: -18vw; }
}
.hero-bg::after { /* затемнение под текстом */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 45%, rgba(7, 11, 18, .78), rgba(7, 11, 18, .15) 70%, transparent),
              linear-gradient(180deg, rgba(7, 11, 18, .55) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
}
.glow { position: absolute; left: 50%; top: 58%; width: 900px; height: 360px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(232, 184, 74, .16), transparent); filter: blur(10px); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .55; transform: scale(1.1); } }
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; mix-blend-mode: screen; }
.rb { fill: none; stroke: url(#rg); stroke-linecap: round; stroke-dasharray: 520 2200; animation: ribbon 9s linear infinite; filter: drop-shadow(0 0 6px rgba(247, 215, 122, .7)); }
.rb1 { stroke-width: 2.2; }
.rb2 { stroke-width: 1.4; animation-duration: 12s; animation-delay: -4s; opacity: .7; }
.rb3 { stroke-width: 1; animation-duration: 15s; animation-delay: -9s; opacity: .5; }
@keyframes ribbon { from { stroke-dashoffset: 2720; } to { stroke-dashoffset: 0; } }

.hero-in { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line-gold); border-radius: 999px;
  background: rgba(7, 11, 18, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--gold-1); font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero-title { margin-top: 22px; display: flex; flex-direction: column; text-transform: uppercase; font-weight: 900; font-size: clamp(44px, 12.5vw, 112px); line-height: 1.02; letter-spacing: -.005em; text-shadow: 0 6px 40px rgba(0, 0, 0, .55); }
.hero-title .gold-text { text-shadow: none; filter: drop-shadow(0 6px 26px rgba(232, 184, 74, .25)); }
.hero-small { font-size: .62em; font-weight: 800; letter-spacing: .02em; margin-top: .12em; }
.hero-sub { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.hero-btns { margin-top: 34px; width: 100%; max-width: 640px; display: grid; gap: 14px; }
@media (min-width: 720px) { .hero-btns { grid-template-columns: 1.25fr 1fr; } }
.hero-checks { list-style: none; margin: 34px 0 0; padding: 0; width: 100%; max-width: 760px; display: grid; }
.hero-checks li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-gold); font: 800 15px/1.25 var(--display); text-transform: uppercase; text-align: left; letter-spacing: .02em; }
.hero-checks li:first-child { border-top: 0; }
.hero-checks svg { width: 34px; height: 34px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(232, 184, 74, .45)); }
@media (min-width: 720px) {
  .hero-checks { grid-template-columns: repeat(3, 1fr); }
  .hero-checks li { border-top: 0; border-left: 1px solid var(--line-gold); padding: 6px 12px; }
  .hero-checks li:first-child { border-left: 0; }
}
.scroll-down {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 2;
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgba(244, 241, 234, .3); color: var(--text);
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-down svg { width: 22px; height: 22px; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-height: 760px) and (max-width: 719px) { .scroll-down { display: none; } }

/* появление первого экрана */
.js .hero-a { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.js .is-ready .hero-a, .js .hero.is-ready .hero-a { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d) * .09s + .1s); }

/* ---------- цифры ---------- */
.stats { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 30px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
.stat b { font: 900 clamp(34px, 9vw, 54px)/1 var(--display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; font-weight: 600; }
@media (min-width: 720px) {
  .stats-in { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { grid-column: auto; border-top: 0; border-left: 1px solid var(--line); }
  .stat { padding: 44px 12px; }
}

/* ---------- секции ---------- */
.sec { position: relative; padding: 88px 0; }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
@media (min-width: 900px) { .sec { padding: 120px 0; } }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .16em; margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.sec h2 { font-size: clamp(28px, 6.4vw, 52px); text-transform: uppercase; font-weight: 900; }
.sec-lead { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 36em; }

/* появление при прокрутке */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- услуги ---------- */
.cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before { /* золотая рамка при наведении */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(249, 222, 138, .9), transparent 40%, transparent 60%, rgba(200, 144, 45, .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.spot::after { /* пятно света за курсором */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -20%), rgba(232, 184, 74, .12), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.card:hover::before, .spot:hover::after { opacity: 1; }
.card-ic { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; color: var(--gold); background: radial-gradient(circle at 30% 20%, rgba(249, 222, 138, .22), rgba(232, 184, 74, .06)); border: 1px solid var(--line-gold); margin-bottom: 22px; }
.card-ic svg { width: 38px; height: 38px; }
.card h3 { font-size: 21px; text-transform: uppercase; }
.card-tag { margin-top: 6px; color: var(--gold); font-weight: 600; font-size: 15px; }
.ticks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 700; color: var(--gold-1); padding: 10px 0; }
.card-cta svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.card-cta:hover svg { transform: translateX(6px); }

/* ---------- шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--line-gold) 10%, var(--line-gold) 90%, transparent); }
}
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font: 800 16px/1 var(--display); color: var(--ink); background: var(--gold-grad); box-shadow: 0 0 0 6px var(--bg-2), 0 8px 24px rgba(232, 184, 74, .35); margin-bottom: 18px; position: relative; }
.step h3 { font-size: 19px; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- горизонтальные ленты (авто и отзывы) ---------- */
.rail-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .rail-nav { display: flex; } }
.arr:disabled { opacity: .35; cursor: default; transform: none; }
.rail {
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 240px; }
.rail-bar i { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--gold-grad); transform-origin: left; transition: transform .15s linear; }

/* карточка машины */
.car {
  margin: 0;
  position: relative; width: min(82vw, 420px); aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s;
}
.car img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.car:hover { border-color: var(--line-gold); }
.car:hover img { transform: scale(1.06); }
.car figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 20px 18px;
  background: linear-gradient(0deg, rgba(7, 11, 18, .92), transparent);
  font-weight: 700; font-size: 17px;
}
.car figcaption:empty { display: none; }
.car button { position: absolute; inset: 0; z-index: 1; }

/* карточка отзыва */
.review {
  width: min(86vw, 400px);
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  position: relative;
}
.review::before { content: "“"; position: absolute; right: 22px; top: 2px; font: 900 110px/1 Georgia, serif; color: rgba(232, 184, 74, .12); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.stars .off { color: rgba(255, 255, 255, .14); }
.review-text { color: var(--text); font-size: 16.5px; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review-text { -webkit-line-clamp: unset; }
.review-more { align-self: flex-start; color: var(--gold-1); font-weight: 600; font-size: 15px; }
.review-foot { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-ph { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex: none; border: 1px solid var(--line-gold); }
.review-ph img { width: 100%; height: 100%; object-fit: cover; }
.review-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 800 18px/1 var(--display); color: var(--ink); background: var(--gold-grad); }
.review-who b { display: block; }
.review-who span { color: var(--dim); font-size: 14px; }

/* ---------- почему мы ---------- */
.why { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.why-i { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.why-i svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 16px; }
.why-i h3 { font-size: 19px; text-transform: uppercase; margin-bottom: 8px; }
.why-i p { color: var(--muted); }

/* ---------- заявка ---------- */
.lead-sec { background: radial-gradient(80% 60% at 80% 40%, rgba(232, 184, 74, .08), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.lead-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .lead-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.direct { margin-top: 30px; display: grid; gap: 14px; }
.direct-i { display: flex; align-items: center; gap: 16px; font: 700 clamp(18px, 4.6vw, 22px)/1.2 var(--body); }
.direct-i small { display: block; font: 500 13px/1.4 var(--body); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.direct-i .round { width: 56px; height: 56px; color: var(--gold); }
.direct-i .round.tg { color: var(--tg); }
.lead-box { padding: 28px 22px; border-radius: 28px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-gold); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
@media (min-width: 720px) { .lead-box { padding: 38px 36px; } }

.form { display: grid; gap: 16px; }
.chips { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 10px; font-weight: 600; color: var(--muted); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 600; transition: all .2s; }
.chips input:checked + span { background: var(--gold-grad); color: var(--ink); border-color: transparent; box-shadow: 0 6px 18px rgba(232, 184, 74, .25); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field i { color: var(--gold); font-style: normal; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border-radius: 14px; border: 1.5px solid var(--line); background: rgba(7, 11, 18, .55);
  color: var(--text); font: 16px/1.4 var(--body);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 184, 74, .14); background: rgba(7, 11, 18, .8); }
.field.is-bad input { border-color: #ff6b5e; box-shadow: 0 0 0 4px rgba(255, 107, 94, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-gold); background: rgba(7, 11, 18, .55); display: grid; place-items: center; cursor: pointer; }
.agree input:checked { background: var(--gold-grad); border-color: transparent; }
.agree input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.agree.is-bad input { border-color: #ff6b5e; }
.agree a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 2px; }
.form-err { color: #ff8a7e; font-weight: 600; }
.form-err a { color: var(--gold-1); text-decoration: underline; }
.form button[type="submit"][aria-busy="true"] { pointer-events: none; opacity: .8; }
.form button[type="submit"][aria-busy="true"] svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-ok { text-align: center; padding: 26px 6px; animation: pop .5s var(--ease); }
.ok-ic { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 0 10px rgba(232, 184, 74, .12), 0 14px 40px rgba(232, 184, 74, .35); }
.ok-ic svg { width: 42px; height: 42px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s var(--ease) forwards; }
.form-ok h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 10px; }
.form-ok p { color: var(--muted); }
.form-ok a { color: var(--gold-1); text-decoration: underline; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- подвал ---------- */
.foot { padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.foot-in { display: grid; gap: 28px; }
.foot-in p { margin-top: 16px; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links a:hover { color: var(--gold-1); }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--dim); }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1.4fr 1fr; } }

/* ---------- плавающая кнопка ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--ink);
  box-shadow: 0 12px 30px rgba(232, 184, 74, .4);
  transition: transform .3s var(--ease), opacity .3s;
}
.fab svg { width: 28px; height: 28px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--gold); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab:hover { transform: scale(1.06); }
.fab.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ---------- окно заявки ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
@media (min-width: 720px) { .modal { place-items: center; padding: 24px; } }
.modal-back { position: absolute; inset: 0; background: rgba(3, 6, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s; }
.modal-box {
  position: relative; width: 100%; max-width: 620px; max-height: 94svh; overflow-y: auto;
  padding: 30px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-gold);
  animation: up .4s var(--ease);
}
@media (min-width: 720px) { .modal-box { border-radius: 28px; padding: 38px 36px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.modal-title { font-size: clamp(24px, 6vw, 32px); text-transform: uppercase; margin: 0 56px 22px 0; }
.modal-x { position: absolute; right: 16px; top: 16px; }
body.is-locked { overflow: hidden; }

/* ---------- просмотр фото ---------- */
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(3, 6, 10, .94); animation: fade .25s; padding: 60px 12px; }
.lb-fig { margin: 0; max-width: min(1200px, 100%); }
.lb-fig img { max-height: 78svh; width: auto; margin: 0 auto; border-radius: 16px; }
.lb-fig figcaption { text-align: center; margin-top: 14px; font-weight: 600; }
.lb-x { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 719px) { .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); translate: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* меньше движения — по желанию системы */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero-a, .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .rb { display: none; }
}
