/* ==========================================================================
   Bestway Ocean Express + Midway Ocean Agencies
   Front-end prototype. Tokens map 1:1 to theme.json / CSS vars in the WP theme.
   ========================================================================== */

/* Self-hosted fonts (latin subsets) ------------------------------------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Brand */
  --navy: #1B245B;
  --navy-900: #12183E;
  --navy-700: #2A3470;
  --body: #4A4E68;
  --muted: #6B6F86;
  --line: #E3E5EE;
  --line-2: #D5D7E3;
  --ground: #F3F4F7;
  --ground-2: #EEF0F5;
  --white: #FFFFFF;

  /* Accent: Harbor Teal */
  --accent: #2BC4B4;        /* fills, buttons, map routes */
  --accent-ink: #08766F;    /* accent as text on white/ground (AA) */
  --on-accent: #1B245B;     /* text on accent fills (AA) */
  --accent-on-dark: #2BC4B4;/* accent on navy (AA) */
  --accent-soft: #E3F7F5;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(18, 24, 62, .06);
  --shadow: 0 18px 44px rgba(18, 24, 62, .12);
  --shadow-lg: 0 30px 70px rgba(18, 24, 62, .18);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: .98; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--ground { background: var(--ground); }
.section--navy { background: var(--navy); color: #fff; }

.icon { width: 1em; height: 1em; flex: 0 0 auto; fill: currentColor; }

/* Eyebrow / headings */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section--navy .eyebrow, .on-dark .eyebrow, .network .eyebrow { color: var(--accent-on-dark); }
.h-xl { font-size: clamp(54px, 7.4vw, 108px); line-height: .9; }
.h-lg { font-size: clamp(40px, 4.8vw, 66px); }
.h-md { font-size: clamp(28px, 2.6vw, 36px); }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--body); max-width: 560px; }
.section--navy .lede, .on-dark .lede, .network .lede { color: #C9CCDF; }
.section-head { display: flex; flex-wrap: wrap; gap: 18px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head > div { flex: 1 1 520px; min-width: 0; }
.section-head > p { flex: 1 1 360px; min-width: 0; }
.section-head h2 { margin-top: 14px; }
.hl { box-shadow: inset 0 -.22em 0 var(--accent); padding-inline: .04em; }

/* Buttons */
.btn { --btn-bg: var(--accent); --btn-fg: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid var(--btn-bg); border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; white-space: nowrap; }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18, 24, 62, .18); }
.btn .icon { font-size: 20px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow .icon { font-size: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Texture layers (Envato topo + dot map) */
.tex { position: relative; isolation: isolate; }
.tex::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: repeat; background-size: 900px auto; }
.tex--topo-light::before { background-image: url("../bg/topo-white.svg"); opacity: .09; }
.tex--topo-dark::before { background-image: url("../bg/topo-navy.svg"); opacity: .05; }
.tex--topo-accent::before { background-image: url("../bg/topo-navy.svg"); opacity: .12; }

/* Utility bar --------------------------------------------------------- */
.utility { background: var(--navy-900); color: #C9CCDF; font-size: 13.5px; }
.utility .container { display: flex; gap: 8px 24px; align-items: center; justify-content: space-between; min-height: 40px; }
.utility__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.utility__tag .icon { color: var(--accent-on-dark); font-size: 15px; }
.utility nav { display: flex; gap: 22px; align-items: center; }
.utility a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.utility a:hover { color: var(--accent-on-dark); }
.utility .icon { font-size: 15px; }

/* Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(18, 24, 62, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height .25s var(--ease); }
.site-header.is-stuck .container { min-height: 68px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: auto; transition: height .25s var(--ease); }
.brand__bestway { height: 50px; }
.brand__midway { height: 40px; }
.brand__rule { width: 1px; height: 40px; background: var(--line-2); }
.site-header.is-stuck .brand__bestway { height: 42px; }
.site-header.is-stuck .brand__midway { height: 34px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 13px; border-radius: var(--radius); font-weight: 600; font-size: 16px; text-decoration: none; color: var(--navy); position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after, .nav__list .current-menu-item > a::after, .nav__list .current-page-ancestor > a::after { transform: scaleX(1); }
.nav__list a:hover { color: var(--navy); }
.nav .btn { margin-left: 12px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--nav-top, 125px) 0 auto 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; max-height: calc(100dvh - var(--nav-top, 125px)); overflow-y: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list a { padding: 16px 4px; font-size: 20px; border-bottom: 1px solid var(--line); border-radius: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
  .nav__list a::after { display: none; }
  .nav .btn { margin: 20px 0 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .utility__tag { display: none; }
  .utility .container { justify-content: center; }
  .utility nav { gap: 18px; }
  .utility .hide-sm { display: none; }
  .brand { gap: 12px; }
  .brand__bestway { height: 38px; }
  .brand__midway { height: 30px; }
  .brand__rule { height: 30px; }
  .site-header.is-stuck .brand__bestway { height: 34px; }
  .site-header.is-stuck .brand__midway { height: 27px; }
}

/* Home hero ----------------------------------------------------------- */
.hero { background: var(--ground); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 84px) clamp(140px, 13vw, 176px); }
.hero h1 { margin: 20px 0 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 44px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.stat__label { margin-top: 6px; font-size: 15px; color: var(--body); }

.hero__media { position: relative; }
.hero__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy) center / cover no-repeat; box-shadow: var(--shadow-lg); }
.hero__frame video { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 24, 62, 0) 55%, rgba(18, 24, 62, .55)); pointer-events: none; }
.hero__caption { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.hero__caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.hero__badge { position: absolute; top: 28px; left: -34px; z-index: 2; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius-lg); padding: 14px 18px 14px 14px; box-shadow: var(--shadow); }
.hero__badge-ico { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 26px; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1; text-transform: uppercase; }
.hero__badge span { font-size: 14px; color: var(--body); }
.lanes-card { position: absolute; right: -26px; bottom: 54px; z-index: 2; width: min(290px, 70%); background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-lg); }
.lanes-card__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: #A9ADC8; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.lanes-card ul { list-style: none; margin: 0; padding: 0; }
.lanes-card li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.lanes-card li:last-child { border-bottom: 0; padding-bottom: 2px; }
.lanes-card .code { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .03em; color: #fff; text-decoration: none; }
.lanes-card a.code:hover { color: var(--accent-on-dark); }
.lanes-card .code small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: #C9CCDF; text-transform: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: color-mix(in srgb, var(--accent-on-dark) 18%, transparent); color: var(--accent-on-dark); }
.pill--light { background: var(--accent-soft); color: var(--accent-ink); }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__frame { aspect-ratio: 16 / 11; }
  .hero__badge { left: 14px; top: 14px; }
  .lanes-card { right: 14px; bottom: -40px; }
  .hero__media { margin-bottom: 30px; }
}
@media (max-width: 560px) {
  .hero__badge { padding: 10px 14px 10px 10px; }
  .hero__badge-ico { width: 38px; height: 38px; font-size: 22px; }
  .hero__badge strong { font-size: 20px; }
  .lanes-card { position: relative; right: auto; bottom: auto; width: auto; margin: -36px 14px 0; }
  .hero__media { margin-bottom: 0; }
  .stats { gap: 22px 30px; }
  .stat__num { font-size: 38px; }
}

/* Quote bar ----------------------------------------------------------- */
.quote { position: relative; z-index: 3; margin-top: clamp(-120px, -9vw, -96px); }
.quote__card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px); }
.quote__head { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; }
.quote__head h2 { font-size: 32px; display: flex; align-items: center; gap: 10px; }
.quote__head h2 .icon { color: var(--accent-ink); font-size: 30px; }
.quote__head p { font-size: 15px; color: var(--body); }
.qform { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 14px; align-items: end; margin-top: 20px; }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.control { position: relative; }
.control .icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font-size: 20px; color: var(--muted); pointer-events: none; }
.field input, .field select { width: 100%; height: 54px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 14px 0 44px; font-size: 16px; color: var(--navy); background: #fff; appearance: none; transition: border-color .15s, box-shadow .15s; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.qform .btn { height: 54px; }
.quote__foot { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--body); }
.quote__foot span { display: inline-flex; align-items: center; gap: 7px; }
.quote__foot .icon { color: var(--accent-ink); font-size: 18px; }
.quote__done { display: none; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--navy); font-weight: 600; }
.quote__done .icon { font-size: 24px; color: var(--accent-ink); }
.quote.is-sent .quote__done { display: flex; }
@media (max-width: 1100px) { .qform { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qform .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .qform { grid-template-columns: 1fr; } }

/* Services ------------------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.svc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__plate { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; height: 64px; padding: 0 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.svc__plate img { height: 40px; width: auto; }
.svc__plate--navy { background: var(--navy); }
.svc__tag { position: absolute; top: 18px; right: 18px; }
.svc__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: 34px; display: flex; align-items: center; gap: 12px; }
.svc__body h3 .icon { color: var(--accent-ink); font-size: 34px; }
.svc__body > p { margin: 10px 0 20px; color: var(--body); }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { font-size: 22px; color: var(--accent-ink); margin-top: 2px; }
.svc .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* Network (lanes + map) ---------------------------------------------- */
.network { background: var(--navy); color: #fff; overflow: hidden; }
.network__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.network h2 { margin: 14px 0 20px; }
.lane-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.lane-btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.lane-btn:hover, .lane-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .09); border-color: var(--accent-on-dark); }
.lane-btn[aria-pressed="true"] { transform: translateX(6px); }
.lane-btn__code { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .03em; min-width: 108px; }
.lane-btn__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.lane-btn__meta { display: block; font-size: 14px; color: #C9CCDF; }
.lane-btn .icon { font-size: 22px; color: var(--accent-on-dark); }
.mapcard { position: relative; border-radius: var(--radius-lg); background: #fff; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.mapcard svg { width: 100%; height: auto; border-radius: 9px; }
.mapcard__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 10px 4px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--body); }
.mapcard__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-route { width: 22px; border-top: 3px dashed var(--accent); }
.lg-office { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
@media (max-width: 980px) { .network__grid { grid-template-columns: 1fr; } }

/* Lane map SVG */
.lanemap__sea { fill: var(--ground-2); }
.lanemap__grat { fill: none; stroke: var(--navy); stroke-opacity: .07; stroke-width: 1; }
.lanemap__land { fill: #fff; stroke: #B9BDD0; stroke-width: .8; stroke-linejoin: round; }
.lanemap__border { fill: none; stroke: #CDD0DD; stroke-width: .6; }
.lanemap__tick text { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; fill: var(--muted); }
.route { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 7; animation: dash 1.6s linear infinite; transition: opacity .3s, stroke-width .3s; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.ship circle { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.port__dot { fill: var(--accent); stroke: var(--navy); stroke-width: 1.6; transition: r .3s; }
.port--office .port__dot { fill: var(--muted); stroke: #fff; stroke-width: 1.5; }
.port__pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.port__name { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; fill: var(--navy); paint-order: stroke; stroke: var(--ground-2); stroke-width: 4px; stroke-linejoin: round; }
.port__sub { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 1px; fill: var(--body); paint-order: stroke; stroke: var(--ground-2); stroke-width: 4px; stroke-linejoin: round; }
.port--office .port__name { font-size: 10.5px; fill: var(--body); font-weight: 500; }
.islandmap .lanemap__sea { fill: #F7F8FB; }
.islandmap .lanemap__land { fill: #E3E5EE; stroke: #A9ADC4; stroke-width: 1; }
.islandmap .port__name, .islandmap .port__sub { stroke: #E3E5EE; }
.islandmap__label { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: 6px; fill: var(--navy); opacity: .1; }
/* Lane focus states */
.lanemap[data-focus] .route, .lanemap[data-focus] .ship, .lanemap[data-focus] .port:not(.port--ewr):not(.port--office) { opacity: .18; }
.lanemap[data-focus="bm"] .route--bm, .lanemap[data-focus="bm"] .ship--bm, .lanemap[data-focus="bm"] .port--bm,
.lanemap[data-focus="pr"] .route--pr, .lanemap[data-focus="pr"] .ship--pr, .lanemap[data-focus="pr"] .port--pr,
.lanemap[data-focus="do"] .route--do, .lanemap[data-focus="do"] .ship--do, .lanemap[data-focus="do"] .port--do { opacity: 1; }
.lanemap[data-focus="bm"] .route--bm, .lanemap[data-focus="pr"] .route--pr, .lanemap[data-focus="do"] .route--do { stroke-width: 4; }

/* Destinations -------------------------------------------------------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dest { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.dest:hover { color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
.dest__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.dest__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dest:hover .dest__media img { transform: scale(1.05); }
.dest__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 24, 62, .0) 40%, rgba(18, 24, 62, .78)); }
.dest__code { position: absolute; left: 22px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: .03em; }
.dest__lane { position: absolute; top: 16px; left: 16px; z-index: 1; display: flex; gap: 8px; }
.dest__lane .pill { background: rgba(18, 24, 62, .72); color: #fff; backdrop-filter: blur(6px); }
.dest__lane .pill--accent { background: var(--accent); color: var(--on-accent); }
.dest__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.dest__body h3 { font-size: 30px; }
.specs { margin: 16px 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.specs dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--body); text-transform: uppercase; }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.dest .link-arrow { margin-top: auto; }
@media (max-width: 980px) { .dest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dest-grid { grid-template-columns: 1fr; } }

/* Worldwide band */
.world { margin-top: 24px; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.world::before { content: ""; position: absolute; z-index: -1; right: -40px; top: 50%; width: min(720px, 90%); aspect-ratio: 2200 / 1240; translate: 0 -50%; background: url("../bg/worldmap-white.svg") center / contain no-repeat; opacity: .16; }
.world h3 { font-size: clamp(28px, 3vw, 38px); display: flex; align-items: center; gap: 12px; }
.world h3 .icon { color: var(--accent-on-dark); }
.world p { margin-top: 8px; color: #C9CCDF; max-width: 560px; }

/* Steps --------------------------------------------------------------- */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.steps-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .94); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--body); }
.steps-photo figcaption .icon { font-size: 28px; color: var(--accent-ink); }
.steps-photo figcaption strong { color: var(--navy); }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--accent); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 28px; }
.step__num { font-family: var(--font-mono); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--muted); }
.step h3 { margin: 16px 0 8px; font-size: 26px; }
.step p { color: var(--body); }
@media (max-width: 980px) { .steps-wrap { grid-template-columns: 1fr; } .steps-photo { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Resources ----------------------------------------------------------- */
.res-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.res { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.res:hover { color: var(--navy); border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.res__ico { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--accent-on-dark); font-size: 30px; }
.res h3 { font-size: 26px; }
.res p { color: var(--body); font-size: 16px; }
.res .link-arrow { margin-top: auto; font-size: 15px; }
@media (max-width: 1000px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .res-grid { grid-template-columns: 1fr; } }

/* Locations ----------------------------------------------------------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: stretch; }
.hq { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 34px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.hq h3 { font-size: 42px; }
.hq address { font-style: normal; color: #C9CCDF; font-size: 18px; }
.hq__lines { display: grid; gap: 8px; font-size: 18px; }
.hq__lines a, .hq__lines span { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.hq__lines span { color: #C9CCDF; }
.hq__lines .icon { color: var(--accent-on-dark); font-size: 20px; }
.hq .btn { margin-top: auto; align-self: flex-start; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offices > .office:last-child:nth-child(odd) { grid-column: 1 / -1; }
.office { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.flag { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ground); font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--navy); }
.office h3 { font-size: 23px; }
.office p { margin-top: 6px; font-size: 15px; color: var(--body); }
@media (max-width: 980px) { .loc-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .offices { grid-template-columns: 1fr; } }

/* CTA band ------------------------------------------------------------ */
.cta { background: var(--accent); color: var(--on-accent); padding-block: clamp(64px, 8vw, 96px); }
.cta .container { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.cta h2 { flex: 1 1 560px; font-size: clamp(40px, 5vw, 72px); line-height: .95; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta__actions a:not(.btn) { color: var(--on-accent); font-weight: 700; font-size: 19px; display: inline-flex; align-items: center; gap: 8px; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #C9CCDF; padding: 76px 0 34px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 48px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img:first-child { height: 46px; width: auto; }
.footer-brand img:last-child { height: 38px; width: auto; }
.footer-brand span { width: 1px; height: 36px; background: rgba(255, 255, 255, .25); }
.footer-about { margin-top: 18px; max-width: 340px; font-size: 16px; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.footer-col a { color: #C9CCDF; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-col .icon { display: inline-block; color: var(--accent-on-dark); margin-right: 6px; vertical-align: -2px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: #A9ADC8; }
.footer-bottom .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky action bar (Call + Get a rate) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(18, 24, 62, .1); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { min-height: 50px; font-size: 18px; padding: 0 12px; }
  body { padding-bottom: 74px; }
}

/* ======================================================================
   Lane page (Puerto Rico / Bermuda / D.R. share this template)
   ====================================================================== */
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--accent-on-dark); }

.lhero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.lhero__img { position: absolute; inset: 0; z-index: -2; }
.lhero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%); }
.lhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 24, 62, .94) 0%, rgba(18, 24, 62, .82) 38%, rgba(18, 24, 62, .25) 75%, rgba(18, 24, 62, .1)); }
.lhero .container { padding-block: clamp(40px, 5vw, 64px) clamp(120px, 12vw, 168px); }
.lhero h1 { margin: 22px 0 22px; font-size: clamp(50px, 6.8vw, 98px); line-height: .9; max-width: 820px; }
.lhero .lede { color: #DADCEA; }
.lhero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); font-weight: 600; font-size: 15px; }
.chip .icon { font-size: 18px; color: var(--accent-on-dark); }
.lhero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Manifest / lane facts */
.manifest { position: relative; z-index: 3; margin-top: clamp(-104px, -8vw, -84px); }
.manifest__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.manifest__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 14px 24px; background: var(--navy); color: #A9ADC8; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.manifest__head strong { color: #fff; font-weight: 600; }
.manifest dl { margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.manifest dl > div { padding: 20px 22px 22px; border-right: 1px dashed var(--line-2); }
.manifest dl > div:last-child { border-right: 0; }
.manifest dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.manifest dt .icon { font-size: 16px; color: var(--accent-ink); }
.manifest dd { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.manifest dd small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 14px; text-transform: none; color: var(--body); margin-top: 4px; }
.tbc { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 4px; border: 1px dashed var(--accent-ink); color: var(--accent-ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 1100px) { .manifest dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } .manifest dl > div:nth-child(3n) { border-right: 0; } .manifest dl > div:nth-child(-n+3) { border-bottom: 1px dashed var(--line-2); } }
@media (max-width: 600px) { .manifest dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .manifest dl > div { border-right: 0 !important; border-bottom: 1px dashed var(--line-2); } .manifest dl > div:nth-child(odd) { border-right: 1px dashed var(--line-2) !important; } }

/* Route + journey */
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.journey-grid .mapcard { position: sticky; top: calc(var(--header-h) + 24px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.timeline { list-style: none; margin: 34px 0 0; padding: 0; position: relative; }

.tl { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 30px; }
.tl:last-child { padding-bottom: 0; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; border-left: 2px dashed var(--line-2); }
.tl__ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); color: var(--navy); font-size: 26px; transition: border-color .3s, background .3s, color .3s; }
.tl.is-in .tl__ico { background: var(--navy); border-color: var(--navy); color: var(--accent-on-dark); }
.tl__by { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.tl h3 { font-size: 26px; margin: 6px 0 6px; }
.tl p { color: var(--body); }
@media (max-width: 980px) { .journey-grid { grid-template-columns: 1fr; } .journey-grid .mapcard { position: relative; top: auto; } }

/* What we move */
.move-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.move { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.move .res__ico { margin-bottom: 18px; }
.move h3 { font-size: 24px; margin-bottom: 8px; }
.move p { color: var(--body); font-size: 16px; }
@media (max-width: 1000px) { .move-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .move-grid { grid-template-columns: 1fr; } }

/* Destination office + island map */
.arrive { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.arrive .mapcard { box-shadow: none; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.arrive .hq h3 { font-size: 34px; }
@media (max-width: 980px) { .arrive { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { font-size: 22px; color: var(--accent-ink); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--body); max-width: 640px; }
@media (max-width: 980px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Other lanes */
.other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .other-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll (progressive: content visible without JS) ----------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ship { display: none; }
}

/* ======================================================================
   WordPress build additions
   ====================================================================== */

/* Utilities */
.mt-14 { margin-top: 14px; } .mt-18 { margin-top: 18px; } .mt-22 { margin-top: 22px; } .mt-28 { margin-top: 28px; }
.pt-0 { padding-top: 0 !important; }
.h-sm { font-size: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 15px; color: var(--body); }
.note .icon { color: var(--accent-ink); font-size: 20px; margin-top: 2px; }
.hq__lines .tbc, .on-dark .tbc { color: var(--accent-on-dark); border-color: var(--accent-on-dark); }

/* Admin bar keeps the sticky header visible */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Inner page hero variants */
.lhero h1 { margin-top: 18px; }
.lhero--compact .container { padding-block: clamp(36px, 4vw, 56px) clamp(64px, 7vw, 96px); }
.lhero--compact h1 { font-size: clamp(44px, 5.6vw, 80px); }
.lhero:not(:has(.lhero__img))::before { background: var(--navy-900); }
.lhero--404 { background: var(--navy); }
.lhero--404 .container { padding-block: clamp(80px, 10vw, 140px); }
.pt-hero-overlap { padding-top: 0 !important; }
.pt-hero-overlap > .container { position: relative; z-index: 2; margin-top: clamp(-56px, -4vw, -36px); }
.section--ground.pt-hero-overlap { padding-top: 0 !important; }

/* Service intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.intro__plate { display: flex; width: max-content; align-items: center; height: 64px; padding: 0 18px; margin-bottom: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.intro__plate--navy { background: var(--navy); border-color: var(--navy); }
.intro__plate img { height: 40px; width: auto; }
.intro__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__checks { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .96); border-radius: var(--radius); padding: 18px 20px; }
.intro__checks .checks { margin: 0; gap: 8px; font-size: 15.5px; }
.intro__checks .checks .icon { font-size: 19px; }
@media (max-width: 980px) { .intro-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .intro__media { aspect-ratio: auto; } .intro__media img { aspect-ratio: 4 / 3; } .intro__checks { position: static; border-radius: 0; } }

.move-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.move-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .move-grid--2, .move-grid--3 { grid-template-columns: 1fr; } }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 1000px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps--4 { grid-template-columns: 1fr; } }

/* Prose (T&Cs, service intro text) */
.container--prose { max-width: 860px; }
.updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.prose { color: var(--body); font-size: 18px; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--navy); margin-top: 1.6em; }
.prose h2 { font-size: 34px; } .prose h3 { font-size: 26px; }
.prose a { color: var(--accent-ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose strong { color: var(--navy); }
.post-row + .post-row { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }

/* Locations & contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: var(--ground-2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

/* Shipper resources */
.track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.track__card { display: grid; gap: 18px; }
.track__card .btn { justify-self: start; }
.track__tbc, .track__alt { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.track__tbc .icon, .track__alt .icon { font-size: 22px; color: var(--accent-ink); margin-top: 2px; }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; } }
.doc-list { display: grid; gap: 14px; }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.doc h3 { font-size: 24px; }
.doc p { color: var(--body); font-size: 16px; margin-top: 4px; }
@media (max-width: 560px) { .doc { grid-template-columns: auto 1fr; } .doc > :last-child { grid-column: 1 / -1; justify-self: start; } }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.spec-table tbody th { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; white-space: nowrap; }
.spec-table tbody th .icon { color: var(--accent-ink); margin-right: 10px; vertical-align: -3px; display: inline-block; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table td { font-family: var(--font-mono); font-size: 15px; color: var(--body); }
.glossary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.glossary > div { padding: 22px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.glossary dt { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.glossary dd { margin: 6px 0 0; color: var(--body); font-size: 16px; }
@media (max-width: 980px) { .glossary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .glossary { grid-template-columns: 1fr; } }

/* Request a quote */
.quote-page { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.quote-page__form { border-top: 5px solid var(--accent); box-shadow: var(--shadow-lg); }
.quote-page__form h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.quote-page__form h2 .icon { color: var(--accent-ink); }
.quote-page__side { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.quote-page__side .hq h3 { font-size: 32px; }
.timeline--sm { margin-top: 18px; }
.timeline--sm .tl { grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 20px; }
.timeline--sm .tl__ico { width: 44px; height: 44px; font-size: 20px; }
.timeline--sm .tl:not(:last-child)::before { left: 21px; top: 44px; }
.timeline--sm h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; margin: 2px 0 2px; }
.timeline--sm p { font-size: 15px; color: var(--body); }
@media (max-width: 980px) { .quote-page { grid-template-columns: 1fr; } .quote-page__side { position: static; } }

/* ======================================================================
   Ninja Forms (structure-only CSS from NF; look comes from here)
   ====================================================================== */
.bm-form .nf-form-title, .bm-form .nf-before-form-content, .bm-form .nf-form-fields-required { display: none; }
.bm-form nf-fields-wrap, .bm-form .nf-form-content > div:not(.nf-before-form-content):not(.nf-after-form-content) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.bm-form nf-field { display: contents; }
.bm-form .nf-field-container { margin: 0 !important; width: auto !important; float: none !important; clear: none !important; grid-column: 1 / -1; }
.bm-form .nf-field-container.one-half { grid-column: auto; }
.bm-form .nf-field-label { margin: 0 0 8px; padding: 0; }
.bm-form .nf-field-label label, .bm-form .nf-field-label .nf-label-span { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.bm-form .ninja-forms-req-symbol { color: var(--accent-ink); }
.bm-form .nf-field-element input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.bm-form .nf-field-element select,
.bm-form .nf-field-element textarea { width: 100%; height: 54px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 14px; font: 500 16px/1.4 var(--font-body); color: var(--navy); background: #fff; appearance: none; transition: border-color .15s, box-shadow .15s; }
.bm-form .nf-field-element textarea { height: 140px; padding: 14px; resize: vertical; }
.bm-form .nf-field-element select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.bm-form .nf-field-element input:focus, .bm-form .nf-field-element select:focus, .bm-form .nf-field-element textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.bm-form .nf-field-element input::placeholder, .bm-form .nf-field-element textarea::placeholder { color: var(--muted); opacity: 1; }
.bm-form .submit-container .nf-field-element input[type="submit"], .bm-form input[type="button"].nf-element { width: auto; min-height: 54px; padding: 0 30px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font: 700 20px/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.bm-form .submit-container .nf-field-element input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18, 24, 62, .18); }
.bm-form .nf-error .nf-field-element input, .bm-form .nf-error .nf-field-element select, .bm-form .nf-error .nf-field-element textarea { border-color: #C42A30; }
.bm-form .nf-error-msg, .bm-form .nf-error-required-error { color: #B42318; font-size: 14px; margin-top: 6px; }
.bm-form .nf-after-form-content .nf-form-errors { margin-top: 10px; }
.bm-form .nf-response-msg { padding: 18px 20px; border-radius: var(--radius); background: var(--accent-soft); color: var(--navy); }
.bm-form .nf-response-msg:empty { display: none; }
.bm-form .nf-response-msg p { margin: 0; }
.bm-form .nf-pass .nf-field-element::after, .bm-form .nf-error .nf-field-element::after { display: none !important; }
.bm-form__missing { padding: 16px 18px; border: 1px dashed var(--accent-ink); border-radius: var(--radius); color: var(--body); }

/* Quick quote: one row on desktop with field icons */
.bm-form--quick nf-fields-wrap, .bm-form--quick .nf-form-content > div:not(.nf-before-form-content):not(.nf-after-form-content) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 14px; align-items: end; margin-top: 20px; }
.bm-form--quick .nf-field-container { grid-column: auto; }
.bm-form--quick .nf-field-element { position: relative; }
.bm-form--quick .bm-f:not(.bm-f--submit) .nf-field-element::before { content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; background: var(--bm-ico) center / contain no-repeat; pointer-events: none; z-index: 1; }
.bm-form--quick .bm-f:not(.bm-f--submit) .nf-field-element input, .bm-form--quick .bm-f:not(.bm-f--submit) .nf-field-element select { padding-left: 44px !important; }
.bm-form--quick .ninja-forms-req-symbol { display: none; }
.bm-f--what { --bm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236B6F86'%3E%3Cpath d='M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z'/%3E%3C/svg%3E"); }
.bm-f--from { --bm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236B6F86'%3E%3Cpath d='M128,64a40,40,0,1,0,40,40A40,40,0,0,0,128,64Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,128Zm0-112a88.1,88.1,0,0,0-88,88c0,31.4,14.51,64.68,42,96.25a254.19,254.19,0,0,0,41.45,38.3,8,8,0,0,0,9.18,0A254.19,254.19,0,0,0,174,200.25c27.45-31.57,42-64.85,42-96.25A88.1,88.1,0,0,0,128,16Zm0,206c-16.53-13-72-60.75-72-118a72,72,0,0,1,144,0C200,161.23,144.53,209,128,222Z'/%3E%3C/svg%3E"); }
.bm-f--to { --bm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236B6F86'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM143.31,41.34,152,56.9,125.09,81.24,112.85,88H96.14a16,16,0,0,0-13.88,8l-8.73,15.23L63.38,84.19,74.32,58.32a87.87,87.87,0,0,1,69-17ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Zm102.58,86.78,1.13-5.81a16.09,16.09,0,0,0-4-13.9,1.85,1.85,0,0,1-.14-.14L120,174.74,133.7,144l22.82,3.08,45.72,28.12A88.18,88.18,0,0,1,142.58,214.78Z'/%3E%3C/svg%3E"); }
.bm-f--email { --bm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236B6F86'%3E%3Cpath d='M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) {
  .bm-form--quick nf-fields-wrap, .bm-form--quick .nf-form-content > div:not(.nf-before-form-content):not(.nf-after-form-content) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-form--quick .bm-f--submit { grid-column: 1 / -1; }
  .bm-form--quick .bm-f--submit input[type="submit"] { width: 100% !important; }
}
@media (max-width: 560px) {
  .bm-form nf-fields-wrap, .bm-form .nf-form-content > div:not(.nf-before-form-content):not(.nf-after-form-content),
  .bm-form--quick nf-fields-wrap, .bm-form--quick .nf-form-content > div:not(.nf-before-form-content):not(.nf-after-form-content) { grid-template-columns: 1fr; }
  .bm-form .nf-field-container.one-half { grid-column: 1 / -1; }
  .bm-form .submit-container input[type="submit"] { width: 100%; }
}
