/* SurLink Logistics — shared styles
   Layout: freight-corridor site. White pages with deep-navy bands and green as the signal colour;
   slider hero, stat band, card grids, dark "why us" and closing sections. Single light theme by design. */
:root {
  color-scheme: light;
  --navy: #051B3E;
  --navy-2: #0B2A5B;
  --navy-3: #12376F;
  --deep: #03122B;
  --green: #6CA110;
  --green-dark: #578210;
  --green-deep: #46690C;
  --green-tint: #EEF5E1;
  --ink: #0F1B2D;
  --muted: #56627A;
  --line: #E2E7EF;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FA;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .76);
  --on-dark-line: rgba(255, 255, 255, .14);
  --wa: #25D366;
  --wa-dark: #1EA952;
  --alert-bg: #FDF2F2;
  --alert-fg: #8A1F1F;
  --alert-line: #F3CACA;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(5, 27, 62, .08);
  --shadow-lg: 0 20px 50px rgba(5, 27, 62, .16);
  --max: 1200px;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 78px;
  --loc-shade: linear-gradient(180deg, rgba(3, 18, 43, .05) 0%, rgba(3, 18, 43, .3) 45%, rgba(3, 18, 43, .88) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 70; background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--navy-3); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.container {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 96px; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--deep); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: var(--on-dark); }
.section.dark .lead { color: var(--on-dark-2); }
.section.tight-top { padding-top: 0; }
@media (max-width: 640px) { .section { padding-block: 64px; } }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.section-head.row > div { max-width: 720px; min-width: 0; }
.section-head .lead { margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark); background: var(--green-deep);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow.light { background: var(--green-tint); color: var(--green-deep); }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: .96rem;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-green { background: var(--green-deep); color: var(--on-dark); box-shadow: 0 8px 20px rgba(70, 105, 12, .28); }
.btn-green:hover { background: var(--green-dark); }
.btn-navy { background: var(--navy); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--on-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa-dark); color: var(--on-dark); }
.btn-wa:hover { background: var(--wa); }
.btn-block { width: 100%; }

.more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--head); font-weight: 700; font-size: .88rem; color: var(--green-deep); text-decoration: none;
}
.more svg { width: 16px; height: 16px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }
.on-dark .more, .more.on-dark { color: var(--green); }

/* Demo banner */
.demo-bar { background: var(--navy); color: var(--on-dark); text-align: center; font-size: .82rem; font-weight: 600; padding: 7px 16px; }

/* Promotion banner (replaces the demo banner while a promotion is on) */
.promo-bar { background: linear-gradient(90deg, #8E1414, #C62828 50%, #1E6B34); color: #fff; text-align: center; font-size: .86rem; font-weight: 600; padding: 9px 16px; }
.promo-bar a { color: #FFE082; font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* Christmas theme: red accents, twinkling lights under the header, snowfall over the top banners */
.theme-christmas .eyebrow:not(.light) { background: #B71C1C; }
.theme-christmas .kicker { color: #FF8A80; }
.theme-christmas .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 12px; pointer-events: none;
  background:
    radial-gradient(circle at 8px 6px, #E53935 3.5px, transparent 4px),
    radial-gradient(circle at 26px 6px, #FFD54F 3.5px, transparent 4px),
    radial-gradient(circle at 44px 6px, #43A047 3.5px, transparent 4px),
    radial-gradient(circle at 62px 6px, #42A5F5 3.5px, transparent 4px);
  background-size: 72px 12px;
  animation: twinkle 1.6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; filter: brightness(.85); } to { opacity: 1; filter: brightness(1.25); } }
.snow, .snow::after {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 150px 80px, rgba(255, 255, 255, .9), transparent),
    radial-gradient(2px 2px at 90px 160px, #fff, transparent),
    radial-gradient(3px 3px at 210px 210px, rgba(255, 255, 255, .8), transparent);
  background-size: 240px 240px;
  animation: snowfall 14s linear infinite;
  opacity: .85;
}
.snow::after { content: ""; background-size: 380px 380px; animation-duration: 22s; opacity: .6; }
@keyframes snowfall { to { background-position: 30px 240px; } }
.theme-christmas .footer-bottom span:last-child { color: #FFE082; font-weight: 600; }

/* Header. Transparent over the dark banner at the top of each page (.is-clear, set in JS), and
   white once the page scrolls or the phone menu opens. The white layer fades in behind the nav. */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: linear-gradient(to bottom, rgba(3, 18, 43, .5), rgba(3, 18, 43, 0));
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); transition: opacity .3s; }
.site-header.is-clear { border-bottom-color: transparent; }
.site-header.is-clear::before { opacity: 0; }
.site-header:not(.is-clear) { box-shadow: 0 6px 24px rgba(3, 18, 43, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; position: relative; }
.brand { position: relative; display: block; }
.brand img { display: block; height: 60px; width: auto; transition: opacity .3s; }
.brand .logo-light { position: absolute; left: 0; top: 0; opacity: 0; }
.is-clear .brand .logo-light { opacity: 1; }
.is-clear .brand .logo-dark { opacity: 0; }
/* White links over the banner (top level only: dropdown panels stay white with dark text) */
.is-clear .nav-links > li > a:not(.btn), .is-clear .nav-drop-btn, .is-clear .nav-toggle { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.is-clear .nav-links > li > a:not(.btn):hover, .is-clear .nav-drop-btn:hover { background: rgba(255, 255, 255, .12); }
.is-clear .nav-links > li > a.active, .is-clear .nav-drop-btn.active { color: var(--green); }
/* The banner at the top of each page slides up under the header */
main > .hero:first-child, main > .page-hero:first-child { margin-top: calc(-1 * var(--header-h) - 1px); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a:not(.btn), .nav-drop-btn {
  display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--navy);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-links a:not(.btn):hover, .nav-drop-btn:hover { background: var(--bg-soft); }
.nav-links a.active, .nav-drop-btn.active { color: var(--green-deep); }
.nav-drop-btn svg { width: 16px; height: 16px; transition: transform .15s; }
.has-drop:hover .nav-drop-btn svg, .has-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1001px) {
  .has-drop.closing .dropdown { opacity: 0; visibility: hidden; }
}
.nav-links .dropdown a:not(.btn) { display: block; padding: 10px 12px; }
.dropdown a small { display: block; font-family: var(--body); font-weight: 400; font-size: .8rem; color: var(--muted); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - var(--header-h)); overflow: auto; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn), .nav-drop-btn { width: 100%; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-drop-btn svg { display: none; }
  .dropdown { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 14px; }
  .dropdown::before { display: none; }
  .nav-links .dropdown a:not(.btn) { padding: 12px 8px; }
  .dropdown a small { display: none; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* Hero slider. Slides stack; the incoming one (.is-active) wipes in over the outgoing one (.is-leaving) */
.hero { position: relative; background: var(--deep); color: var(--on-dark); overflow: hidden; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 600px; padding-block: calc(96px + var(--header-h)) 132px;
  --slide-shade: linear-gradient(100deg, rgba(3, 18, 43, .95) 0%, rgba(3, 18, 43, .8) 42%, rgba(3, 18, 43, .25) 100%);
  background-color: var(--deep);
  visibility: hidden;
}
.slide.is-active, .slide.is-leaving { visibility: visible; }
.slide.is-leaving { z-index: 1; }
.slide.is-active { z-index: 2; }
.slide.is-active[data-dir="next"] { animation: wipe-next 1.1s cubic-bezier(.77, 0, .18, 1) both; }
.slide.is-active[data-dir="prev"] { animation: wipe-prev 1.1s cubic-bezier(.77, 0, .18, 1) both; }
@keyframes wipe-next { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes wipe-prev { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

/* Photo layer: a slow pan-and-zoom runs for the whole slide; `translate` carries the scroll parallax */
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: var(--photo) var(--photo-pos, center) / cover no-repeat;
  translate: 0 var(--hero-shift, 0px);
  transition: filter 1.1s ease;
}
.slide:nth-child(1) { --photo: url("hero-delivery.jpg"); --photo-pos: center 12%; }
.slide:nth-child(2) { --photo: url("hero-port.jpg"); }
.slide:nth-child(3) { --photo: url("hero-warehouse.jpg"); --photo-pos: center 35%; }
.slide:nth-child(4) { --photo: url("home-hero.jpg"); }
.slide:nth-child(even)::before { --kb-x: 3%; }
.slide.is-active::before, .slide.is-leaving::before { animation: ken-burns 9s ease-out both; }
.slide.is-leaving::before { filter: brightness(.45); }
@keyframes ken-burns {
  from { transform: scale(1.2) translateX(var(--kb-x, -3%)); }
  to { transform: scale(1.04) translateX(0); }
}
.slide::after { content: ""; position: absolute; inset: 0; background: var(--slide-shade); }
.slide > .container { position: relative; z-index: 1; }
.slide-content { max-width: 660px; translate: 0 var(--hero-lift, 0px); opacity: var(--hero-fade, 1); }

/* Incoming text: the label slides in, the headline rises word by word, then the rest fades up.
   "backwards" fill only holds the start state during the delay, so hover effects still work after. */
.slide.is-active .slide-content > * { animation: hero-in .9s cubic-bezier(.22, 1, .36, 1) backwards; }
.slide.is-active .slide-content > .eyebrow { animation-name: pill-in; animation-delay: .3s; }
.slide.is-active .slide-content > :nth-child(3) { animation-delay: .85s; }
.slide.is-active .slide-content > :nth-child(4) { animation-delay: 1.05s; }
.slide.is-active .slide-content > .words { animation: none; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.words .w > span { display: inline-block; }
.slide.is-active .words .w > span, .page-hero .words .w > span {
  animation: word-up .9s cubic-bezier(.22, 1, .36, 1) backwards;
  animation-delay: calc(.45s + var(--wi, 0) * 70ms);
}
/* Outgoing text lifts away while the next slide wipes over it */
.slide.is-leaving .slide-content > * { animation: hero-out .5s ease-in forwards; }
@keyframes hero-in { from { opacity: 0; transform: translateY(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pill-in { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hero-out { to { opacity: 0; transform: translateY(-28px); } }
.hero h1 { color: var(--on-dark); font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
.hero h1 .accent { color: var(--green); }
.hero .lead { color: var(--on-dark-2); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; }
.slider-controls .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slider-dots { display: flex; gap: 10px; }
/* The active dot doubles as a timer that fills while its slide is showing */
.slider-dots button {
  position: relative; overflow: hidden;
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .4s ease, background .3s;
}
.slider-dots button:hover { background: rgba(255, 255, 255, .6); }
.slider-dots button[aria-current="true"] { width: 52px; }
.slider-dots button::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.slider-dots button[aria-current="true"]::after { animation: dot-fill var(--slide-ms, 6000ms) linear forwards; }
.hero.paused .slider-dots button::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--on-dark-line); background: rgba(255, 255, 255, .06); color: var(--on-dark);
}
.slider-arrow:hover { background: rgba(255, 255, 255, .14); }
.slider-arrow svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .slide {
    min-height: 0; padding-block: calc(72px + var(--header-h)) 112px;
    --slide-shade: linear-gradient(180deg, rgba(3, 18, 43, .8) 0%, rgba(3, 18, 43, .9) 100%);
  }
}

/* Stat band */
.stats-band { background: radial-gradient(900px 300px at 20% 0%, rgba(255, 255, 255, .1), transparent 70%), var(--green-deep); color: var(--on-dark); padding-block: 56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid b { display: block; font-family: var(--head); font-size: clamp(2.4rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-grid span { font-size: .95rem; color: var(--on-dark); opacity: .9; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.grid > * { min-width: 0; }

.card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card .more { margin-top: auto; padding-top: 20px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--green-tint); color: var(--green-deep); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.icon.navy { background: var(--navy); color: var(--on-dark); }
.icon.wa { background: #E7F9EE; color: var(--wa-dark); }

.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: .94rem; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list [data-icon] { display: inline-flex; flex: none; margin-top: 3px; color: var(--green-dark); }
.feature-list [data-icon] svg { width: 18px; height: 18px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 861px) { .split.reverse > :first-child { order: 2; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { display: flex; gap: 12px; margin-bottom: 14px; }
.checklist svg { width: 22px; height: 22px; color: var(--green-dark); flex: none; margin-top: 2px; }
.panel { background: var(--navy); color: var(--on-dark); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); }
.panel h3 { color: var(--on-dark); }

/* Shipment steps */
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { position: relative; padding: 0 0 30px 66px; }
.steps-list li::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li:last-child::before { display: none; }
.steps-list .num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--on-dark);
  font-family: var(--head); font-weight: 800;
}
.steps-list h3 { margin-bottom: 4px; padding-top: 8px; }
.steps-list p { color: var(--muted); margin: 0; }
.steps-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.steps-card > h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 24px; }

/* Location cards */
.loc-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.loc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.loc-head {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px;
  background: linear-gradient(135deg, var(--tone, var(--navy-3)) 0%, var(--deep) 100%); color: var(--on-dark);
}
.loc-head .code {
  position: absolute; right: 16px; top: 4px;
  font-family: var(--head); font-weight: 800; font-size: clamp(4rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -.02em;
  color: rgba(255, 255, 255, .1);
}
.loc-head.photo { background-size: cover; background-position: center; }
.loc-head.photo .code { display: none; }
.loc-head.guyana { background-image: var(--loc-shade), url("guyana.jpg"); background-position: center 70%; }
.loc-head.miami { background-image: var(--loc-shade), url("miami.jpg"); }
.loc-head.panama { background-image: var(--loc-shade), url("panama.jpg"); }
.loc-head h3 { color: var(--on-dark); font-size: 1.5rem; margin: 0; position: relative; text-shadow: 0 1px 12px rgba(3, 18, 43, .5); }
.loc-head .tag { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(3, 18, 43, .55); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.loc-body { display: flex; flex-direction: column; gap: 18px; padding: 22px; flex: 1; }
.loc-body p { color: var(--muted); margin: 0; }
.loc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; border-top: 1px solid var(--line); padding-top: 16px; }
.loc-stats [data-icon] { display: flex; justify-content: center; color: var(--green-deep); margin-bottom: 4px; }
.loc-stats [data-icon] svg { width: 20px; height: 20px; }
.loc-stats b { display: block; font-family: var(--head); font-size: .92rem; color: var(--navy); }
.loc-stats small { font-size: .76rem; color: var(--muted); }
.loc-body .more { margin-top: auto; }
.loc-visual { aspect-ratio: 4 / 3; border-radius: 20px; padding: 32px; }
.loc-visual .code { font-size: clamp(5rem, 12vw, 8rem); right: 24px; top: 12px; }
.loc-visual h3 { font-size: 2rem; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media (max-width: 1199px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.team-grid > * { min-width: 0; }
.team-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-photo {
  aspect-ratio: 4 / 5; background-color: #E9EEF5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Ccircle cx='50' cy='48' r='20' fill='%23C3CDDB'/%3E%3Cpath d='M12 125c0-24 17-40 38-40s38 16 38 40z' fill='%23C3CDDB'/%3E%3C/svg%3E");
  background-size: cover; background-position: center bottom;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.team-body { padding: 18px 18px 22px; }
.team-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-role { display: block; overflow-wrap: anywhere; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 8px; }
.team-body p { color: var(--muted); margin: 0; font-size: .9rem; }
@media (max-width: 640px) { .team-body { padding: 14px 14px 18px; } .team-body p { font-size: .85rem; } }
.team-strip .team-card .team-body p { display: none; }

/* Dark cards */
.dark-card { background: rgba(255, 255, 255, .04); border: 1px solid var(--on-dark-line); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.dark-card .icon { margin: 0 auto 18px; border-radius: 50%; background: rgba(108, 161, 16, .16); color: var(--green); }
.dark-card h3 { color: var(--on-dark); margin-bottom: 4px; }
.dark-card .sub { display: block; font-size: .82rem; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.dark-card p { color: var(--on-dark-2); margin: 0; font-size: .93rem; }

/* Tool cards */
.tool-card { border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 6px; }
.tool-card.navy { background: var(--navy); color: var(--on-dark); }
.tool-card.navy h3 { color: var(--on-dark); }
.tool-card.navy p { color: var(--on-dark-2); }
.tool-card.tint { background: var(--green-tint); }
.tool-card .btn, .tool-card form { margin-top: auto; }
.tool-card h3 { font-size: 1.45rem; }
.tool-card .icon { margin-bottom: 14px; }
.tool-card.navy .icon { background: rgba(108, 161, 16, .18); color: var(--green); }

/* Featured service */
.featured {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  /* Photo on the right, darkened on the left so the text stays readable */
  background: linear-gradient(100deg, rgba(3, 18, 43, .96) 0%, rgba(3, 18, 43, .86) 45%, rgba(3, 18, 43, .15) 100%), url("project-cargo.jpg") right center / cover no-repeat, var(--deep);
  color: var(--on-dark); border-radius: 24px; padding: 56px; min-height: 460px;
}
.featured h2 { color: var(--on-dark); }
.featured .lead { color: var(--on-dark-2); }
.featured .feature-list li { color: var(--on-dark); }
.featured .feature-list [data-icon] { color: var(--green); }
.featured .hero-actions { margin-top: 28px; }
@media (max-width: 860px) {
  .featured {
    grid-template-columns: 1fr; padding: 32px; min-height: 0;
    background: linear-gradient(180deg, rgba(3, 18, 43, .82) 0%, rgba(3, 18, 43, .92) 100%), url("project-cargo.jpg") center / cover no-repeat, var(--deep);
  }
}

/* Cargo chips */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip-grid > * { min-width: 0; }
.chip { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-family: var(--head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.chip .icon { margin: 0; width: 40px; height: 40px; border-radius: 10px; }
.chip .icon svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .chip-grid { grid-template-columns: 1fr; } }

/* Fact sheet */
.facts { margin: 0; display: grid; gap: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 8px 28px; box-shadow: var(--shadow); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-family: var(--head); font-weight: 600; color: var(--navy); }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Routes */
.route { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.route .city { font-family: var(--head); font-weight: 700; color: var(--navy); }
.route .code { font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.route .line { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); }
.route .line svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; padding: 3px; background: var(--bg); color: var(--green-dark); }
.route .end { text-align: right; }
.route-modes { display: block; margin-top: 2px; font-size: .8rem; color: var(--green-deep); font-weight: 600; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark); padding-block: calc(88px + var(--header-h)) 80px;
  background: linear-gradient(115deg, var(--deep) 0%, var(--navy-2) 62%, var(--navy-3) 100%);
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: -130px; width: 380px; height: 380px;
  border: 48px solid rgba(108, 161, 16, .14); border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.kicker { display: block; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.page-hero h1 { color: var(--on-dark); font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero h1 .accent { color: var(--green); display: block; }
.page-hero .lead { color: var(--on-dark-2); max-width: 640px; margin: 0; }

/* Closing CTA */
.cta-final {
  text-align: center; color: var(--on-dark); padding-block: 96px;
  background: radial-gradient(700px 320px at 50% 0%, rgba(108, 161, 16, .2), transparent 70%), var(--deep);
}
.cta-final h2 { color: var(--on-dark); }
.cta-final p { color: var(--on-dark-2); max-width: 580px; margin: 0 auto; font-size: 1.1rem; }
.cta-final .hero-actions { justify-content: center; }
.cta-band { background: var(--green-deep); color: var(--on-dark); padding-block: 64px; }
.cta-band h2 { color: var(--on-dark); margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--on-dark); opacity: .92; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }
.cta-inner > div { min-width: 0; }

/* Forms */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.field.check input { width: auto; margin-top: 4px; accent-color: var(--green-deep); }
.field.check label { font-weight: 500; color: var(--ink); margin: 0; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(108, 161, 16, .15); }
textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-2 > * { min-width: 0; }
.unit-input { display: flex; gap: 8px; }
.unit-input input { flex: 1; min-width: 0; }
.unit-input select { flex: none; width: 84px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 22px; } }

/* Tracking */
.track-box { display: flex; gap: 10px; max-width: 620px; }
.track-box input { flex: 1; min-width: 0; font-size: 1.05rem; padding: 15px 18px; }
@media (max-width: 560px) { .track-box { flex-direction: column; } }
.demo-codes { margin-top: 14px; font-size: .88rem; color: var(--on-dark-2); }
.demo-codes button {
  background: rgba(255, 255, 255, .1); color: var(--on-dark); border: 1px solid var(--on-dark-line);
  border-radius: 6px; padding: 4px 10px; margin: 4px 4px 0 0; font: inherit; font-size: .82rem; cursor: pointer;
}
.demo-codes button:hover { background: rgba(255, 255, 255, .2); }
.track-result { margin-top: -40px; position: relative; z-index: 2; }
.track-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.track-summary div span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.track-summary div b { font-family: var(--head); color: var(--navy); }
@media (max-width: 720px) { .track-summary { grid-template-columns: 1fr 1fr; } }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: .85rem; }
.status-pill.action { background: #FFE9B3; color: #7A4B00; }
.action-box { background: #FFF6E0; border: 1px solid #F2CF7E; border-radius: 12px; padding: 20px; margin: 8px 0 24px; }
.action-box h4 { margin: 0 0 6px; font-family: var(--head); font-size: 1.02rem; color: #7A4B00; }
.action-box p { margin: 0 0 14px; color: var(--ink); }
.action-box small { display: block; margin-top: 10px; color: var(--muted); }
.progress { display: flex; gap: 4px; margin: 8px 0 32px; }
.progress div { flex: 1; height: 8px; background: var(--line); border-radius: 4px; }
.progress div.done { background: var(--green); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 40px; }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); }
.timeline li.done .dot { background: var(--green); border-color: var(--green); }
.timeline li.current .dot { border-color: var(--green); box-shadow: 0 0 0 5px rgba(108, 161, 16, .2); }
.timeline li.pending { color: var(--muted); }
.timeline b { font-family: var(--head); color: var(--navy); }
.timeline li.pending b { color: var(--muted); font-weight: 600; }
.timeline small { display: block; color: var(--muted); }
.alert { padding: 16px 18px; border-radius: 12px; background: var(--alert-bg); color: var(--alert-fg); border: 1px solid var(--alert-line); }

/* Legal and policy pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal ul { margin: 0 0 1em; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal p a:not(.btn), .legal li a { color: var(--green-deep); text-decoration: underline; }
.draft-note { margin-bottom: 20px; }
mark.confirm { background: #FFE9B3; color: #4A3200; padding: 1px 5px; border-radius: 4px; font-weight: 600; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; background: var(--bg); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--head); font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green-dark); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .icon { margin: 0; }
.contact-item b { display: block; font-family: var(--head); color: var(--navy); }
.contact-item a:not(.icon), .contact-item span { color: var(--muted); text-decoration: none; }
.contact-item a:not(.icon):hover { color: var(--green-deep); }
.contact-item a.icon { transition: transform .15s, box-shadow .15s; }
.contact-item a.icon:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-dialog { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 28px; box-shadow: var(--shadow-lg); color: var(--ink); }
.contact-dialog::backdrop { background: rgba(3, 18, 43, .55); }
.contact-dialog-value { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--navy); overflow-wrap: anywhere; user-select: all; margin-bottom: 8px; }
.contact-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-dialog-actions .btn { padding: 11px 18px; font-size: .9rem; }
.note-box { background: var(--green-tint); border-radius: 16px; padding: 24px; }
.note-box h3 { margin-bottom: 6px; }
.note-box p { margin: 0; color: var(--ink); }
.success { text-align: center; padding: 24px 8px; }
.success .icon { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-dark-2); font-size: .93rem; border-top: 1px solid var(--on-dark-line); }
.footer-top { border-bottom: 1px solid var(--on-dark-line); padding-block: 36px; }
.footer-top .container { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer-top h3 { color: var(--on-dark); margin: 0 0 4px; font-size: 1.3rem; }
.footer-top p { margin: 0; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--on-dark-line); color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.social:hover { border-color: var(--green); color: var(--green); }
.social svg { width: 16px; height: 16px; }
.footer-main { padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr 1.4fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 70px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: var(--on-dark); font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; overflow-wrap: anywhere; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-small { font-size: .85rem; }
.footer-bottom {
  border-top: 1px solid var(--on-dark-line); margin-top: 48px; padding-top: 22px; padding-bottom: 76px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem;
}

/* Floating contact */
.wa-float {
  position: fixed; z-index: 65;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--on-dark);
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
.wa-tip {
  position: fixed; z-index: 65;
  right: calc(92px + env(safe-area-inset-right, 0px)); bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  background: var(--deep); color: var(--on-dark); font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 8px;
  box-shadow: var(--shadow); white-space: nowrap; pointer-events: none;
}
@media (max-width: 640px) { .wa-tip { display: none; } }
.chat-launch {
  position: fixed; z-index: 65;
  left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--navy); color: var(--on-dark); box-shadow: 0 10px 24px rgba(5, 27, 62, .3);
}
.chat-launch svg { width: 26px; height: 26px; }
.chat-panel {
  position: fixed; z-index: 66;
  left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  width: min(340px, calc(100vw - 40px)); background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.chat-head { display: flex; justify-content: space-between; gap: 12px; background: var(--navy); color: var(--on-dark); padding: 18px 20px; }
.chat-head h3 { color: var(--on-dark); margin: 0 0 2px; font-size: 1.05rem; }
.chat-head p { margin: 0; font-size: .85rem; color: var(--on-dark-2); }
.chat-close { background: none; border: 0; color: var(--on-dark); cursor: pointer; padding: 2px; align-self: flex-start; }
.chat-close svg { width: 20px; height: 20px; }
.chat-body { display: grid; gap: 8px; padding: 12px; }
.chat-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.chat-opt:hover { border-color: var(--green); background: var(--green-tint); }
.chat-opt .icon { margin: 0; width: 40px; height: 40px; border-radius: 10px; }
.chat-opt .icon svg { width: 20px; height: 20px; }
.chat-opt b { display: block; font-family: var(--head); color: var(--navy); font-size: .92rem; }
.chat-opt small { color: var(--muted); font-size: .84rem; }

/* Floating buttons: the contact launcher glows, the WhatsApp button pings and its label bobs */
.chat-launch { animation: pulse-glow 2.4s ease-in-out infinite; transition: transform .25s; }
.chat-launch:hover { transform: scale(1.08); }
.chat-launch[aria-expanded="true"] { animation: none; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(108, 161, 16, .35), 0 0 20px 4px rgba(108, 161, 16, .18); }
  50% { box-shadow: 0 0 16px 6px rgba(108, 161, 16, .55), 0 0 40px 10px rgba(108, 161, 16, .25); }
}
.chat-panel { animation: pop-in .2s ease-out; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-float svg { position: relative; }
.wa-ping { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .35; animation: ping 1.5s cubic-bezier(0, 0, .2, 1) infinite; pointer-events: none; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.wa-tip { animation: bounce-subtle 2s ease-in-out infinite; }
@keyframes bounce-subtle { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }

/* Thin reading-progress bar across the top of the window */
.scroll-progress {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 70;
  height: 3px; background: linear-gradient(90deg, var(--green-deep), var(--green));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* Inner-page banners: the label slides in, the headline rises word by word, then the text fades up */
.page-hero .container > * { animation: hero-in .9s cubic-bezier(.22, 1, .36, 1) backwards; }
.page-hero .container > .kicker { animation-name: pill-in; animation-delay: .15s; }
.page-hero .container > .words { animation: none; }
.page-hero .container > :nth-child(3) { animation-delay: .75s; }
.page-hero .container > :nth-child(n+4) { animation-delay: .95s; }

/* Scroll reveals. Blocks are visible at rest and animate as they enter, so nothing is ever stuck
   hidden. Side-by-side columns slide in from their side, cards zoom up, and blocks that enter
   together are staggered (--stagger, set in JS). "backwards" fill only holds the start state
   during the delay, so hover lifts still work after. */
main { overflow-x: clip; }
.reveal.in { animation: reveal-up .9s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: var(--stagger, 0ms); }
.split > .reveal:first-child.in { animation-name: reveal-left; }
.split > .reveal:last-child.in { animation-name: reveal-right; }
@media (min-width: 861px) {
  .split.reverse > .reveal:first-child.in { animation-name: reveal-right; }
  .split.reverse > .reveal:last-child.in { animation-name: reveal-left; }
}
@media (max-width: 860px) { .split > .reveal.in { animation-name: reveal-up; } }
.card.in, .loc-card.in, .team-card.in, .dark-card.in, .tool-card.in, .chip.in, .route.in, .featured.in { animation-name: reveal-zoom; }
/* Section headings and the shipment steps animate their parts in sequence instead of as one block */
.section-head.in { animation: none; }
.section-head.in > :not(div), .section-head.in > div > * { animation: reveal-up .9s cubic-bezier(.22, 1, .36, 1) backwards; }
.section-head.in > :nth-child(2), .section-head.in > div > :nth-child(2) { animation-delay: .12s; }
.section-head.in > :nth-child(3), .section-head.in > div > :nth-child(3) { animation-delay: .24s; }
.section-head.in > .eyebrow, .section-head.in > div > .eyebrow { animation-name: pill-in; }
.section-head.row.in > .more { animation-delay: .36s; }
.steps-card.in .steps-list li { animation: reveal-left .8s cubic-bezier(.22, 1, .36, 1) backwards; }
.steps-card.in .steps-list li:nth-child(1) { animation-delay: .2s; }
.steps-card.in .steps-list li:nth-child(2) { animation-delay: .32s; }
.steps-card.in .steps-list li:nth-child(3) { animation-delay: .44s; }
.steps-card.in .steps-list li:nth-child(4) { animation-delay: .56s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes reveal-left { from { opacity: 0; transform: translateX(-64px); } to { opacity: 1; transform: none; } }
@keyframes reveal-right { from { opacity: 0; transform: translateX(64px); } to { opacity: 1; transform: none; } }
@keyframes reveal-zoom { from { opacity: 0; transform: translateY(36px) scale(.92); } to { opacity: 1; transform: none; } }

/* Routes: dashes flow toward Guyana and the ship/plane travels the line */
@keyframes dash-flow { to { background-position: 14px 0; } }
@keyframes travel { 0% { left: 10%; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.route .line { animation: dash-flow .9s linear infinite; }
.route .line svg { animation: travel 5s ease-in-out infinite; }

/* Like the Sure Gig site, the animations stay on even when "reduce motion" is set, e.g. Windows
   animation effects turned off. Only smooth page scrolling is dropped. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
