/* ============================================================
   BOY CARS — design system
   Liquid glass surfaces on a near-black canvas with orange light
   ============================================================ */

:root {
  --orange: #f45b18;
  --orange-soft: #ff8a45;
  --orange-deep: #c93f08;
  --amber: #ffb066;

  --ink: #050506;
  --ink-2: #08080a;
  --ink-3: #0c0c0f;

  --text: #f6f6f4;
  --text-2: rgba(246, 246, 244, .66);
  --text-3: rgba(246, 246, 244, .42);

  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  /* liquid glass */
  --glass-tint: linear-gradient(152deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .028) 42%, rgba(255, 255, 255, .062) 100%);
  --glass-blur: blur(26px) saturate(180%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 -1px 0 rgba(255, 255, 255, .045), inset 1px 0 0 rgba(255, 255, 255, .05), inset -1px 0 0 rgba(255, 255, 255, .05);
  --glass-drop: 0 34px 70px -32px rgba(0, 0, 0, .95), 0 4px 14px -6px rgba(0, 0, 0, .6);

  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: 0; background: none; cursor: pointer; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.04; }
p { margin: 0; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- icons ---------- */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 26px; height: 26px; }
.ico-solid { fill: currentColor; stroke: none; }

/* ---------- ambient background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: radial-gradient(120% 90% at 50% -10%, #101014 0%, var(--ink) 55%); }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.blob-1 { width: 620px; height: 620px; top: -180px; left: -140px; background: rgba(244, 91, 24, .28); animation: drift1 26s ease-in-out infinite; }
.blob-2 { width: 520px; height: 520px; top: 42%; right: -180px; background: rgba(255, 138, 69, .16); animation: drift2 32s ease-in-out infinite; }
.blob-3 { width: 700px; height: 700px; bottom: -260px; left: 32%; background: rgba(90, 60, 200, .12); animation: drift3 38s ease-in-out infinite; }
.bg-mesh { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px); background-size: 88px 88px; mask-image: radial-gradient(85% 65% at 50% 35%, #000 0%, transparent 100%); }
.noise { position: fixed; inset: 0; z-index: 90; opacity: .03; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
@keyframes drift1 { 50% { transform: translate3d(90px, 70px, 0) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate3d(-110px, -60px, 0) scale(1.08); } }
@keyframes drift3 { 50% { transform: translate3d(70px, -90px, 0) scale(.92); } }

/* ---------- liquid glass primitive ---------- */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-lg);
  background: var(--glass-tint);
  background-color: rgba(255, 255, 255, .012);
  border: 1px solid var(--line);
  box-shadow: var(--glass-edge), var(--glass-drop);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
/* specular sheen sweeping the top edge */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 18% -20%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .03) 38%, transparent 70%);
  opacity: .9;
  pointer-events: none;
}
/* cursor-tracked refraction */
.glass-lit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(244, 91, 24, .20), transparent 65%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.glass-lit:hover::after { opacity: 1; }

/* ---------- typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: var(--r-pill); border: 1px solid rgba(244, 91, 24, .34); background: rgba(244, 91, 24, .08); color: var(--amber); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--orange); }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--orange); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.grad-text { background: linear-gradient(96deg, #fff 8%, var(--orange-soft) 58%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { position: relative; padding: clamp(58px, 6.5vw, 96px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .78fr); align-items: end; gap: 40px; margin-bottom: 46px; }
.section-head h2 { margin-top: 18px; font-size: clamp(34px, 4.6vw, 62px); }
.section-head p { color: var(--text-2); font-size: 14px; line-height: 1.8; }

/* ---------- buttons ---------- */
.btn { position: relative; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 26px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; overflow: hidden; transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(140deg, var(--orange-soft), var(--orange) 45%, var(--orange-deep)); box-shadow: 0 14px 34px -12px rgba(244, 91, 24, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover { box-shadow: 0 20px 46px -12px rgba(244, 91, 24, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-glass { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }
.btn-light { color: #101012; background: #fff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8); }
.btn-light:hover { background: #fff; box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .9); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 12px; gap: 8px; }
.btn-block { width: 100%; }
.link-underline { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(244, 91, 24, .55); color: var(--text); font-size: 12px; font-weight: 700; transition: gap .3s var(--ease), border-color .3s var(--ease); }
.link-underline .ico { color: var(--orange); }
.link-underline:hover { gap: 18px; border-color: var(--orange); }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--text); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: .3s var(--ease); }
.icon-btn:hover { background: rgba(244, 91, 24, .16); border-color: rgba(244, 91, 24, .45); color: var(--amber); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; padding: 14px 0; transition: padding .4s var(--ease); }
.nav-shell { display: flex; align-items: center; gap: 22px; height: 68px; padding: 0 10px 0 22px; border-radius: var(--r-pill); background: transparent; border: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.header.is-stuck { padding: 10px 0; }
.header.is-stuck .nav-shell { height: 62px; background: rgba(10, 10, 12, .55); background-image: var(--glass-tint); border-color: var(--line); box-shadow: var(--glass-edge), 0 22px 50px -26px rgba(0, 0, 0, .95); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.brand { display: inline-flex; align-items: baseline; gap: 6px; font-size: 24px; font-weight: 800; letter-spacing: -.06em; line-height: 1; transform: skewX(-8deg); white-space: nowrap; }
.brand b { font-weight: 800; color: var(--orange); text-shadow: 0 0 22px rgba(244, 91, 24, .55); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav a { position: relative; padding: 10px 14px; border-radius: var(--r-pill); color: var(--text-2); font-size: 13px; font-weight: 600; transition: .28s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-side { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-phone { display: flex; align-items: center; gap: 11px; padding: 6px 8px; border-radius: var(--r-pill); transition: .3s var(--ease); }
.nav-phone:hover { background: rgba(255, 255, 255, .06); }
.nav-phone .ico { color: var(--orange); }
.nav-phone i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(244, 91, 24, .35); background: rgba(244, 91, 24, .1); }
.nav-phone span { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.25; }
.nav-phone small { color: var(--text-3); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn { display: none; }
.nav-drawer { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(120px, 15vh, 180px) 0 clamp(56px, 7vw, 84px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform: scale(1.06); animation: heroZoom 18s var(--ease) both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 6%, rgba(5, 5, 6, .82) 42%, rgba(5, 5, 6, .35) 78%), linear-gradient(0deg, var(--ink) 2%, transparent 46%); }
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1.06); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .82fr); gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 18ch; margin: 22px 0 24px; font-size: clamp(42px, 5.4vw, 74px); line-height: 1; }
.hero-copy h1 em { display: block; font-style: normal; color: var(--text); }
.hero-copy > p { max-width: 560px; color: var(--text-2); font-size: 15px; line-height: 1.82; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.metric { padding: 18px; border-radius: var(--r-md); }
.metric strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.04em; }
.metric strong span { color: var(--orange); }
.metric small { display: block; margin-top: 6px; color: var(--text-3); font-size: 10px; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; }

.hero-panel { padding: 26px; border-radius: var(--r-xl); }
.hero-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-panel-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.req-list { display: grid; gap: 10px; }
.req { display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 14px; padding: 15px 16px; border-radius: var(--r-md); border: 1px solid rgba(244, 91, 24, .2); background: linear-gradient(100deg, rgba(244, 91, 24, .14), rgba(255, 255, 255, .02) 70%); transition: .35s var(--ease); }
.req:hover { border-color: rgba(244, 91, 24, .6); background: linear-gradient(100deg, rgba(244, 91, 24, .28), rgba(255, 255, 255, .04) 78%); transform: translateX(4px); }
.req i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: var(--amber); }
.req b { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.req small { display: block; margin-top: 4px; color: var(--text-3); font-size: 11px; line-height: 1.45; }
.req > .ico { color: var(--orange); transition: transform .35s var(--ease); }
.req:hover > .ico { transform: translateX(4px); }
.req-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 10.5px; line-height: 1.7; text-align: center; }
.req-note b { color: var(--amber); font-weight: 700; }

.hero-scroll { display: flex; align-items: center; gap: 14px; margin-top: 46px; color: var(--text-3); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); animation: bob 2.6s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- marquee ---------- */
.strip { position: relative; padding: 20px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.strip::before, .strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.strip::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.strip-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.strip-track span { display: flex; align-items: center; gap: 46px; padding-right: 46px; color: rgba(255, 255, 255, .3); font-size: 19px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.strip-track span i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bento-feature { grid-column: span 2; grid-row: span 2; position: relative; min-height: 480px; padding: 32px; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.bento-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.bento-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 4, 5, .96) 4%, rgba(4, 4, 5, .45) 48%, rgba(4, 4, 5, .12) 100%); }
.bento-feature:hover img { transform: scale(1.06); }
.bento-feature h3 { max-width: 460px; margin: 14px 0 20px; font-size: clamp(26px, 3vw, 38px); }
.bento-feature p { max-width: 430px; margin-bottom: 24px; color: var(--text-2); font-size: 13px; line-height: 1.8; }
.bento-card { display: flex; flex-direction: column; gap: 14px; min-height: 232px; padding: 26px; border-radius: var(--r-lg); transition: transform .45s var(--ease), border-color .45s var(--ease); }
.bento-card:hover { transform: translateY(-6px); border-color: rgba(244, 91, 24, .38); }
.bento-card h3 { font-size: 20px; font-weight: 600; }
.bento-card p { color: var(--text-2); font-size: 12.5px; line-height: 1.75; }
.bento-card .card-top { display: flex; align-items: center; justify-content: space-between; }
.bento-card .card-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: gap .3s var(--ease); }
.bento-card:hover .card-foot { gap: 16px; }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; border: 1px solid rgba(244, 91, 24, .3); background: linear-gradient(150deg, rgba(244, 91, 24, .22), rgba(255, 255, 255, .03)); color: var(--amber); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.card-no { color: var(--text-3); font-size: 10px; font-weight: 700; letter-spacing: .16em; }

/* ---------- catalog ---------- */
.filters { padding: 20px; border-radius: var(--r-lg); margin-bottom: 22px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px 22px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { color: var(--text-3); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.input-wrap { display: flex; align-items: center; gap: 11px; height: 48px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(0, 0, 0, .35); transition: .3s var(--ease); }
.input-wrap:focus-within { border-color: rgba(244, 91, 24, .6); background: rgba(0, 0, 0, .55); box-shadow: 0 0 0 4px rgba(244, 91, 24, .1); }
.input-wrap .ico { color: var(--text-3); }
.input-wrap input, .input-wrap select { width: 100%; border: 0; background: none; outline: 0; font-size: 13px; }
.input-wrap input::placeholder { color: var(--text-3); }
.input-wrap select { appearance: none; cursor: pointer; }
.input-wrap select option { background: #101013; color: var(--text); }
.input-wrap.select-wrap { cursor: pointer; }

.range { display: flex; flex-direction: column; gap: 8px; }
.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.range-head span { color: var(--text-3); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.range-head b { font-size: 13px; font-weight: 700; }
.range-track { position: relative; height: 48px; display: flex; align-items: center; }
.range-track::before { content: ""; position: absolute; left: 0; right: 0; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.range-fill { position: absolute; height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--amber)); box-shadow: 0 0 16px rgba(244, 91, 24, .5); }
.range-track input { position: absolute; left: 0; width: 100%; height: 5px; margin: 0; appearance: none; background: none; pointer-events: none; }
.range-track input::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--orange); box-shadow: 0 4px 14px rgba(0, 0, 0, .6); cursor: grab; transition: transform .2s var(--ease); }
.range-track input::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.range-track input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; background: var(--orange); cursor: grab; }

.filters-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.result-count { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.result-count b { color: var(--orange); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text-2); font-size: 11.5px; font-weight: 600; transition: .3s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .09); }
.chip.is-on { color: #fff; border-color: transparent; background: linear-gradient(140deg, var(--orange-soft), var(--orange)); box-shadow: 0 10px 26px -12px rgba(244, 91, 24, .8); }

.cars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.car { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); animation: cardIn .5s var(--ease) both; }
.car:hover { transform: translateY(-7px); border-color: rgba(244, 91, 24, .4); box-shadow: var(--glass-edge), 0 40px 80px -34px rgba(0, 0, 0, 1), 0 0 60px -30px rgba(244, 91, 24, .5); }
.car-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #14141a; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.car:hover .car-media img { transform: scale(1.07); }
.car-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(6, 6, 8, .8), transparent); pointer-events: none; }
.tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 8, 10, .55); color: var(--text); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.tag-year { left: 14px; top: 14px; }
.tag-live { right: 14px; top: 14px; padding-left: 10px; color: var(--amber); border-color: rgba(244, 91, 24, .4); }
.tag-live .dot-live { width: 7px; height: 7px; }
.car-body { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.car-body h3 { font-size: 19px; font-weight: 600; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.car-specs span { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 11px; }
.car-specs .ico { color: rgba(255, 255, 255, .34); }
.car-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.car-price small { display: block; margin-bottom: 3px; color: var(--text-3); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.car-price strong { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.car-price em { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--r-pill); border: 1px solid rgba(244, 91, 24, .28); background: rgba(244, 91, 24, .1); color: var(--amber); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.car-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.car-actions .btn { min-height: 46px; font-size: 11.5px; }
.car-ghost { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid rgba(244, 91, 24, .3); color: var(--amber); transition: .3s var(--ease); }
.car-ghost:hover { background: rgba(244, 91, 24, .16); border-color: rgba(244, 91, 24, .6); }
.empty { grid-column: 1 / -1; display: grid; place-items: center; gap: 14px; padding: 70px 24px; border-radius: var(--r-lg); text-align: center; color: var(--text-2); font-size: 13px; }
.empty .ico { color: var(--text-3); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.catalog-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-top: 34px; }
.catalog-more p { color: var(--text-2); font-size: 12.5px; }

/* ---------- finance banner ---------- */
.finance { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 42px; align-items: center; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-xl); overflow: hidden; }
.finance::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(244, 91, 24, .22) 100%); pointer-events: none; }
.finance h2 { margin: 16px 0 18px; font-size: clamp(28px, 3.6vw, 46px); }
.finance p { max-width: 520px; color: var(--text-2); font-size: 13.5px; line-height: 1.8; }
.finance-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.finance-points { display: grid; gap: 10px; }
.fin-point { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.fin-point i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(244, 91, 24, .16); color: var(--amber); }
.fin-point b { display: block; font-size: 13px; font-weight: 700; }
.fin-point small { display: block; margin-top: 3px; color: var(--text-3); font-size: 11px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.about-visual { position: relative; }
.about-visual > img { width: 100%; aspect-ratio: 1 / .95; object-fit: cover; border-radius: var(--r-xl); filter: saturate(1.05) brightness(.9); }
.about-frame { position: absolute; inset: -16px -16px 32px 32px; border-radius: var(--r-xl); border: 1px solid rgba(244, 91, 24, .3); z-index: -1; }
.about-badge { position: absolute; right: -14px; bottom: 22px; width: 148px; height: 148px; display: grid; place-items: center; gap: 3px; border-radius: 50%; text-align: center; }
.about-badge .brand { font-size: 19px; }
.about-badge small { color: var(--text-3); font-size: 7.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.about-copy h2 { margin: 18px 0 20px; font-size: clamp(32px, 4.2vw, 56px); }
.about-copy .lead { color: #ececeb; font-size: 17px; line-height: 1.7; }
.about-copy .body { margin-top: 16px; color: var(--text-2); font-size: 13px; line-height: 1.85; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 30px; }
.about-points span { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .035); font-size: 12px; font-weight: 600; }
.about-points .ico { color: var(--orange); }

/* ---------- telegram / social ---------- */
.social-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 14px; }
.tg-hero { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 20px; min-height: 420px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(126deg, var(--orange-deep) 0%, var(--orange) 46%, #ff9c52 100%); border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 40px 90px -40px rgba(244, 91, 24, .8); }
.tg-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(118deg, transparent 0 70px, rgba(255, 255, 255, .05) 70px 71px); }
.tg-hero::after { content: ""; position: absolute; width: 460px; height: 460px; top: -220px; left: 12%; border-radius: 50%; background: #ffd7b8; filter: blur(110px); opacity: .45; }
.tg-hero > * { position: relative; z-index: 2; }
.tg-hero .kicker { color: rgba(255, 255, 255, .8); }
.tg-hero .kicker::before { background: rgba(255, 255, 255, .6); }
.tg-hero h2 { font-size: clamp(30px, 4vw, 52px); color: #fff; }
.tg-hero p { max-width: 460px; color: rgba(255, 255, 255, .82); font-size: 13.5px; line-height: 1.8; }
.tg-hero-icon { position: absolute; z-index: 1; right: -30px; bottom: -40px; color: rgba(255, 255, 255, .14); }
.tg-hero-icon .ico { width: 280px; height: 280px; }
.social-side { display: grid; gap: 14px; }
.social-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-lg); transition: transform .45s var(--ease), border-color .45s var(--ease); }
.social-card:hover { transform: translateY(-5px); border-color: rgba(244, 91, 24, .4); }
.social-card h3 { font-size: 18px; font-weight: 600; }
.social-card p { color: var(--text-2); font-size: 12px; line-height: 1.7; }
.social-card .handle { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--amber); font-size: 12.5px; font-weight: 700; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side h2 { margin: 18px 0 18px; font-size: clamp(32px, 4.2vw, 54px); }
.faq-side p { color: var(--text-2); font-size: 13.5px; line-height: 1.8; }
.faq-side .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); overflow: hidden; transition: border-color .4s var(--ease); }
.faq-item.is-open { border-color: rgba(244, 91, 24, .4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; text-align: left; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.faq-q i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); flex: none; transition: .4s var(--ease); }
.faq-item.is-open .faq-q i { transform: rotate(45deg); border-color: rgba(244, 91, 24, .5); background: rgba(244, 91, 24, .16); color: var(--amber); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .35s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a > div { min-height: 0; overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--text-2); font-size: 13px; line-height: 1.85; }

/* ---------- contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 68px); align-items: center; }
.contact-copy h2 { margin: 18px 0 20px; font-size: clamp(32px, 4.2vw, 56px); }
.contact-copy p { max-width: 480px; margin-bottom: 30px; color: var(--text-2); font-size: 13.5px; line-height: 1.85; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-panel { padding: 12px; border-radius: var(--r-xl); }
.contact-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); transition: .3s var(--ease); }
.contact-row + .contact-row { margin-top: 4px; }
a.contact-row:hover { background: rgba(255, 255, 255, .055); }
.contact-row i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--amber); }
.contact-row small { display: block; margin-bottom: 5px; color: var(--text-3); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.contact-row strong { font-size: 15px; font-weight: 600; line-height: 1.5; }
.contact-row > .ico { color: var(--orange); }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .012); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding: 44px 0; }
.footer-top .brand { font-size: 32px; }
.footer-top p { color: var(--text-3); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.footer-nav a { padding: 9px 14px; border-radius: var(--r-pill); color: var(--text-2); font-size: 12px; font-weight: 600; transition: .3s var(--ease); }
.footer-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 26px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- floating dock ---------- */
.dock { position: fixed; z-index: 55; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: var(--r-pill); }
.dock a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: .3s var(--ease); }
.dock a.is-accent { color: #fff; background: linear-gradient(140deg, var(--orange-soft), var(--orange) 55%, var(--orange-deep)); box-shadow: 0 12px 28px -10px rgba(244, 91, 24, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.dock a:not(.is-accent) { color: var(--text-2); background: rgba(255, 255, 255, .06); }
.dock a:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.dock a:not(.is-accent):hover { background: rgba(255, 255, 255, .14); }

/* ---------- smart bottom banner ---------- */
.smart-bar { position: fixed; z-index: 58; left: 50%; bottom: 20px; width: min(calc(100% - 32px), 620px); transform: translate(-50%, 160%); padding: 16px 18px; border-radius: var(--r-lg); display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; transition: transform .65s var(--ease); }
.smart-bar.is-shown { transform: translate(-50%, 0); }
.smart-bar i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(244, 91, 24, .18); color: var(--amber); }
.smart-bar small { display: block; margin-bottom: 4px; color: var(--amber); font-size: 9.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.smart-bar strong { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.smart-close { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--text-3); transition: .3s var(--ease); }
.smart-close:hover { background: rgba(255, 255, 255, .1); color: var(--text); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 620px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-column: span 2; grid-row: auto; min-height: 400px; }
  .cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .range { grid-column: 1 / -1; }
  .finance { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .social-side { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .contacts-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 18px; }
}

@media (max-width: 980px) {
  /* mobile: без сітки та кольорових плям на фоні — чистий скрол */
  .bg-mesh, .blob { display: none; }
  .bg-layer { background: var(--ink); }
  .noise { display: none; }

  .nav { display: none; }
  .nav-phone, .nav-side > .btn { display: none; }
  .menu-btn { display: grid; }

  /* square, edge-to-edge liquid-glass bar (iOS style) — logo + burger only */
  .header, .header.is-stuck { padding: 0; }
  .header .container { width: 100%; }
  .header { transform: translateZ(0); }
  .header .nav-shell,
  .header.is-stuck .nav-shell {
    height: 70px;
    padding: 0 16px;
    border-radius: 0;
    border-width: 0 0 1px;
    border-color: rgba(255, 255, 255, .14);
    /* кришталеве скло: майже без тіла, приломлення — краями та бліком */
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, .07) 100%),
      radial-gradient(130% 200% at 14% -60%, rgba(255, 255, 255, .1) 0%, transparent 60%),
      rgba(255, 255, 255, .015);
    box-shadow:
      inset 0 .5px 0 rgba(255, 255, 255, .4),
      inset 0 -7px 12px -10px rgba(255, 255, 255, .26),
      0 14px 30px -28px rgba(0, 0, 0, .9);
    -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
    backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
    contain: paint;
    /* на мобільному стан is-stuck візуально ідентичний — прибираємо
       перемальовування blur під час анімації переходу */
    transition: none;
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header .nav-shell,
    .header.is-stuck .nav-shell { background: rgba(10, 10, 12, .82); }
  }
  .nav-shell .brand, .drawer-head .brand { font-size: 27px; letter-spacing: -.03em; gap: 7px; }

  .menu-btn { width: 44px; height: 44px; margin-right: 0; border-radius: var(--r-xs); border-color: transparent; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .burger { width: 30px; height: 16px; display: grid; align-content: space-between; }
  .burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }

  /* full-screen glass drawer, attached to the top edge */
  .nav-drawer {
    position: fixed;
    z-index: 90;
    inset: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0 0 28px;
    border: 0;
    border-radius: 0;
    background: rgba(8, 8, 10, .74);
    background-image: var(--glass-tint);
    box-shadow: none;
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform .5s var(--ease), opacity .3s var(--ease), visibility .5s var(--ease);
  }
  .nav-drawer::before { display: none; }
  .nav-drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .drawer-head { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 16px; border-bottom: 1px solid var(--line); }
  .drawer-close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: 0; color: var(--text); }
  .drawer-close .ico { width: 26px; height: 26px; }
  .drawer-links { display: flex; flex-direction: column; padding: 6px 16px 0; }
  .drawer-links a { display: flex; align-items: center; justify-content: space-between; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
  .drawer-links a .ico { color: var(--orange); }
  .drawer-links a:active { color: var(--amber); }
  .drawer-foot { display: grid; gap: 10px; margin-top: auto; padding: 26px 16px 0; }
  .drawer-meta { margin-top: 4px; color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; }

  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 21px; }
  .hero { padding-top: 116px; }
  /* phone: shorter bg band → менший кроп, авто видно повністю */
  .hero-bg { inset: 0 0 auto; height: 74vh; }
  .hero-bg img { object-position: center 50%; transform: none; animation: none; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(5, 5, 6, .72) 0%, rgba(5, 5, 6, .38) 30%, rgba(5, 5, 6, .72) 70%, var(--ink) 99%); }
  .hero-copy h1 { font-size: clamp(38px, 11.5vw, 60px); }
  .hero-metrics { grid-template-columns: 1fr; }
  .metric { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
  .metric strong { font-size: 22px; }
  .metric small { margin: 0; }
  .hero-actions .btn { width: 100%; }
  .hero-panel { padding: 20px; }
  .req { grid-template-columns: 42px minmax(0, 1fr); }
  .req > .ico { display: none; }
  .req i { width: 42px; height: 42px; }
  .bento { grid-template-columns: 1fr; }
  .bento-feature { grid-column: auto; min-height: 340px; padding: 22px; }
  .cars-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; padding: 16px; }
  .filters-foot { flex-direction: column; align-items: stretch; }
  .catalog-more { flex-direction: column; align-items: stretch; text-align: center; }
  .catalog-more .btn { width: 100%; }
  .social-side { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  /* атрибут height="960" в розмітці не давав спрацювати aspect-ratio — фото сильно кропилось */
  .about-visual > img { height: auto; aspect-ratio: 4 / 3; }
  .about-badge { width: 118px; height: 118px; right: 10px; bottom: -18px; }
  .about-badge .brand { font-size: 15px; }
  .faq-q { padding: 18px; font-size: 14px; }
  .faq-a p { padding: 0 18px 20px; }
  .contact-row { grid-template-columns: 42px minmax(0, 1fr); padding: 14px; }
  .contact-row > .ico { display: none; }
  .contact-row i { width: 42px; height: 42px; }
  .footer-nav { width: 100%; margin-left: 0; }
  .dock { right: 14px; bottom: 90px; }
  .smart-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px; bottom: 14px; }
  .smart-bar i { display: none; }
  .smart-bar .btn { grid-column: 1 / -1; }
}

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

/* graceful fallback where backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass, .nav-shell, .btn-glass, .tag { background-color: rgba(18, 18, 22, .92); }
}
