img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: left-aligned copy on white. The hero borrows the business card (blue crest, red field, panda);
   the footer borrows the letterhead (red contact icons, red/blue/black rounded bar). Single light theme by choice: it is the brand's. */
:root {
  --red: #EE242C;        /* brand red: large shapes and display type */
  --red-deep: #D4141C;   /* buttons, small red text, solid panels */
  --red-dark: #A90E15;   /* hover */
  --blue: #3871C2;       /* brand blue */
  --blue-deep: #2A54AC;  /* uniform blue: panels, route line */
  --ink: #231F20;        /* brand black */
  --paper: #FFFFFF;
  --tint: #F3F6FB;       /* blue-biased neutral for alternate bands */
  --muted: #5A5558;
  --line: #D9E0EA;
  --wa: #107C41;
  --font: 'Outfit', 'Century Gothic', 'Avenir Next', 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-solid { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-primary { background: var(--red-deep); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0B5F31; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-weight: 500; text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.nav .nav-login { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.link-login { font-weight: 600; text-decoration: none; }
.link-login:hover { color: var(--red-deep); }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  place-items: center; cursor: pointer; padding: 0;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; align-items: center;
  min-height: clamp(460px, 44vw, 620px);
  padding-block: 56px;
}
.hero-copy { max-width: min(54%, 660px); }
.hero h1 {
  margin: 0; text-transform: uppercase;
  font-size: clamp(1.8rem, 3.8vw, 3.5rem); line-height: 1.02; letter-spacing: -.01em;
}
.h1-light { display: block; font-weight: 300; color: var(--red); }
.h1-heavy { display: block; font-weight: 900; color: var(--ink); white-space: nowrap; }
.lede { margin: 22px 0 0; max-width: 31em; text-wrap: pretty; font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-art { position: absolute; inset-block: 0; left: 50%; right: 0; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-crest { fill: var(--blue-deep); }
.art-band { fill: var(--blue); }
.art-field { fill: var(--red); }
.hero-panda { position: absolute; right: 8%; bottom: 3%; height: 88%; width: auto; max-width: none; }

/* ---------- Tracking band ---------- */
.track { background: var(--ink); color: #fff; }
.track-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 36px; align-items: center; padding-block: 22px; }
.track h2 { margin: 0; font-size: 1.35rem; font-weight: 600; letter-spacing: 0; }
.track-form { display: flex; gap: 10px; }
.track-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 22px;
  border: 2px solid #fff; border-radius: 999px;
  background: #fff; color: var(--ink); font: 400 17px var(--font);
}
.track-form input::placeholder { color: var(--muted); }
.track-msg { grid-column: 1 / -1; margin: 0; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: var(--tint); }
.section h2 {
  margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.08;
  font-weight: 800; letter-spacing: -.015em; text-wrap: balance;
}
.section-lede { margin: 12px 0 0; max-width: 36em; font-size: 1.15rem; color: var(--muted); }

/* How it works: a route with four stops */
.route { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.route li { position: relative; }
.route li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 58px; right: -20px;
  border-top: 3px dashed var(--blue);
}
.stop {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--blue-deep); background: var(--paper); color: var(--blue-deep);
  font-weight: 800; font-size: 19px;
}
.route li:last-child .stop { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.route h3 { margin: 18px 0 6px; font-size: 1.3rem; line-height: 1.2; font-weight: 700; }
.route p { margin: 0; color: var(--muted); }

/* Services: the two ways cargo travels */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.mode {
  position: relative; overflow: hidden; border-radius: 28px; padding: 40px; color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 300px;
}
.mode-air { background: var(--red-deep); }
.mode-sea { background: var(--blue-deep); }
.mode-glyph { position: absolute; right: -28px; bottom: -34px; width: 230px; height: 230px; fill: #fff; opacity: .16; }
.mode-air .mode-glyph { transform: rotate(45deg); }
.mode h3 { margin: 0; font-size: 2rem; line-height: 1.1; font-weight: 800; }
.mode p { margin: 0; max-width: 24em; font-size: 1.1rem; position: relative; }
.mode .btn { margin-top: auto; position: relative; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 44px; }
.extra { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.extra-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--blue-deep); }
.extra h3 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 700; }
.extra p { margin: 0; color: var(--muted); }

/* Quote */
.quote { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote-copy p { margin: 16px 0 0; max-width: 30em; font-size: 1.15rem; color: var(--muted); }
.quote-copy .quote-alt { font-size: 1rem; color: var(--ink); }
.quote-alt a { font-weight: 700; color: var(--red-deep); text-decoration: none; white-space: nowrap; }
.quote-alt a:hover { text-decoration: underline; }
.quote-form { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); border: 2px solid var(--ink); border-radius: 28px; min-width: 0; }
.quote-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quote-form legend, .field label { display: block; padding: 0; margin-bottom: 8px; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: inline-flex; padding: 10px 20px; border-radius: 999px;
  border: 2px solid var(--line); font-weight: 500; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.field input {
  width: 100%; height: 50px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--ink); font: 400 17px var(--font);
}
.field input:focus { border-color: var(--blue); outline: none; }
.field .optional { font-weight: 400; color: var(--muted); }
.quote-form .btn { justify-self: start; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { border-top: 2px solid var(--ink); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 1.2rem; font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; font-weight: 300; line-height: 1; color: var(--red-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 24px; max-width: 38em; color: var(--muted); }

/* Closing call */
.cta { position: relative; overflow: hidden; background: var(--red-deep); color: #fff; }
.cta::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 46%; height: 100%;
  background: var(--ink); clip-path: polygon(38% 100%, 100% 30%, 100% 100%);
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: 68px; }
.cta h2 { margin: 0; max-width: 16em; font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }

/* Footer: the letterhead */
.site-footer { background: var(--paper); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin: 18px 0 0; max-width: 22em; color: var(--muted); }
.foot-title { margin: 0 0 16px; font-size: 1.05rem; font-weight: 700; }
.contact-list, .foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.contact-list .icon { color: var(--red); }
.contact-list a, .foot-links a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover, .foot-links a:hover { text-decoration: underline; }
.legal { margin: 56px 0 0; padding-bottom: 22px; font-size: 15px; color: var(--muted); }
.tribar { position: relative; height: 44px; }
.tribar span { position: absolute; left: 0; bottom: 0; height: 100%; border-radius: 0 44px 0 0; }
.tribar .t-ink { width: 68%; background: var(--ink); }
.tribar .t-blue { width: 53%; background: var(--blue); }
.tribar .t-red { width: 38%; background: var(--red); }

.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(35, 31, 32, .3);
}
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .header-row { gap: 12px; min-height: 72px; flex-wrap: wrap; }
  .brand img { height: 50px; }
  .js .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .link-login { display: none; }
  .nav { flex-wrap: wrap; gap: 4px 20px; margin-left: 0; flex: 1 1 100%; order: 3; padding-bottom: 12px; }
  .js .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 8px 24px 18px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding-block: 13px; border-bottom: 1px solid var(--line); }
  .nav .nav-login { display: block; }
  .js .nav a:hover { border-bottom-color: var(--red); }
  .js .nav .nav-login { border-bottom: 0; font-weight: 700; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .route li:nth-child(2)::after { display: none; }
  .quote, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .js .nav { padding-inline: 20px; }
  .header-actions .btn { padding: 10px 16px; font-size: 15px; }
  .hero-inner { min-height: 0; padding-block: 40px 0; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.8rem); }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-art { position: relative; inset: auto; left: auto; height: clamp(280px, 84vw, 420px); margin-top: 28px; }
  .hero-panda { right: 6%; height: 86%; }
  .track-row { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .route li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; }
  .route li .stop { grid-row: 1 / span 2; }
  .route h3 { margin-top: 8px; }
  .route li:not(:last-child)::after,
  .route li:nth-child(2)::after { display: block; top: 58px; bottom: -20px; left: 22px; right: auto; border-top: 0; border-left: 3px dashed var(--blue); }
  .modes, .extras { grid-template-columns: minmax(0, 1fr); }
  .mode { padding: 30px; min-height: 0; }
  .mode .btn { margin-top: 10px; }
  .quote-form .btn { justify-self: stretch; }
  .cta::after { width: 70%; clip-path: polygon(45% 100%, 100% 62%, 100% 100%); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
