/* SP Logistics Global Rescue v18 */
:root{
  --sp-teal:#155263;
  --sp-sky:#1e758d;
  --sp-navy:#0c2f39;
  --sp-footer:#1E3A4E;
  --sp-gold:#ffbb09;
  --sp-yellow:#ffc93c;
  --sp-cream:#ffd76f;
  --sp-ink:#082b35;
  --sp-body:#344d58;
  --sp-muted:#60747d;
  --sp-border:#d8e5ea;
  --sp-soft:#f5f9fa;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--sp-ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:#fff;
  line-height:1.62;
  font-size:16px;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--sp-teal);text-decoration:none}
a:hover{text-decoration:underline}
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
}
.skip-link:focus{
  left:16px;
  top:16px;
  z-index:9999;
  background:#fff;
  color:var(--sp-navy);
  padding:10px 14px;
  border-radius:8px;
}
.container,.u-sheet{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}
.topline{
  background:var(--sp-navy);
  color:#fff;
  font-size:.78rem;
  font-weight:800;
}
.topline .container{
  min-height:32px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.topline a{color:#fff}
.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid rgba(12,47,57,.12);
  box-shadow:0 4px 18px rgba(12,47,57,.045);
}
.nav-shell{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--sp-navy);
  font-weight:950;
}
.brand img{width:40px;height:auto}
.brand span span{
  display:block;
  font-size:.58rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--sp-muted);
}
.nav-toggle{display:none}
.primary-nav{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.primary-nav a{
  padding:9px 12px;
  border-radius:999px;
  font-weight:850;
  color:var(--sp-navy);
  font-size:.82rem;
}
.primary-nav .quote{
  background:var(--sp-gold);
  color:var(--sp-navy);
}
.section{padding:80px 0}
.section.soft{background:linear-gradient(180deg,#f5f9fa,#eef5f7)}
.section.warm{background:linear-gradient(135deg,#fffdf5,#fff6d9)}
.section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
  gap:34px;
  align-items:start;
  margin-bottom:38px;
}
.section-head h2,
.home-hero h1,
.services-hero h1,
.port-hero h1,
.rail-hero h1,
.warehouse-hero h1,
.drive-hero h1,
.quote-hero h1{
  color:var(--sp-teal);
  line-height:1.02;
  letter-spacing:-.055em;
}
.section-head h2{
  font-size:clamp(2rem,3vw,3.25rem);
  margin:.25rem 0 0;
}
.eyebrow,
.home-eyebrow,
.services-eyebrow,
.port-eyebrow,
.rail-eyebrow,
.warehouse-eyebrow,
.drive-eyebrow,
.quote-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--sp-teal);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.74rem;
  font-weight:950;
}
.eyebrow:before,
.home-eyebrow:before,
.services-eyebrow:before,
.port-eyebrow:before,
.rail-eyebrow:before,
.warehouse-eyebrow:before,
.drive-eyebrow:before,
.quote-eyebrow:before{
  content:"";
  width:34px;
  height:3px;
  border-radius:999px;
  background:var(--sp-gold);
}
.home-hero,
.drive-hero,
.quote-hero{
  background:radial-gradient(circle at 88% 18%,rgba(255,187,9,.18),transparent 30%),linear-gradient(135deg,#fff 0%,#f8fbfb 58%,#fff8e7 100%);
}
.services-hero,
.port-hero,
.rail-hero,
.warehouse-hero{
  background:linear-gradient(135deg,var(--sp-navy),var(--sp-teal));
  color:#fff;
}
.home-hero-grid,
.services-hero-grid,
.port-hero-grid,
.rail-hero-grid,
.warehouse-hero-grid,
.drive-hero-grid,
.quote-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:68px;
  align-items:center;
  padding-top:82px;
  padding-bottom:82px;
}
.home-hero h1,
.services-hero h1,
.port-hero h1,
.rail-hero h1,
.warehouse-hero h1,
.drive-hero h1,
.quote-hero h1{
  margin:0 0 22px;
  max-width:840px;
  font-size:clamp(2.65rem,5.1vw,4.85rem);
}
.services-hero h1,
.port-hero h1,
.rail-hero h1,
.warehouse-hero h1{
  color:#fff;
}
.home-lead,
.services-lead,
.port-lead,
.rail-lead,
.warehouse-lead,
.drive-lead,
.quote-lead,
.section-head p{
  color:var(--sp-body);
  font-size:clamp(1rem,1.25vw,1.14rem);
}
.services-hero .services-lead,
.port-hero .port-lead,
.rail-hero .rail-lead,
.warehouse-hero .warehouse-lead{
  color:rgba(255,255,255,.88);
}
.home-image-card,
.services-hero-media,
.port-hero-media,
.rail-hero-media,
.warehouse-hero-media,
.drive-hero-media,
.quote-hero-media{
  overflow:hidden;
  border-radius:30px;
  border:1px solid rgba(12,47,57,.12);
  background:#fff;
  box-shadow:0 28px 70px rgba(12,47,57,.16);
}
.services-hero-media,
.port-hero-media,
.rail-hero-media,
.warehouse-hero-media{
  border-color:rgba(255,255,255,.24);
  box-shadow:0 28px 70px rgba(0,0,0,.24);
}
.home-image-card img,
.services-hero-media img,
.port-hero-media img,
.rail-hero-media img,
.warehouse-hero-media img,
.drive-hero-media img,
.quote-hero-media img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.grid{display:grid;gap:22px}
.grid.two{grid-template-columns:repeat(2,1fr)}
.grid.three{grid-template-columns:repeat(3,1fr)}
.grid.four{grid-template-columns:repeat(4,1fr)}
.card,.faq,.quote-panel,.home-answer-card,.services-answer-card,.port-answer-card,.rail-answer-card,.warehouse-answer-card,.warehouse-scope-card,.drive-apply-card,.quote-side-card{
  background:#fff;
  border:1px solid var(--sp-border);
  border-radius:20px;
  padding:26px;
  box-shadow:0 12px 30px rgba(12,47,57,.07);
}
.card h3,.faq h3{color:var(--sp-navy);margin-top:0}
.card p,.faq p{color:var(--sp-body)}
.btn,.u-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:950;
  border:1px solid var(--sp-border);
  color:var(--sp-navy);
  background:#fff;
  text-decoration:none;
}
.btn.primary,.primary,.u-btn[class*="u-custom-color"],.u-btn[class*="u-palette"]{
  background:var(--sp-gold);
  color:var(--sp-navy);
  border-color:var(--sp-gold);
}
.actions,
.home-actions,
.services-actions,
.port-actions,
.rail-actions,
.warehouse-actions,
.drive-actions,
.quote-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}
.cta-band{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  background:linear-gradient(135deg,var(--sp-navy),var(--sp-teal));
  color:#fff;
  border-radius:24px;
  padding:34px;
  box-shadow:0 18px 46px rgba(12,47,57,.16);
}
.cta-band h2,.cta-band h3{color:#fff;margin-top:0}
.cta-band p{color:rgba(255,255,255,.84)}
.site-footer{
  background:var(--sp-footer);
  color:#fff;
  padding:62px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.25fr repeat(4,1fr);
  gap:34px;
}
.footer-grid h3,.footer-grid h4{color:#fff}
.footer-grid a{display:block;color:rgba(255,255,255,.78);margin:7px 0}
.footer-grid p{color:rgba(255,255,255,.72)}
.copyright{
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:34px;
  padding-top:18px;
  color:rgba(255,255,255,.66);
}
@media(max-width:980px){
  .home-hero-grid,
  .services-hero-grid,
  .port-hero-grid,
  .rail-hero-grid,
  .warehouse-hero-grid,
  .drive-hero-grid,
  .quote-hero-grid,
  .section-head{
    grid-template-columns:1fr;
    gap:34px;
  }
  .grid.two,.grid.three,.grid.four,.footer-grid{grid-template-columns:1fr 1fr}
  .nav-shell{align-items:flex-start;flex-direction:column;padding-top:14px;padding-bottom:14px}
}
@media(max-width:640px){
  .container,.u-sheet{padding-left:18px;padding-right:18px}
  .section{padding:56px 0}
  .home-hero-grid,
  .services-hero-grid,
  .port-hero-grid,
  .rail-hero-grid,
  .warehouse-hero-grid,
  .drive-hero-grid,
  .quote-hero-grid{
    padding-top:58px;
    padding-bottom:64px;
  }
  .grid.two,.grid.three,.grid.four,.footer-grid{grid-template-columns:1fr}
  .topline .container{display:block;padding-top:8px;padding-bottom:8px}
  .primary-nav{display:grid;grid-template-columns:1fr;width:100%}
  .primary-nav a{text-align:center}
  .cta-band{display:block;padding:26px 20px}
}

/* SP Logistics UI Polish v19: premium header/nav/logo rhythm */
.topline{
  background:#0c2f39;
  color:#fff;
  font-size:.74rem;
  letter-spacing:.01em;
}
.topline .container{
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.topline .container span:first-child{
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.topline .container span:last-child{
  flex:none;
  white-space:nowrap;
  font-weight:850;
}

.site-header{
  background:rgba(255,255,255,.985);
  border-bottom:1px solid rgba(12,47,57,.12);
  box-shadow:0 8px 24px rgba(12,47,57,.06);
}
.nav-shell{
  min-height:86px;
  display:grid;
  grid-template-columns:auto auto minmax(0,1fr);
  align-items:center;
  column-gap:14px;
}
.brand{
  min-width:0;
  max-width:310px;
  gap:11px;
}
.brand img{
  width:50px;
  height:50px;
  object-fit:contain;
}
.brand strong{
  color:#0c2f39;
  font-size:1.06rem;
  line-height:.98;
  letter-spacing:.08em;
}
.brand span span{
  margin-top:3px;
  color:#5f747d;
  font-size:.56rem;
  letter-spacing:.18em;
  line-height:1;
}

.nav-toggle{
  display:none;
  border:0;
  border-radius:999px;
  min-height:40px;
  padding:0 14px;
  background:#155263;
  color:#fff;
  font-weight:900;
}

.site-header .primary-nav{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:3px;
  flex-wrap:nowrap;
}
.site-header .primary-nav a{
  white-space:nowrap;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.01em;
  line-height:1;
  padding:10px 8px;
  border-radius:999px;
  color:#0c2f39;
}
.site-header .primary-nav a:hover,
.site-header .primary-nav a[aria-current="page"]{
  background:#155263;
  color:#fff;
}
.site-header .primary-nav .quote{
  margin-left:4px;
  padding:10px 14px;
  border:1px solid #ffbb09;
  background:#ffbb09;
  color:#0c2f39;
  box-shadow:0 10px 22px rgba(255,187,9,.23);
}
.site-header .primary-nav .quote:hover{
  border-color:#0c2f39;
  background:#0c2f39;
  color:#ffbb09;
}
body[data-page="drivers"] .site-header .primary-nav .quote,
body[data-page="Careers"] .site-header .primary-nav .quote{
  border-color:#ffbb09;
  background:#ffbb09;
  color:#0c2f39;
}
body[data-page="drivers"] .site-header .primary-nav .quote:hover,
body[data-page="Careers"] .site-header .primary-nav .quote:hover{
  border-color:#0c2f39;
  background:#0c2f39;
  color:#ffbb09;
}

.btn{
  min-height:46px;
  padding:12px 20px;
  border-radius:999px;
  font-weight:900;
  line-height:1;
  border:1px solid #c8d7de;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
.btn.primary{
  border-color:#ffbb09;
  background:#ffbb09;
  color:#0c2f39;
  box-shadow:0 14px 28px rgba(255,187,9,.24);
}
.btn.primary:hover{
  border-color:#0c2f39;
  background:#0c2f39;
  color:#ffbb09;
}

.site-footer{
  background:#1E3A4E;
  padding:64px 0 30px;
}
.footer-grid{
  grid-template-columns:1.35fr repeat(4,minmax(0,1fr));
  gap:32px;
  align-items:start;
}
.site-footer h4{
  margin-bottom:12px;
}
.site-footer a,
.site-footer p{
  line-height:1.55;
}

@media (max-width:1280px){
  .site-header .primary-nav{
    gap:2px;
  }
  .site-header .primary-nav a{
    font-size:.73rem;
    padding:9px 7px;
  }
  .site-header .primary-nav .quote{
    padding:9px 12px;
  }
}

@media (max-width:1160px){
  .brand{
    max-width:250px;
  }
  .brand span span{
    display:none;
  }
  .site-header .primary-nav a{
    font-size:.71rem;
    padding:8px 6px;
  }
  .site-header .primary-nav .quote{
    padding:9px 11px;
  }
}

@media (max-width:980px){
  .topline .container{
    justify-content:center;
    min-height:30px;
  }
  .topline .container span:first-child{
    display:none;
  }

  .nav-shell{
    min-height:74px;
    grid-template-columns:1fr auto;
    row-gap:10px;
    padding:10px 0;
    position:relative;
  }
  .brand{
    max-width:none;
  }
  .brand img{
    width:44px;
    height:44px;
  }
  .brand strong{
    font-size:1rem;
    letter-spacing:.06em;
  }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .site-header .primary-nav{
    display:none;
    grid-column:1 / -1;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:14px;
    border:1px solid #d8e5ea;
    border-radius:16px;
    background:#fff;
    box-shadow:0 12px 26px rgba(12,47,57,.1);
  }
  .site-header .primary-nav.open{
    display:flex;
  }
  .site-header .primary-nav a{
    text-align:center;
    font-size:.92rem;
    padding:12px 14px;
  }
  .site-header .primary-nav .quote{
    margin-left:0;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:640px){
  .brand span span{
    display:none;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }
}
