/* ==========================================================================
   Amass — simplified site
   ========================================================================== */

:root {
  --navy: #1b2a8a;
  --navy-dark: #141f6b;
  --red: #e4261c;
  --red-dark: #c41d14;
  --sky: #4cbded;
  --sky-band: #5ec4ef;
  --tan: #b8a07c;
  --lavender: #c9cdf0;
  --lavender-soft: #e3e6f8;
  --bg-soft: #f4f6fd;
  --ink: #222633;
  --ink-soft: #5b6072;
  --line: #e4e7f0;
  --white: #fff;

  --font: "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1440px;
  --gutter: 24px;
  --top-h: 64px;
  --nav-h: 50px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(27, 42, 138, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 16px);
  /* iPhone: don't inflate text size in landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  -webkit-tap-highlight-color: rgba(27, 42, 138, .12);
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; 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: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.topbar .container {
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo svg { height: 34px; width: auto; }

.utility {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: #333;
}
.utility a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.utility a:hover { color: var(--navy); }
.utility svg { width: 20px; height: 20px; flex-shrink: 0; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-toggle .globe-ico { width: 20px; height: 20px; }
.lang-toggle .pill {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.lang-toggle button:hover { color: var(--navy); }
.lang-toggle button.is-active { background: var(--navy); color: #fff; }

.mainnav {
  background: var(--navy);
  height: var(--nav-h);
  overflow: hidden;
  transition: height .3s ease;
}
.site-header.is-compact .mainnav { height: 0; }
.mainnav .container {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mainnav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.mainnav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  color: #fff;
  font-size: 16px;
}
.mainnav a::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.mainnav a:hover::after,
.mainnav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .utility .hide-md { display: none; }
  .utility { gap: 18px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; --top-h: 58px; --nav-h: 46px; }
  .logo svg { height: 28px; }
  .utility .hide-sm { display: none; }
  .mainnav .container { justify-content: center; }
  .mainnav a { padding: 0 12px; font-size: 15px; }
  .mainnav a::after { left: 12px; right: 12px; }
  .mainnav .opt { display: none; }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */

/* Slides are stacked in one grid cell, so the hero grows to fit the
   tallest slide and the quick bar always sits below the content. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
}

.slide {
  position: relative;
  grid-area: 1 / 1;
  min-height: clamp(560px, calc(100vh - var(--top-h) - var(--nav-h)), 840px);
  /* iPhone Safari: 100vh ignores the address bar; svh doesn't */
  min-height: clamp(560px, calc(100svh - var(--top-h) - var(--nav-h)), 840px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; }

.slide .container { position: relative; height: 100%; z-index: 2; }

.hero-dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-dots button {
  width: 12px; height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd2db;
  transition: background .2s, transform .2s;
}
.hero-dots button.is-active { background: var(--red); transform: scale(1.15); }

/* Slide 1 — promotions */
.slide-promo {
  background:
    radial-gradient(ellipse 60% 70% at 78% 55%, rgba(76, 189, 237, .20), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}
.slide-promo .net {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 70%;
  height: 120%;
  opacity: .8;
}
.wake {
  position: absolute;
  right: 4%;
  top: 10%;
  width: 46%;
  height: 90%;
  transform: rotate(-35deg);
  background:
    radial-gradient(ellipse 30% 50% at 50% 55%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(120, 190, 240, .45), transparent 72%);
  filter: blur(6px);
}
.ship {
  position: absolute;
  right: 8%;
  top: 2%;
  height: 92%;
  transform: rotate(-38deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 30px 30px rgba(20, 50, 120, .25));
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: -6px 8px; }
}

.promo-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
  padding: 64px 0 150px;
}
.promo-title {
  margin: 0 0 36px;
  font-size: clamp(44px, 5.6vw, 96px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--navy);
}
.promo-title .red { color: var(--red); white-space: nowrap; }
.promo-sub {
  margin: 14px 0 26px;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  color: var(--navy);
}
.promo-sub b { color: var(--red); }

.promo-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.promo-col { padding: 0 28px; border-left: 2px solid var(--line); }
.promo-col:first-child { padding-left: 0; border-left: 0; }
.promo-col h3 {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.promo-col h3 svg { width: 38px; height: 46px; }
.promo-col.is-red h3 { color: var(--red); }
.promo-col.is-sky h3 { color: #2f95d6; }
.promo-col ol { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.promo-col li {
  counter-increment: p;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1f2a5a;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.promo-col li::before {
  content: counter(p);
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}
.promo-col.is-red li::before { background: var(--red); }
.promo-col.is-sky li::before { background: #2f95d6; }

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 5px 5px 5px 34px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .2s, transform .2s;
}
.btn-details .arrow {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  transition: transform .25s;
}
.btn-details:hover { background: var(--navy-dark); }
.btn-details:hover .arrow { transform: translateX(4px); }
.btn-details svg { width: 22px; height: 22px; }

/* Slide 2 — bubbles + half globe */
.slide-world { background: #fff; }
.bubble {
  position: absolute;
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
}
.bubble.blur { filter: blur(10px); }
.bubble.navy { background: var(--navy); }
.bubble.red { background: var(--red); }
.bubble.sky { background: var(--sky); }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -18px); }
}
.slide-world .net {
  position: absolute;
  left: 50%;
  top: 28%;
  width: min(1300px, 110vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
}
.world-title {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  text-align: center;
  margin: 0;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.12;
  font-weight: 900;
  color: var(--navy);
  width: 92%;
  text-shadow: 0 0 30px #fff, 0 0 12px #fff;
}
.world-title span { display: block; color: var(--sky); }

/* Slide 3 — left text, right globe */
.slide-globe .net {
  position: absolute;
  right: -14%;
  top: 50%;
  width: min(1100px, 80vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
}
.globe-copy {
  position: absolute;
  left: calc(var(--gutter) + 4%);
  top: 44%;
  transform: translateY(-50%);
  max-width: 560px;
}
.globe-copy h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1.12;
  font-weight: 900;
  color: var(--navy);
}
.globe-copy h2 .red { color: var(--red); }
.globe-copy h2 .sky { color: var(--sky); display: block; }
.globe-copy p { margin: 20px 0 0; font-size: 18px; color: var(--ink-soft); max-width: 440px; }

/* Quick bar */
.quickbar {
  position: relative;
  grid-area: 2 / 1;
  height: 118px;
  z-index: 4;
  background: var(--sky-band);
}
.quickbar .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.quick-links {
  display: flex;
  gap: 28px;
  transform: translateY(-38px);
}
.quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 150px; height: 150px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  padding: 0 14px;
  box-shadow: 0 12px 30px rgba(20, 30, 90, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.quick:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20, 30, 90, .28); }
.quick svg { width: 58px; height: 46px; }
.quick.navy { background: var(--navy); }
.quick.red { background: var(--red); }
.quick.tan { background: var(--tan); }

.track {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  position: relative;
}
.track input {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 2px;
  padding: 0 64px 0 16px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.track input::placeholder { color: #8a8f9c; }
.track button {
  position: absolute;
  right: -14px;
  width: 56px; height: 56px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  display: grid;
  place-items: center;
  transition: transform .2s;
}
.track button:hover { transform: scale(1.06); }
.track button svg { width: 24px; height: 24px; }

@media (max-width: 1200px) {
  .ship { right: -4%; opacity: .95; }
  .promo-content { max-width: 700px; }
}
@media (max-width: 980px) {
  .slide { display: none; min-height: 0; }
  .slide.is-active { display: block; }
  .slide-promo .container,
  .slide-world .container,
  .slide-globe .container { min-height: 560px; padding-bottom: 110px; }
  .promo-content { padding: 56px 0 48px; }
  .ship { height: 70%; right: -30%; top: 30%; opacity: .35; }
  .wake { opacity: .5; }
  .quickbar { height: auto; padding: 0 0 24px; }
  .quickbar .container { flex-direction: column; align-items: stretch; }
  .quick-links { justify-content: center; transform: translateY(-40px); margin-bottom: -30px; }
  .track { max-width: none; margin-right: 14px; }
  .hero-dots { top: 24px; transform: none; flex-direction: row; right: 50%; translate: 50% 0; }
}
@media (max-width: 640px) {
  .promo-title { font-size: 40px; }
  .slide-promo .net { opacity: .25; }
  .tile h3 { font-size: 19px; }
  .tile .stat { font-size: 34px; }
  .tile p { font-size: 12.5px; }
  .promo-cols { grid-template-columns: 1fr; gap: 20px; }
  .promo-col { padding: 0; border-left: 0; }
  .promo-col ol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  .promo-col li { font-size: 13px; }
  .btn-details { font-size: 18px; padding-left: 26px; }
  .btn-details .arrow { width: 42px; height: 42px; }
  .quick { width: 100px; height: 100px; font-size: 12.5px; gap: 4px; padding: 0 8px; }
  .quick svg { width: 38px; height: 30px; }
  .quick-links { gap: 12px; }
  .slide-promo .container { padding-bottom: 90px; }
  .globe-copy, .world-title { left: var(--gutter); right: var(--gutter); transform: translateY(-50%); width: auto; }
  .world-title { text-align: left; }
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */

.section { padding: 110px 0; }
.section-title {
  margin: 0 0 48px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: var(--navy);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head .section-title { margin: 0; font-weight: 700; color: var(--ink); font-size: clamp(22px, 2vw, 26px); }
.more-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); font-size: 18px;
}
.more-link svg { width: 18px; height: 18px; transition: transform .2s; }
.more-link:hover svg { transform: translateX(4px); }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubble, .ship { animation: none; }
}

/* ==========================================================================
   Services bento
   ========================================================================== */

.services { position: relative; overflow: hidden; }
.services .pin {
  position: absolute;
  left: -2%;
  top: 150px;
  width: 700px;
  height: 700px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--lavender-soft);
  pointer-events: none;
}
.services .pin::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, #fff 0 45%, #dcf2fb 46% 100%);
}

.bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-areas:
    "lcl  .      fcl  .    s200"
    ".    imp    s1000 ecom s20000"
    "air  s100   haz  .    rail";
}
.tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: #fff;
  isolation: isolate;
}
.tile h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 44px);
  line-height: 1.1;
  font-weight: 400;
  transition: transform .4s ease;
}
.tile p { margin: 0; font-size: clamp(13px, 1.1vw, 17px); line-height: 1.6; opacity: .95; }
.tile .stat { font-size: clamp(38px, 3.6vw, 60px); font-weight: 400; margin-bottom: 14px; }
.tile .wm {
  position: absolute;
  inset: 12%;
  z-index: -1;
  opacity: .16;
  transition: transform .6s ease, opacity .4s;
}
.tile .wm svg { width: 100%; height: 100%; }
.tile:hover .wm { transform: scale(1.1) rotate(-4deg); opacity: .24; }
.tile:hover h3 { transform: translateY(-4px); }

.t-blue { background: linear-gradient(135deg, #7b8af5 0%, #5261d9 55%, #3e4cc6 100%); }
.t-red { background: linear-gradient(135deg, #f0624a 0%, #e0341f 55%, #c3261b 100%); }
.t-navy { background: var(--navy); }
.t-sky { background: var(--sky); }
.t-solidred { background: var(--red); }
.t-blue::before, .t-red::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
  }
  .bento .tile { grid-area: auto !important; }
  .services .pin { display: none; }
}

/* ==========================================================================
   Popular routes
   ========================================================================== */

.routes { background: var(--bg-soft); }
.routes-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border-radius: 6px;
}
.routes-card {
  padding: 44px 56px 54px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(27, 42, 138, .12);
  position: relative;
  z-index: 1;
}
.routes-card .section-title { text-align: center; margin-bottom: 36px; }
.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 20px;
}
.route {
  display: grid;
  grid-template-columns: 46px 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding: 2px 0;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  border: 0;
  text-align: left;
  width: 100%;
}
.route .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  transition: background .2s;
}
.route .ico svg { width: 24px; height: 24px; }
.route .line { height: 1px; background: #333; }
.route .to { text-align: right; }
.route:hover .ico, .route.is-active .ico { background: var(--red); }
.route.is-active .from, .route.is-active .to { color: var(--red); }

.routes-feature {
  position: relative;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.dots { position: absolute; left: 0; top: 40px; width: 200px; height: 440px; }
.feature-body { position: relative; margin-left: 150px; background: #fff; padding: 14px 10px; }
.feature-body::before {
  content: "";
  position: absolute;
  left: -30px; top: -90px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 22%, #d6f0fb 23% 40%, #b8bde6 41%);
  z-index: -1;
}
.feature-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: var(--ink);
}
.feature-route .pin-ico { width: 18px; height: 22px; }
.feature-route .line { width: 44px; height: 1px; background: #333; }
.feature-body p { margin: 8px 0 18px; color: var(--ink-soft); font-size: 15px; max-width: 360px; }
.feature-mode {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--lavender-soft);
  padding: 3px 10px;
  border-radius: 999px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--navy-dark); }
.btn svg { width: 18px; height: 18px; }
.btn.red { background: var(--red); }
.btn.red:hover { background: var(--red-dark); }

@media (max-width: 1100px) {
  .routes-wrap { grid-template-columns: 1fr; }
  .routes-feature { padding: 48px 24px; }
}
@media (max-width: 640px) {
  .routes-card { padding: 32px 18px; }
  .route-list { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: 40px minmax(0, 1fr) 20px minmax(0, 1fr); font-size: 14px; }
  .route .ico { width: 40px; height: 40px; }
  .feature-body { margin-left: 70px; }
  .dots { opacity: .6; }
}

/* ==========================================================================
   News
   ========================================================================== */

.news-list { display: flex; flex-direction: column; gap: 64px; max-width: 1300px; margin: 0 auto; }
.news-item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: center;
}
.thumb {
  position: relative;
  aspect-ratio: 360 / 225;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  background:
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.18) 0 1px, transparent 2px) 0 0 / 10px 10px,
    linear-gradient(135deg, #1598ec, #0f86e0);
  color: #fff;
  transition: transform .4s ease;
}
.thumb.teal {
  background:
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.18) 0 1px, transparent 2px) 0 0 / 10px 10px,
    linear-gradient(135deg, #3cc0c3, #2aaab3);
}
.thumb .badge {
  flex-shrink: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 0 22px rgba(255,255,255,.06);
}
.thumb .badge.caps { letter-spacing: .12em; font-size: 24px; }
.thumb .tag { font-size: 24px; font-weight: 900; line-height: 1.1; }
.thumb .tag small {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 14px;
  font-size: 13px;
  font-weight: 700;
  background: var(--red);
  border-radius: 999px;
}
.news-item:hover .thumb { transform: translateY(-4px); }
.news-item h3 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
}
.news-item:hover h3 { color: var(--navy); }
.news-item p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.meta { display: flex; align-items: center; gap: 8px; color: #999; font-size: 14px; }
.meta svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .news-item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .thumb .badge { width: 96px; height: 96px; font-size: 18px; }
  .news-list { gap: 44px; }
}

/* ==========================================================================
   Info cards (download / local contact)
   ========================================================================== */

.info { background: var(--bg-soft); }
.info-stack { display: flex; flex-direction: column; gap: 100px; max-width: 1130px; margin: 0 auto; }
.info-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.info-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.info-body h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 400;
}
.info-body h3 svg { width: 42px; height: 42px; flex-shrink: 0; }
.info-body p { margin: 0 0 24px; color: var(--ink-soft); max-width: 460px; }
.info-body .btn { align-self: flex-start; }
.info-media { position: relative; min-height: 260px; }
.info-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.skyline {
  background: linear-gradient(180deg, #8f98ee 0%, #6c78e3 55%, #4c58cf 100%);
}
.skyline svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 80%; }

@media (max-width: 800px) {
  .info-card { grid-template-columns: 1fr; }
  .info-card.flip .info-media { order: -1; }
  .info-body { padding: 32px 24px; }
  .info-stack { gap: 40px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { position: relative; background: #fff; overflow: hidden; }
.footer-main { padding: 70px 0 60px; position: relative; }
.footer-logo svg { height: 50px; width: auto; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr .8fr;
  gap: 32px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.footer-cols h4 { margin: 0 0 32px; font-size: 20px; font-weight: 700; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; font-size: 17px; color: #333; }
.footer-cols a:hover { color: var(--navy); text-decoration: underline; }
.footer-cols .split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.footer-cols .contact-list li { margin-bottom: 10px; }
.footer-cols .contact-list span { display: block; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  transition: transform .2s;
}
.socials a:hover { transform: translateY(-3px); }
.socials svg { width: 44px; height: 44px; }
.footer-dots { position: absolute; right: 12%; bottom: -40px; width: 520px; height: 300px; opacity: .9; }
.footer-bottom {
  background: var(--bg-soft);
  padding: 22px 0;
  font-size: 15px;
  color: #666;
  position: relative;
  z-index: 1;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.footer-bottom a:hover { color: var(--navy); }

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-cols .wide { grid-column: 1 / -1; }
  .footer-cols h4 { margin-bottom: 16px; font-size: 18px; }
  .footer-cols li { font-size: 15px; }
  .footer-dots { display: none; }
}

/* ==========================================================================
   Floating widgets
   ========================================================================== */

.float-contact {
  position: fixed;
  right: 28px;
  bottom: 130px;
  z-index: 90;
  width: 112px; height: 112px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(27, 42, 138, .35);
  transition: transform .25s;
}
.float-contact:hover { transform: scale(1.06); }
.float-contact .face { width: 52px; height: 52px; }
.float-contact .label {
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  max-width: 92px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-contact::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(76, 189, 237, .6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(.92); opacity: 1; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Back to top — labelled pill so its purpose is obvious */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 89;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px 0 16px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(27, 42, 138, .35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; transition: transform .2s; }

@media (max-width: 640px) {
  .float-contact { width: 76px; height: 76px; right: 14px; bottom: 112px; }
  .float-contact .face { width: 34px; height: 34px; }
  .float-contact .label { font-size: 10px; padding: 1px 6px; max-width: 66px; }
  .to-top { right: 16px; bottom: 16px; height: 44px; padding: 0 16px 0 12px; font-size: 14px; }
}

/* Chat-style message panel */
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border: 1px solid #dfe3ee;
  border-radius: 10px 10px 6px 6px;
  box-shadow: 0 20px 60px rgba(20, 30, 90, .25);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s;
}
.chat-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.chat-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #5b9fe6;
  border-radius: 10px 10px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  width: 44px;
  display: grid;
  place-items: center;
}
.chat-close svg { width: 20px; height: 20px; }
.chat-panel .form-card { box-shadow: none; border-radius: 0; padding: 16px 18px 20px; }

/* ==========================================================================
   Forms (shared by contact page + panel)
   ========================================================================== */

.tabs { display: flex; }
.tab {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 12px 22px;
  font-size: 15px;
}
.tab.is-active { background: #fff; color: #5b9fe6; border-radius: 8px 8px 0 0; margin-top: 6px; margin-left: 6px; }
.contact-tabs .tab.is-active { margin-top: 0; }

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  background: #fff6ec;
  color: #e08a2c;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.6;
}
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.field { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; margin-bottom: 14px; }
.field label { padding-top: 11px; font-size: 14px; color: #333; }
.field label .req { color: var(--red); margin-right: 3px; }
.field input, .field textarea, .field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d9dce5;
  border-radius: 4px;
  background: #fff;
  font-size: 16px; /* 16px+ stops iPhone Safari zooming in on focus */
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6072' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
.field textarea { height: 120px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: #5b9fe6;
  box-shadow: 0 0 0 3px rgba(91, 159, 230, .18);
}
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field .err { display: none; margin-top: 4px; font-size: 12.5px; color: var(--red); }
.field.has-error .err { display: block; }
.field.is-hidden { display: none; }

.form-actions { display: flex; justify-content: center; margin-top: 18px; }
.btn-submit {
  min-width: 210px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: #5b9fe6;
  color: #fff;
  font-size: 15px;
  transition: background .2s;
}
.btn-submit:hover { background: #3f86d4; }

.form-success {
  display: none;
  text-align: center;
  padding: 28px 12px;
}
.form-success svg { width: 56px; height: 56px; margin: 0 auto 14px; color: #34b36b; }
.form-success p { margin: 0 0 18px; color: var(--ink-soft); }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; }

@media (max-width: 520px) {
  .field { grid-template-columns: 1fr; gap: 4px; }
  .field label { padding-top: 0; }
  .form-card { padding: 22px 18px; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, #25369e 55%, #2d45b5 100%);
  color: #fff;
  padding: 90px 0 110px;
}
.page-banner .net {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: .9;
}
.page-banner .bubble { opacity: .9; }
.crumbs { display: flex; gap: 10px; font-size: 14px; opacity: .8; margin-bottom: 18px; }
.crumbs a:hover { text-decoration: underline; }
.page-banner h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.05;
}
.page-banner h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  margin-top: 20px;
  border-radius: 3px;
  background: var(--red);
}
.page-banner p { max-width: 520px; margin: 22px 0 0; font-size: 18px; opacity: .9; }

.contact-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: -56px;
}
.contact-cards .c-card { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }
.c-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.c-card:hover { transform: translateY(-4px); }
.c-card .ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
}
.c-card .ico svg { width: 24px; height: 24px; }
.c-card .ico.navy { background: var(--navy); }
.c-card .ico.red { background: var(--red); }
.c-card .ico.sky { background: var(--sky); }
.c-card .ico.tan { background: var(--tan); }
.c-card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.c-card .value { display: block; font-size: 18px; font-weight: 700; color: var(--navy); word-break: break-word; }
.c-card a.value:hover { text-decoration: underline; }
.c-card small { display: block; margin-top: 6px; font-size: 13.5px; color: #8a8f9c; }
.c-card .map-link { color: inherit; line-height: 1.6; }
.c-card .map-link:hover { color: var(--navy); text-decoration: underline; }

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-intro h2 { margin: 0 0 14px; font-size: clamp(26px, 2.6vw, 36px); color: var(--navy); }
.contact-intro > p { margin: 0 0 36px; color: var(--ink-soft); }
.network-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
  padding: 36px;
  color: #fff;
  background: linear-gradient(180deg, #8f98ee 0%, #6c78e3 55%, #4c58cf 100%);
}
.network-card .skyline-svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; opacity: .75; }
.network-card h3 { position: relative; margin: 0 0 12px; font-size: 22px; }
.network-card p { position: relative; margin: 0; max-width: 440px; opacity: .95; }
.stats { position: relative; display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.stats b { display: block; font-size: 34px; font-weight: 700; line-height: 1.1; }
.stats span { font-size: 13.5px; opacity: .9; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-tabs { background: #5b9fe6; padding: 6px 6px 0; }

@media (max-width: 1000px) {
  .contact-cards .c-card { flex-basis: calc((100% - 20px) / 2); }
  .contact-main { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-cards .c-card { flex-basis: 100%; }
  .page-banner { padding: 60px 0 100px; }
  .page-banner .net { opacity: .35; }
}

/* ==========================================================================
   Shipment tracking
   ========================================================================== */

.tracking { background: var(--bg-soft); position: relative; overflow: hidden; padding-top: 50px; }
.tracking::before {
  content: "";
  position: absolute;
  right: -170px; top: 90px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 34%, var(--lavender-soft) 35% 100%);
  opacity: .8;
  pointer-events: none;
}
.tracking-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lavender-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tracking-intro .section-title { margin-bottom: 16px; font-weight: 700; }
.tracking-intro .lead { margin: 0 0 36px; font-size: 17px; color: var(--ink-soft); max-width: 520px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-ico {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.step-ico svg { width: 22px; height: 22px; }
.step-ico.navy { background: var(--navy); }
.step-ico.red { background: var(--red); }
.step-ico.sky { background: var(--sky); }
.steps h3 { margin: 2px 0 2px; font-size: 17px; color: var(--ink); }
.steps p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.tracking-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tracking-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--navy);
  color: #fff;
}
.tracking-card-head svg { width: 26px; height: 26px; flex-shrink: 0; }
.tracking-card-head h3 { margin: 0; font-size: 18px; font-weight: 500; }
.tracking-card .field { grid-template-columns: 150px 1fr; }
.btn-track { background: var(--red); min-width: 260px; }
.btn-track:hover { background: var(--red-dark); }
.btn-submit:disabled { opacity: .7; cursor: progress; }

.hint { margin-top: 4px; font-size: 12.5px; color: #8a8f9c; }
.field.has-error .hint { display: none; }
.form-error {
  margin: 4px 0 0;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fdecea;
  color: var(--red-dark);
  font-size: 14px;
}
.privacy-note { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: #8a8f9c; }
.form-success h4 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.form-success:focus { outline: none; }

/* Honeypot field — kept out of view for people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 980px) {
  .tracking-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 520px) {
  .tracking-card .field { grid-template-columns: 1fr; }
  .tracking-card-head { padding: 16px 18px; }
  .btn-track { min-width: 0; width: 100%; }
}

/* ==========================================================================
   Reclamaciones
   ========================================================================== */

.claims { padding-top: 0; }
.claims-card {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 48px;
  border-radius: var(--radius);
  background: linear-gradient(115deg, var(--navy) 0%, #25369e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.claims-card::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -90px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 36px solid rgba(76, 189, 237, .18);
  pointer-events: none;
}
.claims-ico {
  flex-shrink: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
}
.claims-ico svg { width: 40px; height: 40px; }
.claims-body { flex: 1; }
.claims-body h2 { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 28px); }
.claims-body p { margin: 0; max-width: 720px; opacity: .9; }
.claims-btn { position: relative; z-index: 1; flex-shrink: 0; }

@media (max-width: 760px) {
  .claims-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px; }
  .claims-ico { width: 60px; height: 60px; }
  .claims-ico svg { width: 30px; height: 30px; }
}

/* Hero — departure cities stacked, all bound for Callao */
.route-stack { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 520px; }
.route-stack li {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(40px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.route-stack li:last-child { border-bottom: 0; }
.rs-city {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  font-size: 21px;
  font-weight: 800;
}
.rs-city svg { width: 26px; height: 32px; flex-shrink: 0; }
.route-stack .is-red .rs-city { color: var(--red); }
.route-stack .is-navy .rs-city { color: var(--navy); }
.route-stack .is-sky .rs-city { color: #2f95d6; }
.rs-line { position: relative; height: 1px; background: #b9bdcc; }
.rs-line::after {
  content: "";
  position: absolute;
  right: -1px; top: -4px;
  border: 4.5px solid transparent;
  border-left: 7px solid #b9bdcc;
  border-right: 0;
}
.rs-dest { font-size: 17px; color: var(--ink); }

@media (max-width: 640px) {
  .rs-city { min-width: 0; font-size: 17px; gap: 10px; }
  .rs-city svg { width: 20px; height: 26px; }
  .rs-dest { font-size: 15px; }
  .route-stack li { gap: 10px; padding: 6px 0; }
}

/* Hero → next section: layered waves in brand colours ending in the
   tracking section's background, so the two blend without a hard edge. */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 120px;
  z-index: 3;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: 100%; display: block; }
.hero-wave .w-back { fill: rgba(76, 189, 237, .22); }
.hero-wave .w-mid { fill: rgba(27, 42, 138, .10); }
.hero-wave .w-front { fill: var(--bg-soft); }
@media (max-width: 640px) {
  .hero-wave { height: 64px; }
}

/* ==========================================================================
   404 page
   ========================================================================== */

.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px var(--gutter);
  background: var(--bg-soft);
}
.notfound .logo svg { height: 40px; }
.notfound .code { margin: 36px 0 0; font-size: clamp(80px, 18vw, 140px); font-weight: 900; line-height: 1; color: var(--navy); }
.notfound h1 { margin: 8px 0 12px; font-size: clamp(24px, 4vw, 34px); color: var(--ink); }
.notfound p { margin: 0 0 28px; color: var(--ink-soft); }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Phones: keep decorations from competing with text */
@media (max-width: 520px) {
  .page-banner .bubble { display: none; }
}
@media (max-width: 640px) {
  .slide-promo .ship { opacity: .2; }
}
