:root {
  --navy: #0b1f3a;
  --navy-deep: #071427;
  --blue-deep: #14356b;
  --blue-accent: #2f8fd1;
  --blue-bright: #4fb3ff;
  --blue-light: #eef5fc;
  --text-dark: #171b24;
  --text-muted: #5a6472;
  --white: #ffffff;
  --border: #e4e9f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 45px rgba(11, 31, 58, 0.14);
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Roboto, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 2.1rem; text-align: center; }
h3 { font-weight: 700; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }
.section-alt { background: var(--blue-light); }

.eyebrow {
  text-align: center;
  color: var(--blue-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-accent));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 143, 209, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(47, 143, 209, 0.45); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: #b9c8dd;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-contact { display: flex; align-items: center; gap: 1.5rem; }
.topbar a:hover { color: var(--blue-bright); }
.lang-dropdown { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lang-btn .chevron { font-size: 0.7rem; transition: transform 0.15s ease; }
.lang-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  min-width: 150px;
  overflow: hidden;
  display: none;
  z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu li a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
}
.lang-menu li a:hover { background: var(--blue-light); color: var(--blue-deep); }
.lang-menu li a.active { color: var(--blue-accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.logo { height: 68px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-weight: 600;
  font-size: 0.94rem;
}
.main-nav a:not(.btn) { position: relative; }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue-accent);
  transition: width 0.2s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }
.main-nav a:not(.btn):hover { color: var(--blue-accent); }
.nav-cta { padding: 0.65rem 1.5rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, var(--blue-deep), var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 6.5rem 0 0;
  text-align: center;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(79, 179, 255, 0.35) 1.5px, transparent 1.5px),
    radial-gradient(rgba(79, 179, 255, 0.2) 1.5px, transparent 1.5px);
  background-size: 46px 46px, 46px 46px;
  background-position: 0 0, 23px 23px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 10%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; padding-bottom: 4rem; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); font-size: 3rem; max-width: 820px; margin: 0 auto 1.1rem; }
.hero-subtitle { max-width: 660px; margin: 0 auto 1.25rem; font-size: 1.18rem; color: #dce7f5; }
.hero-tagline { font-style: italic; color: var(--blue-bright); font-weight: 700; margin-bottom: 2.25rem; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero .btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.stat-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 2rem 1rem; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.stat:last-child { border-right: none; }
.stat-number, .stat-plain {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.stat-label { display: block; font-size: 0.85rem; color: #a9bcd6; margin-top: 0.25rem; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.cards-grid.four-col { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.card.highlight { border-top: 4px solid var(--blue-accent); }
.card.small { padding: 1.5rem; text-align: center; }
.section-alt .card { background: var(--white); }

/* Customs strip */
.customs-strip { margin-top: 3rem; text-align: center; }
.customs-strip h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1rem 0 0;
}
.tag-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--blue-deep);
  font-weight: 700;
}

/* Fleet gallery */
.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.fleet-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.fleet-gallery img:hover { transform: scale(1.02); }

/* Nearshoring */
.nearshoring-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  color: var(--white);
}
.nearshoring-section h2, .nearshoring-section .eyebrow { color: var(--white); }
.nearshoring-section .eyebrow { color: var(--blue-bright); }
.nearshoring-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.nearshoring-grid > div > p { color: #dce7f5; font-size: 1.05rem; }
.check-list { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: #dce7f5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 800;
}
.nearshoring-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.nearshoring-card .location-tag {
  background: rgba(79, 179, 255, 0.15);
  color: var(--blue-bright);
}
.nearshoring-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.process-step { text-align: center; position: relative; }
.process-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-accent);
  opacity: 0.35;
  margin-bottom: 0.25rem;
}
.process-step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue-accent);
}
.location-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.location-card p { color: var(--text-muted); margin: 0.3rem 0; }
.location-meta { font-size: 0.9rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info .eyebrow { text-align: left; }
.contact-info h2 { text-align: left; }
.contact-list { list-style: none; margin: 1.5rem 0; }
.contact-list li { margin-bottom: 0.75rem; }
.contact-list a:hover { color: var(--blue-accent); }
.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #97a9c4;
  padding: 3.5rem 0;
  text-align: center;
}
.footer-logo { height: 40px; margin: 0 auto 1rem; filter: brightness(0) invert(1); }
.footer-slogan { font-style: italic; color: var(--blue-bright); margin-bottom: 1rem; }
.footer-inner p { margin: 0.4rem 0; font-size: 0.9rem; }
.footer-copy { color: #5c6d8a; font-size: 0.8rem; margin-top: 1rem; }

/* Responsive */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-cta { align-self: stretch; text-align: center; }
  .hero h1 { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.02rem; }
  h2 { font-size: 1.6rem; }
}
