/* =========================================================
   ATLANTIC SAC — Modern transnational style
   Palette pulled from the Atlantic logo
   ========================================================= */

:root {
  --navy-900: #071d3d;
  --navy-800: #0a2d5e;
  --navy-700: #12407f;
  --navy-600: #1e4a8a;
  --navy-500: #2c62b4;
  --navy-400: #3574c9;
  --sky-300:  #60a5fa;
  --sky-200:  #93c5fd;

  --yellow-500: #f5c518;
  --yellow-400: #fbbf24;
  --yellow-300: #fcd34d;

  --white: #ffffff;
  --off:   #f6f9fd;
  --ink-900: #060f1f;
  --ink-700: #1f2937;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;

  --grad-hero: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-500) 100%);
  --grad-dark: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  --grad-yellow: linear-gradient(135deg, var(--yellow-500), var(--yellow-400));

  --shadow-sm: 0 2px 8px rgba(7, 29, 61, .08);
  --shadow-md: 0 10px 30px rgba(7, 29, 61, .12);
  --shadow-lg: 0 25px 60px rgba(7, 29, 61, .18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Hover tokens — unified microlanguage across components */
  --hover-lift: -4px;
  --hover-lift-lg: -8px;
  --hover-scale-img: 1.04;
  --hover-dur: .3s;
  --hover-glow-yellow: 0 12px 32px rgba(245, 197, 24, .3);
  --hover-glow-yellow-lg: 0 18px 44px rgba(245, 197, 24, .42);
  --hover-glow-navy:   0 12px 32px rgba(30, 74, 138, .22);

  --container: 1240px;

  --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ============= RESET ============= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--ink-900); letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ============= HEADER / NAV ============= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 61, .6), rgba(7, 29, 61, 0));
  backdrop-filter: blur(0);
  transition: backdrop-filter .35s var(--ease), background .35s var(--ease);
  pointer-events: none;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::before {
  background: rgba(7, 29, 61, .85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.nav-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 32px;
  justify-content: space-between;
}
.brand { flex: 0 0 auto; display: flex; align-items: center; transition: transform .3s var(--ease); }
.brand:hover { transform: translateY(-1px); }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.3)); transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 42px; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: inline-block;
  padding: 10px 16px;
  color: var(--white);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; background: var(--yellow-500);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 24px; }
.main-nav a:hover { color: var(--yellow-300); }

/* Accesos dropdown (intranet / external tools) */
.main-nav li.nav-access { position: relative; }
.nav-access > .access-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: transparent; border: 0;
  color: var(--white);
  font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.nav-access > .access-btn:hover { color: var(--yellow-300); }
.nav-access .access-caret { transition: transform .25s var(--ease); }
.nav-access.open .access-caret { transform: rotate(180deg); }
.access-menu {
  display: block !important;
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 100;
  border: 1px solid rgba(10, 58, 102, .06);
}
.nav-access.open .access-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.access-menu li { list-style: none; margin: 0; }
.access-menu a {
  display: flex !important; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  color: var(--ink-700) !important;
  text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.access-menu a::after { display: none; }
.access-menu a:hover {
  background: linear-gradient(90deg, rgba(10,58,102,.04), rgba(245,181,24,.06));
  color: var(--navy-800) !important;
  transform: translateX(3px);
}
.access-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--yellow-400);
  transition: transform .2s var(--ease);
}
.access-menu a:hover .access-ico {
  transform: scale(1.08) rotate(-3deg);
  color: var(--yellow-300);
}
.access-ico svg { width: 20px; height: 20px; }
.access-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.access-label { font-size: 14px; font-weight: 700; color: var(--navy-800); line-height: 1.2; }
.access-sub { font-size: 12px; color: var(--ink-500); line-height: 1.3; font-weight: 400; }

.nav-tools { display: flex; align-items: center; gap: 14px; }

/* Lang switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: 13px; font-weight: 600;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lang-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.lang-menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink-700);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lang-menu li:hover { background: var(--ink-100); color: var(--navy-800); }
.lang-menu li.active { background: var(--navy-800); color: var(--white); }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 0 11px;
}
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 100px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s var(--ease), transform 8s linear;
  filter: saturate(1.15) contrast(1.05) brightness(1.08);
}
.hero-img.active { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  /* Minimal top gradient — the bottom-strip gradient covers the text area.
     Here just ensure the eyebrow at top has a subtle dark hint for legibility. */
  background: linear-gradient(180deg, rgba(7,29,61,.30) 0%, rgba(7,29,61,.05) 18%, transparent 40%);
  pointer-events: none;
}

/* TOP-LEFT eyebrow */
.hero-top {
  position: absolute;
  top: 120px; left: 50%;
  transform: translateX(-50%);
  width: min(100% - 40px, var(--container));
  z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: rgba(255,255,255,.92);
  font-size: 12px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  animation: fadeUp 1s var(--ease) .2s both;
  text-shadow: 0 2px 12px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: 0 0 12px var(--yellow-500);
  animation: pulse 2s infinite;
}

/* BOTTOM MARQUESINA — editorial serif slogan + descriptor + CTAs */
.hero-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 80px 0 48px;
  /* gradient overlay for legibility — dark bottom, transparent top */
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(7, 29, 61, .55) 40%,
    rgba(7, 29, 61, .88) 100%);
  z-index: 1;
}
.hero-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 48px;
  align-items: end;
}
.hero-slogan-block {
  animation: fadeUp 1s var(--ease) .4s both;
}
.hero-slogan-main {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.8vw, 52px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--white);
  margin: 0 0 18px;
  max-width: 760px;
  text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.4);
}
.hero-slogan-sub {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid var(--yellow-500);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 620px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  animation: fadeUp 1s var(--ease) .7s both;
  flex-shrink: 0;
  justify-content: flex-end;
}
.hero-bottom .btn { padding: 14px 24px; font-size: 14px; }

@media (max-width: 900px) {
  .hero-top { top: 100px; }
  .hero-bottom { padding: 60px 0 32px; }
  .hero-bottom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-cta { justify-content: flex-start; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-yellow);
  color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(245,197,24,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--hover-glow-yellow-lg); }
.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.75); transform: translateY(-2px); }
.btn-full { width: 100%; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  animation: fadeUp 1s var(--ease) 1.2s both;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(180deg, var(--yellow-500), transparent); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px;
  background: linear-gradient(180deg, transparent, var(--yellow-500));
  animation: scrollDown 2s infinite var(--ease);
}

/* ============= SECTION BASE ============= */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 90px; }
.section-head.align-left { text-align: left; margin-left: 0; }
.section-tag {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(30,74,138,.1);
  color: var(--navy-600);
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 28px;
}
.section-tag.light {
  background: rgba(245,197,24,.15);
  color: var(--yellow-300);
  border: 1px solid rgba(245,197,24,.3);
}
.section-title {
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.028em;
  margin-bottom: 24px;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 18px; color: var(--ink-500); line-height: 1.65; max-width: 640px; margin-inline: auto; }
.section-head.align-left .section-sub { margin-inline: 0; }
.section-sub.light { color: rgba(255,255,255,.75); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1.1s cubic-bezier(.19, 1, .22, 1),
    transform 1.1s cubic-bezier(.19, 1, .22, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; opacity: 1; }
}

/* ============= EMPRESA ============= */
.section-empresa {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(10,45,94,.035), transparent 55%),
    var(--off);
  overflow: hidden;
  padding: 90px 0;
}
.section-empresa::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.14), transparent 70%);
  pointer-events: none;
}
/* Empresa — 2-col head + full-width stat strip */
.empresa-head-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 44px;
}
.empresa-intro .section-tag { margin-bottom: 14px; }
.empresa-intro .section-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  text-align: left;
}
.empresa-lead {
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Editorial highlight marker — yellow bar under key words */
.accent-mark {
  background: linear-gradient(180deg, transparent 60%, rgba(245,197,24,.48) 60%, rgba(245,197,24,.48) 92%, transparent 92%);
  padding: 0 2px;
  white-space: nowrap;
}
/* On dark titles (.section-title.light / .page-hero-title), use stronger yellow */
.section-title.light .accent-mark,
.page-hero-title .accent-mark {
  background: linear-gradient(180deg, transparent 60%, rgba(245,197,24,.68) 60%, rgba(245,197,24,.68) 92%, transparent 92%);
}
.empresa-text strong { color: var(--navy-800); }
.empresa-text em { color: var(--navy-600); font-style: normal; font-weight: 600; }

.value-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.value-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-700);
}
.value-list .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,.18);
  flex-shrink: 0;
}

/* Horizontal stats strip */
.empresa-stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 22px 0 6px;
  border-top: 1px solid var(--ink-200);
}
.empresa-stats-strip .stat {
  padding: 18px 16px 14px;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-right: 1px solid var(--ink-200);
  border-radius: 0;
  text-align: left;
  transition: none;
}
.empresa-stats-strip .stat:last-child { border-right: 0; }
.empresa-stats-strip .stat:hover {
  transform: none;
  box-shadow: none;
}
.empresa-stats-strip .stat-num {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 4px;
  letter-spacing: -.03em;
}
.empresa-stats-strip .stat-label {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-500);
  letter-spacing: .01em;
}
.empresa-stats-note {
  margin: 18px 0 0;
  padding: 0;
  font-size: 12px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 860px;
}
.stat {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.stat:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--hover-glow-navy); border-color: transparent; }
.stat-num {
  font-size: clamp(54px, 7vw, 84px);
  font-weight: 900; line-height: .92;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-500) 60%, var(--yellow-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; font-weight: 500; color: var(--ink-500); line-height: 1.4; }

/* ============= FILOSOFÍA ============= */
.section-filosofia {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
}
.section-filosofia::before {
  content: ""; position: absolute; top: -100px; left: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,74,138,.06), transparent 70%);
  pointer-events: none;
}
.section-filosofia .section-head { margin-bottom: 20px; max-width: 720px; }
.section-filosofia .section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 6px;
}
.section-filosofia .section-sub { font-size: 14px; max-width: 600px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.mv-card {
  padding: 18px 20px;
  background: linear-gradient(180deg, var(--off), var(--white));
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.mv-card:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--hover-glow-navy); border-color: transparent; }
.mv-card:hover::before { transform: scaleX(1); }
.mv-ico {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--yellow-400);
  border-radius: 10px;
  margin-bottom: 10px;
}
.mv-ico svg { width: 18px; height: 18px; }
.mv-card h3 {
  font-size: 16px; font-weight: 800; color: var(--ink-900);
  margin-bottom: 5px; letter-spacing: -.01em;
}
.mv-card p { font-size: 13px; color: var(--ink-700); line-height: 1.55; margin: 0; }

.values-head { text-align: left; margin-bottom: 12px; }
.values-head h3 {
  font-size: 17px; font-weight: 800; color: var(--ink-900);
  margin-bottom: 2px;
  position: relative;
  padding-left: 12px;
}
.values-head h3::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 15%;
  width: 3px; background: var(--grad-yellow); border-radius: 2px;
}
.values-head p { font-size: 13px; color: var(--ink-500); padding-left: 12px; margin: 0; }
.values-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  margin-bottom: 30px;
}
.value {
  padding: 14px 10px 12px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.value:hover { transform: translateY(-3px); border-color: var(--yellow-500); background: linear-gradient(180deg, var(--white), #fffbe8); }
.value svg {
  width: 24px; height: 24px; color: var(--navy-700);
  margin-bottom: 6px;
  transition: color .3s var(--ease);
}
.value:hover svg { color: var(--yellow-500); }
.value h4 {
  font-size: 11.5px; font-weight: 800; color: var(--ink-900);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 4px;
}
.value p { font-size: 11px; color: var(--ink-500); line-height: 1.4; margin: 0; }

.certs {
  padding: 40px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.certs::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(245,197,24,.15), transparent 50%);
  pointer-events: none;
}
.certs-label {
  position: relative;
  font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: var(--yellow-300); margin-bottom: 24px;
}
.certs-row {
  position: relative; z-index: 1;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.cert-badge { display: flex; align-items: center; gap: 20px; text-align: left; }
.cert-seal {
  width: 96px; height: 96px; flex-shrink: 0;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
  transition: transform .35s var(--ease);
}
.cert-badge:hover .cert-seal { transform: scale(1.06) rotate(-3deg); }
.cert-logo-wrap {
  flex-shrink: 0;
  background: #fff;
  padding: 10px 16px 8px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform .35s var(--ease);
}
.cert-badge:hover .cert-logo-wrap { transform: scale(1.04); }
.cert-logo {
  width: auto; height: 64px; display: block;
  max-width: none !important;
}
.cert-number {
  font-family: Arial, 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0a2d5e;
  letter-spacing: .01em;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .cert-logo { height: 56px; }
  .cert-number { font-size: 12px; }
  .cert-logo-wrap { padding: 8px 14px 6px; }
}
.cert-text strong {
  display: block;
  color: var(--white); font-size: 18px; font-weight: 800;
  letter-spacing: -.01em; margin-bottom: 4px;
}
.cert-text span { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.5; display: block; max-width: 260px; }

@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
  .certs-row { flex-direction: column; align-items: center; gap: 24px; }
  .cert-text span { max-width: none; }
}

/* ============= VIDEOS ============= */
.section-videos { background: var(--off); }
.videos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.video-card:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--hover-glow-navy); border-color: transparent; }
.v-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
}
.v-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .v-thumb img { transform: scale(1.06); }
.v-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(7,29,61,.2), rgba(7,29,61,.55));
  color: var(--white);
  transition: background .3s var(--ease);
}
.v-play svg {
  width: 28px; height: 28px;
  padding: 14px;
  background: var(--grad-yellow);
  color: var(--navy-900);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(245,197,24,.5);
  box-sizing: content-box;
  transition: transform .3s var(--ease);
}
.video-card:hover .v-play svg { transform: scale(1.1); }
.v-dur {
  position: absolute; right: 12px; bottom: 12px;
  padding: 4px 10px;
  background: rgba(7,29,61,.85); color: var(--white);
  font-size: 12px; font-weight: 600;
  border-radius: 6px;
}
.video-card h3 {
  padding: 18px 20px;
  font-size: 16px; font-weight: 700; color: var(--ink-900);
  line-height: 1.4; letter-spacing: -.005em;
}
.videos-empty {
  padding: 70px 30px;
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--ink-200);
  border-radius: var(--radius-lg);
  color: var(--ink-500);
}
.videos-empty svg { width: 54px; height: 54px; color: var(--ink-300); margin: 0 auto 16px; display: block; }
.videos-empty p { font-size: 16px; margin: 0; }

/* Video lightbox */
.video-lightbox {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(7,29,61,.95);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.video-lightbox[hidden] { display: none; }
.vlb-wrap { width: min(1100px, 90vw); aspect-ratio: 16/9; position: relative; }
.vlb-wrap video, .vlb-wrap iframe {
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  border: 0;
}
.vlb-close {
  position: absolute; top: 30px; right: 30px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.vlb-close:hover { background: rgba(255,255,255,.25); transform: scale(1.08); }

/* ============= URUBAMBA DIFERENCIAL ============= */
.section-urubamba {
  position: relative;
  padding: 140px 0;
  color: var(--white);
  overflow: hidden;
}
.urubamba-bg { position: absolute; inset: 0; z-index: 0; }
.urubamba-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1) brightness(.9);
}
.urubamba-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,29,61,.92) 0%, rgba(10,45,94,.85) 50%, rgba(30,74,138,.6) 100%),
    radial-gradient(ellipse at 90% 30%, rgba(245,197,24,.25), transparent 55%);
}
.urubamba-bg-overlay::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.section-urubamba .container { position: relative; z-index: 1; }
.urubamba-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }

.urubamba-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: var(--grad-yellow);
  color: var(--navy-900);
  border-radius: 999px;
  font-size: 12px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 8px 30px rgba(245,197,24,.4);
}
.urubamba-badge::before { content: "★"; font-size: 14px; }

.urubamba-title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.025em;
}
.urubamba-title span { display: block; }
.urubamba-accent {
  background: var(--grad-yellow);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.15em;
  font-weight: 900;
}
.urubamba-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  max-width: 600px;
}
.urubamba-lead strong { color: var(--yellow-300); font-weight: 700; }

.urubamba-feature {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.urubamba-ico {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.35);
  color: var(--yellow-500);
  border-radius: 14px;
  flex-shrink: 0;
}
.urubamba-ico svg { width: 26px; height: 26px; }
.urubamba-feature h3 { color: var(--white); font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.urubamba-feature p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.55; margin: 0; }

.urubamba-cta { margin-top: 10px; }

.urubamba-stats {
  display: flex; flex-direction: column; gap: 16px;
}
.u-stat {
  position: relative;
  padding: 28px 30px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.u-stat:hover { transform: translateX(-6px); background: rgba(255,255,255,.12); }
.u-stat-big {
  background: var(--grad-yellow);
  border-color: var(--yellow-500);
  color: var(--navy-900);
  box-shadow: 0 20px 50px rgba(245,197,24,.3);
}
.u-stat-big:hover { background: var(--grad-yellow); }
.u-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 6px;
}
.u-num small { font-size: .4em; font-weight: 700; margin-left: 4px; opacity: .7; }
.u-stat-big .u-num { color: var(--navy-900); }
.u-label { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.5; font-weight: 500; }
.u-stat-big .u-label { color: rgba(7,29,61,.8); font-weight: 600; }

@media (max-width: 1000px) {
  .urubamba-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============= SERVICIOS ============= */
.section-servicios {
  background: var(--white);
  padding: 90px 0;
}

/* ============= CLIENTES · marquee ============= */
.section-clientes {
  padding: 60px 0 56px;
  background: linear-gradient(180deg, var(--off) 0%, var(--white) 100%);
  overflow: hidden;
  position: relative;
}
.clientes-head {
  text-align: center;
  margin-bottom: 34px;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.clientes-title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -.005em;
  line-height: 1.3;
  margin: 10px 0 0;
}
.clientes-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clientes-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: clientes-scroll 36s linear infinite;
  padding: 0 35px;
}
.clientes-marquee:hover .clientes-track { animation-play-state: paused; }
.client-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: .7;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
@keyframes clientes-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clientes-track { animation: none; }
}
@media (max-width: 820px) {
  .clientes-track { gap: 44px; padding: 0 22px; }
  .client-logo { height: 57px; }
}

.section-servicios .section-head {
  margin-bottom: 40px;
  max-width: 720px;
}
.section-servicios .section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 14px;
}
.section-servicios .section-sub {
  font-size: 15.5px;
  max-width: 600px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card::after {
  /* yellow accent bar, top-left */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 42px;
  background: var(--grad-yellow);
  border-radius: 0 3px 3px 0;
  opacity: .85;
  transition: height .4s var(--ease), opacity .4s var(--ease);
}
.service-card:hover::after { height: 100%; opacity: 1; }
.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.service-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: var(--ink-200);
  letter-spacing: -.02em;
  transition: color .4s var(--ease);
}
.service-card:hover .service-num { color: var(--yellow-500); }
.service-card > * { position: relative; z-index: 1; transition: color .4s var(--ease); }
.service-card:hover {
  transform: translateY(var(--hover-lift));
  border-color: var(--yellow-500);
  box-shadow: var(--hover-glow-yellow);
}
.service-card:hover .service-icon { color: var(--yellow-500); background: rgba(245,197,24,.15); border-color: rgba(245,197,24,.4); }
.service-card:hover h3 { color: var(--navy-900); }

.service-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink-100), var(--white));
  border: 1px solid var(--ink-200);
  color: var(--navy-700);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; line-height: 1.3; }
.service-card p { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; margin: 0; }

/* ============= FLOTA ============= */
.section-flota {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(245,197,24,.1), transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(53,116,201,.18), transparent 55%),
    linear-gradient(180deg, #f6f9fd 0%, #eaf2fc 100%);
  color: var(--ink-900);
  position: relative; overflow: hidden;
  padding: 48px 0 70px;
}
.section-flota .section-tag.light {
  background: rgba(30,74,138,.1);
  color: var(--navy-700);
  border-color: rgba(30,74,138,.25);
}
.section-flota .section-title.light { color: var(--ink-900); }
.section-flota .section-sub.light { color: var(--ink-500); }
.section-flota::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,74,138,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,74,138,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}
/* Fleet showcase (hero number + category strip) */
.fleet-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 28px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(7,29,61,.18);
  position: relative;
  overflow: hidden;
}
.fleet-showcase::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.18), transparent 60%);
  pointer-events: none;
}
.fleet-hero-number { position: relative; z-index: 1; }
.fh-num {
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad-yellow);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fh-label {
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .12em; text-transform: uppercase;
  margin-top: 0;
  max-width: 200px;
  line-height: 1.35;
}
.fleet-cat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative; z-index: 1;
}
.fcat {
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.fcat:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.fcat-num {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--yellow-400);
  line-height: 1;
  letter-spacing: -.02em;
}
.fcat-label {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .fleet-showcase { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .fleet-cat-strip { grid-template-columns: repeat(2, 1fr); }
}

.fleet-track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 14px;
  position: relative;
}
.fleet-card {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(7,29,61,.1);
  box-shadow:
    0 6px 14px rgba(7,29,61,.12),
    0 2px 4px rgba(7,29,61,.08),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition:
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    border-color .5s var(--ease),
    filter .5s var(--ease);
  cursor: pointer;
  filter: saturate(1.08) contrast(1.03);
}

/* Silhouette placeholder cards */
.fleet-placeholder {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(245,197,24,.12), transparent 60%),
    linear-gradient(160deg, #0f2f5a 0%, #0a2345 60%, #061a34 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.fleet-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
}
.fleet-placeholder::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(7,29,61,.85));
  opacity: 1;
}
.fp-silhouette {
  position: absolute;
  left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  width: 70%; height: auto;
  opacity: .85;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
  z-index: 1;
}
.fleet-placeholder:hover .fp-silhouette { transform: translate(-50%, -55%) scale(1.05); opacity: 1; }
.fleet-placeholder .fleet-info { z-index: 2; }
.fleet-placeholder .fleet-info h3 {
  font-size: 20px;
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.85));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fleet-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,29,61,.95) 100%);
}
.fleet-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(245,197,24,.15));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.fleet-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(245,197,24,.55);
  box-shadow:
    0 22px 44px rgba(7,29,61,.28),
    0 0 0 3px rgba(245,197,24,.15),
    inset 0 1px 0 rgba(255,255,255,.28);
  filter: saturate(1.18) contrast(1.08);
}
.fleet-card:hover::after { opacity: 1; }
.fleet-info {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  z-index: 1;
  transform: translateY(6px);
  transition: transform .4s var(--ease);
}
.fleet-card:hover .fleet-info { transform: translateY(0); }
.fleet-info h3 { font-size: 15px; color: var(--white); margin-bottom: 4px; line-height: 1.15; }
.fleet-placeholder .fleet-info h3 { font-size: 14px; }
.fleet-info span {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245,197,24,.9);
  color: var(--navy-900);
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px;
}

/* ============= COBERTURA ============= */
.section-cobertura { background: var(--white); }
.coverage-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.coverage-text .section-title { text-align: left; }
.coverage-text p { font-size: 17px; color: var(--ink-500); margin-bottom: 30px; }

.river-list {
  display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--ink-200);
}
.river-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-200);
  transition: padding-left .3s var(--ease);
}
.river-list li:hover { padding-left: 10px; }
.river-list strong {
  font-size: 18px; font-weight: 700; color: var(--navy-800);
  letter-spacing: -.01em;
  position: relative;
}
.river-list strong::before {
  content: ""; position: absolute; left: -18px; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow-500);
  transform: translateY(-50%) scale(0);
  transition: transform .3s var(--ease);
}
.river-list li:hover strong::before { transform: translateY(-50%) scale(1); }
.river-list span { font-size: 14px; color: var(--ink-500); text-align: right; }

.coverage-map {
  position: relative;
  padding: 8px;
  background: linear-gradient(135deg, var(--off), var(--white));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-200);
}
.leaflet-coverage {
  width: 100%; height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6eef9;
}

/* Scope resets inside the Leaflet map so our global img/svg rules don't break it */
.leaflet-container img,
.leaflet-container svg {
  max-width: none !important;
  max-height: none !important;
  display: block;
}
.leaflet-container .leaflet-attribution-flag {
  width: 12px !important;
  height: 8px !important;
  display: inline-block !important;
  vertical-align: middle;
}

/* Animated flow on river polylines */
@keyframes atlantic-flow-anim { to { stroke-dashoffset: -48; } }
.leaflet-container .atlantic-flow { animation: atlantic-flow-anim 2.2s linear infinite; }

/* Strategic city pins */
.map-pin-wrapper { background: transparent !important; border: 0 !important; }
.map-pin {
  position: relative;
  transform: translate(-6px, -6px);
  white-space: nowrap;
  pointer-events: none;
}
.map-pin-dot {
  display: block; width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--yellow-500);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1.5px rgba(7,29,61,.9), 0 2px 6px rgba(0,0,0,.4);
}
.map-pin-primary .map-pin-dot {
  width: 16px; height: 16px;
  box-shadow: 0 0 0 2px rgba(7,29,61,.9), 0 0 0 7px rgba(245,197,24,.25), 0 2px 10px rgba(0,0,0,.5);
  animation: pulse 2s infinite;
}
.map-pin-label {
  position: absolute;
  top: 14px; left: 18px;
  padding: 3px 9px;
  background: rgba(7,29,61,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 3px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.map-pin-primary .map-pin-label {
  background: var(--yellow-500);
  color: var(--navy-900);
  font-weight: 800;
}
.coverage-map .map-pulse {
  transform-origin: 138px 220px;
  animation: pulse-map-ring 2.5s infinite var(--ease);
}
.coverage-map .map-pulse-2 {
  transform-origin: 138px 220px;
  animation: pulse-map-ring 2.5s infinite var(--ease) .8s;
}
@keyframes pulse-map-ring {
  0%   { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.map-legend {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 16px 6px 4px;
  font-size: 12px; font-weight: 500; color: var(--ink-500);
}
.lg-item { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.lg-current { background: var(--grad-yellow); box-shadow: 0 0 0 2px rgba(245,197,24,.25); }
.lg-hist { background: transparent; border: 1.5px dashed var(--ink-300); }

/* ============= GALERÍA (v2: thematic sections + masonry) ============= */
.section-galeria { background: var(--off); padding-bottom: 40px; }

/* Sub-nav pills (urubamba, flota, astillero...) */
.gallery-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 10px;
}
.gallery-nav a {
  padding: 10px 20px;
  background: rgba(30,74,138,.08);
  color: var(--navy-800);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .04em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.gallery-nav a:hover { background: var(--yellow-500); color: var(--navy-900); transform: translateY(-2px); }

/* Thematic section block */
.gsection { padding: 90px 0 50px; }
.gsection-title {
  display: flex; align-items: baseline; gap: 22px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 12px;
  letter-spacing: -.015em;
}
.gsection-num {
  color: var(--yellow-500);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: .55em;
  font-weight: 700;
  letter-spacing: .1em;
}
.gsection-sub {
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 36px;
}

/* Uniform grid (replaced masonry for visual consistency) */
.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  column-count: unset;
  column-gap: unset;
}
.masonry .g-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  break-inside: avoid;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--ink-200);
  border: 1px solid rgba(7,29,61,.08);
  box-shadow:
    0 6px 14px rgba(7,29,61,.10),
    0 2px 4px rgba(7,29,61,.06),
    inset 0 1px 0 rgba(255,255,255,.22);
  transition:
    transform .45s var(--ease),
    box-shadow .45s var(--ease),
    border-color .45s var(--ease);
}
.masonry .g-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform .6s var(--ease), filter .45s var(--ease);
}
.masonry .g-item:hover {
  transform: translateY(-5px);
  border-color: rgba(245,197,24,.55);
  box-shadow:
    0 22px 44px rgba(7,29,61,.24),
    0 0 0 3px rgba(245,197,24,.15),
    0 2px 4px rgba(7,29,61,.08);
}
.masonry .g-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.18) contrast(1.08);
}

/* Filtered gallery — only active section shows */
.gsection { display: none; }
.gsection.is-visible { display: block; }
.gbleed.is-hidden { display: none; }
.gallery-nav a.is-active {
  background: var(--yellow-500);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(245,197,24,.35);
}

/* Hero-flag within masonry: subtle yellow accent corner */
.masonry .g-hero::before {
  content: "";
  position: absolute; top: 10px; right: 10px;
  width: 8px; height: 8px;
  background: var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245,197,24,.25);
  z-index: 2;
  opacity: .8;
}

/* Caption on hover */
.masonry .g-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(to top, rgba(7,29,61,.88), rgba(7,29,61,.0));
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.masonry .g-item:hover .g-caption { opacity: 1; transform: translateY(0); }

/* Full-bleed break between sections */
.gbleed {
  position: relative;
  width: 100%;
  min-height: 62vh;
  margin: 40px 0;
  display: flex; align-items: center; justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
/* Mobile: background-attachment fixed is janky on iOS/Android, disable it */
@media (max-width: 820px), (hover: none) {
  .gbleed { background-attachment: scroll; }
}
.gbleed::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,29,61,.65) 0%, rgba(7,29,61,.35) 70%, rgba(7,29,61,.25) 100%);
}
.gbleed-quote {
  position: relative; z-index: 1;
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 900;
  color: var(--white);
  text-align: center;
  max-width: 920px;
  padding: 0 40px;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(7,29,61,.45);
}

/* Responsive */
@media (max-width: 980px) {
  .masonry { column-count: 2; }
  .gsection { padding: 70px 0 30px; }
  .gbleed { min-height: 50vh; }
}
@media (max-width: 580px) {
  .masonry { column-count: 1; }
  .gsection-title { gap: 14px; font-size: 24px; }
  .masonry .g-caption { opacity: 1; transform: translateY(0); } /* always visible on mobile */
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7,29,61,.95);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 92vw; max-height: 90vh;
}
.lightbox-img {
  max-width: 92vw; max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: scale(.92);
  transition: transform .35s var(--ease);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-caption {
  padding: 8px 18px;
  background: rgba(245,197,24,.95);
  color: var(--navy-900);
  font-size: 15px; font-weight: 800; letter-spacing: .01em;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease) .15s, transform .4s var(--ease) .15s;
}
.lightbox.open .lightbox-caption { opacity: 1; transform: translateY(0); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); transform: scale(1.08); }
.lightbox-close { top: 30px; right: 30px; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

/* ============= CARRERAS · Trabaja con nosotros ============= */
.section-carreras {
  background:
    radial-gradient(ellipse at 10% 100%, rgba(10,45,94,.04), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--off) 100%);
  padding: 60px 0 70px;
}
.carreras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.carreras-intro .section-tag { margin-bottom: 12px; }
.carreras-intro .section-title {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 14px;
  text-align: left;
}
.carreras-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0 0 20px;
}
.carreras-bullets {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.carreras-bullets li {
  padding: 9px 0 9px 16px;
  border-left: 3px solid var(--yellow-500);
  background: linear-gradient(90deg, rgba(245,197,24,.06), transparent 65%);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-700);
  border-radius: 0 4px 4px 0;
}
.carreras-alternatives {
  padding-top: 18px;
  border-top: 1px solid var(--ink-200);
}
.carreras-alt-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 12px;
}
.carreras-alt-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.carreras-alt-btns .btn {
  padding: 10px 18px;
  font-size: 13px;
}
.btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--navy-800);
  border: 1.5px solid var(--ink-300, rgba(0,0,0,.2));
  background: var(--white);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.btn-ghost-dark:hover {
  border-color: var(--navy-700);
  background: var(--off);
  transform: translateY(-2px);
}
.carreras-form-wrap {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px 30px 24px;
  box-shadow: 0 12px 30px rgba(7,29,61,.08);
}
.carreras-form-head { margin-bottom: 18px; }
.carreras-form-head .section-tag { margin-bottom: 8px; }
.carreras-form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}
.carreras-form .field { margin-bottom: 14px; gap: 6px; }
.carreras-form .field label {
  color: var(--ink-700);
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  font-weight: 600;
}
.carreras-form .field input,
.carreras-form .field textarea {
  background: var(--white);
  border: 1px solid var(--ink-200);
  color: var(--ink-900);
  font-size: 14px;
  padding: 11px 14px;
}
.carreras-form .field input:focus,
.carreras-form .field textarea:focus {
  border-color: var(--yellow-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}
.carreras-form .field input::placeholder,
.carreras-form .field textarea::placeholder {
  color: #9ca3af;
}
.carreras-form .field textarea { min-height: 80px; font-size: 14px; }
.carreras-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-900);
  font-family: inherit;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%230a2d5e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.carreras-form select:focus {
  outline: none;
  border-color: var(--yellow-500);
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}
.carreras-form .btn-full { margin-top: 6px; }
.carreras-form .form-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-500);
  padding: 10px 12px;
  background: var(--off);
  border-radius: 8px;
  border-left: 3px solid var(--yellow-500);
}
.carreras-form .form-note strong { color: var(--navy-800); }

@media (max-width: 900px) {
  .carreras-grid { grid-template-columns: 1fr; gap: 32px; }
  .carreras-form-wrap { padding: 22px 20px 20px; }
}

/* ============= CONTACTO ============= */
.section-contacto {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(245,197,24,.18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(53,116,201,.25), transparent 55%),
    linear-gradient(135deg, #1e4a8a 0%, #2c62b4 60%, #3574c9 100%);
  color: var(--white);
  position: relative; overflow: hidden;
}
.section-contacto::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  position: relative; z-index: 1;
}
.contact-info .section-title { text-align: left; }
.contact-info > .section-sub { margin-bottom: 44px; }

.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 18px; }
.contact-list svg { width: 24px; height: 24px; color: var(--yellow-500); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; font-size: 13px; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list a, .contact-list span { color: var(--white); font-size: 17px; font-weight: 500; transition: color .25s var(--ease); }
.contact-list a:hover { color: var(--yellow-300); }

/* Form */
.contact-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea {
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font: inherit; font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--yellow-500);
  background: rgba(255,255,255,.12);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-sans); }
.form-status { margin-top: 14px; font-size: 14px; color: var(--yellow-300); min-height: 20px; text-align: center; }

/* ============= FOOTER ============= */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 50px;
  padding: 80px 20px 50px;
}
.f-brand img { height: 56px; margin-bottom: 20px; filter: brightness(1.1); }
.f-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }

.f-col h4 { font-size: 13px; color: var(--white); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.f-col ul li { margin-bottom: 10px; }
.f-col a, .f-col p { font-size: 14px; color: rgba(255,255,255,.7); transition: color .25s var(--ease); margin: 0 0 6px; }
.f-col a:hover { color: var(--yellow-300); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--yellow-500); transform: translateY(-2px); }
.socials a:hover svg { color: var(--navy-900); }
.socials svg { width: 16px; height: 16px; color: rgba(255,255,255,.8); transition: color .25s var(--ease); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 20px;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; margin: 0; }

/* ============= WHATSAPP FAB ============= */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: wa-bounce 3s infinite var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.1) rotate(6deg); box-shadow: 0 15px 45px rgba(37,211,102,.6); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ============= ANIMATIONS ============= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}
@keyframes pulse-ring {
  0% { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes scrollDown {
  0% { top: -20px; }
  100% { top: 48px; }
}
@keyframes wa-bounce {
  0%, 90%, 100% { transform: translateY(0); }
  95% { transform: translateY(-8px); }
}

/* ============= RESPONSIVE ============= */

/* Large tablets / small desktops — mobile nav kicks in early so 9 nav items don't overflow */
@media (max-width: 1100px) {
  .empresa-head-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .empresa-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .empresa-stats-strip .stat:nth-child(3n) { border-right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(85%, 360px);
    background: var(--grad-dark);
    padding: 100px 30px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 18px; font-size: 18px; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: flex; }
  /* Accesos dropdown collapses inline in mobile drawer */
  .nav-access > .access-btn {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 14px 18px; font-size: 18px;
  }
  .access-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; padding: 0;
    border: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav-access.open .access-menu { max-height: 400px; }
  .access-menu a {
    padding: 12px 24px; border-radius: 0;
    gap: 14px;
  }
  .access-menu a:hover {
    background: rgba(255,255,255,.08);
    transform: none;
  }
  .access-ico {
    width: 36px; height: 36px;
    background: rgba(245, 181, 24, .15);
    color: var(--yellow-300);
  }
  .access-label { color: var(--white) !important; font-size: 15px; }
  .access-sub { color: rgba(255,255,255,.5) !important; font-size: 12px; }
  .access-menu a:hover .access-ico {
    transform: none;
    background: rgba(245, 181, 24, .25);
  }
}

/* Tablets portrait */
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .hero { padding: 100px 0 40px; min-height: 78vh; min-height: 78dvh; }
  .hero-bottom { padding: 50px 0 24px; }
  .hero-slogan-main { font-size: clamp(22px, 4.5vw, 32px); margin-bottom: 12px; }
  .hero-slogan-sub { font-size: 13.5px; padding-left: 12px; }
  .hero-sub { font-size: 16px; }
  .leaflet-coverage { height: 420px; }
  .empresa-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .empresa-stats-strip .stat { border-right: 0; border-bottom: 1px solid var(--ink-200); padding: 20px 14px; }
  .empresa-stats-strip .stat:nth-last-child(-n+2) { border-bottom: 0; }
  /* With 5 stats on 2 cols, last one sits alone — center it across both cols */
  .empresa-stats-strip .stat:last-child { grid-column: 1 / -1; text-align: center; }
  .value-list { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; padding: 60px 20px 40px; }
  .f-brand p { max-width: none; margin-inline: auto; }
  .socials { justify-content: center; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .river-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .river-list span { text-align: left; }
  .mv-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  .mv-card { padding: 18px 20px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .certs { padding: 32px 22px; }
  .certs-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .cert-badge { flex-direction: column; text-align: center; gap: 14px; align-items: center; }
  .cert-text span { max-width: none; }
  .fleet-showcase { grid-template-columns: 1fr; gap: 26px; padding: 30px 22px; margin-bottom: 40px; }
  .fleet-cat-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fcat { padding: 14px 10px; }
  .fcat-num { font-size: 26px; }
  .fcat-label { font-size: 11px; }
  .fleet-track { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
  .urubamba-grid { grid-template-columns: 1fr; gap: 30px; }
  .u-stat { padding: 22px 24px; }
  .u-num { font-size: clamp(38px, 9vw, 54px); }
  .coverage-map { padding: 6px; }
}

/* Phones */
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 60px 0; }
  .hero {
    padding: 90px 0 30px;
    min-height: 82vh;
    min-height: 82dvh;
  }
  .hero-top { top: 78px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .18em; }
  .hero-bottom { padding: 36px 0 22px; }
  .hero-bottom-grid { gap: 14px; }
  .hero-slogan-main { font-size: 21px; line-height: 1.2; margin-bottom: 10px; }
  .hero-slogan-sub { font-size: 12.5px; line-height: 1.5; padding-left: 10px; }
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    gap: 8px;
    justify-content: flex-start;
  }
  .hero-cta .btn {
    width: auto;
    padding: 10px 16px;
    font-size: 13px;
    flex: 1 1 140px;
    white-space: nowrap;
  }
  .btn { padding: 14px 22px; font-size: 14px; }
  .site-header { padding: 12px 0; }
  .site-header.scrolled { padding: 8px 0; }
  .brand img { height: 42px; }
  .site-header.scrolled .brand img { height: 36px; }
  .lang-btn { padding: 6px 10px; font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 22px 20px; }
  .service-num { font-size: 26px; }
  .service-icon { width: 42px; height: 42px; }
  .service-icon svg { width: 20px; height: 20px; }
  .stat { padding: 24px 18px; }
  .stat-num { font-size: clamp(36px, 10vw, 48px); }
  .fh-num { font-size: clamp(64px, 18vw, 96px); }
  .fleet-cat-strip { grid-template-columns: 1fr; }
  .fleet-track { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fleet-info h3 { font-size: 16px; }
  .fleet-info span { font-size: 10px; padding: 3px 9px; }
  .values-grid { grid-template-columns: 1fr; gap: 12px; }
  .value { padding: 22px 18px; text-align: left; display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .value svg { margin: 0; flex-shrink: 0; }
  .value h4, .value p { width: 100%; }
  .urubamba-feature { flex-direction: column; gap: 14px; padding: 20px; }
  .leaflet-coverage { height: 360px; }
  .contact-list li { gap: 14px; }
  .contact-list a, .contact-list span { font-size: 15px; }
  .videos-grid { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(30px, 8vw, 48px); letter-spacing: -.02em; }
  .section-head { margin-bottom: 56px; }
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .lightbox { padding: 20px; }
  .lightbox-close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .lightbox-prev { left: 10px; width: 44px; height: 44px; }
  .lightbox-next { right: 10px; width: 44px; height: 44px; }
  .video-lightbox { padding: 16px; }
  .vlb-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
  .section-title { font-size: 30px; }
  .hero-slogan-main { font-size: 19px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { flex: 1 1 auto; width: 100%; }
  .empresa-stats-strip { grid-template-columns: 1fr; }
  .empresa-stats-strip .stat { border-right: 0; border-bottom: 1px solid var(--ink-200); padding: 18px 10px; }
  .empresa-stats-strip .stat:last-child { border-bottom: 0; }
  .fleet-track { grid-template-columns: 1fr; }
  .leaflet-coverage { height: 320px; }
  .u-stat-big .u-num { font-size: 48px; }
}

/* Short phones in landscape — reduce hero min-height so it fits viewport */
@media (max-height: 600px) and (orientation: landscape) {
  .hero { min-height: 520px; padding: 100px 0 40px; }
}

/* Touch devices — disable hover-only transforms that feel broken on tap */
@media (hover: none) {
  .service-card:hover,
  .fleet-card:hover,
  .stat:hover,
  .mv-card:hover,
  .value:hover,
  .u-stat:hover,
  .video-card:hover { transform: none; }
  .fleet-card:hover .fleet-info { transform: none; }
  .service-card:hover h3,
  .service-card:hover p { color: var(--ink-900); }
  .service-card:hover::before,
  .service-card:hover::after { opacity: 0; }
}

/* ============= CULTURA SST ============= */
.section-ssoma {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 56px 0 52px;
  overflow: hidden;
}
.section-ssoma .section-head { margin-bottom: 18px; max-width: 720px; }
.section-ssoma .section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 6px;
}
.section-ssoma .section-sub { font-size: 14px; max-width: 640px; }
.section-ssoma .section-tag.light {
  background: rgba(245,197,24,.18);
  color: var(--yellow-300);
  border: 1px solid rgba(245,197,24,.3);
}
.section-ssoma .section-title.light { color: var(--white); }
.section-ssoma .section-sub.light { color: rgba(255,255,255,.72); }

.ssoma-wheel {
  position: relative;
  width: clamp(280px, 58vw, 480px);
  aspect-ratio: 1;
  margin: 24px auto 0;
}
.ssoma-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.ssoma-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2c62b4, #071d3d 80%);
  border: 2px solid var(--yellow-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 60px rgba(245,197,24,.25),
    inset 0 4px 24px rgba(255,255,255,.12);
  z-index: 2;
}
.ssoma-center-label {
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--yellow-500);
  text-align: center;
  letter-spacing: .02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.ssoma-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(110px, 14vw, 150px);
  padding: 14px 10px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform .3s var(--ease),
    background .3s var(--ease),
    border-color .3s var(--ease),
    box-shadow .3s var(--ease);
  text-align: center;
  z-index: 3;
}
.ssoma-node-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--grad-yellow);
  color: var(--navy-900);
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(245,197,24,.35);
}
.ssoma-node-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.2;
  color: var(--white);
}
.ssoma-node:hover,
.ssoma-node:focus-visible {
  background: rgba(245,197,24,.15);
  border-color: var(--yellow-500);
  box-shadow: 0 12px 30px rgba(245,197,24,.25);
  transform: translate(-50%, -50%) scale(1.06);
  outline: none;
}

/* Active/dimmed states for nodes when a popover is open */
.ssoma-wheel.has-active .ssoma-node { opacity: .35; transition: opacity .3s var(--ease); }
.ssoma-wheel.has-active .ssoma-node.is-active {
  opacity: 1;
  background: rgba(245,197,24,.2);
  border-color: var(--yellow-500);
  box-shadow: 0 0 0 2px var(--yellow-500), 0 0 28px rgba(245,197,24,.55);
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 10;
}

/* Contextual popover (positioned by JS next to clicked node) */
.ssoma-popover {
  position: absolute;
  width: 340px;
  max-width: 92vw;
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  box-shadow: 0 25px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(245,197,24,.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.92);
  transform-origin: center;
  transition:
    opacity .35s cubic-bezier(.19,1,.22,1),
    visibility .35s,
    transform .35s cubic-bezier(.19,1,.22,1),
    left .35s cubic-bezier(.19,1,.22,1),
    top .35s cubic-bezier(.19,1,.22,1);
  z-index: 20;
}
.ssoma-popover.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}
.ssoma-popover-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: 14px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ssoma-popover-close:hover { background: var(--navy-900); color: var(--yellow-500); }
.ssoma-popover-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(245,197,24,.4);
}
.ssoma-popover-title {
  font-size: clamp(18px, 2.4vw, 24px);
  margin-bottom: 8px;
  color: var(--navy-900);
  line-height: 1.2;
  padding-right: 30px;
}
.ssoma-popover-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
  margin-bottom: 18px;
}
.ssoma-popover-bullets {
  list-style: none; padding: 0; margin: 0;
}
.ssoma-popover-bullets li {
  padding: 11px 0 11px 26px;
  position: relative;
  border-top: 1px solid var(--ink-200);
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
}
.ssoma-popover-bullets li:first-child { border-top: 0; }
.ssoma-popover-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%);
  background: var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}

/* Mobile: popover becomes a centered card over the wheel area */
@media (max-width: 820px) {
  .ssoma-popover {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(.92);
    position: fixed;
    width: 92vw; max-width: 440px;
  }
  .ssoma-popover.open {
    transform: translate(-50%, -50%) scale(1);
  }
  /* subtle backdrop on mobile only */
  .ssoma-popover.open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(7,29,61,.7);
    backdrop-filter: blur(4px);
    z-index: -1;
  }
}

/* Mobile: collapse to accordion-style list */
@media (max-width: 820px) {
  .ssoma-wheel {
    aspect-ratio: auto;
    max-width: 520px;
    padding: 10px 0;
    display: flex; flex-direction: column; gap: 10px;
  }
  .ssoma-ring, .ssoma-center { display: none; }
  .ssoma-node {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 16px;
    padding: 16px 20px;
  }
  .ssoma-node:hover,
  .ssoma-node:focus-visible { transform: translateY(-2px); }
  .ssoma-node-label { font-size: 14px; flex: 1; }
  .ssoma-node::after {
    content: "→";
    color: var(--yellow-500);
    font-size: 18px;
    font-weight: 700;
  }
}

/* ============= CULTURA SST — 5 Pilares + Pirámide ============= */
.ssoma-pillars-head,
.ssoma-pyramid-head,
.ssoma-roadmap-head {
  max-width: 760px;
  margin: 48px auto 20px;
  text-align: center;
}
.ssoma-pillars-head .ssoma-pillars-title,
.ssoma-pyramid-head .ssoma-pillars-title {
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 6px;
}

/* Risk analysis pyramid */
.risk-pyramid-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 30px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}
.risk-pyramid-diagram svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.risk-pyramid-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.risk-pyramid-list li {
  padding: 8px 0 8px 14px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.risk-pyramid-list li.rpl-top    { border-color: #ef4444; background: linear-gradient(90deg, rgba(239,68,68,.12), transparent 70%); }
.risk-pyramid-list li.rpl-l2     { border-color: #f97316; background: linear-gradient(90deg, rgba(249,115,22,.12), transparent 70%); }
.risk-pyramid-list li.rpl-l3     { border-color: #f5c518; background: linear-gradient(90deg, rgba(245,197,24,.12), transparent 70%); }
.risk-pyramid-list li.rpl-base   { border-color: #3574c9; background: linear-gradient(90deg, rgba(53,116,201,.14), transparent 70%); }
.rpl-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow-500);
  min-width: 44px;
  line-height: 1;
  flex-shrink: 0;
}
.rpl-tag {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .risk-pyramid-wrap {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 20px;
  }
  .risk-pyramid-diagram { max-width: 220px; margin: 0 auto; }
}

/* Community section (sostenibilidad) */
.community-head {
  max-width: 720px;
  margin: 56px auto 22px;
  text-align: center;
}
.community-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
.community-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.08);
  aspect-ratio: 4 / 3;
}
.community-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.community-text p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  margin: 0 0 18px;
}
.community-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.community-list li {
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--yellow-500);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  background: linear-gradient(90deg, rgba(245,197,24,.08), transparent 60%);
  border-radius: 0 4px 4px 0;
}
@media (max-width: 820px) {
  .community-wrap { grid-template-columns: 1fr; gap: 20px; }
  .community-head { margin: 40px auto 18px; }
}
.ssoma-pillars-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245, 197, 24, .18);
  color: var(--yellow-300);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 197, 24, .3);
}
.ssoma-pillars-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.1;
}
.ssoma-roadmap-sub {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}

/* 5 pilares en grid horizontal */
.ssoma-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.ssoma-pillar {
  position: relative;
  padding: 16px 14px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition:
    transform var(--hover-dur) var(--ease),
    background var(--hover-dur) var(--ease),
    border-color var(--hover-dur) var(--ease),
    box-shadow var(--hover-dur) var(--ease);
}
.ssoma-pillar:hover {
  transform: translateY(var(--hover-lift));
  background: rgba(245, 197, 24, .08);
  border-color: rgba(245, 197, 24, .45);
  box-shadow: var(--hover-glow-yellow);
}
.sp-num {
  display: block;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--yellow-500);
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.ssoma-pillar h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.ssoma-pillar p {
  font-size: 12px;
  color: rgba(255,255,255,.68);
  line-height: 1.5;
  margin: 0;
}

/* Roadmap timeline */
.ssoma-roadmap {
  list-style: none;
  padding: 0;
  max-width: 1180px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
/* Linear connector between items */
.ssoma-roadmap::before {
  content: "";
  position: absolute;
  top: 28px; left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245,197,24,.4) 10%,
    rgba(245,197,24,.55) 50%,
    rgba(245,197,24,.4) 90%,
    transparent 100%);
  z-index: 0;
}
.ssoma-rm-item {
  position: relative;
  padding: 70px 18px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  text-align: center;
  transition:
    transform var(--hover-dur) var(--ease),
    background var(--hover-dur) var(--ease),
    border-color var(--hover-dur) var(--ease);
}
.ssoma-rm-item::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  width: 20px; height: 20px;
  transform: translateX(-50%);
  background: var(--yellow-500);
  border: 4px solid var(--navy-900);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--yellow-500), 0 0 16px rgba(245,197,24,.5);
  z-index: 1;
}
.ssoma-rm-item:hover {
  transform: translateY(var(--hover-lift));
  background: rgba(245, 197, 24, .08);
  border-color: rgba(245, 197, 24, .4);
}
.rm-date {
  display: block;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow-500);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rm-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 8px;
}
.rm-desc {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .ssoma-pillars { grid-template-columns: repeat(2, 1fr); }
  .ssoma-roadmap { grid-template-columns: repeat(2, 1fr); }
  .ssoma-roadmap::before { display: none; }
}
@media (max-width: 560px) {
  .ssoma-pillars { grid-template-columns: 1fr; gap: 12px; }
  .ssoma-roadmap { grid-template-columns: 1fr; gap: 14px; }
  .ssoma-pillars-head, .ssoma-roadmap-head { margin-top: 80px; }
}

/* ============= PAGE HERO (for subpages: sostenibilidad, flota, galeria, cobertura) ============= */
.page-hero {
  position: relative;
  padding: 130px 0 56px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-500) 100%);
  color: var(--white);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 30%, rgba(245,197,24,.16), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(96,165,250,.12), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumbs a {
  color: rgba(255,255,255,.7);
  transition: color .2s var(--ease);
}
.breadcrumbs a:hover { color: var(--yellow-300); }
.breadcrumbs span[aria-current="page"] { color: var(--yellow-500); font-weight: 700; }
.page-hero-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 0 0 14px;
  position: relative;
  padding-left: 18px;
}
.page-hero-title::before {
  /* accent bar editorial */
  content: "";
  position: absolute;
  left: 0; top: 8%; bottom: 12%;
  width: 4px;
  background: var(--grad-yellow);
  border-radius: 2px;
}
.page-hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0;
  padding-left: 18px;
}

/* ============= ACTIVE NAV STATE ============= */
.main-nav a.is-active { color: var(--yellow-300); }
.main-nav a.is-active::after { width: 28px; }

/* ============= TEASER SECTIONS (on home, link to dedicated pages) ============= */
.section-teaser { padding: 100px 0; }
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.teaser-text .section-title { margin-bottom: 20px; }
.teaser-text .section-sub { margin-bottom: 32px; max-width: 520px; }
.teaser-text .btn-primary { margin-top: 6px; }

.teaser-highlights {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.teaser-highlights li {
  padding: 28px 22px;
  background: linear-gradient(180deg, var(--white), var(--off));
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  transition:
    transform var(--hover-dur) var(--ease),
    border-color var(--hover-dur) var(--ease),
    box-shadow var(--hover-dur) var(--ease);
}
.teaser-highlights li:hover {
  transform: translateY(var(--hover-lift));
  border-color: var(--yellow-500);
  box-shadow: var(--hover-glow-yellow);
}
.th-num {
  display: block;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--navy-800), var(--yellow-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.th-label {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: .02em;
}

/* Variant: highlight cell with real logo instead of big number */
.teaser-highlights li.th-logo-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 18px 16px;
}
.th-logo-img {
  width: auto; height: 48px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.th-logo-cell .th-label {
  font-weight: 800;
  color: var(--navy-800);
  font-size: 14px;
  margin-top: 4px;
}
.th-sub {
  display: block;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Variant: editorial cell — no number, no logo. Label + sub only. */
.teaser-highlights li.th-editorial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
}
.teaser-highlights li.th-editorial .th-label {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -.005em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.teaser-highlights li.th-editorial .th-sub {
  line-height: 1.5;
}

/* Teaser variants use the same grid/structure — only bg tweaks if needed */
.teaser-sostenibilidad {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(10,45,94,.04), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--off) 100%);
  padding: 90px 0;
}
.teaser-sostenibilidad .section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 18px;
}
.teaser-sostenibilidad .section-sub {
  font-size: 16px;
  max-width: 480px;
  margin-inline: 0;
  margin-bottom: 28px;
}

/* Filosofía teaser — ISO badge showcase + editorial bullets */
.teaser-iso-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: center;
}
.iso-big-badge {
  padding: 36px 28px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius);
  box-shadow: 0 22px 44px rgba(7,29,61,.18);
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.iso-big-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245,197,24,.10), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(245,197,24,.06), transparent 40%);
  pointer-events: none;
}
.iso-big-logo-wrap {
  background: #fff;
  padding: 18px 26px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .35s var(--ease);
  position: relative;
  z-index: 1;
}
.iso-big-badge:hover .iso-big-logo-wrap { transform: scale(1.03); }
.iso-big-logo {
  width: auto; height: 76px;
  display: block;
  max-width: none !important;
}
.iso-big-number {
  font-family: Arial, 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0a2d5e;
  letter-spacing: .01em;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.teaser-iso-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.teaser-iso-bullets li {
  padding: 12px 16px 12px 18px;
  border-left: 3px solid var(--yellow-500);
  background: linear-gradient(90deg, rgba(245,197,24,.08), rgba(245,197,24,0) 60%);
  border-radius: 0 6px 6px 0;
  transition: transform var(--hover-dur) var(--ease), background var(--hover-dur) var(--ease);
}
.teaser-iso-bullets li:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(245,197,24,.14), rgba(245,197,24,0) 70%);
}
.ibul-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 3px;
}
.ibul-desc {
  display: block;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .iso-big-logo { height: 60px; }
  .iso-big-number { font-size: 12px; }
  .iso-big-badge { padding: 24px 18px; }
  .teaser-iso-bullets li { padding: 10px 14px 10px 16px; }
  .ibul-title { font-size: 14px; }
  .ibul-desc { font-size: 10.5px; letter-spacing: .06em; }
}
@media (max-width: 560px) {
  .iso-big-logo { height: 52px; }
  .iso-big-badge { padding: 20px 14px; }
  .teaser-iso-showcase { gap: 16px; }
  .teaser-iso-bullets { gap: 8px; }
  .accent-mark { white-space: normal; }
}
.teaser-flota {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}
.teaser-flota .section-tag.light { background: rgba(245,197,24,.18); color: var(--yellow-300); }
.teaser-flota .section-title.light { color: var(--white); }
.teaser-flota .section-sub.light { color: rgba(255,255,255,.75); }
.teaser-flota .teaser-highlights li {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.teaser-flota .teaser-highlights li:hover { background: rgba(245,197,24,.12); }
.teaser-flota .th-label { color: rgba(255,255,255,.65); }
.teaser-flota .th-num {
  background: linear-gradient(135deg, #ffffff 0%, var(--yellow-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.teaser-cobertura { background: var(--white); }
.teaser-cobertura .teaser-highlights li { background: linear-gradient(180deg, var(--white), var(--off)); }

/* Gallery teaser: asymmetric grid with 1 big tile + 4 regular */
.teaser-galeria {
  background: var(--off);
  padding: 90px 0;
}
.teaser-galeria .section-head {
  margin-bottom: 32px;
  max-width: 720px;
}
.teaser-galeria .section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 12px;
}
.teaser-galeria .section-sub {
  font-size: 15.5px;
  max-width: 600px;
}
.gallery-teaser-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
  margin-bottom: 24px;
}
.gt-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition:
    transform var(--hover-dur) var(--ease),
    box-shadow var(--hover-dur) var(--ease);
}
.gt-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,29,61,.85), rgba(7,29,61,.15) 55%, transparent);
  transition: opacity var(--hover-dur) var(--ease);
}
.gt-item:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: var(--hover-glow-navy);
}
.gt-item:hover::before {
  background: linear-gradient(to top, rgba(7,29,61,.92), rgba(245,197,24,.25) 80%);
}
.gt-item.gt-big {
  grid-row: 1 / span 2;
}
.gt-label {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.gt-item.gt-big .gt-label { font-size: 22px; }

.teaser-cta-row { text-align: center; margin-top: 20px; }

@media (max-width: 820px) {
  .teaser-grid { grid-template-columns: 1fr; gap: 40px; }
  .teaser-highlights { grid-template-columns: 1fr 1fr; }
  .gallery-teaser-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
  }
  .gt-item.gt-big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 480px) {
  .teaser-highlights { grid-template-columns: 1fr; }
  .gallery-teaser-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gt-item { height: 180px; }
  .gt-item.gt-big { height: 220px; }
}
