/* ===================================================================
   Speed Courier & Logistics — Version 3
   Dark-first theming (default dark) + light override · brand #FC2E00
   =================================================================== */

:root {
  color-scheme: dark;
  --brand: #fc2e00;
  --brand-2: #ff7a3a;
  --brand-grad: linear-gradient(100deg, #fc2e00, #ff7a2a);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --radius: 22px;
  --max: 1220px;

  /* ---- DARK (default) ---- */
  --bg: #08090d;
  --bg-2: #0e1017;
  --surface: #14161e;
  --surface-2: #1a1d27;
  --card: #12141b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f1f3f9;
  --ink-2: #c7cdda;
  --muted: #8a93a6;
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  --grid-line: rgba(255, 255, 255, 0.05);
  --dots: rgba(255, 255, 255, 0.06);
  --logo-filter: none;
  --glow-blend: screen;
  --nav-bg: rgba(8, 9, 13, 0.72);
  --hero-bg:
    radial-gradient(1100px 720px at 76% -5%, rgba(252, 46, 0, 0.16), transparent 58%),
    radial-gradient(900px 620px at 4% 108%, rgba(70, 100, 200, 0.14), transparent 55%),
    linear-gradient(180deg, #0b0c12 0%, #08090d 70%);
  --card-hover: #171a23;
}

html.light {
  color-scheme: light;
  --bg: #eef1f7;            /* soft off-white so white cards stand out */
  --bg-2: #e4e8f1;         /* deeper for bands (stats bar, footer) */
  --surface: #ffffff;
  --surface-2: #eaeef5;
  --card: #ffffff;
  --line: #dde2ec;         /* visible but soft borders */
  --line-2: #c5cdda;       /* stronger dividers / outlines */
  --text: #0e1118;
  --ink-2: #38414e;
  --muted: #5c6675;
  --shadow: 0 18px 42px -22px rgba(16, 20, 45, 0.22);
  --grid-line: rgba(16, 20, 45, 0.05);
  --dots: rgba(16, 20, 45, 0.07);
  --logo-filter: brightness(0);
  --glow-blend: multiply;
  --nav-bg: rgba(255, 255, 255, 0.86);
  --hero-bg:
    radial-gradient(1100px 680px at 74% 4%, #ffe6d8, rgba(255, 230, 216, 0) 60%),
    radial-gradient(900px 620px at 8% 104%, #e4ebf9, rgba(228, 235, 249, 0) 55%),
    linear-gradient(180deg, #f3f6fb 0%, #edf1f8 55%, #e7ecf4 100%);
  --card-hover: #f7f9fc;
}

/* ===== Light-theme polish — depth + visible outlines (cards are white on off-white) ===== */
html.light .btn-ghost { border-color: var(--line-2); }
html.light .btn-ghost:hover { border-color: var(--brand); background: #fff; }
html.light .svc,
html.light .about-card,
html.light .step,
html.light .branch,
html.light .stat-card,
html.light .info-card,
html.light .faq-item,
html.light .app-badge,
html.light .card-surface { box-shadow: 0 6px 20px -12px rgba(16, 20, 45, 0.16); }
html.light .svc:hover,
html.light .about-card:hover,
html.light .step:hover,
html.light .branch:hover { box-shadow: 0 0 0 1px rgba(252,46,0,.28), 0 18px 40px -20px rgba(16,20,45,.22); }
html.light .float-chip,
html.light .hero-badge,
html.light .contact-form-card { box-shadow: 0 14px 34px -16px rgba(16, 20, 45, 0.22); }
html.light .svc-tags span,
html.light .community-badges span { background: #fff; }
html.light .fm-track span { -webkit-text-stroke-color: var(--line-2); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
}
h1, h2, h3, h4, h5 { font-family: "Sora", sans-serif; line-height: 1.06; letter-spacing: -0.025em; color: var(--text); }
a { color: inherit; text-decoration: none; }
.accent { color: var(--brand); }
::selection { background: var(--brand); color: #fff; }

/* ===== Progress + cursor glow ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: var(--brand-grad); box-shadow: 0 0 14px rgba(252,46,0,.6); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; z-index: 1; pointer-events: none; background: radial-gradient(circle, rgba(252,46,0,.16), transparent 62%); mix-blend-mode: var(--glow-blend); opacity: 0; transition: opacity .4s; }
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ===== Loader (route + counter, curtain reveal) ===== */
#loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--bg); overflow: hidden; transition: transform .9s var(--ease), visibility .9s; }
#loader.hidden { transform: translateY(-100%); visibility: hidden; }
#loader::before { content: ""; position: absolute; width: 620px; height: 620px; max-width: 120vw; max-height: 120vw; border-radius: 50%; background: radial-gradient(circle, rgba(252,46,0,.16), transparent 62%); filter: blur(40px); animation: ldGlow 3s ease-in-out infinite; }
.loader-inner { position: relative; text-align: center; width: min(340px, 78vw); animation: ldIn .7s var(--ease) both; }
.loader-logo { height: 40px; filter: var(--logo-filter); margin-bottom: 30px; }
.loader-pct { font-family: "Sora", sans-serif; font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--text); letter-spacing: -.02em; }
.loader-pct small { font-size: 1.2rem; font-weight: 700; color: var(--brand); margin-left: 3px; }
.loader-route { position: relative; height: 34px; margin-top: 28px; }
.lr-line { position: absolute; top: 15px; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.lr-fill { display: block; height: 100%; width: 0; background: var(--brand-grad); border-radius: 3px; box-shadow: 0 0 12px rgba(252,46,0,.7); transition: width .25s var(--ease); }
.lr-parcel { position: absolute; top: 0; left: 0; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; box-shadow: 0 8px 18px -5px rgba(252,46,0,.8); transition: left .25s var(--ease); }
.lr-parcel .ic { width: 18px; height: 18px; stroke: #fff; }
@keyframes ldGlow { 0%,100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes ldIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== Nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 5vw, 60px); transition: background .35s, backdrop-filter .35s, padding .35s, box-shadow .35s; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 34px -22px rgba(0,0,0,.5); padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 34px; display: block; filter: var(--logo-filter); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .92rem; color: var(--muted); position: relative; transition: color .2s; }
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 2px; width: 0; background: var(--brand); transition: width .3s var(--ease); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; border-radius: 999px; color: #fff !important; background: var(--brand-grad); font-weight: 600; box-shadow: 0 10px 26px -10px rgba(252,46,0,.8); }
.nav-controls { display: flex; align-items: center; gap: 12px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; font-size: 1.05rem; transition: border-color .2s, transform .2s, background .2s; }
.theme-toggle:hover { border-color: var(--brand); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; z-index: 101; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== Buttons ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; border-radius: 12px; font-weight: 600; font-size: .96rem; cursor: pointer; border: 1px solid transparent; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn span { position: relative; z-index: 1; }
.btn-brand { background: var(--brand-grad); color: #fff; box-shadow: 0 16px 40px -14px rgba(252,46,0,.75); }
.btn-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); transform: translateX(-120%); }
.btn-brand:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-brand:hover { box-shadow: 0 22px 50px -14px rgba(252,46,0,.95); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); }
.btn.lg { padding: 18px 42px; font-size: 1.05rem; }

/* ===== Section base ===== */
.section { position: relative; padding: clamp(80px, 11vw, 140px) clamp(20px, 5vw, 60px); max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(252,46,0,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(252,46,0,.55); } 70% { box-shadow: 0 0 0 9px rgba(252,46,0,0); } 100% { box-shadow: 0 0 0 0 rgba(252,46,0,0); } }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* ===== HERO (kept; themed) ===== */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--hero-bg); }
.hero-decor { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-grid { position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(95% 85% at 62% 28%, #000 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(95% 85% at 62% 28%, #000 18%, transparent 72%); }
.hero-rings { position: absolute; right: 4%; top: 12%; width: min(680px, 60vw); height: min(680px, 60vw); border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(252,46,0,0), rgba(252,46,0,.18), rgba(255,150,80,0) 40%, rgba(252,46,0,.14) 65%, rgba(252,46,0,0));
  filter: blur(46px); opacity: .9; animation: spin 34s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.b-a { width: 42vw; height: 42vw; right: -6%; top: -12%; background: radial-gradient(circle, rgba(255,120,70,.4), transparent 66%); opacity: .8; animation: drift 20s ease-in-out infinite; }
.b-b { width: 38vw; height: 38vw; left: -12%; bottom: -16%; background: radial-gradient(circle, rgba(90,130,255,.26), transparent 66%); opacity: .7; animation: drift 26s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(5%,4%) scale(1.08); } 66% { transform: translate(-4%,-3%) scale(.95); } }
.hero-noise { position: absolute; inset: 0; opacity: .04; mix-blend-mode: var(--glow-blend); pointer-events: none;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#truck-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-podium { position: absolute; right: 15%; bottom: 15%; width: min(560px, 48vw); height: 130px; z-index: 1; pointer-events: none; background: radial-gradient(52% 60% at 50% 50%, rgba(252,46,0,.26), transparent 70%); filter: blur(26px); }
.hero-inner { position: relative; z-index: 4; max-width: var(--max); margin: 0 auto; min-height: 100vh; display: flex; align-items: center; padding: 90px clamp(20px, 5vw, 60px) 60px; pointer-events: none; }
.hero-left { max-width: 560px; pointer-events: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.hero-title { font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.7rem); margin: 6px 0 0; }
.hero-lede { color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.15rem); margin: 22px 0 30px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-hint { margin-top: 28px; color: var(--muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 9px; }
.drag-ico { display: inline-block; animation: floaty 2s ease-in-out infinite; }
.hero-badge { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: .85rem; font-weight: 500; color: var(--text); box-shadow: var(--shadow); white-space: nowrap; }
.hb1 { top: 24vh; right: 6vw; animation: floaty 5s ease-in-out infinite; }
.hb2 { top: 49vh; right: 12vw; animation: floaty 6s ease-in-out infinite .5s; }
.hb3 { bottom: 22vh; right: 7vw; animation: floaty 5.4s ease-in-out infinite .9s; }
.scroll-hint { position: absolute; z-index: 5; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid var(--line-2); border-radius: 14px; transition: opacity .4s; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 4px; background: var(--brand); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* Hero entrance — text from LEFT, truck from RIGHT */
.hero-left { opacity: 0; transform: translateX(-115%); transition: opacity 1s var(--ease), transform 1.15s var(--ease); }
.hero.hero-in .hero-left { opacity: 1; transform: none; }
#truck-canvas { opacity: 0; transform: translateX(46vw); transition: opacity 1.1s var(--ease), transform 1.25s var(--ease); }
.hero.hero-in #truck-canvas { opacity: 1; transform: none; }
.hero-badge { opacity: 0; filter: blur(8px); }
.hero.hero-in .hero-badge { opacity: 1; filter: blur(0); transition: opacity .8s var(--ease), filter .8s var(--ease); }
.hero.hero-in .hb1 { transition-delay: .75s; } .hero.hero-in .hb2 { transition-delay: .9s; } .hero.hero-in .hb3 { transition-delay: 1.05s; }

/* ===== Intro (2nd page): 3D box + copy ===== */
.intro-3d { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.intro-box { position: relative; min-height: 340px; }
#box-canvas { width: 100%; height: 380px; display: block; cursor: grab; }
.intro-head { font-family: "Sora"; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.intro-copy .section-lead { margin: 16px 0 28px; }
.intro-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 6px; }
.intro-metrics b { font-family: "Sora"; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); display: block; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-metrics span { color: var(--muted); font-size: .9rem; }
.drag-tip { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; color: var(--muted); font-size: .78rem; display: flex; align-items: center; justify-content: center; gap: 6px; pointer-events: none; }
.drag-tip .drag-ico { animation: floaty 2s ease-in-out infinite; }

/* ===== Cards / surfaces shared ===== */
.card-surface { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* ===== About ===== */
.about-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; margin-bottom: 34px; }
.about-copy .section-title { margin: 8px 0 18px; }
.about-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text); font-weight: 500; margin-bottom: 16px; }
.about-text { color: var(--muted); }
.about-mini { display: flex; gap: 34px; margin-top: 28px; }
.about-mini b { font-family: "Sora"; font-weight: 800; font-size: 1.8rem; display: block; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-mini span { color: var(--muted); font-size: .85rem; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-media .ph-tall { grid-row: span 2; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.about-card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.about-card:hover { transform: translateY(-6px); border-color: rgba(252,46,0,.35); box-shadow: var(--shadow); }
.ac-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.28); margin-bottom: 14px; font-size: 1.5rem; }
.anim-ico { animation: floaty 4s ease-in-out infinite; }
.about-card:nth-child(2) .anim-ico { animation-delay: .6s; } .about-card:nth-child(3) .anim-ico { animation-delay: 1.2s; }
.about-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.about-card p { color: var(--muted); font-size: .95rem; }

/* ===== Services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { position: relative; padding: 38px 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(252,46,0,.12), transparent 60%); opacity: 0; transition: opacity .3s; }
.svc:hover { transform: translateY(-8px); border-color: rgba(252,46,0,.4); box-shadow: var(--shadow); }
.svc:hover::before { opacity: 1; }
.svc-ix { position: absolute; top: 26px; right: 30px; font-family: "Sora"; font-weight: 800; font-size: .85rem; color: var(--muted); letter-spacing: .1em; }
.svc-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.26); margin-bottom: 22px; transition: transform .35s var(--ease); }
.svc:hover .svc-ico { transform: translateY(-4px) scale(1.06) rotate(-4deg); }
.svc h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .96rem; }
.svc-arrow { display: inline-block; margin-top: 18px; color: var(--brand); font-size: 1.2rem; transition: transform .3s var(--ease); }
.svc:hover .svc-arrow { transform: translate(4px, -4px); }
.svc--brand { background: linear-gradient(160deg, rgba(252,46,0,.16), transparent); border-color: rgba(252,46,0,.35); }

/* ===== Process — animated steps ===== */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 980px; margin: 0 auto; }
.steps::before { content: ""; position: absolute; top: 42px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2) 14%, var(--line-2) 86%, transparent); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; transition: transform .25s var(--ease), border-color .25s; }
.step:hover { transform: translateY(-5px); border-color: rgba(252,46,0,.35); }
.step-badge { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 24px; display: grid; place-items: center; font-size: 2rem; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.3); position: relative; animation: floaty 4s ease-in-out infinite; }
.step-badge.b2 { animation-delay: .5s; } .step-badge.b3 { animation-delay: 1s; }
.step-badge::before { content: ""; position: absolute; inset: -7px; border-radius: 30px; border: 2px solid rgba(252,46,0,.3); animation: pulseRing 2.6s ease-out infinite; }
.step-badge.b2::before { animation-delay: .6s; } .step-badge.b3::before { animation-delay: 1.2s; }
@keyframes pulseRing { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.2); opacity: 0; } }
.step-no { font-family: "Sora"; font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery-grid .ph { min-height: 0; height: 100%; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ===== Track ===== */
.track-panel { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; padding: clamp(34px, 5vw, 60px); border-radius: 26px; background: linear-gradient(150deg, var(--surface-2), var(--card)); border: 1px solid var(--line); overflow: hidden; }
.track-glow { position: absolute; width: 500px; height: 500px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(252,46,0,.26), transparent 62%); filter: blur(20px); pointer-events: none; }
.track-copy { position: relative; }
.track-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin: 8px 0 12px; }
.track-copy p { color: var(--muted); }
.track-app { position: relative; }
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.app-badge { display: inline-flex; flex-direction: column; justify-content: center; padding: 12px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.3; }
.app-badge strong { color: var(--text); font-size: .98rem; font-family: "Sora", sans-serif; }
.track-note { margin-top: 14px; font-size: .78rem; color: var(--muted); }

/* ===== Branches ===== */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch { overflow: hidden; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.branch:hover { transform: translateY(-6px); border-color: rgba(252,46,0,.4); box-shadow: var(--shadow); }
.branch-ph { border-radius: 0; border: none; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; min-height: 0; }
.branch-body { padding: 22px 24px 26px; }
.branch h4 { font-size: 1.05rem; margin-bottom: 6px; }
.branch p { color: var(--muted); font-size: .92rem; }
.branch span { display: inline-block; margin-top: 12px; font-size: .82rem; color: var(--brand); font-weight: 600; }

/* ===== Community ===== */
.community-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: clamp(40px, 5vw, 62px); border-radius: 26px; background: linear-gradient(150deg, var(--surface-2), var(--card)); border: 1px solid var(--line); overflow: hidden; }
.community-glow { position: absolute; width: 520px; height: 520px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(252,46,0,.22), transparent 62%); filter: blur(20px); pointer-events: none; }
.community-copy { position: relative; }
.community-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin: 8px 0 12px; }
.community-copy p { color: var(--muted); }
.community-right { position: relative; display: flex; flex-direction: column; gap: 16px; }
.community-ph { aspect-ratio: 4 / 3; }
.community-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.community-badges span { padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .88rem; }

/* ===== Claim CTA (orange, both themes) ===== */
.claim-band { max-width: var(--max); margin: 0 auto; }
.claim-inner { position: relative; text-align: center; padding: clamp(50px, 7vw, 88px); border-radius: 28px; background: var(--brand-grad); overflow: hidden; }
.claim-glow { position: absolute; inset: 0; background: radial-gradient(70% 130% at 50% 0%, rgba(255,255,255,.28), transparent 55%); pointer-events: none; }
.claim-inner > * { position: relative; z-index: 1; }
.claim-inner .eyebrow { justify-content: center; color: #fff; }
.claim-inner h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.claim-inner p { color: rgba(255,255,255,.92); max-width: 520px; margin: 0 auto 30px; }
.claim-inner .btn-brand { background: #fff; color: var(--brand); box-shadow: 0 18px 44px -16px rgba(0,0,0,.35); }
.claim-inner .btn-brand::after { background: linear-gradient(100deg, transparent 20%, rgba(252,46,0,.25) 50%, transparent 80%); }

/* ===== Footer ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-bottom: 30px; overflow: hidden; }
.footer-marquee { overflow: hidden; padding: 24px 0; border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.fm-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.fm-track span { font-family: "Sora"; font-weight: 800; font-size: clamp(4rem, 12vw, 10rem); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer-top { max-width: var(--max); margin: 0 auto; padding: 58px clamp(20px, 5vw, 60px) 0; display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 42px; }
.f-brand img { height: 40px; margin-bottom: 16px; filter: var(--logo-filter); }
.f-brand p { color: var(--muted); font-size: .92rem; max-width: 250px; }
.f-col h5 { color: var(--text); margin-bottom: 16px; font-size: .95rem; }
.f-col a, .f-col p { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 10px; transition: color .2s; }
.f-col a:hover { color: var(--text); }
.footer-base { max-width: var(--max); margin: 42px auto 0; padding: 22px clamp(20px, 5vw, 60px) 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
.footer-credit { max-width: var(--max); margin: 12px auto 0; padding: 0 clamp(20px, 5vw, 60px); color: var(--muted); opacity: .7; font-size: .74rem; }
.footer-credit a { text-decoration: underline; }

/* ===== Image placeholders ===== */
.ph { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, var(--surface-2), var(--card)); border: 1px solid var(--line); display: grid; place-items: center; min-height: 160px; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 25% 15%, rgba(252,46,0,.1), transparent 55%); }
.ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, var(--dots) 1px, transparent 0); background-size: 18px 18px; opacity: .5; }
.ph-in { position: relative; z-index: 1; text-align: center; padding: 20px; }
.ph-ico { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.28); }
.ph-label { display: block; font-family: "Sora", sans-serif; font-weight: 700; font-size: .92rem; color: var(--text); }
.ph-note { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 6px; color: var(--muted); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .6s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.ph:has(img) .ph-in, .ph:has(img)::before, .ph:has(img)::after { display: none; }

/* ===== Scroll animations ===== */
[data-anim] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease), filter .8s var(--ease); will-change: opacity, transform; }
[data-anim="fade-up"] { transform: translateY(42px); }
[data-anim="scale"] { transform: scale(.94); }
[data-anim="clip"] { clip-path: inset(0 0 100% 0); transform: translateY(16px); }
[data-anim="blur"] { filter: blur(16px); }
[data-anim="left"] { transform: translateX(-90px); }
[data-anim="right"] { transform: translateX(90px); }
[data-anim].in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
.split .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split .w-in { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.split.in .w-in { transform: none; }

/* ===== Lightweight mode (no WebGL: phones / low-power / reduced-motion) ===== */
.no3d #truck-canvas, .no3d #box-canvas, .no3d .hero-hint, .no3d .drag-tip { display: none !important; }
.no3d .intro-box { display: none; }
.no3d .intro-3d { grid-template-columns: 1fr; }
.no3d .hero-inner { padding-top: 12vh; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-top { grid-template-columns: 1fr; gap: 30px; }
  .about-cards, .svc-grid, .branch-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; } .steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .track-panel, .community-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) { .intro-3d { grid-template-columns: 1fr; } #box-canvas { height: 300px; } }
@media (max-width: 640px) {
  .about-cards, .svc-grid, .branch-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 210px; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 0; width: auto; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 40px; background: var(--bg); transform: none; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s var(--ease), visibility .28s; z-index: 95; }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-anim], .split .w-in { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .hero-left, .hero-badge, #truck-canvas { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===================================================================
   V3.1 — editorial section numbers, bento services, feature chips
   =================================================================== */
.section-head { position: relative; }
.section-head > *:not(.sec-no) { position: relative; z-index: 1; }
.sec-no { position: absolute; top: -.42em; right: 0; font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(4.5rem, 11vw, 9.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); opacity: .7; z-index: 0; pointer-events: none; user-select: none; }
.sec-no.center { left: 50%; right: auto; transform: translateX(-50%); top: -.55em; }
.about-copy { position: relative; }
.about-copy .sec-no { top: -.5em; right: -.1em; }

/* Bento services */
.svc-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(168px, auto); gap: 16px; }
.svc--feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 40px; }
.svc--feature .svc-ico { width: 66px; height: 66px; font-size: 1.9rem; border-radius: 18px; }
.svc--feature h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); }
.svc--feature p { font-size: 1rem; max-width: 440px; }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.svc-tags span { padding: 6px 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.svc--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 26px; }
.svc--wide .svc-ico { margin-bottom: 0; flex-shrink: 0; }
.svc-wide-body { flex: 1; }
.svc-wide-body h3 { margin-bottom: 6px; }
.svc-wide-body p { color: var(--muted); max-width: 680px; }
.svc--wide .btn { flex-shrink: 0; }

/* stronger card glow on hover */
.svc:hover, .about-card:hover, .step:hover, .branch:hover { box-shadow: 0 0 0 1px rgba(252,46,0,.28), var(--shadow); }

/* About feature + floating chips */
.about-media { position: relative; grid-template-columns: 1fr; }
.about-feature { aspect-ratio: 4 / 5; min-height: 420px; }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.float-chip b { font-family: "Sora"; font-weight: 800; font-size: 1.5rem; display: block; color: var(--text); line-height: 1; }
.float-chip span { font-size: .76rem; color: var(--muted); line-height: 1.25; display: block; margin-top: 3px; }
.float-chip .fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.28); font-size: 1.2rem; }
.fc-1 { top: 24px; left: -20px; animation: floaty 5s ease-in-out infinite; }
.fc-2 { bottom: 28px; right: -16px; animation: floaty 6s ease-in-out infinite .6s; }

@media (max-width: 980px) {
  .svc-bento { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-column: span 2; grid-row: auto; }
  .svc--wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .svc-bento { grid-template-columns: 1fr; }
  .svc--feature, .svc--wide { grid-column: auto; }
  .svc--wide { flex-direction: column; align-items: flex-start; text-align: left; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
}

/* ===== Stats bar (one line, below hero) ===== */
.stats-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { position: relative; text-align: center; padding: clamp(30px, 4.5vw, 50px) 20px; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-item b { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; display: block; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ===== Line icons ===== */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svc-ico, .ac-ico, .step-badge, .ph-ico { color: var(--brand); }
.svc-ico .ic { width: 27px; height: 27px; }
.svc--feature .svc-ico .ic { width: 31px; height: 31px; }
.ac-ico .ic { width: 24px; height: 24px; }
.step-badge .ic { width: 34px; height: 34px; }
.ph-ico .ic { width: 26px; height: 26px; }
.hero-badge .ic, .community-badges .ic, .drag-ico .ic, .drag-tip .ic, .float-chip .fc-ico .ic { color: var(--brand); }
.hero-badge .ic { width: 17px; height: 17px; }
.community-badges .ic { width: 17px; height: 17px; }
.float-chip .fc-ico .ic { width: 20px; height: 20px; }

/* ===== Animated theme switch ===== */
.theme-switch { position: relative; width: 54px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; padding: 0; flex-shrink: 0; transition: background .3s, border-color .3s; }
.theme-switch:hover { border-color: var(--brand); }
.ts-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; transition: transform .4s var(--ease); box-shadow: 0 3px 10px rgba(252,46,0,.5); }
html.light .ts-knob { transform: translateX(24px); }
.ts-knob svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-sun { display: none; } .k-moon { display: block; }
html.light .k-sun { display: block; } html.light .k-moon { display: none; }

/* ===================================================================
   Sub-pages (Contact, FAQ)
   =================================================================== */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }
.btn-block { width: 100%; }

.subhero { position: relative; overflow: hidden; padding: 150px clamp(20px, 5vw, 60px) 30px; background: var(--hero-bg); }
.subhero-glow { position: absolute; width: 620px; height: 620px; right: -8%; top: -22%; background: radial-gradient(circle, rgba(252,46,0,.16), transparent 60%); filter: blur(50px); pointer-events: none; }
.subhero-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.subhero-title { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.03em; margin: 8px 0 0; }
.subhero-lead { color: var(--muted); max-width: 560px; margin-top: 18px; font-size: 1.05rem; }
.subhero-lead a { color: var(--brand); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: inherit; transition: transform .2s var(--ease), border-color .2s; }
a.info-card:hover { transform: translateY(-3px); border-color: rgba(252,46,0,.4); }
.info-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.28); color: var(--brand); flex-shrink: 0; }
.info-ico .ic { width: 22px; height: 22px; }
.info-card h3 { font-size: .95rem; margin-bottom: 2px; }
.info-card p { color: var(--muted); font-size: .9rem; }
.info-social { display: flex; gap: 12px; margin-top: 4px; }
.info-social a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .85rem; font-weight: 600; transition: .2s; }
.info-social a:hover { border-color: var(--brand); }
.contact-form-card { padding: clamp(26px, 4vw, 40px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 20px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cfield { margin-bottom: 16px; }
.cfield label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; }
.cfield input, .cfield textarea { width: 100%; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .95rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.cfield input::placeholder, .cfield textarea::placeholder { color: var(--muted); }
.cfield input:focus, .cfield textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(252,46,0,.15); }
.cfield textarea { resize: vertical; }
.cf-alert { background: rgba(224,19,36,.12); border: 1px solid rgba(224,19,36,.35); color: #ff8a7a; padding: 12px 16px; border-radius: 11px; margin-bottom: 16px; font-size: .9rem; }
.cf-alert ul { margin: 0; padding-left: 18px; }
.form-success { text-align: center; padding: 20px 0; }
.fs-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.3); color: var(--brand); }
.fs-ico .ic { width: 28px; height: 28px; }
.form-success h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 22px; }

/* FAQ */
.faq-section { max-width: 840px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: rgba(252,46,0,.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: 0; cursor: pointer; text-align: left; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.faq-chev { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); flex-shrink: 0; transition: transform .3s var(--ease), background .2s, color .2s; }
.faq-chev .ic { width: 18px; height: 18px; }
.faq-item.open .faq-chev { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a-in { padding: 0 24px 22px; }
.faq-a p { color: var(--muted); line-height: 1.7; }
.faq-a a { color: var(--brand); }
.faq-cta { text-align: center; margin-top: 42px; padding: 46px; border-radius: 24px; background: linear-gradient(150deg, var(--surface-2), var(--card)); border: 1px solid var(--line); }
.faq-cta .fc-ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: rgba(252,46,0,.14); border: 1px solid rgba(252,46,0,.3); color: var(--brand); }
.faq-cta .fc-ico .ic { width: 26px; height: 26px; }
.faq-cta h3 { font-size: 1.4rem; margin-bottom: 8px; }
.faq-cta p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 820px) { .contact-wrap { grid-template-columns: 1fr; } .cf-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Mobile polish — professional, centered layout on small screens
   =================================================================== */
@media (max-width: 900px) {
  /* contain any horizontal spill from decorative/animated elements on mobile */
  .hero, .stats-bar, .section, .about-top, .about-media, .track-panel, .community-inner, .footer { overflow-x: clip; }
  /* nav → hamburger drawer (earlier, since the menu is full) — hidden off-screen must not add page width */
  /* full-screen overlay menu — robust on every page/scroll, can't create a side gap */
  .nav-links { position: fixed; inset: 0; width: auto; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px; background: var(--bg); transform: none; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s var(--ease), visibility .28s; z-index: 95; }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { font-size: 1.15rem; }
  .nav-links .nav-cta { margin-top: 6px; padding: 14px 30px; }
  /* keep logo, hamburger/X and theme switch clickable above the overlay */
  .nav .brand, .nav-controls { position: relative; z-index: 100; }
  .nav-links a { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 700px) {
  .section { padding: clamp(56px, 13vw, 88px) 20px; }
  /* centered section headers + numbers */
  .section-head, .section-head.center { text-align: center; }
  .eyebrow { justify-content: center; }
  .sec-no { position: static; display: block; font-size: 3.2rem; opacity: .4; margin: 0 auto 4px; -webkit-text-stroke: 1.2px var(--line-2); }
  .about-copy .sec-no { position: static; }

  /* hero */
  .hero-inner { align-items: flex-start; padding-top: 15vh; }
  .hero-left { max-width: 100%; margin: 0 auto; text-align: center; }
  .kicker, .hero-actions, .hero-hint { justify-content: center; }
  .hero-title { font-size: clamp(1.7rem, 7.6vw, 2.4rem); text-shadow: 0 2px 22px rgba(0,0,0,.6); overflow-wrap: break-word; max-width: 100%; }
  .hero-lede { margin: 20px auto 26px; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
  html.light .hero-title, html.light .hero-lede, html.light .kicker { text-shadow: none; }
  .no3d .hero, .no3d .hero-inner { min-height: 82vh; }

  /* keep hero text readable over the 3D truck */
  .hero-inner::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, rgba(8,9,13,.88) 0%, rgba(8,9,13,.55) 38%, rgba(8,9,13,0) 70%); }
  html.light .hero-inner::before { background: linear-gradient(180deg, rgba(243,246,251,.94) 0%, rgba(243,246,251,.62) 40%, rgba(243,246,251,0) 72%); }
  .hero-left { position: relative; z-index: 4; }

  /* stop decorative bits from overflowing the viewport (fixes the side gap) */
  .sec-no, .sec-no.center { position: static !important; left: auto !important; right: auto !important; transform: none !important; max-width: 100%; }
  .about-media { overflow: hidden; }
  .fc-1 { left: 6px !important; } .fc-2 { right: 6px !important; }
  .float-chip { max-width: calc(100% - 12px); }
  .hero-badge { display: none; }

  /* stats bar */
  .stat-item { padding: 26px 12px; }
  .stat-item span { font-size: .82rem; }

  /* intro (3D box + copy) */
  .intro-copy { text-align: center; }
  .intro-copy .eyebrow { justify-content: center; }
  .intro-metrics { justify-items: center; text-align: center; }
  #box-canvas { height: 280px; }

  /* about */
  .about-copy { text-align: center; }
  .about-cards { text-align: center; }
  .about-card .ac-ico { margin-left: auto; margin-right: auto; }
  .about-feature { min-height: 300px; }
  .fc-1 { left: 6px; top: 8px; } .fc-2 { right: 6px; bottom: 8px; }

  /* services bento */
  .svc { text-align: center; }
  .svc-ico { margin-left: auto; margin-right: auto; }
  .svc-ix { position: static; display: block; text-align: center; margin-bottom: 8px; }
  .svc-tags { justify-content: center; }
  .svc--feature p { margin-left: auto; margin-right: auto; }
  .svc--wide { flex-direction: column; align-items: center; text-align: center; }

  /* steps / process */
  .step p { margin-left: auto; margin-right: auto; }

  /* branches */
  .branch-body { text-align: center; }
  .branch span { display: block; }

  /* community */
  .community-copy { text-align: center; }
  .community-copy .eyebrow { justify-content: center; }
  .community-badges { justify-content: center; }

  /* track */
  .track-copy { text-align: center; }
  .track-copy .eyebrow { justify-content: center; }
  .track-app { text-align: center; }
  .app-badges { justify-content: center; }

  /* sub-pages: contact + faq */
  .subhero { text-align: center; padding-top: 130px; }
  .subhero .eyebrow { justify-content: center; }
  .subhero-lead { margin-left: auto; margin-right: auto; }
  .contact-form-card { text-align: center; }
  .cform { text-align: left; }
  .info-social { justify-content: center; }
  .faq-q { font-size: .98rem; }

  /* footer */
  .footer-top { text-align: center; }
  .f-brand img { margin-left: auto; margin-right: auto; }
  .f-brand p { margin-left: auto; margin-right: auto; }
  .footer-base { justify-content: center; text-align: center; }
  .footer-credit { text-align: center; }
}
