/* ============================================================
   JWW Couriers — Variant B: "Night Route"
   Dark automotive system built around the logo (black, electric
   blue ring, chrome lettering). The page is the night motorway:
   glowing route line, chrome headline, headlight accents.
   Palette:
     --asphalt   #0E1319  page background
     --panel     #151C26  raised surfaces
     --edge      #24303F  hairlines
     --beam      #3D8BFF  electric blue (logo ring)
     --beam-soft rgba(61,139,255,.14)
     --chrome-a  #F4F7FA / --chrome-b #96A3B4  chrome gradient
     --fog       #A8B4C2  secondary text
     --go-green  #17914C  WhatsApp only
   Type: Barlow Condensed (display), Barlow (body), IBM Plex Mono (route data)
   ============================================================ */

:root {
  --asphalt: #0E1319;
  --panel: #151C26;
  --edge: #24303F;
  --beam: #3D8BFF;
  --beam-deep: #1F5FD6;
  --beam-soft: rgba(61, 139, 255, 0.14);
  --white: #F4F7FA;
  --fog: #A8B4C2;
  --go-green: #17914C;
  --radius: 16px;
  --font-display: "Barlow Condensed", "Barlow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- a11y ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--beam); color: #fff;
  padding: 10px 18px; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--beam);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 19, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--edge); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
}
.brand-logo {
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(61, 139, 255, 0.35), 0 0 18px rgba(61, 139, 255, 0.25);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-name em { font-style: normal; color: var(--beam); }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--fog);
  font-weight: 500; font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
}
.header-phone .ico { width: 16px; height: 16px; fill: var(--beam); }
.header-phone:hover { color: var(--beam); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  border: none; border-radius: 10px;
  padding: 13px 26px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; fill: currentColor; }

.btn-quote {
  background: var(--beam); color: #fff;
  padding: 11px 20px; font-size: 0.95rem;
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.35);
}
.btn-quote:hover { background: var(--beam-deep); box-shadow: 0 0 26px rgba(61, 139, 255, 0.5); }

.btn-call {
  background: var(--white); color: #10151C;
}
.btn-call:hover { box-shadow: 0 6px 22px rgba(244, 247, 250, 0.25); }

.btn-wa { background: var(--go-green); color: #fff; }
.btn-wa:hover { background: #0F7A3D; }

.btn-submit { background: var(--beam); color: #fff; width: 100%; padding: 15px 24px; }
.btn-submit:hover { background: var(--beam-deep); box-shadow: 0 0 22px rgba(61, 139, 255, 0.4); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 420px at 18% -12%, rgba(61, 139, 255, 0.16) 0%, transparent 60%),
    radial-gradient(700px 380px at 92% 8%, rgba(61, 139, 255, 0.08) 0%, transparent 55%);
  overflow: hidden;
}
/* faint lane markings sweeping under the content */
.hero::before {
  content: "";
  position: absolute; inset: auto -10% -46px;
  height: 120px;
  background: repeating-linear-gradient(100deg,
    transparent 0 90px,
    rgba(168, 180, 194, 0.10) 90px 128px);
  transform: skewY(-3deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-tag {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--beam);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.chrome {
  display: block;
  background: linear-gradient(180deg, #FFFFFF 18%, #C9D4E0 46%, #8FA0B3 54%, #E6EDF5 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--fog);
  font-size: 1.1rem;
  max-width: 50ch;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.trust-strip {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.trust-strip li {
  color: var(--fog); font-weight: 500; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-strip li::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--beam);
  box-shadow: 0 0 8px rgba(61, 139, 255, 0.8);
}

/* route card — the signature */
.route-card {
  background: linear-gradient(165deg, #182130 0%, #121924 100%);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(61, 139, 255, 0.06);
}
.route-title {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 24px;
}
.route-line { list-style: none; position: relative; }
.route-line::before {
  content: "";
  position: absolute; left: 7px; top: 12px; bottom: 12px;
  border-left: 2px dashed rgba(61, 139, 255, 0.55);
}
.route-stop {
  position: relative;
  padding: 0 0 26px 32px;
}
.route-stop:last-child { padding-bottom: 0; }
.stop-dot {
  position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--beam);
}
.is-start .stop-dot,
.is-end .stop-dot {
  background: var(--beam);
  box-shadow: 0 0 14px rgba(61, 139, 255, 0.9);
}
.stop-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.stop-meta {
  display: block;
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--fog);
}
.route-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
  color: var(--fog); font-size: 0.9rem;
}

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section-panel { background: var(--panel); }

.eyebrow {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--beam);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.lede { color: var(--fog); font-size: 1.06rem; max-width: 60ch; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.section-panel .service-card { background: var(--asphalt); }
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 139, 255, 0.6);
  box-shadow: 0 18px 40px -18px rgba(61, 139, 255, 0.35);
}
.service-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--beam-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-ico svg { width: 24px; height: 24px; fill: var(--beam); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.service-card p { color: var(--fog); font-size: 0.95rem; }

/* ---------- why / photo ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.15), 0 30px 70px -28px rgba(0, 0, 0, 0.9);
  height: auto;
  filter: saturate(0.92) contrast(1.04);
}
.why-copy .lede { margin-bottom: 26px; }

.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li {
  padding-left: 34px; position: relative;
  color: var(--fog); font-size: 0.98rem;
}
.ticks li strong { color: var(--white); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--beam-soft);
  border: 1px solid rgba(61, 139, 255, 0.5);
}
.ticks li::after {
  content: "";
  position: absolute; left: 5px; top: 9px;
  width: 10px; height: 5px;
  border-left: 2.5px solid var(--beam);
  border-bottom: 2.5px solid var(--beam);
  transform: rotate(-45deg);
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute; top: 30px; left: 9%; right: 9%;
  border-top: 2px dashed rgba(61, 139, 255, 0.35);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; min-width: 60px;
  border-radius: 50%;
  background: var(--asphalt);
  border: 2px solid var(--beam);
  color: var(--beam);
  font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(61, 139, 255, 0.25);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step p { color: var(--fog); font-size: 0.95rem; max-width: 34ch; }

/* ---------- coverage ---------- */
.city-chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 30px;
}
.city-chips li {
  font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem;
  color: var(--white);
  background: var(--asphalt);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.review {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review p { font-size: 0.98rem; margin-bottom: 16px; color: var(--white); }
.review footer { color: var(--fog); font-size: 0.88rem; }
.review cite { font-style: normal; font-weight: 700; color: var(--beam); }

/* ---------- contact ---------- */
.section-contact {
  background:
    radial-gradient(800px 400px at 80% 110%, rgba(61, 139, 255, 0.14) 0%, transparent 60%),
    var(--panel);
  padding-bottom: 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-lede { color: var(--fog); margin-bottom: 30px; max-width: 42ch; }

.contact-links { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
  font-family: var(--font-mono); font-weight: 600; font-size: 1rem;
  transition: color 0.15s ease;
}
.contact-links a:hover { color: var(--beam); }
.contact-links .ico { width: 20px; height: 20px; fill: var(--beam); flex-shrink: 0; }

.tracking-tease {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--fog);
  font-size: 0.88rem; font-weight: 500;
  border: 1px dashed rgba(61, 139, 255, 0.45);
  border-radius: 999px;
  padding: 8px 16px;
}
.tracking-tease .ico { width: 15px; height: 15px; fill: var(--beam); }

.quote-form {
  background: var(--asphalt);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 28px;
  display: grid; gap: 16px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label {
  display: grid; gap: 6px;
  font-weight: 700; font-size: 0.85rem;
  color: var(--white);
}
.quote-form input,
.quote-form textarea {
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--white);
  background: var(--panel);
  border: 1.5px solid var(--edge);
  border-radius: 9px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  resize: vertical;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--beam);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.2);
}
.quote-form ::placeholder { color: #5D6B7C; }
.form-note { color: var(--fog); font-size: 0.82rem; text-align: center; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--asphalt);
  border-top: 1px solid var(--edge);
  padding: 40px 0 46px;
}
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-line { color: var(--fog); font-size: 0.9rem; margin-left: auto; }
.footer-copy { color: var(--fog); font-size: 0.9rem; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }

  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .route-card { max-width: 460px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before {
    top: 0; bottom: 0; left: 29px; right: auto;
    border-top: none;
    border-left: 2px dashed rgba(61, 139, 255, 0.35);
  }
  .step { padding-left: 84px; }
  .step-num { position: absolute; left: 0; top: 0; margin-bottom: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .header-inner { gap: 14px; height: 64px; }
  .header-phone span { display: none; }
  .btn-quote { padding: 10px 16px; font-size: 0.9rem; }

  .hero { padding: 40px 0 52px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .hero-ctas .btn { flex: 1 1 100%; }

  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .quote-form { padding: 22px 18px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-line { margin-left: 0; }
}
