/* ============================================================
   IM ADUANA — ULTRA PREMIUM CSS v2
   Gold + Deep Blue · Custom Icons · No Emojis
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ─── Design Tokens ─── */
:root {
  /* Replace dark blues with neutral grays */
  /* Refined Slate Grayscale */
  --gray-950: #020617;
  --gray-900: #0f172a;
  --gray-850: #1e293b;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #64748b;
  --gray-500: #94a3b8;
  --gray-400: #cbd5e1;
  --gray-300: #e2e8f0;
  --gray-200: #f1f5f9;
  --gray-100: #f8fafc;
  --gray-50:  #ffffff;

  /* Corporate Blue from logo FULL SCALE */
  --corp-blue: #005696;
  --corp-blue-light: #0073c9;
  --corp-blue-dark: #00335a;
  --corp-blue-50: #f0f7ff;
  --corp-blue-100: #e0efff;
  --corp-blue-200: #b9deff;
  --corp-blue-300: #7cc2ff;
  --corp-blue-400: #36a3ff;
  --corp-blue-500: #0c87eb;
  --corp-blue-600: #006bc2;
  --corp-blue-700: #005696;
  --corp-blue-800: #00467a;
  --corp-blue-900: #00335a;
  --corp-blue-950: #002642;
  --corp-blue-glow: rgba(0, 86, 150, 0.3);

  /* Maintain Gold accent system but refine it */
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --gold-dark:  #a07830;
  --gold-glow:  rgba(201, 168, 76, 0.25);
  --gold-bg:    rgba(201, 168, 76, 0.08);

  /* Update accent to corporate blue */
  --accent:       var(--corp-blue);
  --accent-glow:  var(--corp-blue-glow);
  --accent-light: rgba(0, 86, 150, 0.08);

  --glass-light:  rgba(255, 255, 255, 0.06);
  --glass-white:  rgba(255, 255, 255, 0.94);

  --shadow-sm:  0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-lg:  0 24px 80px rgba(0, 0, 0, 0.22);
  --shadow-xl:  0 48px 120px rgba(0, 0, 0, 0.30);
  --glow-gold:  0 0 60px rgba(201, 168, 76, 0.2);

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);

  --r-xs:   8px;
  --r-sm:   14px;
  --r-md:   22px;
  --r-lg:   34px;
  --r-xl:   52px;
  --r-pill: 999px;

  --nav-h: 76px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── CUSTOM SVG ICON SYSTEM ─── */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
svg {
  display: inline-block;
  fill: none;
  stroke: currentColor;
  vertical-align: middle;
}
.icon-gold { color: var(--gold); }
.icon-blue { color: var(--accent); }
.icon-white { color: white; }

/* ─── NAVIGATION ─── */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all 0.45s var(--ease);
  background: transparent;
}
#main-header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--shadow-md);
}
#main-header.light-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
}
#main-header.light-header .nav-links li a { color: var(--gray-600); }
#main-header.light-header .nav-links li a:hover { color: var(--corp-blue); }
#main-header.light-header .logo-img { filter: none; }
#main-header.light-header .hamburger { color: var(--gray-800); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.logo-wrapper { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 110px; width: auto; transition: transform 0.3s; filter: none !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links li a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--gold-light); }

/* Gold CTA button in nav */
.btn-contact-nav {
  margin-left: 1.2rem;
  padding: 0.55rem 1.5rem !important;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
  color: var(--gray-950) !important;
  border-radius: var(--r-pill);
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease) !important;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-contact-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.45);
  filter: brightness(1.08);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--gray-850);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--r-md);
  min-width: 320px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  pointer-events: none;
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.dropdown .dropdown-content {
  transition-delay: 0.15s;
}
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7) !important;
  transition: all 0.2s;
  white-space: nowrap;
}
.dropdown-content a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.dropdown-content a:hover { color: var(--gold-light) !important; padding-left: 1.7rem; }
.dropdown-content a:hover::before { opacity: 1; }
.dropdown-icon { font-size: 0.6rem; margin-left: 3px; opacity: 0.6; }
.hamburger { display: none; background: none; font-size: 1.5rem; color: white; cursor: pointer; padding: 0.4rem; line-height: 1; }

/* ─── GOLD DIVIDER LINE ─── */
.gold-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.6rem;
}
.gold-line.center { margin: 0 auto 1.6rem; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: none;
  letter-spacing: 0.02em;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--gray-950);
  box-shadow: 0 6px 24px var(--gold-glow);
}
.bg-soft-gray { background: #f8f9fa; }
.bg-light-gray { background: #f0f2f5; }

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 36px var(--gold-glow); }

/* Card hover effect blue glow */
.card-hover-blue:hover { box-shadow: 0 12px 36px var(--corp-blue-glow); }

.btn-primary {
  background: var(--corp-blue);
  color: white;
  box-shadow: 0 4px 20px var(--corp-blue-glow);
}
.btn-primary:hover { background: var(--corp-blue-light); transform: translateY(-3px); box-shadow: 0 12px 36px var(--corp-blue-glow); }

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--gray-950); transform: translateY(-2px); }

.btn-dark {
  background: var(--gray-800);
  color: white;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.06);
}
.btn-dark:hover { background: var(--gray-700); transform: translateY(-2px); }

/* ─── SECTION TAGS ─── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  background: var(--gold-bg);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
}
.section-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--gray-950);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.section-title .accent { color: var(--accent); }
.section-title .gold { color: var(--gold); }
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  font-family: 'DM Sans', sans-serif;
  max-width: 560px;
  line-height: 1.75;
}
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gray-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero_panama_port.png');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.08);
  transition: transform 10s ease;
  will-change: transform;
}
.hero.loaded .hero-bg { transform: scale(1); }

/* Multi-layer overlay for premium feel */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(2,6,23,0.94) 0%, rgba(15,23,42,0.60) 55%, rgba(2,6,23,0.85) 100%),
    linear-gradient(to top, rgba(2,6,23,0.92) 0%, transparent 50%);
}
/* Subtle gold shimmer at bottom */
.hero-gold-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(201,168,76,0.06), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 90px) 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Premium eyebrow pill with gold dot */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 1.1rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold-glow);
  animation: pulse-gold 2s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero h1 {
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: white;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
  max-width: 820px;
}
.hero h1 .accent-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  margin-bottom: 2.8rem;
  line-height: 1.72;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 5rem; }

/* Gold line separator */
.hero-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
}

/* ─── HERO STATS BAR ─── */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-top: 1px solid rgba(201,168,76,0.15);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 2rem 2.8rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: background 0.3s;
}
.hero-stat:hover { background: rgba(201,168,76,0.04); }
.hero-stat:last-child { border-right: none; }

/* Gold top accent on hover */
.hero-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.hero-stat:hover::before { transform: scaleX(1); }

.hero-stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-stat-num .gold-plus { color: var(--gold); }
.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* ─── WHY SECTION ─── */
.why-section {
  padding: 130px 0;
  background: var(--gray-50);
  position: relative;
}
/* Subtle gold top border */
.why-section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bg), transparent);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.why-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--glow-gold);
  aspect-ratio: 4/5;
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.75) 0%, transparent 55%);
}
/* Gold frame accent */
.why-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(201,168,76,0.2);
  pointer-events: none;
}
.why-visual-card {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  background: rgba(2,6,23,0.88);
  backdrop-filter: blur(16px);
  border-radius: var(--r-md);
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(201,168,76,0.2);
}
.why-card-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gray-950);
}
.why-card-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}
.why-card-text span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.why-features { display: flex; flex-direction: column; gap: 1.2rem; margin: 2.2rem 0; }
.why-feat {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: all 0.35s var(--ease);
  cursor: default;
}
.why-feat:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px var(--gold-glow);
  transform: translateX(5px);
  background: white;
}
.why-feat-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--corp-blue-dark), var(--corp-blue));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
  transition: background 0.35s;
}

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  height: 520px;
  background: var(--gray-950);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.7);
}
.page-hero.loaded .page-hero-bg { transform: scale(1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 14, 28, 0.94) 0%, rgba(8, 14, 28, 0.35) 60%, rgba(8, 14, 28, 0.8) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding-top: 3rem; color: white; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0.9;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.page-hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  line-height: 1.75;
  font-family: 'DM Sans', sans-serif;
}

/* Page Hero Backgrounds */
.ph-nosotros { background-image: url('../assets/img/igor_martinez.png'); background-position: center 20%; }
.ph-servicios { background-image: url('../assets/img/panama_logistics.png'); }
.ph-contacto { background-image: url('../assets/img/hero_port.png'); }
.ph-regimenes { background-image: url('../assets/img/customs_documents.png'); }

.why-feat:hover .why-feat-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--gray-950);
}
.why-feat-icon svg { width: 20px; height: 20px; }
.why-feat-body strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--gray-950);
  margin-bottom: 0.25rem;
}
.why-feat-body p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

/* ─── DARK BENTO SECTION ─── */
.dark-section {
  padding: 130px 0;
  background: var(--corp-blue-900);
  position: relative;
  overflow: hidden;
}
/* Ambient glow effects */
.dark-section::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 86, 150, 0.1), transparent 70%);
  pointer-events: none;
}
.dark-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06), transparent 70%);
  pointer-events: none;
}
.dark-section .section-title { color: white; }
.dark-section .section-sub { color: rgba(255,255,255,0.48); }
.dark-section .section-tag {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.2);
  color: var(--gold-light);
}
.dark-section .section-tag::before { background: var(--gold); }

/* Bento grid — fills all space */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}
.bento-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 2.6rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
/* Gold top line on hover */
.bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.bento-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.bento-card:hover::after { transform: scaleX(1); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.dark-accent {
  background: linear-gradient(135deg, rgba(0, 86, 150, 0.9) 0%, rgba(0, 61, 107, 0.95) 100%);
  border-color: rgba(201,168,76,0.12);
}
.bento-card.gold-accent {
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(160,120,48,0.06) 100%);
  border-color: rgba(201,168,76,0.2);
}

.bento-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.bento-icon-wrap.bg-blue { background: var(--corp-blue-800); color: white; }
.bento-icon-wrap.bg-gold { background: var(--gold-bg); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }
.bento-icon-wrap svg { width: 24px; height: 24px; stroke-width: 2; }

.bento-card:hover .bento-icon-wrap.bg-gold { background: var(--gold); color: var(--gray-950); }
.bento-card:hover .bento-icon-wrap.bg-blue { background: white; color: var(--corp-blue-900); }

.bento-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.bento-card p { font-size: 0.9rem; color: rgba(255,255,255,0.48); line-height: 1.68; }
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  transition: gap 0.3s;
}
.bento-link:hover { gap: 0.8rem; }
.bento-link-arrow { transition: transform 0.3s; }
.bento-link:hover .bento-link-arrow { transform: translateX(4px); }
.bento-big-num {
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, white 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
}
.bento-big-num .gold-plus { color: var(--gold); -webkit-text-fill-color: var(--gold); font-size: 4rem; margin-top: -1rem; }


/* ─── SERVICES ROWS ─── */
.services-section { padding: 0; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-text-panel {
  background: white;
  padding: 5rem 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.service-text-panel h3 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--gray-950);
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 1rem;
}
.service-text-panel p { font-size: 1rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1.5rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.2rem; }
.service-tag {
  padding: 0.28rem 0.85rem;
  background: var(--gold-bg);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.service-img-panel { position: relative; overflow: hidden; }
.service-img-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-row:hover .service-img-panel img { transform: scale(1.05); }
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,14,28,0.35), transparent);
}

/* ─── QUOTE SECTION ─── */
.quote-break {
  padding: 120px 0;
  background: var(--corp-blue);
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Decorative quote mark */
.quote-break::before {
  content: '\201C';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  font-size: 35rem;
  font-weight: 900;
  color: rgba(201,168,76,0.03);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}
.quote-break::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}
.quote-break blockquote {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 600;
  font-style: italic;
  color: white;
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto 2rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  font-family: 'DM Sans', sans-serif;
}
.quote-break blockquote em { color: var(--gold-light); font-style: normal; }
.quote-gold-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
}
.quote-break cite {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}

/* ─── FAQ ─── */
.faq-section { padding: 130px 0; background: white; }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}
.faq-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--gold); }
.faq-item.active { border-color: var(--gold); box-shadow: 0 4px 24px var(--gold-glow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-800);
  gap: 1rem;
  user-select: none;
}
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s var(--ease);
  color: var(--slate-600);
}
.faq-ic.logo-img { height: 56px; width: auto; transition: transform 0.3s; filter: none !important; }
.faq-icon svg { width: 14px; height: 14px; transition: transform 0.35s; }
.faq-item.active .faq-icon { background: var(--gold); color: var(--corp-blue-900); }
.faq-item.active .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.4rem;
  border-top: 1px solid var(--slate-100);
}
.faq-item.active .faq-answer { display: block; }
.faq-answer p { font-size: 0.92rem; color: var(--slate-600); line-height: 1.72; }

/* FAQ CTA card */
.faq-cta-card {
  margin-top: 2.5rem;
  padding: 2.2rem;
  background: var(--corp-blue-900);
  border-radius: var(--r-lg);
  color: white;
  border: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}
.faq-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
}
.faq-cta-card h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.faq-cta-card p { font-size: 0.88rem; opacity: 0.6; margin-bottom: 1.2rem; line-height: 1.6; }

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: var(--corp-blue-900);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  will-change: transform;
}
.page-hero.loaded .page-hero-bg { transform: scale(1); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(8,14,28,0.55) 0%, rgba(8,14,28,0.88) 100%);
}
/* Gold bottom line */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.35), transparent);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 70px) 0 4.5rem;
  width: 100%;
}
.page-hero-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 1.1rem;
  max-width: 760px;
}
.page-hero h1 .accent { color: var(--gold-light); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.72; }

/* Subpage hero backgrounds */
.ph-nosotros   { background-image: url('../assets/img/team_office.png'); }
.ph-servicios  { background-image: url('../assets/img/panama_logistics.png'); }
.ph-gestion    { background-image: url('../assets/img/hero_panama_port.png'); }
.ph-logistica  { background-image: url('../assets/img/logistics_transport.png'); }
.ph-definitivos{ background-image: url('../assets/img/customs_documents.png'); }
.ph-liberatorios{background-image: url('../assets/img/igor_martinez.png'); }
.ph-suspensivos{ background-image: url('../assets/img/hero_port.png'); }
.ph-contacto   { background-image: url('../assets/img/hero_panama_port.png'); }

/* ─── CONTENT SECTIONS ─── */
.page-section { padding: 110px 0; }
.page-section.bg-light { background: var(--slate-50); }
.page-section.bg-white { background: white; }
.page-section.bg-dark  { background: var(--corp-blue-900); }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.8rem;
}
.content-block .accent-bar {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.content-block p { font-size: 0.97rem; color: var(--slate-600); line-height: 1.78; margin-bottom: 1.2rem; }

.content-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  border: 1px solid rgba(201,168,76,0.1);
}
.content-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.content-img:hover img { transform: scale(1.04); }

/* ─── SERVICE CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.4rem;
  border: 1px solid var(--slate-200);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover { border-color: rgba(201,168,76,0.3); box-shadow: var(--shadow-lg), var(--glow-gold); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 54px; height: 54px;
  border-radius: var(--r-sm);
  background: var(--corp-blue-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.35s;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}
.service-card:hover .service-card-icon {
  background: var(--gold);
  color: var(--corp-blue-950);
  border-color: var(--gold);
}
.service-card-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.7rem; line-height: 1.25; }
.service-card p { font-size: 0.88rem; color: var(--slate-500); line-height: 1.67; }

/* ─── FOOTER MAP ─── */
.footer-map-section {
  width: 100%;
  background: var(--gray-900);
  border-top: 1px solid rgba(201,168,76,0.15);
}
.container-full { width: 100%; }
.footer-map-section iframe {
  filter: grayscale(0.2) contrast(1.1) brightness(0.9);
  transition: filter 0.5s;
}
.footer-map-section:hover iframe { filter: none; }
/* Gold gradient top border */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* Ambient light */
footer::after {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.05), transparent 70%);
  pointer-events: none;
}

.footer-main {
  padding: 90px 0 60px;
  background: var(--gray-950);
  border-top: 1px solid var(--border-dim);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 1;
}

.footer-brand-logo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain !important;
  margin-bottom: 0.8rem;
}
.footer-uncap-wrap img {
  height: 64px;
  width: auto;
  object-fit: contain !important;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.footer-uncap-wrap {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(255,255,255,0.03);
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
  width: fit-content;
}
.footer-uncap-wrap img { height: 64px; width: auto; object-fit: contain !important; filter: none !important; }
.footer-uncap-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
.footer-uncap-text strong { display: block; color: var(--gold); font-size: 0.82rem; margin-bottom: 2px; }

/* Social icons with SVG */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.footer-social-btn {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s var(--ease);
  color: white;
}
.footer-social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gray-950);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.footer-social-btn svg { width: 20px; height: 20px; }

.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-col ul li a:hover::before { opacity: 1; }

/* Contact items in footer */
.footer-contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-xs);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.footer-contact-icon svg { width: 14px; height: 14px; }
.footer-contact-item p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-contact-item strong { color: rgba(255,255,255,0.75); font-weight: 500; }

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item .time-val { color: var(--gold); font-weight: 600; }
.schedule-item .closed-val { color: #f87171; font-weight: 600; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.22); }
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── ANIMATIONS ─── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.35s; }
.scroll-reveal.delay-4 { transition-delay: 0.5s; }
.scroll-reveal.visible { opacity: 1; transform: none; }

.stagger-children > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.22s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.28s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.34s; }
.stagger-children.visible > * { opacity: 1; transform: none; }

/* Legacy compatibility */
.animate-on-scroll { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
  .bento-card.span-3 { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .why-grid { gap: 3.5rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; min-height: auto; }
  .service-row.reverse { direction: ltr; }
  .service-img-panel { height: 360px; }
  .content-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { aspect-ratio: 1/1; }
  .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
  .faq-sidebar { position: static; }
  .service-text-panel { padding: 3.5rem 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 65px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gray-950);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1rem 2rem;
    gap: 0.4rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    padding: 0.8rem 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: white;
  }
  .dropdown-content {
    position: static; transform: none;
    box-shadow: none; background: rgba(255,255,255,0.03);
    border: none; border-radius: 0;
    display: block; padding: 0; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .dropdown-content a { justify-content: center; padding: 0.7rem; font-size: 1.05rem; white-space: normal; text-align: center; }
  .btn-contact-nav { margin: 1rem auto 0; display: table; }
  .hamburger { display: block; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 1.5rem; }
  .hero h1 { font-size: 2.8rem; line-height: 1.1; }
  .page-hero h1 { font-size: 2.2rem; }
  .page-hero { padding: 120px 0 60px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .bento-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .bento-card.span-2, .bento-card.span-3 { grid-column: span 1; }
  .cards-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-brand-logo { align-items: center; }
  .footer-uncap-wrap { margin: 1.5rem auto; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .nav-container { padding: 0 1.2rem; }
  .section-header { text-align: center; }
  
  /* Make sure container image is visible inside hero content on mobile */
  .hero-visual-wrap {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 220px;
    transform: none;
    margin: 1rem auto 0;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.3rem; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-stat-num { font-size: 2rem; }
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-sm { margin-top: 1.5rem; }
.mt-md { margin-top: 2.5rem; }
.mt-lg { margin-top: 4.5rem; }
.counter { font-variant-numeric: tabular-nums; }

/* ───────── New Assets & Interactivity ───────── */
.corp-blue-text { color: #3680ff; font-weight: 800; }

.hero-visual-wrap {
  position: absolute;
  top: 32%;
  right: 5%;
  width: 44%;
  height: 500px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-airplane {
  width: 85%;
  transition: transform 0.1s ease-out;
  will-change: transform;
  margin: 0 auto;
}
.hero-airplane img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

@media (max-width: 1200px) {
  .hero-visual-wrap { width: 38%; right: 1%; }
}
@media (max-width: 991px) and (min-width: 769px) {
  .hero-visual-wrap { display: none; }
}

/* Hero Image Replacements for CMS Parsing Resilience */
.hero-bg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08); /* Important to keep to prevent clipping from scaling */
  transition: transform 10s ease;
  will-change: transform;
  z-index: 0;
}
.hero.loaded .hero-bg-img { transform: scale(1); }

.page-hero-bg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05); /* Safe scale for transitions */
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.65);
  z-index: 0;
}
.page-hero.loaded .page-hero-bg-img { transform: scale(1); }
