/* ─── e-LEADS Main CSS v2 ─── */

:root {
  --co-y:         #FCD116;
  --co-b:         #003893;
  --co-r:         #CE1126;
  --el-green:     #004d41;
  --el-blue:      #0062e0;
  --el-navy:      #0B1E3D;
  --el-navy-mid:  #152B54;
  --el-navy-lt:   #1E3A6E;
  --el-gold:      #D4A017;
  --el-gold-pale: #FBF0CC;
  --el-white:     #FFFFFF;
  --el-cream:     #F7F4EE;
  --el-gray-100:  #F0EDE8;
  --el-gray-300:  #C8C4BB;
  --el-gray-600:  #6B6760;
  --el-gray-900:  #1A1814;
  
  /* Modern UI Accents */
  --accent-y-glare: rgba(252, 209, 22, 0.4);
  --accent-b-glare: rgba(0, 56, 147, 0.4);
  --accent-r-glare: rgba(206, 17, 38, 0.4);
  
  --pad-x:        clamp(24px, 6vw, 80px);
  --topbar-h:     60px;
  --nav-h:        100px;
  --nav-total:    160px;

  /* Estética Maximalista */
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  --pattern-dots: radial-gradient(rgba(11, 30, 61, 0.15) 1px, transparent 1px);
  --pattern-dots-w: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  --shadow-editorial: 0 50px 100px -20px rgba(11, 30, 61, 0.2), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
}

.pattern-dots {
    background-image: var(--pattern-dots);
    background-size: 20px 20px;
}
.pattern-dots-light {
    background-image: var(--pattern-dots-w);
    background-size: 20px 20px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--el-white);
  color: var(--el-gray-900);
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
a { color: inherit; }

/* ─── NAV TOPBAR ─── */
.nav-topbar {
  background: var(--co-b);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  gap: 20px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.nav-topbar-text {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-topbar-cta {
  font-size: 16px;
  font-weight: 900;
  color: var(--co-y);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-topbar-cta:hover { opacity: 0.75; }

/* ─── NAV ─── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--el-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, background;
}
#main-nav.nav-scrolled {
  background: var(--el-white);
  transform: translateY(calc(var(--topbar-h) * -1));
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-bottom-color: var(--el-gray-100);
}
#main-nav.nav-scrolled .nav-topbar {
  opacity: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-arc { width: 40px; height: 22px; }
.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--el-white);
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}
#main-nav.nav-scrolled .nav-wordmark {
  color: var(--el-navy);
}
.nav-wordmark span { color: var(--co-y); }

/* Nav links desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links > li > a,
.nav-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  letter-spacing: 0.03em;
  background: transparent;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

/* Efecto Underline Premium */
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--co-y);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}
.nav-links > li > a:hover::after {
  width: 70%;
}

#main-nav.nav-scrolled .nav-links > li > a::after {
  background: var(--co-b);
}

#main-nav.nav-scrolled .nav-links > li > a,
#main-nav.nav-scrolled .nav-item-btn {
  color: var(--el-navy);
}
.nav-links > li > a:hover,
.nav-item-btn:hover,
.nav-item-btn.is-active {
  color: var(--el-white);
}
#main-nav.nav-scrolled .nav-links > li > a:hover,
#main-nav.nav-scrolled .nav-item-btn:hover,
#main-nav.nav-scrolled .nav-item-btn.is-active {
  color: var(--co-b);
}
.nav-has-mega {
  position: relative;
}
.nav-chevron {
  transition: transform 0.25s;
}
.nav-item-btn.is-active .nav-chevron {
  transform: rotate(180deg);
}
.nav-cta {
  background: var(--co-y) !important;
  color: var(--el-navy) !important;
  padding: 9px 24px !important;
  font-weight: 700 !important;
  border-radius: 2px;
  letter-spacing: 0.04em !important;
  transition: background 0.3s, color 0.3s, transform 0.2s !important;
}
#main-nav.nav-scrolled .nav-cta {
  background: var(--co-b) !important;
  color: var(--el-white) !important;
}
.nav-cta:hover { background: #e8c010 !important; transform: translateY(-1px); }
#main-nav.nav-scrolled .nav-cta:hover { background: var(--el-navy) !important; }

/* Nav right actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-search-btn {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#main-nav.nav-scrolled .nav-search-btn {
  color: var(--el-navy);
  border-color: var(--el-gray-300);
}
.nav-search-btn:hover { border-color: var(--co-y); color: var(--co-y); }
.nav-search-btn.is-active { border-color: var(--co-y); color: var(--co-y); background: rgba(252,209,22,0.08); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  padding: 9px;
  transition: border-color 0.3s;
}
#main-nav.nav-scrolled .nav-hamburger {
  border-color: var(--el-gray-300);
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--el-white);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  transform-origin: center;
}
#main-nav.nav-scrolled .nav-hamburger span {
  background: var(--el-navy);
}
.nav-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BÚSQUEDA SLIDE ─── */
.nav-search-bar {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  border-top: 1px solid transparent;
}
.nav-search-bar.is-open {
  max-height: 80px;
  border-top-color: rgba(252,209,22,0.15);
}
.nav-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--el-navy-mid);
  padding: 14px var(--pad-x);
  position: relative;
}
.nav-search-icon {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  margin-right: 12px;
}
.nav-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--el-white);
  padding: 0;
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.35); }
.nav-search-submit {
  background: var(--co-y);
  color: var(--el-navy);
  border: none;
  width: 36px; height: 36px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  margin-left: 12px;
}
.nav-search-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 8px;
  transition: color 0.2s;
}
.nav-search-close:hover { color: var(--el-white); }

/* ─── MEGA MENÚ INTELIGENTE GLOBAL BG ─── */
.mega-global-bg {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  min-height: 70vh;
  background: #ffffff !important;
  border-top: 4px solid var(--co-y);
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-40px); /* Efecto de caída desde el header */
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}
.nav-inner.is-mega-active .mega-global-bg {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Puente para evitar flickering entre nav y panel */
.nav-has-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px; /* Un poco más alto para seguridad */
  background: transparent;
  display: none;
  z-index: 2000;
}
.nav-has-mega:hover::after,
.nav-item-btn.is-active + ::after {
  display: block;
}

/* ─── MEGA MENÚ CONTENIDO INDIVIDUAL ─── */
.mega-panel {
  position: fixed;
  top: var(--nav-total);
  left: 0; right: 0;
  min-height: 70vh;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s 0.35s;
  z-index: 1010; /* Por encima de todo pero debajo de la barra si es necesario */
}
.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s 0s;
}
.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 48px var(--pad-x) 52px;
  max-width: 1200px;
  margin: 0 auto;
}
.mega-inner-4col {
  grid-template-columns: 1fr 1fr 1.2fr 1.5fr;
  gap: 10px;
}
.mega-col {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--el-gray-100);
}
.mega-col:last-child { border-right: none; padding-right: 0; }
.mega-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--el-gray-600);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--el-gray-100);
}
.mega-col ul { list-style: none; }
.mega-col ul li { margin-bottom: 12px; }
.mega-col ul a {
  font-size: 15px;
  font-weight: 600;
  color: var(--el-navy);
  text-decoration: none;
  display: block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-col ul a:hover { 
  color: var(--co-b); 
  padding-left: 8px;
}

/* Columna feature */
.mega-col-feature { padding-left: 40px; border-right: none; }
.mega-feature-link { text-decoration: none; display: block; }
.mega-feature-box {
  background: var(--el-cream);
  border-left: 4px solid var(--co-y);
  padding: 24px;
  border-radius: 0 4px 4px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-feature-link:hover .mega-feature-box { 
  background: var(--el-gray-100); 
  transform: translateX(10px);
}
.mega-feature-icon {
  font-size: 22px;
  color: var(--co-b);
  margin-bottom: 12px;
}
.mega-feature-box strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--el-navy);
  margin-bottom: 6px;
}
.mega-feature-box p {
  font-size: 13px;
  color: var(--el-gray-600);
  line-height: 1.5;
}

/* Overlay fondo */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.mega-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ─── MENÚ MOBILE ─── */
.nav-mobile-menu {
  display: none;
  background: var(--el-navy-mid);
  border-top: 1px solid rgba(252,209,22,0.12);
  padding: 16px var(--pad-x) 28px;
  max-height: calc(100vh - var(--nav-total));
  overflow-y: auto;
}
.nav-mobile-menu.is-open { display: block; }

.nav-mobile-links {
  list-style: none;
  margin-bottom: 20px;
}
.nav-mobile-links > li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile-links > li > a {
  display: block;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-links > li > a:hover { color: var(--co-y); }

.nav-mobile-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-mobile-item-btn:hover { color: var(--co-y); }
.nav-mobile-item-btn i { transition: transform 0.25s; font-size: 11px; }
.nav-mobile-item-btn.is-active { color: var(--co-y); }
.nav-mobile-item-btn.is-active i { transform: rotate(180deg); }

.nav-mobile-sub {
  list-style: none;
  padding: 4px 0 16px 16px;
  display: none;
}
.nav-mobile-sub.is-open { display: block; }
.nav-mobile-sub li { margin-bottom: 10px; }
.nav-mobile-sub a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-sub a:hover { color: var(--co-y); }

.nav-mobile-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-total);
  overflow: hidden;
  background-color: var(--el-navy); /* fallback crítico si no carga la foto */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(11, 30, 61, 0.93) 0%,
    rgba(11, 30, 61, 0.75) 52%,
    rgba(0, 56, 147, 0.42) 100%
  );
}
.hero-flag-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom,
    var(--co-y) 50%,
    var(--co-b) 50% 75%,
    var(--co-r) 75%);
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px var(--pad-x) 100px calc(var(--pad-x) + 14px);
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--co-y);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--co-y);
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 900;
  line-height: 1.04;
  color: var(--el-white);
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}
.hero-title .accent-y { color: var(--co-y); }
.hero-title .accent-r { color: var(--co-r); }
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 52px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: calc(var(--pad-x) + 14px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.2);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.7; }
}

/* ─── BOTONES ─── */
.btn-primary {
  background: var(--co-y);
  color: var(--el-navy);
  padding: 16px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #e8c010; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--el-white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 15px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--co-y); color: var(--co-y); }
.btn-outline svg { transition: transform 0.25s; }
.btn-outline:hover svg { transform: translateY(4px); }

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--el-navy);
  text-decoration: none;
  position: relative;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-text-link::after { 
  content: '→'; 
  font-weight: 400; 
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-text-link:hover { 
  color: var(--co-b); 
}
.btn-text-link:hover::after {
  transform: translateX(8px);
}

.btn-secondary {
  background: transparent;
  color: var(--el-navy);
  border: 1.5px solid var(--el-navy);
  padding: 13px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--el-navy); color: var(--co-y); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--co-y);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(252,209,22,0.3);
  padding-bottom: 3px;
  transition: border-color 0.2s, gap 0.2s;
}
.btn-ghost:hover { border-color: var(--co-y); gap: 12px; }

/* ─── IMPACT STRIP ─── */
.impact-strip { background: var(--co-y); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.impact-item {
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid rgba(11,30,61,0.1);
  transition: background 0.3s;
}
.impact-item:last-child { border-right: none; }
.impact-item:hover { background: rgba(11,30,61,0.07); }
.impact-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  color: var(--el-navy);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(11,30,61,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── LABELS Y TÍTULOS ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--co-r);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--co-r);
  flex-shrink: 0;
}
.section-label.centered { justify-content: center; }
.section-label.centered::before { display: none; }
.section-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--el-navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.section-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--el-gray-600);
  margin-bottom: 40px;
}

/* ─── MISIÓN ─── */
.mission {
  padding: 120px var(--pad-x);
  background: var(--el-cream);
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 100px;
  align-items: center;
}
.mission-media { position: relative; }
.mission-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.mission-badge {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--el-navy);
  color: var(--el-white);
  padding: 22px 28px;
  border-radius: 4px;
  border-left: 4px solid var(--co-y);
  box-shadow: 0 24px 64px rgba(11,30,61,0.3);
}
.mission-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--co-y);
  line-height: 1;
}
.mission-badge-text {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.4;
}
.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--el-gray-300);
}
.mission-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--el-navy);
  line-height: 1;
}
.mission-stat-label {
  font-size: 12px;
  color: var(--el-gray-600);
  margin-top: 5px;
}

/* ─── TICKER ─── */
.ticker {
  background: var(--el-navy);
  overflow: hidden;
  height: 50px;
  display: flex;
  align-items: center;
  border-top: 4px solid var(--co-r);
  border-bottom: 4px solid var(--co-b);
}
.ticker-inner {
  display: flex;
  animation: ticker 38s linear infinite;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ticker-sep {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--co-y);
  border-radius: 50%;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ─── PILARES ─── */
.pillars-section {
  padding: 120px var(--pad-x) 100px;
  background: var(--el-white);
  text-align: center;
}
.pillars-header {
  max-width: 640px;
  margin: 0 auto 72px;
}
.pillars-header .section-body { margin-bottom: 0; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--el-gray-100);
  border-radius: 4px;
  overflow: hidden;
}
.pillar-card {
  background: var(--el-white);
  padding: 52px 40px;
  text-align: left;
  transition: background 0.35s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.pillar-card:nth-child(1)::before { background: var(--co-y); }
.pillar-card:nth-child(2)::before { background: var(--co-b); }
.pillar-card:nth-child(3)::before { background: var(--co-r); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover { background: var(--el-navy); }
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--el-gray-100);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.35s;
}
.pillar-card:hover .pillar-num { color: rgba(255,255,255,0.05); }
.pillar-accent {
  width: 32px; height: 3px;
  margin-bottom: 20px;
  transition: width 0.35s, background 0.35s;
}
.pillar-card:nth-child(1) .pillar-accent { background: var(--co-y); }
.pillar-card:nth-child(2) .pillar-accent { background: var(--co-b); }
.pillar-card:nth-child(3) .pillar-accent { background: var(--co-r); }
.pillar-card:hover .pillar-accent { width: 52px; background: var(--co-y); }
.pillar-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--el-navy);
  margin-bottom: 16px;
  transition: color 0.35s;
}
.pillar-card:hover .pillar-name { color: var(--co-y); }
.pillar-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--el-gray-600);
  line-height: 1.8;
  transition: color 0.35s;
}
.pillar-card:hover .pillar-desc { color: rgba(255,255,255,0.55); }

/* ─── VIDEO ─── */
.video-section {
  background: var(--el-navy);
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 80px;
  align-items: center;
}
.video-content .section-label { color: var(--co-y); }
.video-content .section-label::before { background: var(--co-y); }
.video-content .section-title { color: var(--el-white); }
.video-content .section-body { color: rgba(255,255,255,0.55); }
.video-embed-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 48px 100px rgba(0,0,0,0.55);
  background: #000;
}
.video-embed-wrap::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-embed-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--co-y) 50%, var(--co-b) 50% 75%, var(--co-r) 75%);
  z-index: 2;
}

/* ─── PROYECTOS ─── */
.projects-section {
  padding: 120px var(--pad-x);
  background: var(--el-cream);
}
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.projects-header .section-body { margin-bottom: 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--el-white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(11,30,61,0.13);
}
.project-card-img-wrap {
  overflow: hidden;
  position: relative;
}
.project-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--el-gray-100);
  transition: transform 0.55s;
}
.project-card:hover .project-card-img { transform: scale(1.05); }
.project-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--co-y);
  color: var(--el-navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
}
.project-card-body { padding: 28px; }
.project-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--co-b);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--el-navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.project-title a { text-decoration: none; color: inherit; transition: color 0.2s; }
.project-title a:hover { color: var(--co-b); }
.project-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--el-gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--el-navy);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.project-link::after { content: '→'; font-weight: 400; }
.project-link:hover { gap: 10px; color: var(--co-b); }

/* Nota instrucciones posts */
.projects-note {
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--el-gray-100);
  border-left: 3px solid var(--co-b);
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  color: var(--el-gray-600);
}
.projects-note i { color: var(--co-b); margin-right: 6px; }

/* ─── JOIN / CTA ─── */
.join-section {
  position: relative;
  padding: 160px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.join-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.join-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11,30,61,0.87) 0%, rgba(0,56,147,0.80) 100%);
}
.join-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.join-content .section-label { color: var(--co-y); justify-content: center; }
.join-content .section-label::before { display: none; }
.join-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 900;
  color: var(--el-white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.join-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 52px;
}
.join-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  border-radius: 2px;
  overflow: hidden;
}
.join-input {
  flex: 1;
  padding: 18px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: rgba(255,255,255,0.95);
  border: none;
  outline: none;
  color: var(--el-gray-900);
  min-width: 0;
}
.join-input::placeholder { color: var(--el-gray-600); }
.join-btn {
  background: var(--co-y);
  color: var(--el-navy);
  border: none;
  padding: 18px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.join-btn:hover { background: #e8c010; }

/* ─── FOOTER ─── */
.tricolor-bar-full {
  height: 5px;
  background: linear-gradient(to right, var(--co-y) 50%, var(--co-b) 50% 75%, var(--co-r) 75%);
}
.site-footer {
  background: var(--el-gray-900);
  padding: 80px var(--pad-x) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--el-white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.footer-brand-name span { color: var(--co-y); }
.footer-brand-text {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social-link:hover {
  border-color: var(--co-y);
  color: var(--co-y);
  background: rgba(252,209,22,0.07);
}
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--co-y);
  margin-bottom: 24px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col ul a {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col ul a:hover { 
  color: var(--co-y);
  padding-left: 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 14px; color: rgba(255,255,255,0.22); }
.footer-copy a { color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
.footer-copy a:hover { color: var(--co-y); }
.footer-flag { display: flex; border-radius: 1px; overflow: hidden; }
.footer-flag span { display: block; height: 14px; }
.footer-flag .f-y { width: 28px; background: var(--co-y); }
.footer-flag .f-b { width: 14px; background: var(--co-b); }
.footer-flag .f-r { width: 14px; background: var(--co-r); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
/* Media queries movidas al final del archivo */

/* ─── NEW EDITORIAL DESIGN (Obama.org style) ─── */
.editorial-theme {
    background: var(--el-white);
    color: var(--el-gray-900);
    font-family: inherit;
}
.editorial-theme h1, .editorial-theme h2, .editorial-theme h3, .editorial-theme h4 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.03em;
    font-weight: 900;
}
/* HERO */
.hero-editorial {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--el-navy);
    padding-top: var(--nav-total);
}
.hero-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 30, 61, 0.95) 0%, rgba(11, 30, 61, 0.5) 100%);
    z-index: 1;
}
.hero-content-editorial {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad-x);
    max-width: 900px;
}
.hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    color: var(--co-y);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow::before {
    content: '';
    width: 40px; height: 2px;
    background: var(--co-r);
}
.hero-title {
    color: var(--el-white);
    font-size: clamp(50px, 8vw, 100px);
    line-height: 0.95;
    margin-bottom: 32px;
}
.accent-gold {
    color: var(--co-y);
}
.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* ABOUT */
.about-editorial {
    padding: 120px var(--pad-x);
    background: var(--el-white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.content-large p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--el-gray-600);
}
.about-media {
    position: relative;
    padding: 20px;
    z-index: 1;
}
.about-media::before {
    content: 'E';
    position: absolute;
    top: -40px; right: -20px;
    font-size: 320px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--el-navy);
    line-height: 0.8;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}
.editorial-shadow {
    position: relative;
    box-shadow: var(--shadow-editorial);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(11, 30, 61, 0.05);
}
.about-media:hover .editorial-shadow {
    transform: translate(15px, -15px) rotate(1deg);
    box-shadow: 60px 60px 100px rgba(11, 30, 61, 0.1);
}

/* Pinstripe Accents */
.pinstripe { position: relative; }
.pinstripe::after {
    content: '';
    position: absolute;
    width: 2px; height: 60px;
    top: 20px; right: -1px;
    background: var(--co-y);
    z-index: 3;
    transition: height 0.4s ease;
}
.pinstripe-b::after { background: var(--co-b); }
.pinstripe-r::after { background: var(--co-r); height: 100px; }

.about-floating-card {
    position: absolute;
    bottom: -15px; left: -15px;
    background: rgba(11, 30, 61, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: var(--el-white);
    padding: 32px 40px;
    box-shadow: var(--shadow-editorial);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 6px solid var(--co-y);
}
.floating-num {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 900;
    color: var(--el-white);
    line-height: 0.9;
    margin-bottom: 12px;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.floating-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--co-y);
    font-weight: 800;
}

/* PILLARS */
.pillars-editorial {
    padding: 100px var(--pad-x);
    background: var(--el-cream);
}
.text-center { text-align: center; }
.pillars-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: rgba(0,0,0,0.05);
    margin-top: 60px;
}
.pillar-box {
    background: var(--el-white);
    padding: 50px 30px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-top: 4px solid transparent;
}
.pillar-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(11, 30, 61, 0.2);
    background: var(--el-navy);
    border-top-color: var(--co-y);
    z-index: 2;
}
.pillar-num {
    font-size: 60px;
    color: var(--el-gray-100);
    line-height: 1;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    transition: color 0.5s ease, transform 0.5s ease;
}
.pillar-box:hover .pillar-num {
    color: var(--co-y);
    transform: translateX(10px);
}
.pillar-name {
    font-size: 24px;
    color: var(--el-navy);
    margin: 20px 0 16px;
    line-height: 1.1;
    transition: color 0.5s ease;
}
.pillar-box:hover .pillar-name {
    color: var(--el-white);
}
.pillar-box p {
    color: var(--el-gray-600);
    transition: color 0.5s ease;
}
.pillar-box:hover p {
    color: var(--el-gray-300);
}
/* ─── VIDEO TECHNICAL STAGE ─── */
.pillars-video-stage {
    margin-top: 100px;
    position: relative;
    padding: 40px 0;
}

.stage-overlay-labels,
.stage-footer-labels {
    display: flex;
    justify-content: space-between;
    padding: 12px 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--el-navy);
    opacity: 0.6;
    font-weight: 700;
}

.video-container-premium {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-editorial);
    border: 1px solid rgba(11, 30, 61, 0.1);
    transform: translateZ(0); /* Smoothness hack */
}

.video-container-premium video {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillars-video-stage:hover .video-container-premium video {
    transform: scale(1.03);
}

/* Decorative Technical Elements */
.stage-brackets {
    position: absolute;
    inset: 30px -10px;
    border: 1px solid rgba(11, 30, 61, 0.1);
    border-width: 0 1px;
    pointer-events: none;
}
.stage-brackets::before,
.stage-brackets::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: var(--co-y);
    top: 0; left: 0;
}
.stage-brackets::after { left: auto; right: 0; background: var(--co-r); }

.video-technical-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 50%, rgba(11, 30, 61, 0.03) 50%);
    background-size: 100% 4px;
    z-index: 2;
}

.scanline {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(252, 209, 22, 0.1), 
        transparent);
    animation: scanAnimation 8s linear infinite;
}

@keyframes scanAnimation {
    0% { top: -100%; }
    20% { top: 100%; }
    100% { top: 100%; }
}

.glow-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--co-y);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 10px var(--co-y);
    animation: blinkGlow 2s infinite alternate;
}
.glow-point.tb-l { bottom: 20px; left: 20px; }
.glow-point.tb-r { bottom: 20px; right: 20px; background: var(--co-r); box-shadow: 0 0 10px var(--co-r); }

@keyframes blinkGlow {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

/* PROJECTS */
.projects-editorial {
    padding: 120px var(--pad-x);
    background: var(--el-white);
}
.projects-list {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.project-row {
    display: grid;
    grid-template-columns: 12fr 10fr;
    gap: 60px;
    align-items: center;
}
.project-row.reversed {
    grid-template-columns: 10fr 12fr;
}
.project-row.reversed .project-img-wrapper {
    order: 2;
}
.project-row.reversed .project-info {
    order: 1;
    padding-left: 0;
    padding-right: 40px;
}
.project-img-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--el-navy);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    transition: clip-path 0.6s ease;
}
.project-img-wrapper:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%, 0 100%);
}
.editorial-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease;
    filter: saturate(0.9) brightness(1.02);
}
.project-img-wrapper:hover .editorial-img {
    transform: scale(1.1) rotate(1deg);
    filter: saturate(1.1);
}
/* Textura de grano cinemático */
.project-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grain);
    opacity: 0.06;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 4;
}
/* Marco de acento por fila */
.project-row:nth-child(odd) .project-img-wrapper { border-top: 8px solid var(--co-y); }
.project-row:nth-child(even) .project-img-wrapper { border-top: 8px solid var(--co-b); }
.project-row:last-child .project-img-wrapper { border-top: 8px solid var(--co-r); }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-inline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}
/* Botón Play Minimalista Overlay */
.video-wrapper::before {
    content: '▶';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.4s ease;
}
.video-wrapper:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--co-y);
    color: var(--el-navy);
    border-color: var(--co-y);
}
.project-info h3 {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--el-navy);
}
.project-info p {
    font-size: 18px;
    color: var(--el-gray-600);
    line-height: 1.6;
}

/* TEAM */
.text-white { color: var(--el-white) !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.py-8 { padding-top: 5rem; padding-bottom: 5rem; }

.team-editorial {
    padding: 120px var(--pad-x);
    background: var(--el-navy);
    position: relative;
}
.team-background {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.team-bg-img {
    width: 100%;
    height: 800px;
    object-fit: cover;
}
.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 30, 61, 0.95), rgba(0, 56, 147, 0.8));
}
.team-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding: 60px 80px;
    gap: 40px;
}
.team-member {
    color: var(--el-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.member-name {
    font-size: 32px;
    margin-bottom: 12px;
}
.member-line {
    width: 40px; height: 2px;
    background: var(--co-y);
    margin-bottom: 16px;
}
.member-role {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 400px;
}

/* JOIN CTA */
.join-editorial {
    padding: 120px var(--pad-x);
    background: var(--el-white);
    padding: 100px var(--pad-x);
    background: var(--el-gray-100);
}
.join-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 50px 100px rgba(11, 30, 61, 0.25);
}
.join-bg-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.join-bg-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) capitalize;
}
.join-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--co-y) 0%, rgba(206, 17, 38, 0.9) 100%);
    mix-blend-mode: multiply;
}
.join-content {
    position: relative;
    z-index: 2;
    padding: 100px 60px;
    text-align: center;
    color: var(--el-white);
}
.join-title {
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
    margin-bottom: 24px;
    color: var(--el-white);
}
.join-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
}
.btn-primary-large {
    background: var(--el-white);
    color: var(--co-r);
    padding: 20px 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ─── UNIFIED RESPONSIVE RULES ─── */

@media (max-width: 1200px) {
    .about-grid { gap: 40px; }
    .hero-title { font-size: clamp(40px, 7vw, 80px); }
}

@media (max-width: 1024px) {
    :root {
        --topbar-h: 0px;
        --nav-h: 80px;
        --nav-total: 80px;
        --pad-x: 24px;
    }
    
    .nav-topbar { display: none !important; }
    #desktop-menu { display: none !important; }
    .nav-hamburger { display: flex !important; }
    .nav-wordmark { font-size: 20px; }
    
    /* Ocultar elementos de Mega Menú que pueden causar ancho fantasma */
    .mega-panel, .mega-global-bg, .mega-overlay, .nav-search-bar { 
        display: none !important; 
    }
    .nav-search-bar.is-active { display: block !important; }

    .about-grid { grid-template-columns: 1fr; }
    .about-media { overflow: hidden; }
    .about-media::before { font-size: 200px; right: 0; }
    
    .hero-editorial { width: 100% !important; min-height: 70vh; background-color: var(--el-navy); overflow: hidden; }
    .hero-content-editorial { padding: 0 24px; max-width: 100% !important; }
    .hero-bg-video { width: 100% !important; height: 100% !important; object-fit: cover; }
    .hero-overlay-dark { background: linear-gradient(to bottom, rgba(11, 30, 61, 0.9) 0%, rgba(11, 30, 61, 0.7) 100%); width: 100% !important; }
    
    .project-row, .project-row.reversed { 
        grid-template-columns: 1fr; 
        gap: 32px;
    }
    .project-row.reversed .project-img-wrapper,
    .project-row.reversed .project-info {
        order: unset;
    }
    .project-info { padding: 0 !important; }

    .team-grid { 
        position: relative; 
        grid-template-columns: 1fr; 
        padding: 40px 24px; 
        background: var(--el-navy);
    }
    .team-background { min-height: auto; }
    .team-bg-img { display: none; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .video-section { grid-template-columns: 1fr; gap: 52px; }
    .mission { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 768px) {
    .pillars-container { grid-template-columns: 1fr 1fr; }
    .mission { grid-template-columns: 1fr; gap: 40px; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    
    .hero-editorial { text-align: center; }
    .hero-content-editorial { padding: 40px 24px; }
    .hero-actions { justify-content: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-eyebrow::before { display: none; }
    .hero-title { font-size: clamp(38px, 10vw, 56px); margin-bottom: 24px; }
    
    .join-content { padding: 60px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .pillars-section, .video-section, .projects-section { padding: 80px 24px; }
}

@media (max-width: 480px) {
    .pillars-container { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 42px; }
    .btn-primary-large { width: 100%; padding: 18px 24px; }
}
