/* Bewin International Logistics — Sint Maarten LCL landing page
   Design system + layout. No external fonts or frameworks. */

:root {
  --navy: #0a2540;
  --navy-700: #123a5e;
  --navy-500: #1d5a86;
  --teal: #0f9c8f;
  --teal-dark: #0b7c72;
  --amber: #f0a500;
  --amber-dark: #d18f00;
  --sand: #f6f4ef;
  --sand-2: #ece7dd;
  --line: #e0dbd1;
  --ink: #16202b;
  --ink-soft: #4a5764;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .06);
  --shadow-md: 0 8px 30px rgba(10, 37, 64, .10);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
          "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px;
  letter-spacing: -.5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.brand-sub { font-size: 11.5px; color: var(--ink-soft); letter-spacing: .3px; }

.header-nav { display: flex; gap: 22px; margin-left: 12px; }
.header-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: var(--navy); border-bottom-color: var(--teal); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; padding: 5px 7px; border-radius: 6px;
}
.lang-switch a:hover { background: var(--sand); color: var(--navy); }
.lang-switch a[aria-current="page"] { background: var(--navy); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #23180a; box-shadow: 0 6px 18px rgba(240, 165, 0, .28); }
.btn-primary:hover { background: var(--amber-dark); color: #23180a; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy-500); color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(15, 156, 143, .32), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(240, 165, 0, .14), transparent 60%),
    linear-gradient(160deg, #08203a 0%, #0d3352 52%, #11405f 100%);
  color: #fff;
  padding: 78px 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #bff3ec; background: rgba(15, 156, 143, .18);
  border: 1px solid rgba(15, 156, 143, .45);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #45e0cf; box-shadow: 0 0 0 4px rgba(69, 224, 207, .18); }

.hero h1 {
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.1; letter-spacing: -1.4px; margin: 0 0 20px; font-weight: 800;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #7ff0e0; }
.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: #cfddea; max-width: 44ch; margin: 0 0 30px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-note { font-size: 13.5px; color: #a9c1d4; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; flex: none; color: #45e0cf; }

/* route card */
.route-card {
  position: relative; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg);
  padding: 24px; backdrop-filter: blur(6px);
}
.route-card h2 {
  font-size: 12.5px; letter-spacing: 1.3px; text-transform: uppercase;
  color: #9fc4dc; margin: 0 0 14px; font-weight: 700;
}
.route-endpoints { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.route-endpoints .pt { font-size: 15px; font-weight: 700; color: #fff; }
.route-endpoints .pt small { display: block; font-weight: 400; font-size: 12px; color: #9fc4dc; letter-spacing: .3px; }
.route-line { flex: 1; height: 26px; position: relative; }
.route-line svg { width: 100%; height: 26px; }
.route-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.route-meta div {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px; padding: 10px 12px;
}
.route-meta dt { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: #9fc4dc; margin: 0 0 3px; }
.route-meta dd { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }

/* facts strip */
.facts { position: relative; z-index: 1; margin-top: 56px; background: rgba(3, 24, 43, .55); border-top: 1px solid rgba(255, 255, 255, .1); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 22px 22px 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.3px; margin-bottom: 3px; }
.fact span { font-size: 13px; color: #9fc4dc; }

/* ---------- sections ---------- */
.section { padding: 82px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-dark); margin: 0 0 12px;
}
.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.18; letter-spacing: -1px;
  margin: 0 0 16px; font-weight: 800; color: var(--navy); text-wrap: balance;
}
.section-head p { font-size: 1.06rem; color: var(--ink-soft); margin: 0; }
.lead-answer { font-size: 1.1rem; color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 10px; font-size: 1.12rem; color: var(--navy); letter-spacing: -.3px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(15, 156, 143, .14), rgba(10, 37, 64, .08));
  color: var(--teal-dark); margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }

/* coverage list */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.pill {
  font-size: 13.5px; color: var(--navy-700); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.pill-strong { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }

/* comparison table */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .96rem; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-size: .9rem; letter-spacing: .3px; font-weight: 600; }
table.compare thead th:nth-child(2) { background: var(--teal-dark); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody th { font-weight: 600; color: var(--navy); width: 30%; }
table.compare td.yes { color: var(--teal-dark); font-weight: 600; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-size: 13px; font-weight: 800; letter-spacing: .5px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
}
.step h3 { font-size: 1rem; margin: 0 0 7px; color: var(--navy); }
.step p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0 0 18px; font-size: .97rem; color: var(--ink); line-height: 1.62; }
.quote blockquote::before { content: "“"; }
.quote blockquote::after { content: "”"; }
.quote footer { margin-top: auto; font-size: 13.5px; color: var(--ink-soft); }
.quote footer b { display: block; color: var(--navy); font-size: 14.5px; }
.quote .metric {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--teal-dark);
  background: rgba(15, 156, 143, .1); border-radius: 6px; padding: 4px 9px; margin-bottom: 14px;
}

/* FAQ */
.faq { max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq details[open] { border-color: var(--navy-500); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 650; color: var(--navy);
  font-size: 1.02rem; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--teal-dark); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); font-size: .98rem; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, #0a2540, #124667);
  color: #fff; border-radius: var(--radius-lg); padding: 52px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 46px; align-items: start;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cfddea; margin: 0 0 22px; }
.cta-contact { display: grid; gap: 12px; margin-top: 8px; }
.cta-contact a { color: #fff; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 10px; font-size: .98rem; }
.cta-contact a:hover { color: #7ff0e0; }
.cta-contact svg { width: 17px; height: 17px; color: #45e0cf; flex: none; }

form.quote-form { display: grid; gap: 12px; }
form.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.quote-form label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; color: #b9cfe0; margin-bottom: 6px; }
form.quote-form input, form.quote-form textarea, form.quote-form select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid transparent; border-radius: 9px; padding: 11px 13px;
}
form.quote-form textarea { min-height: 84px; resize: vertical; }
form.quote-form .form-note { font-size: 12px; color: #9fc4dc; margin: 2px 0 0; }
form.quote-form button { width: 100%; margin-top: 4px; }
.form-status { font-size: 13px; color: #7ff0e0; min-height: 18px; margin: 0; }

/* footer */
.site-footer { background: #06203a; color: #a9c1d4; padding: 56px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h3 { color: #fff; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 14px; font-weight: 700; }
.site-footer a { color: #a9c1d4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer p { margin: 0 0 10px; line-height: 1.6; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 12.5px; color: #7d99b0;
}

/* responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-top: 56px; }
  .grid-2, .grid-3, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 18px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 26px; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .header-nav { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .hero { padding-top: 44px; }
  .hero-note { gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .fact:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .header-right .btn { display: none; }
  form.quote-form .row { grid-template-columns: 1fr; }
  .lang-switch a { padding: 5px 5px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .cta-band form, .site-footer { display: none; }
}

/* ---------- v2: logo, hero coverage, island list ---------- */
.brand-logo { height: 30px; width: auto; }
.brand-cn {
  font-size: 14.5px; color: var(--ink-soft); padding-left: 10px;
  border-left: 1px solid var(--line); letter-spacing: .3px; white-space: nowrap;
}

.hero-cover { margin-top: 26px; }
.cover-title {
  font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase;
  color: #9fc4dc; margin: 0 0 10px; font-weight: 700;
}
.hero-cover .pill-row { margin-top: 0; gap: 8px; }
.hero-cover .pill {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16);
  color: #fff; font-size: 12.5px; padding: 6px 11px; line-height: 1.35;
}
.hero-cover .pill small {
  display: block; font-size: 10.5px; color: #9fc4dc; font-weight: 400; letter-spacing: .3px;
}
.hero-cover .pill-strong { background: #0f9c8f; border-color: #0f9c8f; }
.hero-cover .pill-strong small { color: #c7f4ef; }

.route-islands {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.ri-title {
  font-size: 11px; letter-spacing: .8px; text-transform: uppercase;
  color: #9fc4dc; margin: 0 0 10px; font-weight: 600;
}
.route-islands ul {
  list-style: none; margin: 0; padding: 0 0 0 18px; position: relative;
  display: grid; gap: 7px;
}
.route-islands ul::before {
  content: ""; position: absolute; left: 3px; top: 7px; bottom: 7px;
  border-left: 1px dashed rgba(127, 240, 224, .55);
}
.route-islands li {
  position: relative; font-size: 13.5px; color: #e8f1f7;
  display: flex; gap: 8px; align-items: baseline; line-height: 1.4;
}
.route-islands li::before {
  content: ""; position: absolute; left: -19.5px; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: #0a2540; border: 1.5px solid rgba(127, 240, 224, .9);
}
.ri-name { font-weight: 600; }
.ri-code {
  margin-left: auto; font: 10.5px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #9fc4dc; letter-spacing: .4px;
}

.route-body { max-width: 820px; display: grid; gap: 18px; }
.route-body p { margin: 0; font-size: 1.04rem; color: var(--ink-soft); line-height: 1.78; }

.wx {
  color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; background: rgba(255, 255, 255, .1); border-radius: 5px;
  padding: 1px 6px; cursor: copy;
}
.muted { color: #7d99b0; font-size: 12.5px; }

@media (max-width: 620px) {
  .brand-cn { display: none; }
  .brand-logo { height: 26px; }
}

/* ---------- v3: mobile sticky CTA, logo first-paint guard ---------- */
:root { --logo-h: 36px; }
.brand-logo { height: var(--logo-h); width: auto; }

.mobile-cta { display: none; }

@media (max-width: 620px) {
  :root { --logo-h: 30px; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000;
    align-items: center; justify-content: center; height: 54px;
    background: var(--amber); color: #23180a; font-weight: 700; font-size: 16px;
    text-decoration: none; letter-spacing: .2px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
  }
  .mobile-cta:active { background: var(--amber-dark); }
  html:not(.annot-on) body { padding-bottom: 54px; }
  html.annot-on .mobile-cta { display: none; }
}

/* ---------- v4: WhatsApp secondary CTA (non-Chinese pages) ---------- */
.btn-wa { gap: 9px; }
.btn-wa .wa-ico { width: 18px; height: 18px; flex: none; color: #25d366; }

.wa-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: #a9c1d4; text-decoration: none;
}
.wa-link .wa-ico { width: 15px; height: 15px; flex: none; color: #25d366; }
.wa-link:hover { color: #fff; }
