/* ==========================================================================
   Trident Logistic - main stylesheet
   Business / maritime palette. No external fonts, no frameworks.
   ========================================================================== */

:root {
  --navy: #0a2540;
  --navy-800: #0f3055;
  --navy-700: #143c68;
  --navy-500: #1d4e7c;
  --blue: #1f7ac4;
  --blue-soft: #eaf3fb;
  --gold: #d2952a;
  --gold-soft: #fdf5e7;
  --ink: #17222e;
  --muted: #5b6b7c;
  --muted-2: #7b8998;
  --line: #e3e9f0;
  --line-2: #eef2f7;
  --soft: #f5f8fc;
  --white: #fff;
  --success: #17795e;
  --danger: #c0392b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 40, 70, .05), 0 8px 24px rgba(16, 40, 70, .06);
  --shadow-lg: 0 4px 12px rgba(16, 40, 70, .08), 0 24px 60px rgba(16, 40, 70, .10);
  --wrap: 1200px;
  --header-h: 68px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    "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);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; letter-spacing: -.015em; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #dbe6f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: 48px 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section--navy .eyebrow { color: var(--gold); }
.h2 { font-size: clamp(26px, 3.2vw, 38px); }
.h3 { font-size: clamp(19px, 2vw, 23px); }
.lead { font-size: 17px; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #b7c7d8; }
.head { margin-bottom: 40px; }
.head--center { text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 56px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 999;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none !important;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn-primary { background: var(--gold); color: #10253c; box-shadow: 0 2px 8px rgba(210, 149, 42, .28); }
.btn-primary:hover { background: #e0a338; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy-500); color: var(--navy-500); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-800); color: #c6d5e4; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #d8e4ef; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: transparent; border: 1px solid transparent; color: #c6d5e4;
  padding: 3px 9px; border-radius: 6px; font-size: 13px; font-weight: 600;
}
.lang-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-btn.is-active { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.header.is-stuck { box-shadow: 0 2px 16px rgba(16, 40, 70, .09); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; flex: none; }
.brand img, .brand svg { height: 38px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 17px; letter-spacing: -.01em; }
.brand-sub { font-size: 11px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 9px 13px; border-radius: 7px; color: var(--ink);
  font-size: 15px; font-weight: 500; text-decoration: none !important;
}
.nav a:hover { background: var(--soft); color: var(--navy-500); }
.nav a.is-active { color: var(--navy-500); background: var(--blue-soft); font-weight: 600; }
.header-cta { flex: none; }
.burger {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; z-index: 90;
  transform: translateX(102%); transition: transform .28s ease; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-close { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--navy); }
.drawer nav { padding: 12px 20px 24px; }
.drawer nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 500; }
.drawer .btn { margin: 16px 20px; }
.scrim { position: fixed; inset: 0; background: rgba(10, 37, 64, .45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-slides { position: relative; height: clamp(430px, 62vh, 620px); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  display: flex; align-items: center; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1.12); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 24, 44, .93) 0%, rgba(9, 30, 54, .80) 46%, rgba(10, 37, 64, .55) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 660px; color: #fff; }
.hero-copy h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 16px; }
.hero-copy p { font-size: clamp(15px, 1.5vw, 18px); color: #d3e0ec; max-width: 58ch; }
.hero-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.hero .btn-row { margin-top: 26px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; }
.hero-dots .wrap { display: flex; align-items: center; gap: 10px; }
.dot { width: 30px; height: 4px; border: 0; padding: 0; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.dot.is-active { background: var(--gold); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 37, 64, .35);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.hero-arrow:hover { background: rgba(10, 37, 64, .7); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
@media (max-width: 700px) { .hero-arrow { display: none; } }
/* non-h1 slide titles (only slide 1 carries the real <h1>) */
.hero-copy .hero-title {
  color: #fff; font-size: clamp(30px, 4.4vw, 52px); margin: 0 0 16px;
  line-height: 1.22; letter-spacing: -.015em; font-weight: 700;
}
/* carousel play/pause (WCAG 2.2.2: auto-moving content must be pausable) */
.hero-play {
  position: absolute; right: 16px; bottom: 18px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 37, 64, .45);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.hero-play:hover { background: rgba(10, 37, 64, .75); }
.hero-play svg { width: 18px; height: 18px; fill: currentColor; position: absolute; }
.hero-play .ico-pause { display: none; }
.hero-play[aria-pressed="true"] .ico-play { display: none; }
.hero-play[aria-pressed="true"] .ico-pause { display: block; }
@media (max-width: 700px) { .hero-play { bottom: 66px; } }

/* ---------- trust strip ---------- */
.trust { background: var(--navy-800); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.trust .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #cddced; font-size: 14px; }
.trust-item strong { color: #fff; font-size: 15px; display: block; font-weight: 700; }
.trust-item small { display: block; color: #93a8bd; font-size: 12px; }
.trust-logo {
  height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px;
}
.wca-fallback {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy);
  border-radius: 8px; padding: 8px 14px; font-weight: 800; font-size: 13px; letter-spacing: .04em;
}
.wca-fallback span { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { text-align: center; padding: 4px 8px; }
.stat-num {
  font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--navy); line-height: 1.1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.section--navy .stat-num { color: var(--gold); }
.stat-num .suffix { font-size: .6em; margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.section--navy .stat-label { color: #a9bdd0; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dee9; }
.card-ico {
  width: 46px; height: 46px; border-radius: 10px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-ico svg { width: 24px; height: 24px; fill: var(--blue); }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.card-link { font-weight: 600; font-size: 14px; }
.card--flat { background: var(--soft); border-color: var(--line-2); }
.section--navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--navy .card p { color: #b7c7d8; }
.section--navy .card h3 { color: #fff; }

/* service list */
.svc-item { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.svc-item:last-child { border-bottom: 0; }
.svc-item .tick { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: var(--success); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.port-groups { display: grid; gap: 26px; }
.pg-count {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px;
  background: rgba(31, 122, 196, .1); color: var(--blue); font-size: 12px; font-weight: 700; vertical-align: 2px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--line); font-size: 13px; color: var(--navy-700);
  font-weight: 600;
}
.section--navy .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #d6e3ef; }
.chip--gold { background: var(--gold-soft); border-color: #f0dcb4; color: #8a5d10; }

/* ---------- carrier marquee ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: none; padding: 10px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-weight: 700; color: var(--navy-700); font-size: 14px; letter-spacing: .02em; white-space: nowrap;
  display: flex; align-items: center; justify-content: center; min-width: 92px; min-height: 48px;
}
.marquee-logo { display: block; height: 28px; width: auto; max-width: 110px; object-fit: contain; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- map ---------- */
.map-box {
  position: relative; background: linear-gradient(180deg, #f7fafd 0%, #eef4fa 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.map-box svg { width: 100%; height: auto; }
.map-land { fill: #d7e2ec; stroke: #c3d2e0; stroke-width: .5; }
.map-graticule { stroke: #e6edf5; stroke-width: .5; fill: none; }
.map-lane { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 7; opacity: .95; }
.map-lane.is-hidden { display: none; }
.map-lane.run { animation: dash 26s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.lane-ecs { stroke: #d2952a; } .lane-wcs { stroke: #1f7ac4; }
.lane-air { stroke: #8e6fd0; } .lane-rail { stroke: #17795e; }
.map-node { fill: #fff; stroke: var(--navy); stroke-width: 1.4; }
.map-node-o { fill: var(--gold); stroke: #fff; stroke-width: 1.2; }
.map-node-d { fill: var(--blue); stroke: #fff; stroke-width: 1.2; }
.map-node-h { fill: #9fb0c2; stroke: #fff; stroke-width: 1; }
.map-pulse { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: 0; transform-origin: center; }
.map-pulse.on { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { r: 3; opacity: .8; } 100% { r: 14; opacity: 0; } }
.map-label { font-size: 9px; font-weight: 700; fill: #33475c; paint-order: stroke; stroke: #fff; stroke-width: 2.6px; }
.map-label-d { fill: #16466f; }
/* minor ports: glowing dot, name reveals on hover / tap / focus */
.map-hit { fill: transparent; }
.map-hover { cursor: pointer; outline: none; }
.map-node-mini { animation: mapPulse 2.6s ease-in-out infinite; }
@keyframes mapPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.map-tip {
  opacity: 0; pointer-events: none;
  font-size: 9px; font-weight: 700; fill: #16466f;
  paint-order: stroke; stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round;
  transition: opacity .18s ease;
}
.map-hover:hover .map-tip, .map-hover:focus .map-tip, .map-hover.is-open .map-tip { opacity: 1; }
.map-hover:hover .map-node-mini, .map-hover:focus .map-node-mini, .map-hover.is-open .map-node-mini { animation: none; opacity: 1; r: 3; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.legend-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--navy-700);
}
.legend-btn .swatch { width: 18px; height: 3px; border-radius: 2px; }
.legend-btn.is-off { opacity: .45; }
.map-note { font-size: 12px; color: var(--muted-2); margin-top: 10px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.tbl th, table.tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
table.tbl thead th { background: var(--soft); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-700); white-space: nowrap; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #fafcfe; }
table.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 5px; font-size: 12px; font-weight: 700; background: var(--blue-soft); color: var(--navy-500); }
.tag--gold { background: var(--gold-soft); color: #8a5d10; }
.tag--green { background: #e7f5f0; color: var(--success); }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold);
}
.tl-year { font-weight: 800; color: var(--navy); font-size: 15px; }
.tl-item p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- process stepper ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 3px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 40%; height: 3px; background: var(--gold);
}
.step-n { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: .1em; }
.step h4 { margin: 4px 0 6px; font-size: 16px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 17px 20px;
  font-weight: 600; color: var(--navy); font-size: 15.5px; display: flex; gap: 12px; align-items: center;
}
.acc-q:hover { background: var(--soft); }
.acc-q .plus { margin-left: auto; flex: none; font-size: 20px; color: var(--muted-2); transition: transform .2s; }
.acc-item.is-open .acc-q .plus { transform: rotate(45deg); }
.acc-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.acc-item.is-open .acc-a { display: block; }

.placeholder-box b { display: block; color: var(--navy-500); font-size: 15px; margin-bottom: 6px; font-weight: 600; }

/* ---------- news ---------- */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16 / 9; background: var(--soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--muted-2); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.post h3 { font-size: 18px; margin-bottom: 8px; }
.post p { font-size: 14.5px; color: var(--muted); flex: 1; }
.news-list { display: grid; gap: 16px; }
.news-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.news-row .thumb { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--soft); }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .news-row { grid-template-columns: 1fr; } .news-row .thumb { display: none; } }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy-700); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 122, 196, .14);
}
.field textarea { min-height: 110px; resize: vertical; }
/* custom "other port" input shown under its select */
.port-custom { margin-top: 8px; }
.port-custom[hidden] { display: none; }
.field .hint { font-size: 12px; color: var(--muted-2); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 12px; }
/* optional-details fold: core fields visible, rest collapsed */
details.form-more {
  margin-top: 16px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--soft); padding: 0 16px;
}
details.form-more summary {
  cursor: pointer; padding: 13px 0; font-weight: 600; font-size: 14px;
  color: var(--navy-500); list-style: none; position: relative; padding-right: 28px;
}
details.form-more summary::-webkit-details-marker { display: none; }
details.form-more summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-54%);
  font-size: 19px; color: var(--muted-2); font-weight: 400;
}
details.form-more[open] summary::after { content: "\2013"; }
details.form-more .form-grid { padding: 2px 0 16px; }
.consent-row { margin-top: 16px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 8px; font-size: 14.5px; margin-bottom: 18px; }
.form-msg.is-on { display: block; }
.form-msg.ok { background: #e7f5f0; color: var(--success); border: 1px solid #bfe4d7; }
.form-msg.err { background: #fdecea; color: var(--danger); border: 1px solid #f6c9c4; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.contact-item:last-child { border-bottom: 0; }
.contact-ico {
  width: 40px; height: 40px; border-radius: 9px; background: var(--blue-soft); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.contact-ico svg { width: 20px; height: 20px; fill: var(--blue); }
.contact-item b { display: block; font-size: 13px; color: var(--muted-2); font-weight: 600; margin-bottom: 2px; }
.contact-item .val { font-size: 15.5px; color: var(--navy); font-weight: 600; }
.contact-item .val a { color: var(--navy); }
.section--navy .contact-item { border-color: rgba(255, 255, 255, .1); }
.section--navy .contact-item b { color: #8fa6bd; }
.section--navy .contact-item .val, .section--navy .contact-item .val a { color: #fff; }
.section--navy .contact-ico { background: rgba(255, 255, 255, .1); }
.section--navy .contact-ico svg { fill: var(--gold); }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, #0a2540 0%, #123c68 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 149, 42, .22), transparent 70%);
}
.cta-band .wrap { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 54px; padding-bottom: 54px; position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin: 6px 0 0; color: #bfd0e1; font-size: 15px; }
.cta-band .btn-row { margin-left: auto; }
@media (max-width: 700px) { .cta-band .btn-row { margin-left: 0; } }

/* ---------- footer ---------- */
.footer { background: #071b31; color: #a9bdd0; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; padding: 56px 0 40px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: #b9cade; }
.footer a:hover { color: #fff; }
.footer li { padding: 5px 0; }
.footer .brand { margin-bottom: 14px; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: #7f96ad; }
.footer p { color: #93a8bd; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; color: #7f96ad; }
.footer-bottom .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom .sp { margin-left: auto; }
.fsocial { display: flex; gap: 10px; margin-top: 16px; }
.fsocial a {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
}
.fsocial svg { width: 17px; height: 17px; fill: #c3d4e5; }

/* ---------- floating buttons ---------- */
.fab-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(10, 37, 64, .25); text-decoration: none !important; transition: transform .18s;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 26px; height: 26px; fill: #fff; color: #fff; }
.fab--wa { background: #22c15e; }
.fab--mail { background: var(--navy); }
.fab--top { background: #fff; border: 1px solid var(--line); }
.fab--top svg { fill: var(--navy); color: var(--navy); }
.fab--top { opacity: 0; pointer-events: none; transition: opacity .25s; }
.fab--top.is-on { opacity: 1; pointer-events: auto; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

/* ---------- breadcrumb ---------- */
.crumb { background: var(--soft); border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 13px; color: var(--muted-2); }
.crumb a { color: var(--muted); }
.crumb .sep { margin: 0 8px; color: #b6c3d0; }

/* ---------- page hero (inner) ---------- */
.phero { background: linear-gradient(120deg, #0a2540, #14406e); color: #fff; padding: 62px 0 58px; position: relative; overflow: hidden; }
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 300px at 88% 120%, rgba(210, 149, 42, .18), transparent 65%);
}
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.phero p { color: #c5d5e5; font-size: 17px; max-width: 64ch; margin: 0; }

/* ---------- misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.media-frame img { width: 100%; height: auto; }
.ratio-4-3 { aspect-ratio: 4 / 3; object-fit: cover; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 9px;
  border-left: 2.5px solid var(--success); border-bottom: 2.5px solid var(--success); transform: rotate(-45deg);
}
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.anchor-offset { scroll-margin-top: 90px; }
.divider { height: 1px; background: var(--line); margin: 34px 0; }
.section--navy .divider { background: rgba(255, 255, 255, .12); }

@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .nav { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .map-node-mini { animation: none; opacity: .9; }
}

/* ==========================================================================
   Icon system (inline SVGs are stroke icons unless marked .ico-solid)
   ========================================================================== */
.ico {
  width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.ico-solid { fill: currentColor; stroke: none; }
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); }
.contact-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); color: var(--blue); }
.section--navy .contact-ico svg { stroke: var(--gold); }
.svc-item .tick { width: 18px; height: 18px; fill: none; stroke: var(--success); stroke-width: 2; }
.topbar-item svg { width: 14px; height: 14px; fill: none; stroke: currentColor; opacity: .8; }
.fsocial svg { width: 17px; height: 17px; fill: none; stroke: #c3d4e5; stroke-width: 1.7; }
.fsocial svg.ico-solid { fill: #c3d4e5; stroke: none; }
.chip svg { width: 15px; height: 15px; fill: none; stroke: var(--navy-700); }
.footer li .ico { vertical-align: middle; margin-right: 2px; opacity: .85; }

/* ==========================================================================
   WhatsApp / WeChat / QQ chat popups + brand badges
   ========================================================================== */
.fab--wa, .fab--we, .fab--qq { border: 0; cursor: pointer; font: inherit; }
.fab--we { background: #07c160; }
.fab--qq { background: #12b7f5; }
.chat-popup {
  position: fixed; right: 18px; bottom: calc(var(--fab-h, 318px) + 16px); z-index: 71;
  width: 288px; max-width: calc(100vw - 36px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(10,37,64,.22); overflow: hidden;
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chat-popup.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-popup[hidden] { display: block; }
.chat-close {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.22); color: #fff; font-size: 18px; line-height: 1;
  cursor: pointer;
}
.chat-close:hover { background: rgba(255,255,255,.4); }
.chat-head {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #128c4a, #22c15e); color: #fff;
  padding: 14px 14px;
}
.chat-head--we { background: linear-gradient(135deg, #06a351, #07c160); }
.chat-head--qq { background: linear-gradient(135deg, #0a8fd8, #12b7f5); }
.chat-head img { height: 30px; width: auto; background: #fff; border-radius: 7px; padding: 2px; }
.chat-head b { display: block; font-size: 14px; }
.chat-head span { font-size: 11.5px; opacity: .92; }
.chat-body { padding: 14px; }
.chat-body > p {
  margin: 0 0 12px; background: #eef7f0; color: var(--navy);
  border-radius: 10px 10px 10px 2px; padding: 10px 12px; font-size: 13px; line-height: 1.55;
}
.chat-popup--we .chat-body > p { background: #eafaf0; }
.chat-popup--qq .chat-body > p { background: #eaf6fe; }
.chat-qr-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.chat-qr-row img {
  width: 92px; height: 92px; border: 1px solid var(--line);
  border-radius: 8px; flex: none; background: #fff;
}
.chat-qr-txt b { display: block; font-size: 14.5px; color: var(--navy); margin-bottom: 3px; white-space: nowrap; }
.chat-qr-txt span { font-size: 12px; color: var(--muted); }
.btn-wa { background: #22c15e; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-wa:hover { background: #1cae54; }
.btn-wa svg { width: 18px; height: 18px; fill: #fff; color: #fff; }
.btn-we { background: #07c160; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-we:hover { background: #06a351; }
.btn-we svg { width: 18px; height: 18px; fill: #fff; }
.btn-qq { background: #12b7f5; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-qq:hover { background: #0aa4e0; }
.btn-qq svg { width: 18px; height: 18px; fill: #fff; color: #fff; }
.btn-qq.btn-qq--ghost {
  margin-top: 8px; background: #fff; color: #0a8fd8;
  border: 1px solid #9ad9f7; text-decoration: none;
}
.btn-qq.btn-qq--ghost:hover { background: #f2faff; }
.wca-id { font-size: 12px; color: var(--muted); letter-spacing: .01em; }

/* click-to-copy values (WeChat ID in contact card / footer) */
.val-copy { cursor: pointer; border-bottom: 1px dashed rgba(255,255,255,.35); }
.section .val-copy, .card .val-copy { border-bottom-color: var(--blue); color: var(--blue); }
.val-copy:hover { opacity: .85; }

/* company tagline */
.brand-tagline {
  margin: 12px 0 10px; font-size: 13.5px; color: var(--gold);
  font-weight: 600; letter-spacing: .01em;
}
.phero-tag {
  margin: 10px 0 0; font-size: 14px; font-weight: 600;
  color: var(--gold); letter-spacing: .02em;
}
@media (max-width: 640px) {
  .chat-popup { right: 12px; bottom: calc(var(--fab-h, 318px) + 12px); }
}

/* ---------- mobile sticky CTA bar ---------- */
.m-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .28s ease, visibility .28s;
}
.m-cta.is-on { transform: none; visibility: visible; }
.m-cta .btn { flex: 1; padding: 12px 10px; font-size: 14.5px; }
.m-cta .btn-wa svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 768px) {
  .m-cta { display: flex; }
  body { padding-bottom: 66px; }
  .fab-wrap { bottom: 84px; }
}

/* four-language switcher: keep compact on small screens */
@media (max-width: 640px) {
  .lang-btn { padding: 3px 7px; font-size: 12px; }
  .topbar .wrap { gap: 12px; }
}

/* hero slogan line */
.hero-copy .hero-tagline {
  margin: -2px 0 2px; font-size: 14.5px; font-weight: 700;
  color: var(--gold); letter-spacing: .02em;
}

/* ==========================================================================
   Logistics journey animation (SVG + CSS, home page)
   ========================================================================== */
.lanim { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.lanim svg { display: block; width: 100%; height: auto; }
.lanim-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.lanim-b {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 12.5px; color: var(--muted); background: var(--bg-soft, #f4f8fc);
  animation: la-pop 27s ease-in-out infinite;
}
@keyframes la-pop {
  0%, 100% { background: #f4f8fc; color: var(--muted); transform: scale(1); border-color: var(--line); }
  3% { background: #e6f1fb; color: #0c447c; transform: scale(1.1); border-color: var(--blue); }
  9% { background: #e6f1fb; color: #0c447c; transform: scale(1.1); border-color: var(--blue); }
  13% { background: #f4f8fc; color: var(--muted); transform: scale(1); border-color: var(--line); }
}
.la-c1 { animation: la-cloud 70s linear infinite; }
.la-c2 { animation: la-cloud 95s linear infinite; animation-delay: -40s; }
@keyframes la-cloud { from { transform: translateX(760px); } to { transform: translateX(-160px); } }
.la-plane { animation: la-plane 14s linear infinite; }
@keyframes la-plane { 0% { transform: translate(-170px, 64px); opacity: 0; } 5% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(760px, 20px); opacity: 0; } }
.la-wv1 { animation: la-wave 13s linear infinite; }
.la-wv2 { animation: la-wave 8s linear infinite reverse; }
@keyframes la-wave { from { transform: translateX(0); } to { transform: translateX(-340px); } }
.la-ship { animation: la-sway 5s ease-in-out infinite alternate; transform-origin: 430px 235px; transform-box: view-box; }
@keyframes la-sway { from { transform: translateY(-2.5px) rotate(-.7deg); } to { transform: translateY(2.5px) rotate(.7deg); } }
.la-smk { animation: la-smoke 4.5s linear infinite; transform-box: fill-box; transform-origin: center; }
.la-smk2 { animation-delay: 1.5s; } .la-smk3 { animation-delay: 3s; }
@keyframes la-smoke { 0% { opacity: 0; transform: translateY(0) scale(.6); } 25% { opacity: .85; } 100% { opacity: 0; transform: translateY(-34px) scale(1.5); } }
.la-cranebox { animation: la-drop 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes la-drop { 0%, 100% { transform: translateY(0); } 45%, 60% { transform: translateY(26px); } }
.la-bbk { animation: la-swing 3.6s ease-in-out infinite alternate; transform-origin: 372px 84px; transform-box: view-box; }
@keyframes la-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.la-truck { animation: la-truck 9s ease-in-out infinite; }
@keyframes la-truck { 0% { transform: translate(245px, 172px); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(95px, 172px); opacity: 0; } }
.la-stamp { animation: la-stamp 8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes la-stamp { 0%, 55% { opacity: 0; transform: scale(1.6); } 62%, 82% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.la-rollbox { animation: la-roll 9s ease-in-out infinite; transform-box: fill-box; }
@keyframes la-roll { 0%, 100% { transform: translateX(0); } 40%, 60% { transform: translateX(-30px); } }
.la-shield { animation: la-beat 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes la-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.la-palm { animation: la-leaf 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom center; }
@keyframes la-leaf { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
  .lanim-b, .la-c1, .la-c2, .la-plane, .la-wv1, .la-wv2, .la-ship, .la-smk, .la-cranebox, .la-bbk, .la-truck, .la-stamp, .la-rollbox, .la-shield, .la-palm { animation: none; }
}
