/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy:       #07111E;
  --navy-2:     #0A1828;
  --navy-3:     #0D2035;
  --ocean:      #0B63FF;
  --ocean-2:    #0052D9;
  --electric:   #2E9BFF;
  --white:      #FFFFFF;
  --gray-light: #E6E6E6;
  --gray-mid:   #8899AA;
  --gray-dim:   #445566;
  --line:       rgba(255,255,255,0.07);
  --line-2:     rgba(46,155,255,0.15);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Bebas Neue', var(--sans);
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-gap: clamp(80px, 10vw, 160px);
  --nav-h: 108px;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--navy);
  color: var(--white);
  overflow-x: clip;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
::selection { background: var(--ocean); color: var(--white); }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 2px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--electric); color: var(--navy);
  z-index: 9999; font-weight: 700; font-size: 13px; letter-spacing: .05em;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

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

.section-padding { padding-block: var(--section-gap); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-mid); }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: normal; color: var(--electric); }

.section-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
  max-width: 700px;
}

.section-desc {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: var(--gray-mid);
  max-width: 580px;
  line-height: 1.7;
}

/* Live dot */
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00ff88;
  flex-shrink: 0;
  animation: livePulse 1.8s ease infinite;
  box-shadow: 0 0 6px rgba(0,255,136,.6);
}
.live-dot-small {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #00ff88;
  flex-shrink: 0;
  animation: livePulse 1.8s ease infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: var(--ocean);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s var(--ease-out), transform .2s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transition: left .5s var(--ease-out);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--ocean-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(11,99,255,.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.05);
}

/* =============================================================
   5. Reveal animations
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal="image"] { transform: scale(.97); }
[data-reveal="image"].is-visible { transform: scale(1); }

.char-wrap { overflow: hidden; display: inline-block; }
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.char.is-visible { opacity: 1; transform: none; }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  transition: background .4s var(--ease-out), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,17,30,.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--line);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .06em;
  color: var(--white);
  flex-shrink: 0;
}
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--electric);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.lang-toggle {
  display: none;
  align-items: center;
  gap: .4em;
  background: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: .28em .65em;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .25s, color .25s;
  text-transform: uppercase;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--electric); color: var(--white); }
.lang-toggle-sep { opacity: .3; }
.lang-toggle-current { color: var(--white); font-weight: 600; }

.nav-hamburger {
  width: 36px; height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { list-style: none; margin-bottom: 2rem; }
.mobile-menu ul li + li { margin-top: 1.2rem; }
.mobile-menu ul a {
  font-family: var(--display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  letter-spacing: .02em;
  color: var(--gray-mid);
  transition: color .2s;
}
.mobile-menu ul a:hover { color: var(--white); }
.mobile-menu .btn-primary { margin-bottom: 2rem; }
.mobile-menu-contact {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.mobile-menu-contact span { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-mid); }
.mobile-menu-contact a { font-size: 1.1rem; font-weight: 700; color: var(--electric); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
.hero-bg-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7,17,30,.98) 0%, rgba(7,17,30,.65) 45%, rgba(7,17,30,.25) 100%),
    linear-gradient(90deg, rgba(7,17,30,.6) 0%, transparent 60%);
}

/* Section spotlight — cursor follow for non-hero sections */
.section-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle 600px at var(--sx, 50%) var(--sy, 40%),
    rgba(11,99,255,.13) 0%, transparent 65%
  ),
  radial-gradient(
    circle 350px at calc(var(--sx, 50%) + 8%) calc(var(--sy, 40%) - 8%),
    rgba(46,155,255,.07) 0%, transparent 55%
  );
  opacity: 0;
  transition: opacity .5s ease;
}
[data-spotlight]:hover .section-spotlight { opacity: 1; }

/* Mouse-reactive gradient — the signature effect */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle 700px at var(--mx, 60%) var(--my, 40%),
      rgba(11,99,255,.2) 0%, transparent 60%),
    radial-gradient(circle 500px at calc(var(--mx, 60%) - 15%) calc(var(--my, 40%) + 10%),
      rgba(46,155,255,.1) 0%, transparent 50%);
  pointer-events: none;
  transition: background .15s ease;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Scan line */
.hero-scan {
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46,155,255,.5), transparent);
  z-index: 2;
  animation: scanLine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanLine {
  0%, 100% { top: -2px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: .3; }
  100% { top: 100%; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(120px, 18vh, 200px);
  padding-top: calc(var(--nav-h) + 3rem);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 2rem;
}
.hero-meta .mono { color: var(--gray-mid); font-size: 11px; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  line-height: .92;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .08em;
}
.hero-line { display: block; overflow: hidden; }
.hero-line--accent { color: var(--electric); }

.hero-sub {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: clamp(.85rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1.2rem;
}
.hero-sub-sep { color: var(--line-2); }

.hero-desc {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: var(--gray-mid);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 160px;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--electric), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.6); opacity: .4; }
}
.hero-scroll-indicator .mono { writing-mode: vertical-rl; font-size: 9px; }

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(7,17,30,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-stat {
  padding: .75rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat:nth-child(4n) { border-right: none; }
.hero-stat:nth-child(n+5) { border-bottom: none; }
.hero-stat-divider { display: none; }
.hero-audience {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: rgba(7,17,30,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.hero-audience-header {
  flex-shrink: 0;
  max-width: 280px;
  border-right: 1px solid var(--line);
  padding-right: 2.5rem;
}
.hero-audience-eyebrow {
  display: block;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: .5rem;
}
.hero-audience-sub {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--gray-dim);
}
.hero-audience-cards {
  display: flex;
  gap: 0;
  flex: 1;
}
.hero-audience-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-right: 1px solid var(--line);
  cursor: default;
  transition: background .25s;
}
.hero-audience-card:last-child { border-right: none; }
.hero-audience-card:hover { background: rgba(11,99,255,.07); }
.hero-audience-card svg {
  width: 22px; height: 22px;
  color: var(--electric);
  opacity: .75;
}
.hero-audience-card span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-dim);
  text-align: center;
}
.hero-audience-card:hover svg { opacity: 1; }
.hero-audience-card:hover span { color: var(--white); }

.hero-stat-value {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: .02em;
}
.hero-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

/* =============================================================
   8. ABOUT
   ============================================================= */
/* ── Sailing ship decorations ────────────────────────── */
.ship-wrap {
  position: absolute;
  display: inline-flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0;
}
.ship-wrap--rtl {
  transform: scaleX(-1);
  animation: sail-rtl 28s linear infinite;
}
.ship-wrap--ltr {
  animation: sail-ltr 32s linear infinite;
}
.sailing-ship-img {
  width: clamp(110px, 13vw, 190px);
  height: auto;
  object-fit: contain;
  opacity: .12;
  display: block;
  filter: drop-shadow(0 0 10px rgba(11,99,255,.35));
}
/* Wake — water disturbance trailing behind each ship.
   bottom: 30% compensates for the ~30% transparent space below the hull in all ship PNGs */
.ship-wake {
  position: absolute;
  bottom: 30%;
  width: 130%;
  height: 14px;
  pointer-events: none;
}
.ship-wake--rtl {
  /* parent is scaleX(-1): right:100% in layout = visual-RIGHT = stern side ✓ */
  right: 100%;
  background: linear-gradient(to left, rgba(120,180,255,.2) 0%, rgba(120,180,255,.06) 60%, transparent 100%);
  clip-path: polygon(100% 35%, 0% 0%, 0% 100%, 100% 65%);
  filter: blur(2px);
}
.ship-wake--ltr {
  /* no flip: right:100% = layout-LEFT = stern side for LTR ship ✓ */
  right: 100%;
  background: linear-gradient(to left, rgba(120,180,255,.2) 0%, rgba(120,180,255,.06) 60%, transparent 100%);
  clip-path: polygon(100% 35%, 0% 0%, 0% 100%, 100% 65%);
  filter: blur(2px);
}
.ship-wake::before,
.ship-wake::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(150,200,255,.15);
}
.ship-wake::before { top: 20%; }
.ship-wake::after  { top: 72%; }

@keyframes sail-rtl {
  from { right: -220px; }
  to   { right: 110%; }
}
@keyframes sail-ltr {
  from { left: -220px; }
  to   { left: 110%; }
}

/* ── Ship edge fade — soft gradient masks ship entry/exit ─ */
/* Only covers the bottom ~35% of each section (the ship zone) so text is unaffected */
.about::before,
.services::before,
.coverage::before,
.portcall::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 35%;
  pointer-events: none;
  z-index: 1;
}
.about::before,
.portcall::before {
  background: linear-gradient(to right,
    var(--navy) 0%,
    transparent min(160px, 18%),
    transparent calc(100% - min(160px, 18%)),
    var(--navy) 100%
  );
}
.services::before,
.coverage::before {
  background: linear-gradient(to right,
    var(--navy-2) 0%,
    transparent min(160px, 18%),
    transparent calc(100% - min(160px, 18%)),
    var(--navy-2) 100%
  );
}

.about {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.about-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.about-text {}
.about-body {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-values {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-value {
  display: flex;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-mid);
  line-height: 1.6;
}
.about-value-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ocean);
  flex-shrink: 0;
  margin-top: .45rem;
}

.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  transition: transform .8s var(--ease-out);
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,17,30,.4) 0%, transparent 50%);
}
.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--ocean);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.about-badge-line {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.3);
}
.about-badge-inner { display: flex; flex-direction: column; gap: .25rem; }
.about-badge-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: .05em;
  font-family: var(--display);
}
.about-badge-inner span:last-child {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}

/* =============================================================
   9. SERVICES
   ============================================================= */
/* docs band */
/* Vessel marquee band */
.vessel-marquee {
  width: 100%;
  overflow: hidden;
  background: rgba(7,17,30,.95);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  position: relative;
}
.vessel-marquee::before,
.vessel-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.vessel-marquee::before { left: 0;  background: linear-gradient(to right, rgba(7,17,30,1), transparent); }
.vessel-marquee::after  { right: 0; background: linear-gradient(to left,  rgba(7,17,30,1), transparent); }
.vessel-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.vessel-marquee-img {
  height: clamp(64px, 8vw, 120px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(11,99,255,.5)) brightness(1.1);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

.docs-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11,99,255,.04);
  padding: 1.25rem 0;
}
.docs-band-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.docs-band-header {
  flex-shrink: 0;
  min-width: 200px;
}
.docs-band-eyebrow {
  display: block;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: .3rem;
}
.docs-band-tagline {
  font-size: .8rem;
  color: var(--gray-dim);
  line-height: 1.4;
}
.docs-band-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
}
.docs-band-list li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-mid, #8899aa);
}
.docs-band-list li svg {
  width: 13px; height: 13px;
  color: var(--electric);
  flex-shrink: 0;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
}
.services-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  background: var(--navy-2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: background .3s var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ocean), var(--electric));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.service-card:hover { background: var(--navy-3); }
.service-card:hover::before { transform: scaleX(1); }

.service-card--accent { background: rgba(11,99,255,.06); }
.service-card--glow { background: rgba(46,155,255,.04); }

.service-icon {
  width: 44px; height: 44px;
  color: var(--electric);
  flex-shrink: 0;
}
.service-num {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-size: 10px;
  color: var(--gray-dim);
  letter-spacing: .15em;
}
.service-card h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  letter-spacing: .02em;
  color: var(--white);
  line-height: 1.1;
}
.service-card p {
  font-size: .875rem;
  color: var(--gray-mid);
  line-height: 1.65;
  max-width: 340px;
  flex: 1;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .65rem;
  background: rgba(11,99,255,.2);
  border: 1px solid rgba(11,99,255,.3);
  color: var(--electric);
  font-size: 9px;
  letter-spacing: .15em;
  width: fit-content;
}
.live-badge {
  background: rgba(0,255,136,.08);
  border-color: rgba(0,255,136,.2);
  color: #00ff88;
}

.service-expand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--electric);
  margin-top: .5rem;
  transition: gap .2s var(--ease-out), color .2s;
  width: fit-content;
}
.service-expand:hover { gap: .75rem; }

/* Service Modal */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.service-modal.is-open {
  pointer-events: all;
  opacity: 1;
}
.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,17,30,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}
.service-modal-inner {
  position: relative;
  z-index: 1;
  background: var(--navy-3);
  border: 1px solid var(--line-2);
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 560px;
  width: calc(100% - 2rem);
  transform: translateY(20px);
  transition: transform .4s var(--ease-out);
}
.service-modal.is-open .service-modal-inner { transform: translateY(0); }
.service-modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 14px;
  border: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.service-modal-close:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.service-modal-num {
  display: block;
  margin-bottom: .75rem;
  color: var(--electric);
  font-size: 10px;
}
.service-modal-inner h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.service-modal-inner p {
  font-size: .95rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.service-modal-inner .btn-primary { width: 100%; justify-content: center; }
.modal-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.modal-details-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.modal-details-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
}

/* =============================================================
   10. COVERAGE
   ============================================================= */
.coverage {
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}
.coverage-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
/* Smooth fade into next section */
.coverage::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--navy-2));
  pointer-events: none;
  z-index: 2;
}
.coverage-layout {
  display: grid;
  gap: clamp(3rem, 5vw, 4rem);
  align-items: start;
}

.coverage-map {
  position: relative;
}
.coverage-map-inner {
  background: var(--navy-2);
  border: 1px solid var(--line);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.cr-map { width: 100%; display: block; }
.cr-map-img { width: 100%; display: block; }
.cr-map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-land { }
.port-dot {
  transition: opacity .4s var(--ease-out), r .3s var(--ease-out);
  cursor: pointer;
}
.port-dot.is-active { r: 8; }

.coverage-ports { display: flex; flex-direction: column; gap: 2.5rem; }
.coverage-coast {}
.coverage-coast-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.coverage-port-list { display: flex; flex-direction: column; gap: .5rem; }

.port-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--navy-2);
  border: 1px solid var(--line);
  text-align: left;
  transition: background .25s, border-color .25s, transform .2s;
  width: 100%;
  cursor: pointer;
}
.port-item:hover {
  background: var(--navy-3);
  border-color: var(--line-2);
  transform: translateX(4px);
}
.port-item.is-active {
  border-color: var(--ocean);
  background: rgba(11,99,255,.08);
}
.port-item-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: box-shadow .3s;
}
.port-dot-carib { background: var(--ocean); box-shadow: 0 0 0 0 rgba(11,99,255,.4); }
.port-dot-pac   { background: var(--electric); box-shadow: 0 0 0 0 rgba(46,155,255,.4); }
.port-item.is-active .port-dot-carib { box-shadow: 0 0 0 4px rgba(11,99,255,.2); }
.port-item.is-active .port-dot-pac   { box-shadow: 0 0 0 4px rgba(46,155,255,.2); }

.port-item div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.port-item strong { font-size: .95rem; font-weight: 700; color: var(--white); }
.port-item .mono { color: var(--gray-dim); }
.port-item-arr { color: var(--gray-dim); font-size: .85rem; transition: color .2s, transform .2s; }
.port-item:hover .port-item-arr { color: var(--electric); transform: translateX(3px); }

/* ── Premium port map ─────────────────────────── */
@keyframes portPulse {
  0%   { transform: scale(1);   opacity: .65; }
  100% { transform: scale(2.6); opacity: 0;   }
}
@keyframes dashFlow {
  from { stroke-dashoffset: 18; }
  to   { stroke-dashoffset: 0;  }
}

.route-animated { animation: dashFlow 2.4s linear infinite; }

.port-group { cursor: pointer; }

.port-group .port-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.port-group.is-active .port-ring {
  animation: portPulse 1.8s ease-out infinite;
}
.port-group .port-outer,
.port-group .port-dot,
.port-group .port-center {
  transition: opacity .5s var(--ease-out);
}
.port-group .port-label {
  transition: opacity .25s ease;
  pointer-events: none;
}
.port-group.is-active .port-label { opacity: 1 !important; }
.port-group.is-active .port-dot   { filter: url(#portGlow); }

/* Port tooltip */
.port-tooltip {
  position: absolute;
  width: 205px;
  background: rgba(4,10,20,.96);
  border: 1px solid rgba(11,99,255,.38);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 20;
  box-shadow: 0 14px 44px rgba(0,0,0,.65), 0 0 0 1px rgba(11,99,255,.06);
}
.port-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.port-tooltip-img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  display: block;
}
.port-tooltip-body { padding: .6rem .9rem .75rem; }
.port-tooltip-coast {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: .18rem;
}
.port-tooltip-name {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .28rem;
}
.port-tooltip-desc {
  font-size: .72rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.45;
}

/* Costa Rica flag text */
.cr-flag-text {
  background: linear-gradient(
    180deg,
    #002B7F 0%,
    #002B7F 20%,
    #FFFFFF 20%,
    #FFFFFF 35%,
    #CE1126 35%,
    #CE1126 65%,
    #FFFFFF 65%,
    #FFFFFF 80%,
    #002B7F 80%,
    #002B7F 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =============================================================
   11. INDUSTRIES
   ============================================================= */
.industries {
  position: relative;
  background: var(--navy-2);
  overflow: hidden;
}
.industries-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.industries-carousel {
  position: absolute;
  inset: 0;
}
.industries-carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.industries-carousel-slide.is-active {
  opacity: 1;
}
/* Rotating title */
.industries-title-carousel { position: relative; min-height: 14rem; margin-bottom: 2rem; }
.ind-title {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  pointer-events: none;
}
.ind-title--active {
  opacity: 1;
  pointer-events: auto;
}

/* Subtle dark overlay — light enough to see photo, dark enough for text */
.industries-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,17,30,.55) 0%,
    rgba(7,17,30,.40) 50%,
    rgba(7,17,30,.60) 100%
  );
  z-index: 1;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .industries-grid { grid-template-columns: 1fr; }
}
.industry-card {
  border: 1px solid rgba(255,255,255,.12);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
  transition-delay: var(--delay, 0s);
  position: relative;
  overflow: hidden;
  background: rgba(7,17,30,.55);
  backdrop-filter: blur(6px);
}
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11,99,255,.12) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.industry-card:hover { border-color: rgba(11,99,255,.5); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(11,99,255,.22); }
.industry-card:hover::after { opacity: 1; }
.industry-vessel-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  display: block;
  padding: 1.5rem 1.5rem 0;
  filter: drop-shadow(0 0 22px rgba(11,99,255,.6)) brightness(1.15);
}
.industry-card-body {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.industry-card h3 {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: .03em;
  color: var(--white);
  margin-bottom: .1rem;
}
.industry-card .industry-type {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--electric);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
}
.industry-card .industry-desc {
  font-size: .75rem;
  color: var(--gray-mid, #8899aa);
  line-height: 1.55;
  margin-top: .3rem;
}

/* =============================================================
   PHOTO CAROUSEL
   ============================================================= */
.photo-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-top: 3rem;
  line-height: 0;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 0 0 1px rgba(11,99,255,.18), inset 0 0 0 1px rgba(255,255,255,.04);
}
.photo-carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.photo-carousel-slide {
  flex: 0 0 100%;
}
.photo-carousel-slide img {
  width: 100%;
  height: clamp(220px, 30vw, 420px);
  object-fit: cover;
  display: block;
  filter: saturate(.75) brightness(.6);
}
.photo-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 2;
}
.photo-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.photo-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* =============================================================
   12. WHY
   ============================================================= */
.why { background: var(--navy); }
.why-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.why-visual {
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}
.why-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: saturate(.9) brightness(.95);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: background .3s;
  transition-delay: var(--delay, 0s);
}
.why-card:hover { background: var(--navy-2); }

.why-stat {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--electric);
  line-height: 1;
  letter-spacing: .02em;
  display: flex;
  align-items: baseline;
  gap: .2rem;
}
.why-stat span {
  font-family: var(--display);
  font-size: 60%;
  color: var(--gray-dim);
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
}
.why-card p { font-size: .85rem; color: var(--gray-mid); line-height: 1.65; }

/* =============================================================
   13. PROCESS
   ============================================================= */
.process {
  position: relative;
  overflow: hidden;
}
.process-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.process-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8);
}
.process-bg-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,17,30,.97) 0%, rgba(7,17,30,.88) 50%, rgba(7,17,30,.97) 100%);
}
.process .container { position: relative; z-index: 1; }
.process .section-header { max-width: 600px; }

.process-timeline {
  display: grid;
  gap: 0;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--ocean), var(--electric), transparent);
}

.process-step {
  position: relative;
  padding: 1.75rem 0 1.75rem 4.5rem;
  border-bottom: 1px solid var(--line);
  transition-delay: var(--delay, 0s);
}
.process-step:last-child { border-bottom: 0; }

.process-step-num {
  position: absolute;
  left: 0;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: var(--navy);
  border: 1px solid var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--electric);
  letter-spacing: .1em;
}

.process-step h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: .5rem;
}
.process-step p { font-size: .9rem; color: var(--gray-mid); line-height: 1.7; max-width: 540px; }

/* =============================================================
   14. OPS CENTER
   ============================================================= */
.ops-center {
  position: relative;
  background: var(--navy-2);
  overflow: hidden;
}
.ops-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(11,99,255,.08) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
  pointer-events: none;
}
.ops-layout {
  display: grid;
  gap: clamp(3rem, 5vw, 4rem);
  align-items: center;
}
.ops-desc {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.ops-channels { display: flex; flex-direction: column; gap: 1rem; }
.ops-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--navy);
  border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.ops-channel:hover { border-color: var(--line-2); background: rgba(11,99,255,.06); }
.ops-channel-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46,155,255,.1);
  border: 1px solid rgba(46,155,255,.2);
  color: var(--electric);
  flex-shrink: 0;
}
.ops-channel-icon--whatsapp {
  background: rgba(0,255,136,.08);
  border-color: rgba(0,255,136,.2);
  color: #00ff88;
}
.ops-channel div { display: flex; flex-direction: column; gap: .2rem; }
.ops-channel .mono { font-size: 9px; color: var(--gray-dim); }
.ops-channel strong { font-size: .95rem; font-weight: 700; color: var(--white); }

.ops-status-card {
  background: var(--navy);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ops-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,255,136,.04);
}
.ops-live {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: 11px;
  color: #00ff88;
  letter-spacing: .15em;
}
.ops-status-time { color: var(--gray-dim); font-size: 10px; }
.ops-status-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.ops-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--gray-mid);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.ops-status-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ops-status-ok { color: #00ff88; font-size: 10px; letter-spacing: .12em; }
.ops-status-footer {
  padding: .85rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--gray-dim);
  letter-spacing: .1em;
  text-align: center;
}

/* =============================================================
   15. TESTIMONIALS
   ============================================================= */
/* =============================================================
   PORT CALL PROCESS
   ============================================================= */
.portcall { background: var(--navy); border-top: 1px solid var(--line); position: relative; overflow: hidden; padding-bottom: 0; }
.testimonials { padding-top: 0; }
.portcall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.portcall-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.portcall-step:hover { background: rgba(11,99,255,.05); }
.portcall-step:nth-child(3n) { border-right: none; }
.portcall-step:nth-child(4),
.portcall-step:nth-child(5),
.portcall-step:nth-child(6) { border-bottom: none; }
.portcall-num {
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--electric);
  opacity: .7;
  flex-shrink: 0;
  padding-top: .2rem;
}
.portcall-body h3 {
  font-family: var(--font-display);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: .5rem;
}
.portcall-body p {
  font-size: .78rem;
  color: var(--gray-dim);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .portcall-grid { grid-template-columns: 1fr; }
  .portcall-step { border-right: none; }
  .portcall-step:nth-child(4),
  .portcall-step:nth-child(5) { border-bottom: 1px solid var(--line); }
}

.testimonials { background: var(--navy); position: relative; }
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  position: relative;
  transition-delay: var(--delay, 0s);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: var(--display);
  font-size: 6rem;
  color: var(--ocean);
  opacity: .15;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card p {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--gray-light);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.testimonial-card strong { font-size: .95rem; color: var(--white); }
.testimonial-card .mono { color: var(--gray-dim); font-size: 9px; }

/* =============================================================
   16. CONTACT
   ============================================================= */
/* WhatsApp floating bubble */
.wa-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #0d1e33;
  border: 1px solid rgba(37,211,102,.3);
  border-radius: 50px;
  padding: .6rem 1.1rem .6rem .6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.45), 0 0 0 1px rgba(37,211,102,.1);
  text-decoration: none;
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.wa-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.wa-bubble:hover { border-color: rgba(37,211,102,.6); box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 0 16px rgba(37,211,102,.15); }
.wa-bubble-icon { width: 36px; height: 36px; flex-shrink: 0; }
.wa-bubble-text {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.contact { background: var(--navy-2); }
.contact-layout {
  display: grid;
  gap: clamp(3rem, 5vw, 4rem);
  align-items: start;
}

/* ── WhatsApp contact panel ──────────────────────────── */
.contact-wa {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(160deg, var(--navy-3) 0%, var(--navy) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact-wa::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #25D366, var(--electric), transparent);
}
.contact-wa-head {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.contact-wa-head .mono {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.contact-wa-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--white);
}
.contact-wa-body {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--gray-mid);
  max-width: 46ch;
}
.contact-wa-picker {
  display: grid;
  gap: 1.25rem;
  padding-top: .5rem;
}

/* CTA */
.contact-wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  padding: 1.15rem 2rem;
  background: #25D366;
  color: #062611;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s;
}
.contact-wa-cta:hover,
.contact-wa-cta:focus-visible {
  background: #1FBE5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,.28);
}
.contact-wa-cta-icon { width: 22px; height: 22px; flex: none; }
.contact-wa-cta-arrow { transition: transform .25s var(--ease-out); }
.contact-wa-cta:hover .contact-wa-cta-arrow { transform: translateX(4px); }

/* Message preview */
.contact-wa-preview {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .9rem 1rem;
  background: var(--navy-2);
  border-left: 2px solid #25D366;
  font-size: .78rem;
  line-height: 1.55;
  letter-spacing: .02em;
  /* Reads as an actual message, so override the shouty .mono casing. */
  text-transform: none;
  color: var(--gray-light);
}
.contact-wa-preview-label {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-dim);
}
.contact-wa-preview #wa-preview-text { color: var(--gray-light); }
.contact-wa-alt {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--gray-dim);
}

@media (min-width: 540px) {
  .contact-wa-picker { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-group label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: .95rem;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .25s var(--ease-out), box-shadow .25s;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(11,99,255,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-dim); }
.form-group select { cursor: pointer; color: var(--white); }
.form-group select option { background: var(--navy-2); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }


.contact-emergency {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0,255,136,.04);
  border: 1px solid rgba(0,255,136,.15);
  margin-bottom: 2rem;
}
.contact-emergency .mono { font-size: 9px; color: var(--gray-mid); margin-bottom: .2rem; }
.contact-emergency-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #00ff88;
  letter-spacing: .05em;
  display: block;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 0; }
.contact-detail-label { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-dim); }
.contact-detail a, .contact-detail span { font-size: .95rem; font-weight: 600; color: var(--gray-light); transition: color .2s; }
.contact-detail a:hover { color: var(--electric); }

/* Location tooltip card */
.contact-detail--location { position: relative; }
.location-trigger {
  cursor: default;
  line-height: 1.5;
}
.location-map-card {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: .75rem;
  width: 280px;
  background: var(--surface, #0d1e33);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}
.contact-detail--location:hover .location-map-card,
.contact-detail--location:focus-within .location-map-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.location-map-card-header {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--electric);
  padding: .6rem .75rem .4rem;
}
.location-map-card-link {
  display: block;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--electric);
  padding: .5rem .75rem;
  border-top: 1px solid var(--line);
  transition: background .15s;
}
.location-map-card-link:hover { background: rgba(11,99,255,.1); }

.contact-ports-summary { }
.contact-ports-summary .mono { margin-bottom: .75rem; }
.contact-ports-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.port-tag {
  padding: .3rem .75rem;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--electric);
  background: rgba(46,155,255,.05);
}

/* =============================================================
   17. FOOTER
   ============================================================= */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
}
.footer-top {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; color: var(--gray-mid); margin-bottom: .4rem; }
.footer-brand .footer-loc { font-size: 10px; color: var(--gray-dim); margin-top: .5rem; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav-col strong {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: .4rem;
}
.footer-nav-col a { font-size: .85rem; color: var(--gray-dim); transition: color .2s; }
.footer-nav-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-bottom .mono { color: var(--gray-dim); font-size: 10px; }
.footer-bottom-links { display: flex; gap: 1rem; align-items: center; }
.footer-bottom-links a { color: var(--gray-dim); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; font-family: var(--mono); }
.footer-bottom-links a:hover { color: var(--gray-mid); }
.footer-bottom-links span { color: var(--gray-dim); }

/* =============================================================
   18. Effects — keyframes & special
   ============================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

/* =============================================================
   19. Responsive — mobile first
   ============================================================= */

/* 540px+ */
@media (min-width: 540px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 720px+ */
@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .coverage-layout { grid-template-columns: 1fr 1fr; }
  .ops-layout { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .process-timeline::before { left: 28px; }
  .process-step { padding-left: 5.5rem; }
  .process-step-num { width: 56px; height: 56px; }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 960px+ */
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(5, 1fr); }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

/* 1280px+ */
@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { gap: 6rem; }
}

/* Mobile-specific overrides */
@media (max-width: 719px) {
  .why-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-visual { order: -1; }
  .why-photo { height: 200px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(4n) { border-right: 1px solid var(--line); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(n+5) { border-bottom: 1px solid var(--line); }
  .hero-stat:nth-child(n+7) { border-bottom: none; }
  .hero-scroll-indicator { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .coverage-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-nav-col:last-child { grid-column: 1 / -1; }
}

/* =============================================================
   20. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-scan   { animation: none; }
  .live-dot    { animation: none; }
  .hero-scroll-line { animation: none; }
  /* DO NOT disable: transitions, tilts, fades, reveals, hover */
}

/* =============================================================
   20. Paginas legales (privacy.html, terms.html)
   ============================================================= */
.legal-page { background: var(--navy); }

.legal-main {
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  min-height: 70vh;
}
.legal-container { max-width: 760px; }

.legal-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: .95;
  letter-spacing: .01em;
  color: var(--white);
  margin: .5rem 0 1rem;
}
.legal-title em { font-style: normal; color: var(--electric); }

.legal-updated { color: var(--gray-dim); margin-bottom: 2.5rem; }

/* Resumen honesto arriba del documento: lo que la mayoria va a leer. */
.legal-callout {
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
  background: var(--navy-2);
  border-left: 2px solid var(--electric);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--gray-light);
}
.legal-callout strong { color: var(--white); }

.legal-doc h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--white);
  margin: 2.75rem 0 .85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.legal-doc p,
.legal-doc li {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--gray-mid);
}
.legal-doc p { margin-bottom: 1rem; }
.legal-doc ul { margin: 0 0 1rem 1.1rem; }
.legal-doc li { margin-bottom: .5rem; }
.legal-doc li strong { color: var(--gray-light); }

.legal-doc a {
  color: var(--electric);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-doc a:hover { color: var(--white); }

.legal-doc code {
  font-family: var(--mono);
  font-size: .85em;
  padding: .15em .45em;
  background: var(--navy-3);
  color: var(--gray-light);
}

/* Marca los datos que aun faltan por completar: tiene que doler verlos. */
.legal-todo {
  display: inline-block;
  padding: .1em .5em;
  background: rgba(255,193,7,.14);
  border-bottom: 2px solid #FFC107;
  color: #FFD65A;
  font-family: var(--mono);
  font-size: .82em;
  letter-spacing: .04em;
}

.legal-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.legal-foot-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-decoration: none;
}
.legal-foot-links a:hover { color: var(--electric); }

.legal-footer { border-top: 1px solid var(--line); }

/* En el sitio, .nav-cta y .lang-toggle se ocultan bajo 720px porque viven
   dentro del menu hamburguesa. Las paginas legales no tienen ese menu, asi
   que sin esto el visitante en movil se queda sin volver ni cambiar idioma. */
.legal-page .nav-cta,
.legal-page .lang-toggle { display: inline-flex; }

@media (max-width: 719px) {
  .legal-page .nav {
    gap: .6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .legal-page .nav-logo img { width: 52px !important; height: 52px !important; }
  .legal-page .nav-logo-text { display: none; }
  .legal-page .nav-cta {
    margin-left: auto;
    padding: .7rem 1rem;
    font-size: .65rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }
}

/* =============================================================
   21. Nav: correcciones de responsive
   ============================================================= */

/* El selector de idioma estaba oculto bajo 720px y el menu hamburguesa
   nunca lo incluyo, asi que en celular no habia forma de pasar a espanol:
   el sitio abre en ingles y ahi se quedaba. En un sitio costarricense,
   donde la mayoria del trafico local es movil, eso dejaba toda la
   traduccion inalcanzable. Ahora se muestra en todos los anchos. */
.lang-toggle { display: inline-flex; }

@media (max-width: 979px) {
  .nav { gap: .5rem; }
  .nav-logo img { width: 64px !important; height: 64px !important; }
  .lang-toggle {
    margin-left: auto;
    padding: .45rem .6rem;
    font-size: 10px;
  }
  .nav-hamburger { margin-left: .25rem; }
}

@media (max-width: 400px) {
  .nav-logo-text { font-size: .95rem; }
  .nav-logo img { width: 52px !important; height: 52px !important; }
  .lang-toggle { padding: .3rem .4rem; font-size: 8px; letter-spacing: .06em; }
}

/* El nav de escritorio entraba a los 720px, pero los enlaces mas el CTA
   necesitan ~950px: entre medio, el boton y el selector se salian de la
   pantalla. Se sube el corte a 980px y hasta ahi manda la hamburguesa. */
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .lang-toggle { margin-left: 0; }
}

@media (max-width: 600px) {
  .wa-bubble { padding: .55rem; gap: 0; right: 1.25rem; bottom: 1.25rem; }
  .wa-bubble-text { display: none; }
}
