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

/* Evita que video/imágenes/objetos sin dimensiones definidas infle el ancho
   del documento y provoque que el navegador móvil "haga zoom" hacia afuera. */
img, video, object, svg, iframe, canvas {
  max-width: 100%;
}

html {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --navy:       #1D2A7A;
  --navy-mid:   #F4F7FB;
  --navy-light: #E6EDF7;
  --blue:       #1D2A7A;
  --accent:     #009C8F;
  --accent2:    #1D2A7A;
  --white:      #FFFFFF;
  --off-white:  #F4F7FB;
  --gray:       #6B78A1;
  --text:       #2C3760;
  --card-bg:    #FFFFFF;
  --black:     #000000;
}

html { scroll-behavior: smooth; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body.nav-open-lock,
body.modal-open-lock { overflow: hidden; }

/* ─── ANNOUNCEMENT BAR ─── */
:root {
  --announcement-offset: 72px;
}

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  min-height: var(--announcement-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 64px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 42, 122, 0.18);
}

.announcement-bar img {
  width: 150px;
  height: 42px;
  display: block;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
}

.announcement-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: inherit;
  text-decoration: none;
}

.announcement-bar p {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-align: center;
}

.announcement-close {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.announcement-close:hover,
.announcement-close:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.announcement-bar[hidden] {
  display: none;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: var(--announcement-offset); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(29,42,122,0.1);
  box-shadow: 0 1px 8px rgba(0,0,0,0.6);
  transition: padding 0.3s;
  isolation: isolate;
}
nav.scrolled { padding: 14px 60px; }

body.announcement-dismissed nav {
  top: 0;
}

nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 150px; height: 95px;
  background: #1D2B7A;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 0;
}


nav > * {
  position: relative;
  z-index: 1;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: grid; place-items: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: var(--navy); }

.logo img {
  height: 40px;
  width: auto;
  max-width: 42vw;
  display: block;
  object-fit: contain;
}

@media (min-width: 901px) {
  nav {
    padding: 30px 60px;
  }

  nav.scrolled {
    padding: 24px 60px;
  }

  nav::before {
    height: 115px;
  }

  .logo img {
    height: 65px;
  }
}

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 400;
  color: var(--gray); text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--navy); }

/* ─── MOBILE NAV TOGGLE (hamburger) ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(29,42,122,0.06); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
nav.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
nav.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-nav {
  background: var(--white);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(29,42,122,0.12);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.btn-nav:hover {
  box-shadow: 0 4px 12px rgba(29,42,122,0.2);
  transform: translateY(-1px);
}
.btn-nav img {
  display: block;
  width: 150px;
  height: 42px;
  object-fit: contain;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding: 100px 60px 40px;
}

.hero-bg {
  position: absolute; inset: 0;
  max-width: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.28) 32%, rgba(0,0,0,0.12) 48%, rgba(0,0,0,0) 62%);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(540px, 92%);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 38px 40px 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-tagline {
  position: static;
  width: 100%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  letter-spacing: 1px;
  line-height: 0.98;
  text-transform: uppercase;
  color: #F8F9FF;
  text-align: left;
  text-shadow: 0 4px 14px rgba(0,0,0,0.4);
  margin: 0 0 14px 0;
  pointer-events: auto;
}

.hero-tagline-strong {
  display: block;
  font-size: clamp(2.9rem, 4.6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 1.5px;
}

/* subtle rectangular overlay disabled in favor of .hero-content card */
#hero::after {
  display: none;
}

.hero-badge {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.35);
  color: var(--accent);
  font-size: 0.78rem; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
  animation: fadeUp 0.7s ease both;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }

.hero-title {
  position: relative; z-index: 2;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  max-width: 780px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  position: static;
  font-size: 1.02rem;
  font-weight: 400;
  color: rgba(248, 249, 255, 0.92);
  max-width: 480px;
  margin: 0 0 24px 0;
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-ctas {
  position: static;
  transform: none;
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}

.hero-ctas a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, border-color 0.2s, color 0.2s;
}
.hero-ctas a:hover { transform: translateY(-2px); }

.hero-ctas .btn-secondary {
  transform: none;
}
.hero-ctas .btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  padding: 10.5px 16px;
  border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #00897e; transform: translateY(-2px); }

.btn-secondary {
  color: var(--navy);
  font-size: 0.9rem; font-weight: 400;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(29,42,122,0.2);
  padding: 10.5px 13px; border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(0,156,143,0.6); background: rgba(0,156,143,0.08); }

.hero-ctas .btn-secondary {
  background: #1D2A7A;
  color: #FFFFFF;
  border-color: #1D2A7A;
}
.hero-ctas .btn-secondary:hover {
  background: #16225f;
  border-color: #16225f;
}

.hero-experience-panel {
  position: absolute;
  left: 38px;
  bottom: 38px;
  width: min(560px, calc(100% - 76px));
  
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
  transform: translateX(-20px);
}

.hero-experience-subtitle {
  max-width: 610px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.02rem, 1.55vw, 1.55rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F8F9FF;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* floating card */
.hero-card {
  position: absolute; z-index: 3;
  right: 60px; bottom: 80px;
  background: var(--card-bg);
  border: 1px solid rgba(29,42,122,0.12);
  border-radius: 16px;
  padding: 20px 24px;
  min-width: 240px;
  animation: fadeUp 0.9s 0.4s ease both;
  backdrop-filter: blur(8px);
}
.hero-card-label { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.hero-card-route {
  display: flex; flex-direction: column; gap: 10px;
}
.route-row { display: flex; align-items: center; gap: 10px; }
.route-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.route-dot.dest { background: var(--accent2); }
.route-line { width: 2px; height: 18px; background: rgba(29,42,122,0.12); margin-left: 4px; }
.route-text { font-size: 0.82rem; color: var(--text); }
.route-text strong { color: var(--navy); font-weight: 500; }
.hero-card-status {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(29,42,122,0.12);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: #4ade80;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 1.5s infinite; }


/* ─── STATS ─── */
#stats {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.stat-item {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.14);
  text-align: center;
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.06); }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.08em;
  transform: scaleX(1.3);
  transform-origin: center;
}
.stat-num span { color: #8fe7df; }
#c2 {
  font-size: 2rem;
  white-space: nowrap;
  display: inline-block;
}
.stat-label {
  font-size: 0.82rem; color: rgba(255,255,255,0.82);
  margin-top: 8px; font-weight: 300;
}

/* ─── SECTION COMMONS ─── */
section { padding: 100px 60px; }
.section-tag {
  font-size: 0.75rem; font-weight: 500;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 500px;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-desc {
  font-size: 0.95rem; color: var(--navy);
  line-height: 1.7; max-width: 420px;
  font-weight: 300;
  margin-top: 16px;
}
.max-w { max-width: 1200px; margin: 0 auto; }

/* ─── CLIENTS ─── */
#clients {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FD 100%);
  padding: 25px 60px 84px;
  border-bottom: 1px solid rgba(29,42,122,0.08);
  position: relative;
  overflow: hidden;
}
.clients-section {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
  width: 100%;
  overflow: visible;
}
.clients-section .section-desc {
  max-width: 560px;
}
.clients-grid {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
  overflow: visible;
}
.client-card {
  flex: 0 1 270px;
  width: 100%;
  max-width: 320px;
  min-height: 217px;
  display: grid;
  place-items: center;
  padding: 28px 30px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(29,42,122,0.09);
  box-shadow: 0 18px 35px rgba(29,42,122,0.08);
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform, box-shadow;
}
.client-card img {
  width: min(100%, 220px);
  max-height: 150px;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.client-card:hover {
  transform: translateY(-10px);
  border-color: rgba(29,42,122,0.16);
  box-shadow: 0 26px 42px rgba(29,42,122,0.16);
}
.client-card:hover img {
  transform: scale(1.03);
  opacity: 1;
}

/* ─── HISTORY ─── */
#history {
  background: linear-gradient(135deg, #F4F7FB 0%, #FFFFFF 55%);
  position: relative;
  overflow: hidden;
}
#history::before {
  content: '';
  position: absolute; inset: -20% 0 0 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(29,42,122,0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(0,156,143,0.12), transparent 40%);
  opacity: 0.7;
  pointer-events: none;
}
.history-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.history-controls { display: flex; gap: 12px; }
.history-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(29,42,122,0.2);
  background: var(--white);
  color: var(--navy);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.history-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.history-btn:active { transform: translateY(0); }
.history-btn svg { width: 18px; height: 18px; }

.history-carousel {
  position: relative;
  margin-top: 14px;
  z-index: 1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.history-rail {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(29,42,122,0.25), transparent);
  transform: translateY(-50%);
}
.history-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 0 22px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}
.history-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.history-viewport::-webkit-scrollbar { display: none; }
.history-track {
  display: flex;
  gap: 0;
  align-items: center;
  user-select: none;
}
.history-card {
  flex: 0 0 440px;
  height: 440px;
  border: 3px solid var(--navy);
  border-right: 0;
  background: var(--white);
  transform: skewX(-12deg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 26px rgba(29,42,122,0.08);
  scroll-snap-align: start;
  position: relative;
  z-index: 1;
}
.history-card:not(:first-child) { margin-left: -92px; }
.history-card:nth-child(1) { z-index: 1; }
.history-card:nth-child(2) { z-index: 2; }
.history-card:nth-child(3) { z-index: 3; }
.history-card:nth-child(4) { z-index: 4; }
.history-card:nth-child(5) { z-index: 5; }
.history-card:nth-child(6) { z-index: 6; }
.history-card:nth-child(7) { z-index: 7; }
.history-card:nth-child(8) { z-index: 8; }
.history-card:nth-child(9) { z-index: 9; }
.history-card:nth-child(10) { z-index: 10; }
.history-card:nth-child(11) { z-index: 11; }
.history-card:nth-child(12) { z-index: 12; }
.history-card:nth-child(13) { z-index: 13; }
.history-card:nth-child(14) { z-index: 14; }
.history-card:nth-child(15) { z-index: 15; }
.history-card:nth-child(16) { z-index: 16; }
.history-card:nth-child(17) { z-index: 17; }
.history-card:last-child { border-right: 3px solid var(--navy); }
.history-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,156,143,0.08), transparent 60%);
  opacity: 0.7;
}
.history-card-inner {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: transparent;
  position: relative; z-index: 1;
}
.history-card:nth-child(3n) .history-card-inner {
  background: transparent;
}
.history-media {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
}
.history-media {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  overflow: hidden;
}
.history-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 0% 100%;
  transform-origin: center;
  transform: none;
  display: block;
  position: relative;
  z-index: 0;
}
.history-hint {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0px 160px;
}

/* ─── ABOUT / NOSOTROS ─── */
#nosotros {
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF4FB 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,156,143,0.12), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(29,42,122,0.12), transparent 30%);
  pointer-events: none;
  z-index: 1;
}
.about-atom {
  position: absolute;
  left: -220px;
  top: -10px;
  width: min(400px, 40vw);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: atomSlideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}
.about-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 56px;
}
.about-copy {
  max-width: 640px;
}
.about-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--navy);
  font-weight: 300;
  margin-top: 14px;
}
.about-text-card {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--navy);
  font-weight: 300;
  margin-top: 14px;
}
.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.about-point {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(29,42,122,0.1);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(29,42,122,0.06);
}
.about-point strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.about-point span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--gray);
}
.about-media {
  margin-top:24px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 412px;
  max-height: 600px;
  box-shadow: 0 24px 50px rgba(29,42,122,0.18);
}
.about-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,15,34,0.05) 0%, rgba(8,15,34,0.42) 100%);
  pointer-events: none;
}
.about-media img {
  
  /*width: 100%;*/
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  z-index: 1;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 18px 20px;
  color: var(--navy);
}
.about-media-badge span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.about-media-badge strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

@keyframes atomSlideIn {
  from {
    transform: translateX(-150px) scale(0.94);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 0.5;
  }
}

/* ─── MISSION / VISION ─── */
#mision-vision {
  background: linear-gradient(135deg, #F7FAFF 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
#mision-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(0,156,143,0.10), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(29,42,122,0.10), transparent 28%);
  pointer-events: none;
}
.mission-vision-layout {
  position: relative;
  z-index: 1;
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.mission-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(29,42,122,0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 34px rgba(29,42,122,0.08);
}
.mission-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}
.mission-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--navy);
  font-weight: 300;
  margin: 0;
}

/* ─── WHY CHOOSE US ─── */
#elegirnos {
  background: linear-gradient(135deg, #F7FAFF 0%, #EEF4FB 100%);
  position: relative;
  overflow: hidden;
}
#elegirnos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,156,143,0.12), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(29,42,122,0.12), transparent 30%);
  pointer-events: none;
}

/* Cobertura: toggle buttons (map view) */
.coverage-toggle {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.coverage-btn {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(29,42,122,0.12);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.coverage-btn:hover {
  transform: translateY(-1px);
}
.coverage-btn.is-active,
.coverage-btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.why-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.why-copy {
  max-width: 700px;
}
.why-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.why-mini-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(29,42,122,0.1);
  border-radius: 24px;
  padding: 18px 14px 16px;
  box-shadow: 0 12px 26px rgba(29,42,122,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  position: relative;
  outline: none;
}
.why-mini-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,156,143,0.45);
  box-shadow: 0 18px 36px rgba(0,156,143,0.14), 0 8px 18px rgba(29,42,122,0.08);
}
.why-mini-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.why-mini-card .about-text-card {
  flex-grow: 1;
  margin-top: 8px;
}
.why-mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(0, 156, 143, 0.08);
  border: 1px solid rgba(0, 156, 143, 0.22);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.why-mini-cta::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  transition: transform 0.2s ease;
}
.why-mini-card:hover .why-mini-cta::before {
  transform: scale(1.15);
}
.why-mini-card:hover .why-mini-cta {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 156, 143, 0.25);
}
.why-mini-icon {
  
  height: 48px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  
  
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.why-mini-icon svg {
  width: 36px;
  height: 36px;
}
.why-mini-card strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--navy);
}
.why-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(29,42,122,0.1);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 24px 50px rgba(29,42,122,0.12);
}
.why-card-top span {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.why-card-top strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.why-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 18px;
}
.why-badge {
  background: rgba(29,42,122,0.06);
  color: var(--navy);
  border: 1px solid rgba(29,42,122,0.08);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}
.why-media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 18px 32px rgba(29,42,122,0.12);
}
.why-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ─── SERVICES ─── */
#services { background: var(--white); }
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(29,42,122,0.12);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s;
  position: relative;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(0,156,143,0.4); }
.service-card.featured { grid-column: span 2; }

.service-img {
  width: 100%; height: 170px; object-fit: cover;
  display: block;
  background: var(--navy-light);
}
.service-img-placeholder {
  width: 100%; height: 170px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.service-featured-img { height: 220px; }

.service-info {
  padding: 20px;
}
.service-info h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 6px;
}
.service-info p {
  font-size: 0.8rem; color: var(--gray);
  line-height: 1.5; font-weight: 300;
}
.service-arrow {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(29,42,122,0.06);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.2s;
}
.service-card:hover .service-arrow { background: var(--accent); }
.service-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* explore btn */
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px;
  border: 1px solid rgba(29,42,122,0.2);
  color: var(--navy); font-size: 0.88rem;
  padding: 12px 22px; border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,156,143,0.08); }

/* ─── COTIZACION ─── */
#cotizacion {
  background: var(--navy-mid);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.quote-atom {
  position: absolute;
  left: -240px;
  top: -28px;
  width: min(420px, 42vw);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: atomSlideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}
.quote-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.quote-contact {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(29,42,122,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.5);
}
.quote-contact span {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.quote-contact a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--navy);
}
.quote-card {
  background: var(--card-bg);
  border: 1px solid rgba(29,42,122,0.12);
  border-radius: 20px;
  padding: 32px;
}
.quote-card-head {
  margin-bottom: 20px;
}
.quote-card-label {
  font-size: 0.72rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
}
.quote-card-head h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  line-height: 1.1;
}
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quote-field label {
  display: block;
  font-size: 0.7rem; color: var(--gray);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  background: rgba(29,42,122,0.04);
  border: 1px solid rgba(29,42,122,0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--navy); font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,156,143,0.08); }
.quote-field input::placeholder { color: var(--gray); }
.quote-field textarea {
  resize: vertical;
  min-height: 96px;
}
.quote-field textarea::placeholder { color: var(--gray); }
.quote-field.full { grid-column: 1 / -1; }
.quote-btn {
  width: 100%; margin-top: 20px;
  background: var(--accent); color: var(--white);
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.9rem; border: none; border-radius: 10px;
  padding: 14px; cursor: pointer;
  transition: background 0.2s;
}
.quote-btn:hover { background: #00897e; }

/* clients strip */
.clients-strip {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(29,42,122,0.08);
}
.clients-label { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; }
.clients-logos {
  display: flex; gap: 40px; align-items: center;
  flex-wrap: wrap;
}
.client-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: rgba(29,42,122,0.45);
  letter-spacing: -0.5px;
  transition: color 0.2s;
}
.client-logo:hover { color: rgba(29,42,122,0.85); }

/* ─── CTA ─── */
#cta {
  background: var(--navy-mid);
  padding: 100px 60px;
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
}
.cta-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.1;
}
.cta-title em { font-style: normal; color: var(--accent); }
.cta-desc { font-size: 0.95rem; color: var(--gray); font-weight: 300; line-height: 1.7; margin-top: 16px; }
.cta-btns { display: flex; gap: 14px; margin-top: 32px; }
.cta-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 120px;
  gap: 12px;
}
.mosaic-tile {
  border-radius: 14px; overflow: hidden;
  background: var(--navy-light);
  position: relative;
}
.mosaic-tile:nth-child(1) { grid-row: span 2; font-size: 4rem; display: grid; place-items: center; }
.mosaic-tile:nth-child(2) { font-size: 3rem; display: grid; place-items: center; }
.mosaic-tile:nth-child(3) { font-size: 2.5rem; display: grid; place-items: center; background: var(--accent); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(29,42,122,0.1);
  padding: 60px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 60px;
}
.footer-logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.82rem; color: var(--navy); line-height: 1.65; font-weight: 300; max-width: 260px; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  margin-bottom: 16px; color: var(--navy);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.82rem; color: var(--navy);
  text-decoration: none; transition: color 0.2s;
  font-weight: 300;
}
.footer-col ul a:hover { color: var(--navy); }
.footer-contact p {
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 300;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-contact p strong { color: var(--navy); font-weight: 600; }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(29,42,122,0.1);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--gray); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(29,42,122,0.08);
  display: grid; place-items: center;
  text-decoration: none; transition: background 0.2s;
}
.social-link:hover { background: var(--accent); }
.social-link svg { width: 14px; height: 14px; fill: var(--navy); }

/* ─── JOBS PAGE ─── */
.jobs-banner {
  position: relative;
  margin-top: 132px;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

body.announcement-dismissed .jobs-banner {
  margin-top: 60px;
}

.jobs-banner-image,
.jobs-banner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jobs-banner-image {
  object-fit: cover;
  object-position: center 58%;
  z-index: -2;
}

.jobs-banner-overlay {
  background: linear-gradient(90deg, rgba(5, 31, 53, 0.82), rgba(5, 31, 53, 0.58));
  z-index: -1;
}

.jobs-banner-content {
  width: min(100% - 32px, 1100px);
  padding: 48px 16px;
  color: var(--white);
  text-align: center;
}

.jobs-banner-eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jobs-banner h1 {
  max-width: 850px;
  margin: 0 auto;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jobs-breadcrumb {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 0.9rem;
}

.jobs-breadcrumb::before {
  display: none;
}

.jobs-breadcrumb a {
  color: var(--white);
  text-decoration: none;
}

.jobs-breadcrumb a:hover {
  color: var(--accent);
}

.jobs-breadcrumb span[aria-hidden="true"] {
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 0;
}

.jobs-page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 60px;
}

.jobs-hero {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.jobs-hero-copy,
.jobs-hero-panel,
.jobs-card {
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(29,42,122,0.1);
  box-shadow: 0 16px 36px rgba(18,30,78,0.08);
}

.jobs-hero-copy {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
  column-gap: 34px;
  align-items: center;
  align-self: stretch;
  height: 100%;
}

.jobs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1;
  margin-top: 18px;
}

.jobs-badge {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.jobs-badge-salary {
  background: #d7f3e9;
  color: #12463d;
}

.jobs-badge-bonus {
  background: #fff0c2;
  color: #604707;
}

.jobs-card-image {
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

.jobs-title {
  margin-top: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.jobs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.jobs-actions button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.jobs-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-height: 0;
  overflow: hidden;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(19, 41, 104, 0.12);
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.jobs-details[hidden] {
  display: none;
}

.jobs-details.is-open {
  max-height: 2400px;
  opacity: 1;
}

.jobs-detail-column {
  padding: 20px;
  border-radius: 16px;
  background: #f7f9fc;
}

.jobs-detail-column h2 {
  margin-bottom: 14px;
  color: #132968;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
}

.jobs-detail-column h3 {
  margin-top: 14px;
  color: #132968;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.jobs-detail-column ul {
  padding-left: 18px;
}

.jobs-detail-column li,
.jobs-detail-column p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.55;
}

.jobs-detail-column li + li {
  margin-top: 8px;
}

.jobs-detail-column p {
  margin-top: 5px;
}

.jobs-detail-note {
  font-style: italic;
}

.jobs-detail-column h3 span {
  font-weight: 400;
  text-transform: none;
}

.application-modal[hidden] {
  display: none;
}

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.application-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 48, 0.7);
}

.application-dialog {
  position: relative;
  width: min(100%, 680px);
  max-height: min(90vh, 820px);
  overflow-y: auto;
  padding: 34px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(5, 18, 48, 0.3);
}

.application-dialog h2 {
  margin-top: 8px;
  color: #132968;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.application-intro {
  margin-top: 10px;
  color: var(--gray);
}

.application-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(19, 41, 104, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #132968;
  font-size: 1.5rem;
  cursor: pointer;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.application-form label {
  display: grid;
  gap: 7px;
  color: #132968;
  font-size: 0.86rem;
  font-weight: 700;
}

.application-form input,
.application-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(19, 41, 104, 0.2);
  border-radius: 10px;
  background: #fff;
  color: #132968;
  font: inherit;
}

.application-file-label,
.application-actions {
  grid-column: 1 / -1;
}

.application-form small {
  color: var(--gray);
  font-weight: 400;
  line-height: 1.4;
}

.application-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.application-actions button,
.application-actions a {
  min-height: 48px;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: center;
  text-decoration: none;
}

.application-email {
  line-height: 1.25;
}

.application-submit {
  background: #25d366;
  color: #ffffff;
}

.application-submit:hover {
  background: #1da851;
}

.application-or {
  color: #132968;
  font-weight: 700;
}

.jobs-hero-panel {
  padding: 30px;
  background: linear-gradient(180deg, #fff, #f7f9ff);
}

.jobs-panel-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.jobs-panel-top h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.08;
  color: var(--navy);
}

.jobs-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.jobs-metric {
  padding: 18px;
  border-radius: 18px;
  background: var(--navy-mid);
  border: 1px solid rgba(29,42,122,0.08);
}

.jobs-metric strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.jobs-metric span {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

.jobs-panel-note {
  margin-top: 20px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.65;
}

.jobs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
  padding-bottom: 40px;
}

.jobs-card {
  padding: 28px;
}

.jobs-list {
  display: grid;
  gap: 14px;
}

.job-card {
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(29,42,122,0.08);
}

.job-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.job-meta {
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.job-card p,
.jobs-requirements li,
.jobs-process li {
  color: var(--gray);
  line-height: 1.65;
  font-size: 0.94rem;
}

.jobs-side {
  display: grid;
  gap: 24px;
}

.jobs-requirements,
.jobs-process {
  margin-top: 14px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.jobs-page .btn-primary,
.jobs-page .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1120px) {
  .jobs-page-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .jobs-hero,
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jobs-page-shell {
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .jobs-banner {
    margin-top: 118px;
    min-height: 290px;
  }

  body.announcement-dismissed .jobs-banner {
    margin-top: 64px;
  }

  .jobs-banner-image {
    object-position: 62% center;
  }

  .jobs-hero-copy,
  .jobs-hero-panel,
  .jobs-card {
    padding: 22px;
    border-radius: 18px;
  }

  .jobs-hero-copy {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .jobs-details {
    grid-template-columns: 1fr;
  }

  .jobs-card-image {
    grid-column: 1;
    grid-row: auto;
    height: 180px;
    margin-top: 12px;
  }

  .jobs-metrics {
    grid-template-columns: 1fr;
  }

  .jobs-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-page .btn-primary,
  .jobs-page .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .application-modal {
    padding: 12px;
  }

  .application-dialog {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .application-form {
    grid-template-columns: 1fr;
  }

  .application-file-label,
  .application-actions {
    grid-column: auto;
  }

  .application-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .application-or {
    text-align: center;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes clientsFocus {
  0% { opacity: 0.8; transform: scale(1); }
  5.15% { opacity: 1; transform: scale(1.12); }
  19.85% { opacity: 1; transform: scale(1.12); }
  25% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── NEWSLETTER ─── */
.newsletter-form {
  display: flex; gap: 10px; margin-top: 16px;
}
.newsletter-form input {
  flex: 1;
  background: rgba(29,42,122,0.04);
  border: 1px solid rgba(29,42,122,0.12);
  border-radius: 8px; padding: 10px 14px;
  color: var(--navy); font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent); color: var(--white);
  border: none; border-radius: 8px;
  padding: 10px 16px; cursor: pointer;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.78rem;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #00897e; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root {
    --announcement-offset: 64px;
  }

  .announcement-bar {
    gap: 12px;
    padding: 8px 52px 8px 12px;
  }

  .announcement-link {
    gap: 12px;
  }

  .announcement-bar img {
    width: 92px;
    height: 38px;
  }

  .announcement-bar p {
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .announcement-close {
    right: 10px;
    width: 30px;
    height: 30px;
  }

  nav {
    padding: 14px 20px;
    flex-wrap: wrap;
    row-gap: 0;
  }
  nav::before { width: 110px; height: 70px; }
  .logo { order: 1; }
  .logo img { height: 34px; }
  .btn-nav { order: 2; margin-left: auto; }
  .nav-toggle { display: flex; order: 3; margin-left: 12px; }
  .nav-links {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
    margin-top: 0;
  }
  nav.menu-open .nav-links {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    margin-top: 14px;
    padding-top: 4px;
    border-top: 1px solid rgba(29,42,122,0.1);
  }
  nav.menu-open {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 18px 30px rgba(18,30,78,0.12);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(29,42,122,0.08);
  }
  .nav-links li:last-child a { border-bottom: none; }
  section { padding: 70px 24px; }
  #clients { padding: 72px 24px 64px; }
  .clients-grid {
    justify-content: center;
    gap: 14px;
  }
  .client-card {
    flex: 1 1 140px;
    max-width: 240px;
    min-height: 132px;
    padding: 22px 20px;
  }
  .client-card img { width: min(100%, 180px); max-height: 74px; }
  #hero {
    padding: 0 24px 16px;
    align-items: center;
  }
  .hero-video {
    object-position: left center;
  }
  .hero-bg::before {
    opacity: 1;
    transition-delay: 0s;
  }

  /* En móvil, el título, subtítulo y botones dejan de estar posicionados
     de forma absoluta (hardcodeado para escritorio) y pasan a apilarse
     en flujo normal: título arriba, subtítulo debajo, botones al final,
     todo centrado dentro de un panel oscuro que se ajusta al contenido. */
  #hero::after { display: none; }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 24px 20px;
    border-radius: 16px;
    background: rgba(0,0,0,0.62);
    position: relative;
    z-index: 2;
  }

  .hero-tagline {
    position: static;
    left: auto; bottom: auto;
    transform: none;
    width: 100%;
    text-align: center;
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    opacity: 1;
    pointer-events: none;
    transition-delay: 0s;
  }
  .hero-tagline-strong { font-size: clamp(2.8rem, 10vw, 4.2rem); }
  #hero:hover .hero-tagline { transform: none; }

  .hero-sub {
    position: static;
    left: auto; bottom: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-ctas {
    position: static;
    left: auto; bottom: auto;
    transform: none;
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    margin: 0 auto;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
  }
  .hero-ctas .btn-secondary {
    transform: none;
  }
  .hero-ctas .btn-secondary:hover {
    transform: translateY(-2px);
  }
  .hero-experience-panel {
    left: 24px;
    bottom: 22px;
    width: calc(100% - 48px);
    min-height: 92px;
    padding: 14px 18px;
  }

  .hero-experience-subtitle {
    max-width: 100%;
    font-size: clamp(0.95rem, 3.2vw, 1.25rem);
  }

  .hero-card { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(29,42,122,0.08); }
  /* "+2 Millones" es más largo que las demás estadísticas y se salía de
     la pantalla en móvil; se reduce solo ese número para que quepa. */
  #c2 {
    font-size: clamp(1.05rem, 5vw, 1.5rem);
  }
  .stat-item:nth-child(2) .stat-num {
    transform: scaleX(1);
  }
  .services-layout, .quote-layout, .testi-layout, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .quote-grid { grid-template-columns: 1fr; }
  .history-header { flex-direction: column; align-items: flex-start; }
  .history-controls { width: 100%; justify-content: flex-start; }
  .history-carousel {
    width: calc(100% + 48px);
    margin-left: -24px;
    padding: 0 24px;
  }
  .history-viewport {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    padding: 16px 0 28px;
  }
  .history-track {
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
  }
  .history-card {
    width: 240px;
    height: 320px;
    flex: 0 0 auto;
    transform: rotate(90deg) skewX(-12deg);
    transform-origin: center;
  }
  .history-card:not(:first-child) { margin-left: 0; margin-top: -82px; }
  .history-card-inner {
    width: 320px;
    height: 240px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
  }
  .history-media img {
    object-position: center;
    transform: none;
  }
  .history-rail {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 2px; height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, rgba(29,42,122,0.25), transparent);
  }
  .history-hint { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { max-width: 100%; }
  .about-atom {
    left: -140px;
    top: -6px;
    width: min(260px, 58vw);
  }
  .quote-atom {
    left: -150px;
    top: -10px;
    width: min(270px, 60vw);
  }
  .about-points { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; gap: 18px; }
  .mission-card { padding: 22px; }
  .about-media { min-height: 320px; border-radius: 22px; }
  .about-media-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }
  .about-media-badge strong { font-size: 1.1rem; }
  .why-layout { grid-template-columns: 1fr; gap: 28px; }
  .why-copy { max-width: 100%; }
  .why-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-mini-card { min-height: 176px; }
  .why-mini-icon { width: 70px; height: 70px; }
  .why-mini-icon svg { width: 32px; height: 32px; }
  .why-media { min-height: 250px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  footer { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-bottom p { min-width: 0; }
  .cta-mosaic { display: none; }
  #cta { padding: 70px 24px; }
}


.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* En móvil, un poco más pequeño y pegado a la orilla */
@media (max-width: 480px) {
  nav { padding: 12px 16px; }
  .logo img { height: 30px; }
  .btn-nav { display: none; }
  .nav-toggle { margin-left: auto; }
  .why-points { grid-template-columns: 1fr; }
  .why-mini-card { min-height: 166px; }
  .why-mini-icon { width: 66px; height: 66px; }
  .why-mini-icon svg { width: 30px; height: 30px; }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .hero-experience-panel {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    min-height: 86px;
    padding: 12px 16px;
  }

  .hero-experience-subtitle {
    font-size: 0.98rem;
    line-height: 1.18;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
  footer { padding: 40px 20px; }
  .jobs-metric { padding: 14px; }
  .jobs-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-content { padding: 20px 16px; }
  #c2 { font-size: clamp(0.95rem, 4.6vw, 1.3rem); }
}

/* ─── HISTORY TIMELINE CAROUSEL ─── */
#history .section-tag {
  color: #009B94;
}

#history .section-title {
  color: #133468;
}

#history .section-title em {
  color: #009B94;
  font-style: normal;
}

#history .section-desc {
  max-width: 600px;
}

#history .history-carousel {
  margin-top: 30px;
}

#history .history-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 24px 0 32px;
  scroll-padding-inline: 48px;
  touch-action: pan-x;
}

#history .history-track {
  gap: 12px;
  padding: 0 48px;
  align-items: stretch;
}

#history .history-card {
  flex: 0 0 calc((100vw - 144px) / 5);
  width: auto;
  height: 410px;
  margin-left: 0;
  border: 0;
  border-radius: 0;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  background: #133468;
  box-shadow: 0 18px 30px rgba(19, 52, 104, 0.16);
  transition: flex-basis 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

#history .history-card::after {
  display: none;
}

#history .history-card:hover,
#history .history-card.is-active {
  flex-basis: calc((100vw - 120px) / 5);
  transform: translateY(-8px);
  box-shadow: 0 24px 38px rgba(19, 52, 104, 0.24);
  z-index: 20;
}

#history .history-card-inner,
#history .history-media {
  width: 100%;
  height: 100%;
}

#history .history-card-inner {
  transform: none;
}

#history .history-media {
  display: block;
  color: var(--white);
}

#history .history-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

#history .history-card:hover .history-media img,
#history .history-card.is-active .history-media img {
  transform: scale(1.08);
}

#history .history-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.08) 72%);
}

#history .history-caption {
  position: absolute;
  inset: auto 12% 28px 14%;
  z-index: 2;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
}

#history .history-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #009B94;
  color: var(--white);
  font: 700 0.62rem/1 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
}

#history .history-year {
  color: #65ded5;
  font: 600 0.8rem/1.2 'Oswald', sans-serif;
  letter-spacing: 0.1em;
}

#history .history-caption h3 {
  margin-top: 8px;
  color: var(--white);
  font: 600 clamp(1.15rem, 1.7vw, 1.55rem)/1.08 'Oswald', sans-serif;
  text-transform: none;
}

#history .history-model {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font: 500 0.78rem/1.3 'DM Sans', sans-serif;
}

#history .history-description {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  color: rgba(255, 255, 255, 0.9);
  font: 400 0.82rem/1.45 'DM Sans', sans-serif;
  transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

#history .history-card:hover .history-description,
#history .history-card.is-active .history-description {
  max-height: 130px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
}

#history .history-card:focus-visible {
  outline: 3px solid #009B94;
  outline-offset: 4px;
}

#history .history-hint {
  padding: 0 48px;
}

@media (max-width: 1200px) {
  #history .history-card {
    flex-basis: calc((100vw - 96px) / 3);
  }

  #history .history-card:hover,
  #history .history-card.is-active {
    flex-basis: calc((100vw - 72px) / 3);
  }
}

@media (max-width: 900px) {
  #history .history-carousel {
    width: calc(100% + 48px);
    margin-left: -24px;
    padding: 0 24px;
  }

  #history .history-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 28px;
  }

  #history .history-track {
    flex-direction: row;
    padding: 0;
  }

  #history .history-card {
    flex-basis: calc((100vw - 84px) / 2);
    height: 380px;
    transform: none;
  }

  #history .history-card:hover,
  #history .history-card.is-active {
    flex-basis: calc((100vw - 68px) / 2);
  }

  #history .history-hint {
    display: block;
    padding: 0;
  }

  #history .history-rail {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
    transform: translateY(-50%);
  }
}

@media (max-width: 600px) {
  #history .history-header {
    gap: 20px;
  }

  #history .history-controls {
    width: 100%;
  }

  #history .history-card,
  #history .history-card:hover,
  #history .history-card.is-active {
    flex-basis: calc(100vw - 48px);
    height: 430px;
  }

  #history .history-card {
    clip-path: none;
  }

  #history .history-caption {
    inset: auto 24px 28px;
  }
}

.coverage-map {
  padding: 64px 24px;
}

.cobertura-wrap {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.map-col {
  flex: 1 1 560px;
  min-width: 320px;
}

.map-col h2 {
  color: #1D2A7A;
  font-size: 24px;
  margin: 0 0 4px;
}

.map-col .sub {
  color: #6b7280;
  font-size: 14px;
  margin: 0 0 16px;
}

.coverage-map-shell {
  width: 100%;
  height: clamp(360px, 55vw, 620px);
  display: block;
  background: #ffffff;
  border-radius: 20px;
  padding: 14px;
  box-sizing: border-box;
  box-shadow: 0 18px 40px rgba(29, 42, 122, 0.06);
  overflow: hidden;
}

.coverage-projection {
  display: none;
  width: 100%;
  max-width: 900px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(29, 42, 122, 0.06);
}

.info-panel {
  flex: 0 0 auto;
  background: #F7F8FC;
  border-radius: 14px;
  padding: 24px;
  min-height: 180px;
  position: sticky;
  top: 24px;
}

.coverage-side {
  flex: 0 0 260px;
  display: grid;
  gap: 32px;
}

.info-panel .eyebrow {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 6px;
}

.info-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #1D2A7A;
  min-height: 28px;
}

.info-panel .status {
  font-size: 13px;
  margin: 0 0 18px;
  color: #6b7280;
  line-height: 1.4;
}

.info-panel .status.covered {
  color: #0077b6;
  font-weight: 600;
}

.info-panel .status.main-route {
  color: #1D2A7A;
  font-weight: 700;
}

.info-panel .status.uncovered {
  color: #b45309;
}

.cta-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s ease;
}

.cta-btn.covered {
  background: #009C8F;
  color: #fff;
}

.cta-btn.covered:hover {
  opacity: .88;
}

.cta-btn.uncovered {
  background: #fff;
  color: #b45309;
  border: 1.5px solid #b45309;
}

.cta-btn.uncovered:hover {
  opacity: .85;
}

.panel-cta-group {
  display: grid;
  gap: 12px;
}

.info-panel .empty {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.city-panel {
  background: #F7F8FC;
  border-radius: 14px;
  padding: 24px;
  min-height: 180px;
  box-shadow: 0 12px 28px rgba(29, 42, 122, 0.06);
}

.city-panel[hidden] {
  display: none;
}

.city-panel h3 {
  margin: 0 0 18px;
  color: #1D2A7A;
  font-size: 20px;
}

.city-list {
  display: grid;
  gap: 10px;
}

.city-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(29, 42, 122, 0.1);
}

.city-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.city-name {
  color: #1D2A7A;
  font-size: 13px;
  font-weight: 600;
}

.city-quote-btn {
  border: 0;
  border-radius: 7px;
  padding: 8px 10px;
  background: #009C8F;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.city-quote-btn:hover {
  background: #00897e;
}

@media (max-width: 900px) {
  .coverage-side {
    flex-basis: 100%;
    width: 100%;
  }

  .info-panel {
    position: static;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn {
    transition: none;
  }
}

.coverage-note {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── VIDEO MODAL (TARJETAS NOSOTROS/SERVICIOS) ─── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 34, 0.92);
  
  cursor: pointer;
}

.video-modal-container {
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #0B172E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.is-open .video-modal-container {
  transform: scale(1) translateY(0);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0E1D38;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 2px;
}

.video-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}

.video-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.18s ease, border-color 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  position: relative;
}

.video-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08) rotate(90deg);
}

.video-modal-close::before,
.video-modal-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.video-modal-close::before {
  transform: rotate(45deg);
}

.video-modal-close::after {
  transform: rotate(-45deg);
  width: 20px;
  height: 2px;
}

.video-modal-body {
  position: relative;
  width: 100%;
  background: #000000;
  aspect-ratio: 16 / 9;
  max-height: calc(90vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-modal-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
}

.video-modal-footer {
  padding: 14px 24px 18px;
  background: #0E1D38;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 600px) {
  .video-modal {
    padding: 12px;
  }
  .video-modal-container {
    border-radius: 16px;
  }
  .video-modal-header {
    padding: 12px 18px;
  }
  .video-modal-title {
    font-size: 1.15rem;
  }
  .video-modal-footer {
    padding: 12px 18px 14px;
  }
  .video-modal-desc {
    font-size: 0.82rem;
  }
}

/* ===== NUESTRO CRECIMIENTO ===== */
.lk-crecimiento {
  --lk-navy: #1b2a78;      /* azul del título y botón */
  --lk-teal: #0e9f8e;      /* verde/turquesa del acento */
  --lk-text: #2c3567;
  --lk-muted: #6b7280;
  --lk-grid: #e6e8f2;

  padding: 80px 20px 90px;
  background: linear-gradient(180deg, #fcfcff 0%, #ffffff 100%);
  font-family: inherit;
}

.lk-crecimiento .lk-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Encabezado (mismo estilo que "Nuestros clientes") */
.lk-crecimiento .lk-head {
  text-align: center;
  margin-bottom: 36px;
}
.lk-crecimiento .lk-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--lk-teal);
  margin-bottom: 18px;
}
.lk-crecimiento .lk-title {
  margin: 0 0 22px;
  font-family: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lk-navy);
}
.lk-crecimiento .lk-title span { color: var(--lk-teal); }
.lk-crecimiento .lk-sub {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--lk-text);
}

/* Tarjetas de cifras */
.lk-crecimiento .lk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.lk-crecimiento .lk-stat {
  background: #fff;
  border: 1px solid #eef0f8;
  border-radius: 22px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(27, 42, 120, 0.07);
}
.lk-crecimiento .lk-stat strong {
  display: block;
  font-family: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--lk-navy);
}
.lk-crecimiento .lk-stat:first-child strong { color: var(--lk-teal); }
.lk-crecimiento .lk-stat span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lk-text);
}

/* Tarjeta de la gráfica */
.lk-crecimiento .lk-card {
  background: #fff;
  border: 1px solid #eef0f8;
  border-radius: 24px;
  padding: 32px 32px 24px;
  box-shadow: 0 18px 44px rgba(27, 42, 120, 0.09);
}
.lk-crecimiento .lk-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.lk-crecimiento .lk-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--lk-navy);
}
.lk-crecimiento .lk-card-top p {
  margin: 0;
  font-size: 14px;
  color: var(--lk-muted);
}

/* Selector de vista */
.lk-crecimiento .lk-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: #eef0f8;
  border-radius: 12px;
}
.lk-crecimiento .lk-tab {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--lk-navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lk-crecimiento .lk-tab.is-active {
  background: var(--lk-navy);
  color: #fff;
}
.lk-crecimiento .lk-tab:focus-visible {
  outline: 2px solid var(--lk-teal);
  outline-offset: 2px;
}

/* Gráfica (SVG generado por JS) */
.lk-crecimiento .lk-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.lk-crecimiento .lk-axis { fill: var(--lk-muted); font-size: 12px; }
.lk-crecimiento .lk-xlabel { fill: var(--lk-navy); font-size: 14px; font-weight: 700; }
.lk-crecimiento .lk-growth { fill: var(--lk-teal); font-size: 12px; font-weight: 700; }
.lk-crecimiento .lk-val { fill: var(--lk-navy); font-size: 13px; font-weight: 700; }
.lk-crecimiento .lk-gridline { stroke: var(--lk-grid); stroke-width: 1; }
.lk-crecimiento .lk-line {
  fill: none;
  stroke: var(--lk-teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lk-crecimiento .lk-dot { fill: #fff; stroke: var(--lk-teal); stroke-width: 3.5; }

.lk-crecimiento .lk-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--lk-muted);
  text-align: center;
}

/* Animación de entrada (se activa al hacer scroll) */
.lk-crecimiento .lk-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 0.1s);
}
.lk-crecimiento .lk-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s ease 0.5s;
}
.lk-crecimiento .lk-dot,
.lk-crecimiento .lk-val {
  opacity: 0;
  transition: opacity 0.5s ease 0.9s;
}
.lk-crecimiento .lk-chart.is-in .lk-bar { transform: scaleY(1); }
.lk-crecimiento .lk-chart.is-in .lk-line { stroke-dashoffset: 0; }
.lk-crecimiento .lk-chart.is-in .lk-dot,
.lk-crecimiento .lk-chart.is-in .lk-val { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .lk-crecimiento .lk-bar,
  .lk-crecimiento .lk-line,
  .lk-crecimiento .lk-dot,
  .lk-crecimiento .lk-val { transition: none; }
}

/* Responsive */
@media (max-width: 800px) {
  .lk-crecimiento { padding: 60px 16px 70px; }
  .lk-crecimiento .lk-stats { grid-template-columns: 1fr; gap: 16px; }
  .lk-crecimiento .lk-card { padding: 22px 16px 18px; }
  .lk-crecimiento .lk-stat strong { font-size: 36px; }
}
/* ===== FIN NUESTRO CRECIMIENTO ===== */

/* ─── TALENTO MEXICANO ─── */
#talento-mexicano {
  padding: 0 !important;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000000;
  overflow: hidden;
}

.talento-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: 480px; /* Altura 100% fija para toda la sección */
  width: 100%;
  height: 480px;
  background: #000000;
  border-top: 9px solid #000000;
  border-bottom: 9px solid #000000;
  gap: 9px;
  opacity: 1 !important;
  transform: none !important;
}

/* ZONA 2 (Principal) */
.talento-main {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #111111;
}

#talento-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta sin aplastar ni estirar jamás */
  object-position: center;
  display: block;
  z-index: 1;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.talento-main.is-changing #talento-img-main {
  opacity: 0.35;
  transform: scale(1.02);
}

/* Franja oscura inferior con el texto siempre visible */
.talento-text-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 42px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0) 90%);
  z-index: 5; /* Por encima de la imagen y del corte */
  pointer-events: none;
}

.talento-message {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  margin: 0;
  max-width: 60%;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
  display: block !important;
}

.talento-driver {
  position: absolute;
  bottom: 28px;
  left: 45%;
  width: 26%;
  z-index: 5;
  margin: 0;
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.95rem, 1.45vw, 1.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

/* Corte diagonal azul + borde negro diagonal */
.talento-diagonal {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.talento-diagonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000000;
  clip-path: polygon(calc(100% - 9px) 0, 100% 0, 100% 100%, calc(58% - 11px) 100%);
}

.talento-diagonal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #170B8F;
  clip-path: polygon(100% 0, 100% 100%, 58% 100%);
}

.talento-diagonal-logo {
  position: absolute;
  right: clamp(16px, 2.5vw, 36px);
  bottom: clamp(16px, 2.5vw, 30px);
  width: clamp(130px, 18vw, 250px);
  height: auto;
  z-index: 4;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

/* COLUMNA DERECHA (Zonas 1 y 3 con tamaño fijo) */
.talento-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: #000000;
}

.talento-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  padding: 0;
  background: #1a1a1a;
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.talento-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene proporción sin deformar en los cuadros 1 y 3 */
  object-position: center;
  display: block;
  transition: transform 0.35s ease, filter 0.25s ease, opacity 0.25s ease;
}

.talento-thumb.is-changing img {
  opacity: 0.35;
}

.talento-thumb:hover img,
.talento-thumb:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.talento-thumb:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Responsivo fijo para tablets y móviles */
@media (max-width: 820px) {
  .talento-carousel {
    grid-template-columns: minmax(0, 1fr) 125px;
    grid-template-rows: 320px;
    height: 320px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    gap: 6px;
  }

  .talento-side {
    gap: 6px;
  }

  .talento-text-banner {
    padding: 16px 20px;
  }

  .talento-message {
    font-size: clamp(0.95rem, 3.6vw, 1.3rem);
    max-width: 36%;
  }

  .talento-driver {
    bottom: 16px;
    left: 38%;
    width: 27%;
    font-size: clamp(0.68rem, 2.2vw, 0.92rem);
  }

  .talento-diagonal::before {
    clip-path: polygon(calc(100% - 6px) 0, 100% 0, 100% 100%, calc(62% - 8px) 100%);
  }

  .talento-diagonal::after {
    clip-path: polygon(100% 0, 100% 100%, 62% 100%);
  }

  .talento-diagonal-logo {
    width: clamp(90px, 20vw, 140px);
    right: 10px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #talento-img-main,
  .talento-thumb img {
    transition: none;
  }
}