/* ==========================================================================
   Neribo Logistics — design tokens
   ========================================================================== */
:root{
  --navy: #0F2A43;
  --navy-soft: #1c3d5c;
  --orange: #E85D25;
  --orange-soft: #f0794a;
  --slate: #4A5560;
  --green: #2E8B57;
  --paper: #F4F6F7;
  --ink: #12181D;
  --ink-soft: #4d565e;
  --white: #ffffff;
  --line: rgba(18,24,29,0.12);
  --line-light: rgba(244,246,247,0.16);

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.4em;
  line-height: 1.1;
  font-weight: 700;
}
p{ margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }
a{ color: inherit; }
img{ max-width: 100%; display: block; }

.skip-link{
  position: absolute; left: -999px; top: auto;
  background: var(--navy); color: var(--white);
  padding: 0.75em 1.25em; z-index: 200;
}
.skip-link:focus{ left: 1rem; top: 1rem; }
:focus-visible{ outline: 3px solid var(--orange); outline-offset: 2px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary{ background: var(--orange); color: var(--white); }
.btn-primary:hover{ background: var(--orange-soft); }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover{ background: var(--navy); color: var(--white); }
.icon-wa{ width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9em 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
}
.logo{ display: flex; align-items: center; gap: 0.6em; text-decoration: none; color: var(--navy); }
.logo-mark{
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.logo-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text{ font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.logo-sub{
  display: block; font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.main-nav{ display: flex; gap: 1.7em; }
.main-nav a{
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  color: var(--ink); position: relative; padding: 0.25em 0;
}
.main-nav a:hover{ color: var(--navy); }
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.15s ease;
}
.main-nav a:hover::after{ width: 100%; }
.header-actions{ display: flex; align-items: center; gap: 1em; }
.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent;
  border: 1.5px solid var(--navy); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; margin: 0 8px; background: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(2.5em, 6vw, 5em) 1.5em 0; }
.hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2em, 5vw, 4em);
  align-items: center;
}
.hero-kicker{
  font-family: var(--font-body); font-weight: 700;
  color: var(--orange); font-size: 0.92rem;
  margin-bottom: 0.8em; max-width: none;
}
.hero-copy h1{ font-size: clamp(2.2rem, 4.4vw, 3.3rem); max-width: 15ch; margin-bottom: 0.4em; }
.hero-lede{ font-size: 1.06rem; max-width: 44ch; }
.hero-cta-row{ display: flex; flex-wrap: wrap; gap: 1em; margin-top: 1.5em; }

.hero-visual{ position: relative; }
.hero-image-slot{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #0F2A43 0%, #4A5560 60%, #E85D25 140%);
  box-shadow: 0 24px 48px -20px rgba(15,42,67,0.35);
}
.hero-image-slot img{ width: 100%; height: 100%; object-fit: cover; }

/* Route strip — connects the hero to How It Works visually */
.route-strip{
  display: flex;
  align-items: center;
  gap: 0.6em;
  max-width: var(--max);
  margin: clamp(2.5em, 6vw, 4em) auto 0;
  padding: 0 1.5em;
}
.route-pin{ color: var(--orange); flex-shrink: 0; }
.route-pin svg{ width: 20px; height: 20px; fill: currentColor; }
.route-line{
  flex: 1;
  height: 0;
  border-top: 2px dashed var(--slate);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding: clamp(3em, 7vw, 5.5em) 1.5em; }
.section-dark{ background: var(--navy); }
.section-inner{ max-width: var(--max); margin: 0 auto; }
.section-head{ max-width: 620px; margin-bottom: clamp(2em, 5vw, 3em); }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.section-head p{ font-size: 1.02rem; }
.section-head-light h2{ color: var(--white); }
.section-head-light p{ color: rgba(244,246,247,0.75); }

/* Services */
.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6em;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.6em 1.5em 1.8em;
}
.service-icon{ display: inline-flex; color: var(--navy); margin-bottom: 0.9em; }
.service-icon svg{ width: 32px; height: 32px; }
.service-card h3{ font-size: 1.1rem; margin-bottom: 0.4em; }
.service-card p{ font-size: 0.92rem; margin-bottom: 0; }

/* How it works */
.steps-row{
  display: flex;
  align-items: flex-start;
  gap: 1em;
}
.step{ flex: 1; text-align: left; }
.step-pin{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  margin-bottom: 1em;
}
.step-pin svg{ width: 20px; height: 20px; fill: var(--white); }
.step-pin-done{ background: var(--green); }
.step h3{ color: var(--white); font-size: 1.25rem; }
.step p{ color: rgba(244,246,247,0.7); font-size: 0.92rem; margin-bottom: 0; }
.step-connector{
  flex: 0 0 auto;
  width: 60px;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--slate) 0 6px, transparent 6px 12px);
  margin-top: 20px;
}

/* Coverage */
.coverage-inner{ max-width: 780px; }
.city-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
}
.city-list li{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6em 1.3em;
}

/* Fleet / proof gallery */
.proof-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1em;
}
.proof-item{
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #1c3d5c 0%, #4A5560 60%, #E85D25 140%);
}
.proof-item-wide{ grid-column: span 2; }
.proof-item img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* Quote banner */
.quote-banner{
  background-color: var(--navy);
  background-image: linear-gradient(120deg, rgba(15,42,67,0.9), rgba(15,42,67,0.85)), linear-gradient(135deg, #1c3d5c, #0F2A43);
}
.quote-inner{ max-width: 680px; }
.quote-inner h2{ color: var(--white); }
.quote-inner p{ color: rgba(244,246,247,0.8); font-size: 1.05rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: #0a1c2c; color: rgba(244,246,247,0.85); }
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 3em 1.5em 2em;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2em;
}
.footer-brand{ display: flex; gap: 0.8em; align-items: flex-start; }
.logo-mark-footer{ background: var(--orange); color: var(--white); }
.footer-name{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 0.2em;
}
.footer-tag{ font-size: 0.88rem; color: rgba(244,246,247,0.6); margin: 0; }
.footer-contact, .footer-nav{
  display: flex; flex-direction: column; gap: 0.7em; font-size: 0.92rem;
}
.footer-contact a, .footer-nav a{ text-decoration: none; color: rgba(244,246,247,0.85); }
.footer-contact a:hover, .footer-nav a:hover{ color: var(--orange); }
.footer-bottom{
  border-top: 1px solid rgba(244,246,247,0.12);
  padding: 1.2em 1.5em;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244,246,247,0.5);
}
.footer-bottom p{ margin: 0; max-width: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps-row{ flex-direction: column; }
  .step-connector{ width: 2px; height: 30px; margin: 0 0 0 19px; background: repeating-linear-gradient(to bottom, var(--slate) 0 6px, transparent 6px 12px); }
  .proof-grid{ grid-template-columns: 1fr 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

@media (max-width: 800px){
  .main-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0;
    padding: 0.5em 1.5em 1em; display: none;
  }
  .main-nav.open{ display: flex; }
  .main-nav a{ padding: 0.7em 0; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display: flex; }
}

@media (max-width: 560px){
  .service-grid{ grid-template-columns: 1fr; }
  .proof-grid{ grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .proof-item-wide{ grid-column: span 1; }
  .footer-inner{ grid-template-columns: 1fr; }
  .route-strip{ display: none; }
}
