/* ==========================================================================
   Falcon Mobile Tire Change Ltd — scroll-film site
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: 'Anton'; src: url('../fonts/anton-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ink:      #08090b;
  --ink-2:    #0d0f13;
  --ink-3:    #14171c;
  --line:     rgba(255, 255, 255, 0.09);
  --line-2:   rgba(255, 255, 255, 0.16);
  --text:     #f2f4f7;
  --muted:    #9aa1ab;
  --amber:    #f5a312;
  --amber-2:  #ffc24a;
  --amber-dim: rgba(245, 163, 18, 0.14);

  --display: 'Anton', 'Barlow Condensed', Impact, sans-serif;
  --cond:    'Barlow Condensed', 'Inter', sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --r: 14px;

  /* height of the sticky mobile call bar — pinned overlays clear it */
  --bar-h: 0px;
}
@media (max-width: 760px) {
  :root { --bar-h: calc(66px + env(safe-area-inset-bottom)); }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--amber);
}
.lede { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 62ch; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--amber);
  --fg: #17130a;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 10px 30px -12px rgba(245, 163, 18, 0.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(245, 163, 18, 0.9); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --bg: transparent; --fg: var(--text);
  border-color: var(--line-2);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); box-shadow: none; }
.btn svg { width: 17px; height: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 14px var(--pad);
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 9px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 52px; width: auto; transition: height .3s ease; }
.nav.scrolled .nav-brand img { height: 42px; }
.nav-brand b {
  font-family: var(--cond); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 15px; line-height: 1.15;
}
.nav-brand b span { display: block; font-size: 10.5px; color: var(--amber); letter-spacing: 0.2em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 14px; color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-brand b { display: none; } }

/* ---------- scroll stage (frame sequence) ---------- */
.stage { position: relative; }
.stage-sticky {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.stage-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity .7s ease;
}
.stage-canvas.ready { opacity: 1; }
.stage-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(8,9,11,.92) 0%, rgba(8,9,11,.55) 42%, rgba(8,9,11,.12) 72%, rgba(8,9,11,.5) 100%),
    linear-gradient(to top, rgba(8,9,11,.95) 0%, rgba(8,9,11,0) 42%);
}
.stage-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}
.stage-overlay { position: absolute; inset: 0; display: flex; align-items: center; }
.stage-overlay .wrap { width: 100%; }

/* progress rail */
.rail {
  position: absolute; right: clamp(14px, 2.4vw, 34px); top: 50%;
  transform: translateY(-50%);
  width: 2px; height: min(46vh, 380px);
  background: rgba(255,255,255,.14);
  border-radius: 2px; overflow: hidden;
}
.rail i { position: absolute; inset: 0 0 auto 0; height: 0%; background: linear-gradient(var(--amber-2), var(--amber)); transition: height .12s linear; }
@media (max-width: 700px) { .rail { display: none; } }

/* ---------- hero copy ---------- */
.hero-copy { max-width: 720px; transition: opacity .5s ease, transform .5s ease; }
.hero-copy h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(52px, 10.5vw, 148px);
  line-height: 0.86; letter-spacing: -0.015em;
  margin: 14px 0 0;
  text-shadow: 0 22px 60px rgba(0,0,0,.6);
}
.hero-copy h1 em { font-style: normal; color: var(--amber); }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 1.9vw, 21px); color: #d5d9df; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 28px;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13.5px; color: #c8ced6;
  opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease;
}
.hero-trust.on { opacity: 1; transform: none; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 12px var(--amber);
}
/* phones: the call button lives in the nav and in the sticky bottom bar, so the
   hero repeats itself — drop the in-hero CTAs and let the copy breathe. */
@media (max-width: 860px) {
  .hero-actions { display: none; }
  .hero-trust {
    margin-top: 24px; gap: 9px 20px;
    font-size: 12px; letter-spacing: .1em;
    opacity: 1; transform: none;   /* in flow now — no reason to hold it back */
  }
}
@media (max-width: 420px) {
  .hero-trust { font-size: 11.5px; gap: 8px 16px; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 7px;
  font-family: var(--cond); letter-spacing: 0.3em; font-size: 11.5px;
  text-transform: uppercase; color: rgba(255,255,255,.62);
  transition: opacity .4s ease;
}
.scroll-hint i {
  width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.5), transparent);
  animation: drop 1.9s ease-in-out infinite;
}
@keyframes drop { 0%,100% { transform: scaleY(.4); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }
.dim { opacity: 0; transform: translateY(-18px); pointer-events: none; }
.gone { opacity: 0 !important; }

/* ---------- pinned build heading (stage 1 tail) ---------- */
.stage-head {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; opacity: 0; transition: opacity .45s ease;
  pointer-events: none;
}
.stage-head.on { opacity: 1; }
.stage-head h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(34px, 6.4vw, 92px); line-height: .95;
}
.stage-head p { margin-top: 14px; color: var(--muted); }

/* ---------- section chrome ---------- */
.section { position: relative; padding: clamp(78px, 11vw, 160px) 0; }
.section--tight { padding-block: clamp(56px, 8vw, 112px); }
.section-head { max-width: 780px; }
.section-head h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(34px, 5.6vw, 76px); line-height: .94; margin: 12px 0 0;
}
.section-head .lede { margin-top: 18px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- process (pinned video) ---------- */
.process-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000;
}
.process-sticky video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .92;
}
.process-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,9,11,.96) 4%, rgba(8,9,11,.25) 55%, rgba(8,9,11,.75) 100%);
}
.steps {
  position: absolute; left: 0; right: 0;
  bottom: calc(clamp(28px, 6vh, 76px) + var(--bar-h));
}
.steps ol {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.step {
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(13, 15, 19, 0.62);
  backdrop-filter: blur(10px);
  padding: 18px 18px 20px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s ease, transform .5s ease, border-color .5s ease, background .5s ease;
}
.step.on { opacity: 1; transform: none; }
.step.active { border-color: rgba(245,163,18,.55); background: rgba(24,19,8,.72); }
.step b {
  font-family: var(--display); font-size: 13px; letter-spacing: .18em;
  color: var(--amber); display: block;
}
.step h3 {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: clamp(17px, 1.7vw, 21px); margin: 8px 0 6px;
}
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) {
  .steps ol { grid-template-columns: repeat(2, 1fr); }
  .step p { display: none; }
}

/* ---------- wheel stage callouts ---------- */
.callout-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.callout-svg.on { opacity: 1; }
.callout-svg line { stroke: var(--amber); stroke-width: 1.4; }
.callout-svg circle.ring { fill: none; stroke: var(--amber); stroke-width: 1.4; }
.callout-svg circle.dot { fill: var(--amber); }

.spec-card {
  position: absolute; left: clamp(20px, 5vw, 72px); top: 50%;
  transform: translateY(-50%) translateX(-14px);
  width: min(360px, 74vw);
  border: 1px solid var(--line); border-left: 2px solid var(--amber);
  border-radius: 4px 14px 14px 4px;
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(12px);
  padding: 20px 22px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.spec-card.active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.spec-card b { font-family: var(--display); font-size: 12.5px; letter-spacing: .2em; color: var(--amber); }
.spec-card h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 25px; letter-spacing: .03em; margin: 7px 0 8px; }
.spec-card p { color: var(--muted); font-size: 15px; }

.meter { position: absolute; right: clamp(18px, 4vw, 60px); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; opacity: 0; transition: opacity .35s ease; }
.meter.on { opacity: 1; }
.meter i { display: block; width: 3px; height: 34px; border-radius: 3px; background: rgba(255,255,255,.16); transition: background .3s ease, box-shadow .3s ease; }
.meter i.filled { background: var(--amber); box-shadow: 0 0 14px rgba(245,163,18,.65); }
@media (max-width: 760px) {
  .spec-card {
    left: 50%; top: auto; bottom: calc(26px + var(--bar-h));
    transform: translate(-50%, 14px); width: min(420px, 88vw);
  }
  .spec-card.active { transform: translate(-50%, 0); }
  .meter { display: none; }
}

/* ---------- service cards ---------- */
@property --beam-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px;
  perspective: 1400px;
}
/* the commercial card runs the full width under the other three */
.card--wide { grid-column: 1 / -1; }
.card--wide ul { grid-template-columns: repeat(2, minmax(220px, 1fr)); display: grid; }
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: 1fr; }
  .card--wide ul { grid-template-columns: 1fr; }
}

.card-tag {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: 11px; color: var(--amber);
  padding: 6px 12px; border: 1px solid rgba(245,163,18,.4); border-radius: 100px;
  background: rgba(245,163,18,.08);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.card--wide:hover .card-tag { background: var(--amber); color: #14100a; border-color: var(--amber); }

.card {
  --mx: 50%; --my: 50%;      /* pointer position, set from JS */
  --rx: 0deg; --ry: 0deg;    /* tilt */
  --lift: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, var(--ink-2), #0a0c0f);
  padding: 30px 28px 32px;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), border-color .35s ease,
              box-shadow .45s ease, background .35s ease;
  will-change: transform;
}
.card.tracking { transition-duration: .1s, .35s, .45s, .35s; }
.card:hover {
  --lift: -8px;
  border-color: rgba(245,163,18,.45);
  background: linear-gradient(180deg, #14161b, #0b0d11);
  box-shadow: 0 36px 80px -44px rgba(245,163,18,.6), 0 0 0 1px rgba(245,163,18,.07) inset;
}

/* pointer-tracked spotlight */
.card-glow {
  position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(245,163,18,.17), transparent 62%),
    radial-gradient(180px circle at var(--mx) var(--my), rgba(255,194,74,.12), transparent 70%);
}
.card:hover .card-glow { opacity: 1; }

/* a light runs the border once you're on the card */
.card-beam {
  position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: conic-gradient(from var(--beam-a),
    transparent 0 62%,
    rgba(245,163,18,.85) 74%,
    rgba(255,214,140,.95) 79%,
    rgba(245,163,18,.4) 84%,
    transparent 92% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.card:hover .card-beam { opacity: 1; animation: beam-run 2.6s linear infinite; }
@keyframes beam-run { to { --beam-a: 360deg; } }

/* top edge light */
.card::after {
  content: ''; position: absolute; inset: -1px -1px auto -1px; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0; transform: scaleX(.4); transform-origin: center;
  transition: opacity .35s ease, transform .55s cubic-bezier(.2,.7,.3,1);
}
.card:hover::after { opacity: 1; transform: scaleX(1); }

.card > *:not(.card-glow):not(.card-beam):not(.card-tag) { position: relative; z-index: 2; }

.card h3 {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  font-size: 27px; letter-spacing: .03em; margin-bottom: 10px;
  transition: color .3s ease, transform .45s cubic-bezier(.2,.7,.3,1);
}
.card:hover h3 { color: var(--amber-2); transform: translateZ(24px); }
.card p { color: var(--muted); font-size: 15.5px; transition: color .3s ease; }
.card:hover p { color: #c2c8d0; }

.card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.card li {
  display: flex; gap: 10px; font-size: 15px; color: #9aa1ab;
  transform: translateX(-4px); opacity: .75;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), opacity .4s ease, color .3s ease;
}
.card:hover li {
  transform: none; opacity: 1; color: #d3d8de;
  transition-delay: calc(var(--n, 1) * 45ms);
}
.card li::before {
  content: ''; flex: none; margin-top: 8px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,163,18,.5); transition: box-shadow .4s ease;
}
.card:hover li::before { box-shadow: 0 0 10px 1px rgba(245,163,18,.55); }

.card .price {
  font-family: var(--display); font-size: 15px; letter-spacing: .12em;
  color: var(--amber); margin-top: 22px; display: inline-block;
  padding-bottom: 4px; background-image: linear-gradient(90deg, var(--amber), var(--amber-2));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1.5px;
  transition: background-size .5s cubic-bezier(.2,.7,.3,1), transform .45s ease;
}
.card:hover .price { background-size: 100% 1.5px; transform: translateZ(16px); }

/* a one-pass shine crosses the card as the pointer lands */
.card::before {
  content: ''; position: absolute; inset: -40% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.07) 50%, transparent 58%);
  transform: translateX(-60%); opacity: 0;
}
.card:hover::before { animation: card-shine .95s cubic-bezier(.3,.6,.3,1); }
@keyframes card-shine {
  0%   { transform: translateX(-60%); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translateX(60%); opacity: 0; }
}

/* icons sit in a chip that fills with amber — each one moves its own way */
.card-ico {
  width: 54px; height: 54px; margin-bottom: 20px; padding: 11px;
  color: var(--amber); border: 1px solid rgba(245,163,18,.28); border-radius: 13px;
  background: rgba(245,163,18,.06);
  transition: transform .55s cubic-bezier(.2,.7,.3,1), background .4s ease,
              border-color .4s ease, color .35s ease, box-shadow .45s ease;
}
.card-ico svg { width: 100%; height: 100%; overflow: visible; }
.card:hover .card-ico {
  transform: translateZ(34px) rotate(-4deg);
  background: var(--amber); border-color: var(--amber-2); color: #14100a;
  box-shadow: 0 12px 30px -12px rgba(245,163,18,.9);
}
.card[data-ico="tire"]:hover .card-ico svg   { animation: spin-ico 1.4s cubic-bezier(.35,0,.2,1); }
.card[data-ico="wrench"]:hover .card-ico svg { animation: wrench-ico 1s ease-in-out; }
.card[data-ico="stack"]:hover .card-ico svg  { animation: bob-ico 1.1s ease-in-out; }
.card[data-ico="truck"]:hover .card-ico svg  { animation: roll-ico 1.1s cubic-bezier(.3,.7,.3,1); }
@keyframes spin-ico   { to { transform: rotate(360deg); } }
@keyframes wrench-ico { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-22deg); } 65% { transform: rotate(10deg); } }
@keyframes bob-ico    { 0%,100% { transform: translateY(0); } 35% { transform: translateY(-7px) scale(1.06); } }
@keyframes roll-ico   { 0% { transform: translateX(-34%); } 60% { transform: translateX(6%); } 100% { transform: translateX(0); } }

/* staggered entrance for the row */
.grid-3 .card.reveal { transform: rotateX(7deg) translate3d(0, 30px, 0); }
/* the per-card entrance delay is set from JS — a `transition` shorthand here
   would reset it, and baking it in would slow the hover transitions too */
.grid-3 .card.reveal.shown { transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0); }
.grid-3 .card.shown {
  transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .5s ease,
              border-color .35s ease, box-shadow .45s ease, background .35s ease;
}
/* while the pointer is being tracked the tilt must follow it with no easing */
.grid-3 .card.tracking { transition-property: border-color, box-shadow, background; }

/* touch: no hover, so whichever card is centred in the viewport lights up */
@media (hover: none) {
  .card:hover { --lift: 0px; }
  .card li { transform: none; opacity: 1; color: #c9ced6; }

  .card.spotlight {
    --lift: -4px;
    border-color: rgba(245,163,18,.42);
    background: linear-gradient(180deg, #14161b, #0b0d11);
    box-shadow: 0 30px 70px -46px rgba(245,163,18,.6);
  }
  .card.spotlight .card-glow { opacity: .85; }
  .card.spotlight h3 { color: var(--amber-2); }
  .card.spotlight li { color: #d3d8de; }
  .card.spotlight li::before { box-shadow: 0 0 10px 1px rgba(245,163,18,.55); }
  .card.spotlight .card-ico {
    background: var(--amber); border-color: var(--amber-2); color: #14100a;
    box-shadow: 0 12px 30px -14px rgba(245,163,18,.9);
  }
  .card.spotlight .price { background-size: 100% 1.5px; }
  .card.spotlight::after { opacity: 1; transform: scaleX(1); }
}

/* ---------- commercial / fleet ---------- */
.fleet {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
@media (max-width: 980px) { .fleet { grid-template-columns: 1fr; } }

.fleet-media { position: relative; margin: 0; padding-bottom: clamp(46px, 7vw, 74px); }
.fleet-media > img:first-child {
  width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 50px 110px -60px rgba(245,163,18,.5);
}
.fleet-inset {
  position: absolute; right: clamp(-10px, -1vw, 0px); bottom: 0;
  width: clamp(150px, 34%, 250px); height: auto;
  border-radius: 14px; border: 1px solid rgba(245,163,18,.35);
  box-shadow: 0 30px 60px -30px #000, 0 0 0 6px rgba(8,9,11,.9);
}
@media (max-width: 560px) { .fleet-inset { width: 42%; right: 0; } }

.fleet-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 2px; }
.fleet-list li {
  display: grid; gap: 3px;
  padding: 16px 18px; border-left: 2px solid var(--line);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.fleet-list li:hover {
  border-left-color: var(--amber);
  background: linear-gradient(90deg, rgba(245,163,18,.07), transparent 70%);
  transform: translateX(3px);
}
.fleet-list b {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 17px;
}
.fleet-list span { color: var(--muted); font-size: 15px; }
.fleet-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* ---------- coverage map ---------- */
.coverage-head {
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 60px); align-items: end;
}
@media (max-width: 900px) { .coverage-head { grid-template-columns: 1fr; } }

.mapwrap {
  position: relative; margin: clamp(30px, 5vw, 56px) 0 0;
  aspect-ratio: 7 / 6;
  border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; isolation: isolate;
  background: #0a0d14;
  box-shadow: 0 40px 120px -60px rgba(245, 163, 18, .45), inset 0 0 0 1px rgba(255,255,255,.02);
}
@media (min-width: 1000px) { .mapwrap { aspect-ratio: 5 / 4; } }
@media (min-width: 1240px) { .mapwrap { aspect-ratio: 1.34; } }

/* the map "plane" keeps the tiles' own 7:6 ratio so every marker percentage
   stays true to its real coordinates; the wrapper just crops it. */
.map-plane {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 100%; aspect-ratio: 7 / 6;
}
.map-base {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; opacity: .95;
}
.map-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 50%, transparent 32%, rgba(8, 9, 11, .55) 72%, rgba(8, 9, 11, .96) 100%),
    linear-gradient(to top, rgba(8,9,11,.7), transparent 38%);
}
.map-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-ink .ring-solid {
  fill: none; stroke: var(--amber); stroke-width: 1.6;
  filter: drop-shadow(0 0 10px rgba(245,163,18,.75));
}
.map-ink .ring-dash {
  fill: none; stroke: rgba(245,163,18,.45); stroke-width: 1; stroke-dasharray: 3 10;
  transform-origin: 358.7px 348.6px; animation: spin 90s linear infinite;
}
.map-ink .ring-inner { fill: none; stroke: rgba(245,163,18,.22); stroke-width: 1; stroke-dasharray: 2 7; }
.map-ink .spokes path { stroke: rgba(245,163,18,.14); stroke-width: 1; }
.map-ink .hq { fill: var(--amber); }
.map-ink .hq-pulse {
  fill: none; stroke: var(--amber); stroke-width: 1.4;
  transform-origin: 358.7px 348.6px; animation: hqping 3.4s ease-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hqping {
  0%   { transform: scale(.5); opacity: .9; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* town markers */
.mk {
  position: absolute; transform: translate(10px, -50%);
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .13em; font-size: clamp(9.5px, 1vw, 12.5px); font-style: normal;
  color: #e7eaee; white-space: nowrap; pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.8);
}
.mk i {
  width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.85); box-shadow: 0 0 8px rgba(255,255,255,.5);
}
.mk--left { transform: translate(calc(-100% - 10px), -50%); flex-direction: row-reverse; }
.mk--dot { gap: 0; }
.mk--dot i { background: rgba(255,255,255,.55); }
.mk--hq {
  transform: translate(-50%, calc(-100% - 30px));
  color: var(--amber); font-weight: 700; letter-spacing: .18em;
  font-size: clamp(10.5px, 1.15vw, 14px);
  text-shadow: 0 2px 14px rgba(0,0,0,1);
}
.mk--hq i { display: none; }

/* slow radar sweep, clipped to the coverage ring */
.map-sweep {
  position: absolute; left: 51.24%; top: 58.10%;
  width: 61.44%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%; overflow: hidden;
  pointer-events: none;
}
.map-sweep::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(245, 163, 18, .17) 0deg,
    rgba(245, 163, 18, .06) 16deg,
    rgba(245, 163, 18, 0) 52deg,
    rgba(245, 163, 18, 0) 360deg);
  animation: spin 11s linear infinite;
}

.map-badge {
  position: absolute; left: clamp(14px, 2.5vw, 26px); top: clamp(14px, 2.5vw, 26px);
  display: grid; gap: 2px;
  padding: 13px 18px; border-radius: 12px;
  background: rgba(8, 9, 11, .72); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em;
  font-size: 11.5px; color: var(--muted);
}
.map-badge b {
  font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: .02em; color: var(--amber); line-height: 1;
}
.map-scale {
  position: absolute; left: clamp(14px, 2.5vw, 26px); bottom: clamp(30px, 4vw, 42px);
  display: flex; align-items: center; gap: 9px;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; color: rgba(255,255,255,.6);
}
.map-scale i {
  display: block; width: clamp(38px, 7.7vw, 108px); height: 1px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 -3px 0 -2px rgba(255,255,255,.55), 0 3px 0 -2px rgba(255,255,255,.55);
}
.map-credit {
  position: absolute; right: 12px; bottom: 9px;
  font-size: 10.5px; letter-spacing: .04em; color: rgba(255,255,255,.34);
}
@media (max-width: 700px) {
  .mk { font-size: 9px; letter-spacing: .08em; }
  .mk--dot, .mk--minor, .mk--tight { display: none; }   /* these would collide at this size */
  .map-credit { font-size: 9px; }
}

.coverage-foot { margin-top: clamp(26px, 4vw, 40px); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 15px; font-family: var(--cond); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: #cfd4db;
  transition: border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--ink-2); padding: 30px 26px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(32px, 4.4vw, 56px); color: var(--text); line-height: 1; }
.stat b i { font-style: normal; color: var(--amber); }
.stat span { display: block; margin-top: 9px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; color: var(--muted); }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .book { grid-template-columns: 1fr; } }
@property --rail-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.form {
  position: relative; isolation: isolate;
  border: 1px solid var(--line); border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(245,163,18,.055), transparent 60%),
    linear-gradient(180deg, #101318, #0a0c10);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 90px -60px rgba(245,163,18,.5);
}
/* a light runs the border, continuously — the "rail" */
.form-rail {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--rail-a),
    rgba(245,163,18,0) 0deg,
    rgba(245,163,18,.14) 170deg,
    rgba(245,163,18,.75) 245deg,
    rgba(255,222,160,1) 285deg,
    rgba(255,255,255,.95) 296deg,
    rgba(245,163,18,.7) 315deg,
    rgba(245,163,18,.12) 345deg,
    rgba(245,163,18,0) 360deg);
  filter: drop-shadow(0 0 7px rgba(245,163,18,.65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: rail-run 6s linear infinite;
}
@keyframes rail-run { to { --rail-a: 360deg; } }

/* header + progress through the required fields */
.form-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.form-head-title {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: 13px; color: #fff;
}
.form-steps { display: flex; align-items: center; gap: 10px; }
.form-steps b {
  font-family: var(--display); font-size: 13px; letter-spacing: .12em;
  color: var(--muted); transition: color .3s ease;
}
.form-steps i { display: block; width: 62px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.form-steps em {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  box-shadow: 0 0 10px rgba(245,163,18,.7);
  transition: width .45s cubic-bezier(.2,.7,.3,1);
}
.form.ready .form-steps b { color: var(--amber); }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; color: #e6eaef;
  transition: color .25s ease;
}
.field label .req, .field label .opt {
  font-family: var(--body); font-weight: 500; text-transform: none;
  letter-spacing: 0; font-size: 11px; padding: 2px 8px; border-radius: 100px;
}
.field label .req { color: var(--amber); background: rgba(245,163,18,.12); }
.field label .opt { color: #6f767f; background: rgba(255,255,255,.045); }
.field.done label .req { color: #7bd88f; background: rgba(123,216,143,.14); }

.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px;
  background: #0b0e13; border: 1px solid rgba(255,255,255,.13); border-radius: 12px;
  color: var(--text); font-size: 16px;   /* 16px keeps iOS from zooming on focus */
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #666d77; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.24); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #0e1218;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,163,18,.18), 0 10px 30px -20px rgba(245,163,18,.9);
}
.field:focus-within label { color: var(--amber); }
/* a filled required field keeps a quiet green edge so progress is visible */
.field.done input, .field.done select, .field.done textarea { border-color: rgba(123,216,143,.42); }
.field.done:focus-within input, .field.done:focus-within textarea { border-color: var(--amber); }

.field select {
  appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5a312' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; transition: color .25s ease; }
.form-note.warn { color: var(--amber); }

/* a field the visitor still has to fill in */
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .13);
}
.field.invalid label { color: #f08a8d; }

/* WhatsApp — brand stays amber, the icon and accents carry the channel */
.btn--wa svg { width: 19px; height: 19px; }
.contact-row--wa svg { color: #25d366; }
.contact-row--wa:hover { border-color: rgba(37, 211, 102, .5); }
.callbar .btn--wa { border-color: rgba(37, 211, 102, .45); }
.callbar .btn--wa:hover { border-color: #25d366; color: #25d366; }

.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2);
  padding: 18px 20px; transition: border-color .2s ease, transform .2s ease;
}
.contact-row:hover { border-color: rgba(245,163,18,.45); transform: translateX(3px); }
.contact-row svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.contact-row span { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; color: var(--muted); }
.contact-row b { font-size: 19px; font-weight: 600; letter-spacing: .01em; }

/* ---------- footer ---------- */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #0e1015 0%, #06070a 62%);
  padding: clamp(56px, 8vw, 96px) 0 30px;
}
.footer::before {   /* amber hairline along the top edge */
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,163,18,.55), transparent);
}
.footer::after {    /* soft amber wash behind the closing CTA */
  content: ''; position: absolute; left: 50%; top: -40%; z-index: -1;
  width: min(1100px, 130vw); aspect-ratio: 2 / 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(245,163,18,.13), transparent 72%);
  pointer-events: none;
}
/* oversized wordmark bleeding off the bottom */
.footer-wordmark {
  position: absolute; left: 50%; bottom: -.28em; z-index: -1;
  transform: translateX(-50%);
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(100px, 20vw, 300px); line-height: .8; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.032);
  white-space: nowrap; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
}

/* closing call to action */
.footer-cta {
  display: flex; flex-wrap: wrap; gap: 26px 40px;
  align-items: flex-end; justify-content: space-between;
  padding-bottom: clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}
.footer-cta h2 { font-size: clamp(38px, 6vw, 84px); margin-top: 12px; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* columns */
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(38px, 5vw, 58px) 0;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

.footer-brand img { height: 96px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 38ch; color: var(--muted); font-size: 15px; }
.footer-badge {
  display: inline-block; margin-top: 18px; padding: 7px 14px;
  border: 1px solid rgba(245,163,18,.32); border-radius: 100px;
  background: rgba(245,163,18,.07);
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: 11.5px; color: var(--amber);
}

.footer-col { display: grid; align-content: start; gap: 11px; }
.footer-col h3 {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: 12px; color: #fff;
  padding-bottom: 12px; margin-bottom: 3px;
  border-bottom: 1px solid var(--line);
}
.footer-col a {
  position: relative; width: fit-content;
  font-size: 14.5px; color: var(--muted);
  transition: color .25s ease, transform .25s ease, padding-left .25s ease;
}
.footer-col a::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px;
  background: var(--amber); transform: translateY(-50%);
  transition: width .25s ease;
}
.footer-col a:hover { color: var(--text); padding-left: 16px; }
.footer-col a:hover::before { width: 10px; }

.footer-contact a, .footer-area {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; color: var(--muted);
}
.footer-contact a::before { display: none; }
.footer-contact a:hover { padding-left: 0; transform: translateX(3px); color: var(--text); }
.footer-contact svg, .footer-area svg { width: 17px; height: 17px; flex: none; color: var(--amber); }
.footer-contact .is-wa svg { color: #25d366; }
.footer-area { color: #7d848d; }

.footer-bottom {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: #6d747d;
}
.footer-tag {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .22em;
  color: var(--amber); font-size: 12px;
}

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8,9,11,.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; justify-content: center; padding: 13px 16px; font-size: 15px; }
@media (max-width: 760px) { .callbar { display: flex; } body { padding-bottom: 68px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,.7,.3,1), transform .7s cubic-bezier(.22,.7,.3,1); }
.reveal.shown { opacity: 1; transform: none; }

/* ---------- reduced motion / no-JS fallbacks ---------- */
.static-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage { height: auto !important; }
  .stage-sticky { position: relative; height: auto; }
  .stage-canvas { display: none; }
  .static-fallback { display: block; }
  .reveal { opacity: 1; transform: none; }
  .ping { animation: none; }
  .scroll-hint i { animation: none; }
  .grid-3 .card.reveal { transform: none; }
  .card, .card-ico, .card li, .card h3, .card .price { transition: none; }
  .card:hover::before, .card:hover .card-beam, .card:hover .card-ico svg { animation: none; }
  .card:hover { --lift: 0px; --rx: 0deg; --ry: 0deg; }
  .map-sweep::before, .map-ink .ring-dash, .map-ink .hq-pulse { animation: none; }
  .form-rail { animation: none; opacity: .5; }
  .form-steps em { transition: none; }
}
