/* ============ BASE ============ */
:root {
  --gray-950: #0a0a0b;
  --gray-900: #131314;
  --gray-800: #1e1e20;
  --gray-700: #2d2d30;
  --gray-600: #454549;
  --red-500: #d81e2c;
  --red-400: #ff5a63;
  --red-600: #a8141f;
  --ink: #14161c;
  --muted: #616875;
  --paper: #f4f5f7;
  --paper-2: #ffffff;
  --line: #e4e6ea;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-tag {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  color: var(--red-600);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-tag-light { color: var(--red-400); }

h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 760px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red-500); color: #fff; }
.btn-primary:hover { background: var(--red-600); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 22px; }
.btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-cta {
  border-color: var(--red-500);
  color: var(--red-600);
  padding: 10px 20px;
  font-size: 14px;
}
.btn-ghost-cta:hover { background: var(--red-500); color: #fff; }

/* ============================================================
   INTRO ANIMATION
   ============================================================ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--gray-950);
  overflow: hidden;
}
#intro.intro-fade-out {
  transition: opacity .7s ease;
  opacity: 0;
  pointer-events: none;
}
#intro.intro-removed { display: none; }

.intro-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .6s ease .3s;
}
#intro.intro-opening .intro-scene { opacity: 1; }
.intro-scene svg { width: 100%; height: 100%; }

.intro-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--gray-800), var(--gray-950));
  z-index: 3;
  transition: transform 1.1s cubic-bezier(.76, 0, .24, 1);
}
.intro-panel-left { clip-path: inset(0 50% 0 0); }
.intro-panel-right { clip-path: inset(0 0 0 50%); }
#intro.intro-opening .intro-panel-left { transform: translateX(-100%); }
#intro.intro-opening .intro-panel-right { transform: translateX(100%); }

.intro-logo-img {
  width: 56vmin;
  height: auto;
  user-select: none;
}

.intro-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--red-500);
  z-index: 4;
  opacity: 1;
  transition: opacity .3s ease;
}
#intro.intro-opening .intro-seam { opacity: 0; }

.intro-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.intro-skip:hover { border-color: var(--red-500); color: #fff; }

/* Map + truck (shared SVG used by intro & hero background) */
.bgmap-land { fill: var(--gray-700); stroke: var(--red-500); stroke-width: 1.6; }
.bgmap-route { fill: none; stroke: var(--red-400); stroke-width: 1.6; stroke-dasharray: 6 6; opacity: .55; }
.bgmap-hub { fill: var(--red-400); }
.bgmap-hub-hq { fill: var(--red-500); }
.bgmap-hub-hq-ring { fill: none; stroke: var(--red-500); stroke-width: 2; opacity: .6; }
.bgmap-label {
  font-family: var(--font-body);
  font-size: 11px;
  fill: rgba(255,255,255,.65);
}
.bgmap-label-hq { fill: #fff; font-weight: 600; }
.bgmap-truck { fill: var(--red-500); }
.bgmap-truck-cab { fill: var(--red-400); }
.bgmap-truck-glass { fill: rgba(20,20,22,.55); }

@keyframes hqPulse {
  0% { r: 8; opacity: .7; }
  70% { r: 22; opacity: 0; }
  100% { r: 22; opacity: 0; }
}
.bgmap-hub-pulse {
  fill: none;
  stroke: var(--red-500);
  stroke-width: 1.4;
  animation: hqPulse 2.4s ease-out infinite;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .25s ease;
}
.site-header.scrolled .brand-logo { filter: none; }

.main-nav {
  display: flex;
  gap: 34px;
  font-family: var(--font-head);
  font-size: 14.5px;
  letter-spacing: .02em;
}
.main-nav a {
  color: rgba(255,255,255,.9);
  transition: color .2s ease;
  position: relative;
  padding: 6px 0;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--red-400); }
.site-header.scrolled .main-nav a:hover { color: var(--red-600); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.site-header:not(.scrolled) .btn-ghost-cta { border-color: rgba(255,255,255,.6); color: #fff; }
.site-header:not(.scrolled) .btn-ghost-cta:hover { background: var(--red-500); border-color: var(--red-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .2s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gray-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .28;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.82) 42%, rgba(10,10,11,.55) 100%);
}

.hero-truck {
  position: absolute;
  right: -1%;
  bottom: 7%;
  width: 42vw;
  max-width: 600px;
  min-width: 340px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.5));
}
.hero-truck svg { width: 100%; height: auto; display: block; }
.htk-speed { stroke: var(--red-500); }
.htk-shadow { fill: #000; opacity: .35; }
.htk-chassis { fill: var(--gray-800); }
.htk-trailer { fill: var(--gray-800); }
.htk-stripe { fill: var(--red-500); }
.htk-detail { stroke: var(--gray-700); }
.htk-cab-hood { fill: var(--red-600); }
.htk-cab { fill: var(--red-500); }
.htk-glass { fill: var(--gray-950); }
.htk-mirror { fill: var(--gray-800); }
.htk-bumper { fill: var(--gray-700); }
.htk-tire { fill: var(--gray-950); }
.htk-hub { fill: var(--gray-600); }

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  color: #fff;
  max-width: 780px;
}
.eyebrow {
  font-family: var(--font-head);
  color: var(--red-400);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 620px;
}
.hero-cta { display: flex; gap: 16px; margin: 30px 0 40px; flex-wrap: wrap; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-chips li {
  font-size: 13.5px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 8px 16px;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--red-400);
  border-radius: 2px;
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ============ ABOUT ============ */
.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { color: #3a3f47; }
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(216,30,44,.1);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 17px; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--muted); margin-bottom: 0; }

.about-visual { position: sticky; top: 110px; }
.about-card {
  background: var(--gray-900);
  color: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-700);
}
.about-card-tag {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-400);
  font-family: var(--font-head);
}
.about-card-city { font-family: var(--font-head); font-size: 26px; }
.about-card-desc { font-size: 13.5px; color: rgba(255,255,255,.65); }
.about-media {
  height: 260px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--gray-800), var(--gray-950));
  border: 1px solid var(--gray-700);
  background-image: repeating-linear-gradient(135deg, rgba(216,30,44,.08) 0 2px, transparent 2px 18px);
}

/* ============ SERVICES ============ */
.services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(20,22,28,.25);
  border-color: rgba(216,30,44,.35);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--gray-900);
  color: var(--red-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }

/* ============ COVERAGE ============ */
.coverage { background: var(--gray-950); color: #fff; }
.coverage-grid {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.coverage-copy p { color: rgba(255,255,255,.75); }
.region-list { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.region-list li {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  padding-left: 18px;
  border-left: 2px solid var(--red-500);
}
.region-list strong { color: #fff; }
.coverage-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gray-700);
  background: var(--gray-900);
  aspect-ratio: 5 / 3.2;
}
.coverage-map svg { width: 100%; height: 100%; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--red-600), var(--red-500));
  padding: 72px 0;
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin: 0 auto 10px; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 520px; margin: 0 auto 28px; }
.cta-banner .btn-primary { background: var(--gray-950); }
.cta-banner .btn-primary:hover { background: #000; }

/* ============ CONTACT ============ */
.contact { background: var(--paper-2); }
.contact-solo {
  display: flex;
  justify-content: center;
}

.contact-info-card {
  width: 100%;
  max-width: 460px;
  background: var(--gray-950);
  color: #fff;
  border-radius: 16px;
  padding: 32px 28px;
}
.contact-info-card h3 { font-size: 19px; margin-bottom: 20px; }
.contact-info-card ul { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.ci-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 3px;
}
.contact-info-card a { font-size: 15px; }
.contact-info-card a[href^="mailto"], .contact-info-card a[href^="tel"] { color: var(--red-400); }

/* ============ FOOTER ============ */
.site-footer { background: var(--gray-950); color: rgba(255,255,255,.8); padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-700);
}
.footer-logo { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-nav a:hover { color: var(--red-400); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-contact a:hover { color: var(--red-400); }
.footer-bottom { padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.4); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .about-grid, .coverage-grid { grid-template-columns: 1fr; }
  .about-visual { position: static; margin-top: 8px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-truck { display: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost-cta { display: none; }
  .site-header.nav-open { background: var(--gray-950); }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--gray-950);
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .site-header.nav-open .main-nav a { color: #fff; }
  .services-grid, .pillars { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
