/* =========================================================================
   Ez Ride Motors — styles.css
   Cinematic matte-graphite + headlight-amber identity
   Display: Space Grotesk · Body: Inter
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #0C0F13;
  --bg-2:      #0F141A;
  --surface:   #151A21;
  --surface-2: #1A212A;
  --hairline:  #262E39;
  --hairline-2:#323C49;

  --text:      #EEF1F5;
  --muted:     #8A96A6;
  --muted-2:   #677383;

  --amber:     #FFB020;
  --amber-hi:  #FFD27A;
  --amber-lo:  #F08A00;
  --steel:     #5B9CFF;

  --ok:        #38D39F;
  --danger:    #FF5C6C;

  --radius:    16px;
  --radius-sm: 11px;
  --radius-lg: 26px;

  --shadow:    0 18px 50px -18px rgba(0,0,0,.7);
  --shadow-amber: 0 16px 44px -16px rgba(255,176,32,.45);

  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(255,176,32,.12), transparent 60%),
    radial-gradient(900px 700px at 10% 110%, rgba(91,156,255,.08), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--amber), transparent); border-radius: 2px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.section-lead { color: var(--muted); max-width: 56ch; margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--amber-hi), var(--amber) 45%, var(--amber-lo));
  color: #1a1206;
  box-shadow: var(--shadow-amber);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 54px -14px rgba(255,176,32,.62); }
.btn--ghost {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--hairline-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-hi); transform: translateY(-2px); background: rgba(255,176,32,.06); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(12,15,19,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px; font-size: .94rem; color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hairline-2); align-items: center; justify-content: center; }
.nav__toggle span { position: relative; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 150px; padding-bottom: clamp(70px, 10vw, 130px); overflow: hidden; }
.hero__beam {
  position: absolute; top: -10%; right: -10%; width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  background: conic-gradient(from 210deg at 70% 30%, rgba(255,176,32,.22), transparent 38%);
  filter: blur(40px); pointer-events: none; z-index: 0;
  animation: beamSweep 12s var(--ease) infinite alternate;
}
@keyframes beamSweep { from { transform: rotate(-6deg) scale(1); opacity: .8; } to { transform: rotate(6deg) scale(1.06); opacity: 1; } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--hairline-2); background: rgba(255,255,255,.03);
  font-size: .84rem; color: var(--muted); margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(56,211,159,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,211,159,.55); } 70% { box-shadow: 0 0 0 9px rgba(56,211,159,0); } 100% { box-shadow: 0 0 0 0 rgba(56,211,159,0); } }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em;
}
.hero h1 .accent { background: linear-gradient(120deg, var(--amber-hi), var(--amber) 55%, var(--amber-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: var(--muted); font-size: 1.15rem; max-width: 50ch; margin: 22px 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text); }
.hero__stat .lbl { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* Hero visual card (night-garage car panel) */
.hero__visual { position: relative; }
.hero__panel {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--hairline); box-shadow: var(--shadow);
  padding: 26px; overflow: hidden;
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(360px 200px at 75% 18%, rgba(255,176,32,.16), transparent 70%);
}
.hero__car { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.55)); }
.hero__chip {
  position: relative; z-index: 1; margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.hero__chip .k { font-size: .76rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.hero__chip .v { font-family: var(--font-display); font-weight: 600; color: var(--text); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: rgba(255,255,255,.012); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.22); color: var(--amber); }
.trust__item .ic svg { width: 22px; height: 22px; }
.trust__item h4 { font-family: var(--font-display); font-size: .98rem; }
.trust__item p { font-size: .84rem; color: var(--muted); }

/* ---------- Inventory ---------- */
.inv__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.inv__controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.field {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 4px 6px 4px 16px;
  transition: border-color .2s var(--ease);
}
.field:focus-within { border-color: var(--amber); }
.field svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.field input, .field select {
  background: transparent; border: none; color: var(--text); font-size: .92rem; padding: 9px 6px; min-width: 150px;
}
.field select { padding-right: 16px; cursor: pointer; }
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; }
.field--select { padding: 0 6px 0 16px; }

.inv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.inv__empty {
  grid-column: 1 / -1; text-align: center; padding: 64px 24px;
  border: 1px dashed var(--hairline-2); border-radius: var(--radius); color: var(--muted);
  background: rgba(255,255,255,.012);
}
.inv__empty h3 { font-family: var(--font-display); color: var(--text); margin-bottom: 8px; }

/* Vehicle card */
.car {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.car:hover { transform: translateY(-6px); border-color: rgba(255,176,32,.42); box-shadow: var(--shadow-amber); }
.car__media { position: relative; aspect-ratio: 16/10; background: var(--bg-2); overflow: hidden; }
.car__media img.main { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car:hover .car__media img.main { transform: scale(1.05); }
.car__price {
  position: absolute; right: 12px; bottom: 12px;
  background: linear-gradient(135deg, var(--amber-hi), var(--amber-lo));
  color: #1a1206; font-family: var(--font-display); font-weight: 700;
  padding: 7px 14px; border-radius: 999px; font-size: 1.02rem; box-shadow: 0 8px 22px -8px rgba(0,0,0,.6);
}
.car__tag {
  position: absolute; left: 12px; top: 12px;
  background: rgba(12,15,19,.72); backdrop-filter: blur(6px);
  border: 1px solid var(--hairline-2); color: var(--text);
  font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.car__count { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 6px; background: rgba(12,15,19,.72); backdrop-filter: blur(6px); border: 1px solid var(--hairline-2); padding: 5px 10px; border-radius: 999px; font-size: .76rem; color: var(--muted); }
.car__count svg { width: 13px; height: 13px; }
.car__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car__title { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; line-height: 1.2; }
.car__title .yr { color: var(--amber); }
.car__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.car__meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--hairline);
  padding: 5px 10px; border-radius: 8px;
}
.car__meta svg { width: 13px; height: 13px; color: var(--muted-2); }
.car__desc { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car__thumbs { display: flex; gap: 7px; }
.car__thumbs img { width: 46px; height: 36px; object-fit: cover; border-radius: 7px; border: 1px solid var(--hairline); cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.car__thumbs img:hover { border-color: var(--amber); transform: translateY(-2px); }
.car__foot { margin-top: auto; display: flex; gap: 10px; padding-top: 4px; }

/* ---------- Vehicle modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5,7,10,.74); backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
.modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 880px; max-height: 90vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); animation: pop .35s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(12,15,19,.7); border: 1px solid var(--hairline-2); display: grid; place-items: center; }
.modal__close:hover { background: var(--danger); border-color: var(--danger); }
.modal__close svg { width: 18px; height: 18px; }
.modal__gallery { background: var(--bg-2); }
.modal__hero { aspect-ratio: 16/9; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__strip { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.modal__strip img { width: 84px; height: 58px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; flex: 0 0 auto; }
.modal__strip img.active { border-color: var(--amber); }
.modal__info { padding: 24px 28px 28px; }
.modal__info h3 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.02em; }
.modal__price { font-family: var(--font-display); font-size: 1.7rem; color: var(--amber); font-weight: 700; margin-top: 4px; }
.modal__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 20px 0; }
.modal__spec { background: rgba(255,255,255,.03); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 12px 14px; }
.modal__spec .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.modal__spec .v { font-family: var(--font-display); font-weight: 600; margin-top: 3px; }
.modal__desc { color: var(--muted); line-height: 1.7; }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Finance CTA ---------- */
.finance { position: relative; }
.finance__card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
}
.finance__card::before { content: ""; position: absolute; top: -30%; left: 30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(255,176,32,.16), transparent); }
.finance__left { position: relative; z-index: 1; padding: clamp(32px, 5vw, 56px); }
.finance__list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.finance__list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.finance__list .ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,176,32,.12); color: var(--amber); }
.finance__list .ic svg { width: 15px; height: 15px; }
.finance__form {
  position: relative; z-index: 1; padding: clamp(32px, 5vw, 56px);
  background: rgba(255,255,255,.02); border-left: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 14px;
}
.finance__form h3 { font-family: var(--font-display); font-size: 1.4rem; }
.input-group { display: flex; flex-direction: column; gap: 7px; }
.input-group label { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
.input-group input, .input-group select, .input-group textarea {
  background: var(--bg-2); border: 1px solid var(--hairline); color: var(--text);
  border-radius: 11px; padding: 12px 14px; font-size: .95rem; transition: border-color .2s var(--ease);
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--amber); }
.form-note { font-size: .8rem; color: var(--muted-2); }
.form-success { display: none; align-items: center; gap: 10px; color: var(--ok); background: rgba(56,211,159,.08); border: 1px solid rgba(56,211,159,.28); padding: 12px 14px; border-radius: 11px; font-size: .9rem; }
.form-success.show { display: flex; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: stretch; }
.contact__panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.contact__line { display: flex; align-items: flex-start; gap: 16px; }
.contact__line .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.22); color: var(--amber); }
.contact__line .ic svg { width: 22px; height: 22px; }
.contact__line .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.contact__line .v { font-family: var(--font-display); font-size: 1.12rem; }
.contact__line a.v:hover { color: var(--amber); }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.contact__hours { margin-top: 6px; border-top: 1px solid var(--hairline); padding-top: 18px; }
.contact__hours .row { display: flex; justify-content: space-between; font-size: .9rem; padding: 4px 0; color: var(--muted); }
.contact__hours .row span:last-child { color: var(--text); }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); min-height: 360px; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); background: var(--bg-2); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer__brand img { height: 42px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 38ch; }
.footer__col h5 { font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: .94rem; padding: 5px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hairline); color: var(--muted-2); font-size: .84rem; }
.footer__bottom a { color: var(--muted-2); }
.footer__bottom a:hover { color: var(--amber); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--surface-2); border: 1px solid var(--hairline-2); color: var(--text);
  padding: 13px 18px; border-radius: 12px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: .92rem;
  animation: toastIn .35s var(--ease);
}
.toast.ok { border-color: rgba(56,211,159,.4); }
.toast.err { border-color: rgba(255,92,108,.45); }
.toast svg { width: 18px; height: 18px; flex: 0 0 auto; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 480px; }
  .finance__card, .contact__grid { grid-template-columns: 1fr; }
  .finance__form { border-left: none; border-top: 1px solid var(--hairline); }
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  .inv__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(12,15,19,.97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    padding: 14px 20px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.is-open .nav__links { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 13px 14px; }
}
@media (max-width: 560px) {
  .inv__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
}

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