/* Edison Giraldo WP — Sistema visual fiel a Potisen con paleta Edison Giraldo 2026 + transiciones fotográficas */
:root {
  --eg-navy-deep: #0C1A3C;
  --eg-navy: #1E3A6E;
  --eg-orange: #FF6A00;
  --eg-orange-dark: #E05A00;
  --eg-surface: #EEF1F6;
  --eg-surface-soft: #F6F8FB;
  --eg-white: #FFFFFF;
  --eg-ink: #242A3A;
  --eg-muted: #7C859B;
  --eg-border: #DEE2E6;
  --eg-green: #2DB34A;
  --eg-font-serif: 'Libre Baskerville', Georgia, serif;
  --eg-font-sans: 'Barlow', system-ui, -apple-system, sans-serif;
  --eg-container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--eg-font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--eg-muted);
  background: var(--eg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--eg-navy-deep); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--eg-orange); }
h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  font-family: var(--eg-font-serif);
  font-weight: 700;
  line-height: 1.24;
  color: var(--eg-navy-deep);
}
p { margin: 0 0 1rem; }

.eg-container { width: min(var(--eg-container), 100% - 2.5rem); margin-inline: auto; }
.eg-sr-only, .eg-skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.eg-skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 9999; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: var(--eg-navy-deep); color: #fff;
}

/* Franja institucional azul sólida */
.eg-civic-stripe {
  height: 6px;
  width: 100%;
  background: var(--eg-navy);
}

/* Botones rectangulares Potisen */
.eg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 34px; border-radius: 0; font-family: var(--eg-font-sans);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  border: 2px solid transparent; cursor: pointer;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .2s ease;
  text-decoration: none; line-height: 1.2;
}
.eg-btn--orange { background: var(--eg-orange); color: #fff; }
.eg-btn--orange:hover { background: var(--eg-navy-deep); color: #fff; }
.eg-btn--navy { background: var(--eg-navy); color: #fff; }
.eg-btn--navy:hover { background: var(--eg-orange); color: #fff; }
.eg-btn--white { background: #fff; color: var(--eg-navy-deep); }
.eg-btn--white:hover { background: var(--eg-navy-deep); color: #fff; }
.eg-btn--outline { background: transparent; color: var(--eg-navy-deep); border-color: var(--eg-navy-deep); }
.eg-btn--outline:hover { background: var(--eg-navy-deep); color: #fff; }

/* Encabezado de sección estilo gsc-heading de Potisen */
.eg-heading-block { margin-bottom: 42px; }
.eg-heading-block--center { text-align: center; max-width: 700px; margin-inline: auto; }
.eg-sub-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--eg-font-sans); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--eg-orange);
  margin-bottom: 10px;
}
.eg-sub-title::before { content: ""; width: 22px; height: 2px; background: var(--eg-orange); }
.eg-heading-block--center .eg-sub-title::before { display: none; }
.eg-section-title { font-size: clamp(1.9rem, 3.2vw, 2.65rem); color: var(--eg-navy-deep); }
.eg-section-desc { font-size: 16px; color: var(--eg-muted); max-width: 620px; }
.eg-heading-block--center .eg-section-desc { margin-inline: auto; }

.eg-pill {
  display: inline-block; padding: 4px 12px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.eg-pill--navy { background: var(--eg-navy); color: #fff; }
.eg-pill--orange { background: var(--eg-orange); color: #fff; }
.eg-pill--muted { background: var(--eg-surface); color: var(--eg-navy-deep); }
.eg-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--eg-navy-deep);
  position: relative; padding-bottom: 2px;
}
.eg-link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--eg-orange); transition: width .25s ease;
}
.eg-link-arrow:hover { color: var(--eg-orange); }
.eg-link-arrow:hover::after { width: 100%; }
.eg-link-pdf {
  padding: 4px 10px; font-size: 12px; font-weight: 700;
  border: 1px solid var(--eg-navy-deep); color: var(--eg-navy-deep);
}
.eg-link-source { font-size: 13px; font-weight: 600; color: var(--eg-muted); text-decoration: underline; }

/* Header fiel a Potisen */
.eg-site-header { position: sticky; top: 0; z-index: 200; background: var(--eg-white); }
.eg-topbar {
  background: var(--eg-white); border-bottom: 1px solid var(--eg-surface);
  padding: 10px 0; font-size: 13px; color: var(--eg-muted);
}
.eg-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.eg-topbar__left, .eg-topbar__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.eg-topbar__item { display: inline-flex; align-items: center; gap: 7px; color: var(--eg-muted); font-weight: 500; }
.eg-topbar__item svg { color: var(--eg-orange); }
.eg-topbar a:hover { color: var(--eg-navy-deep); }

.eg-navbar { background: var(--eg-white); transition: box-shadow .25s ease; }
.eg-site-header.is-scrolled .eg-navbar { box-shadow: 0 8px 28px rgba(12, 26, 60, 0.12); }
.eg-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; }
.eg-brand-logo { height: 46px; width: auto; }
.eg-nav__list { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.eg-nav__list a {
  font-family: var(--eg-font-sans); font-weight: 600; font-size: 15px;
  color: var(--eg-navy-deep); padding: 10px 0; display: block; position: relative;
}
.eg-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--eg-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.eg-nav__list a:hover::after, .eg-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.eg-nav__list .current-menu-item > a { color: var(--eg-orange); }

.eg-navbar__actions { display: flex; align-items: center; gap: 12px; }
.eg-search-circle {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--eg-orange); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s ease, transform .2s ease;
}
.eg-search-circle:hover { background: var(--eg-navy-deep); transform: scale(1.06); }
.eg-burger {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; padding: 10px 8px;
  border: 1px solid var(--eg-border); background: #fff; cursor: pointer;
}
.eg-burger span { display: block; height: 2px; background: var(--eg-navy-deep); width: 100%; }

.eg-search-drawer { background: var(--eg-surface); border-top: 1px solid var(--eg-border); padding: 14px 0; }
.eg-search-form { display: flex; gap: 10px; align-items: center; }
.eg-search-form input {
  flex: 1; padding: 12px 16px; border: 1px solid #CBD5E1; background: #fff; font: inherit; font-size: 15px;
}
.eg-search-close { border: none; background: transparent; font-size: 28px; cursor: pointer; color: var(--eg-navy-deep); padding: 0 8px; }

/* =========================================================
   HERO SLIDER CINEMATOGRÁFICO (Escala nativa 1:1 + Ken Burns sutil)
   ========================================================= */
.eg-hero-slider {
  position: relative;
  background: var(--eg-navy-deep);
  color: #fff;
  overflow: hidden;
  min-height: 560px;
}
.eg-hero-slides {
  position: relative;
  min-height: 560px;
}
.eg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), visibility .85s;
  display: flex;
  align-items: stretch;
}
.eg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Escenario fotográfico derecho a escala nativa 1:1 (sin estiramiento ni pixelación) */
.eg-hero-slide__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 64%;
  max-width: 1024px;
  z-index: 0;
  overflow: hidden;
}
.eg-hero-slide__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.0);
}
.eg-hero-slide.is-active .eg-hero-slide__bg-img--kb-in {
  animation: egKenBurnsIn 7.5s ease-out forwards;
}
.eg-hero-slide.is-active .eg-hero-slide__bg-img--kb-out {
  animation: egKenBurnsOut 7.5s ease-out forwards;
}
@keyframes egKenBurnsIn {
  from { transform: scale(1.0); }
  to { transform: scale(1.035); }
}
@keyframes egKenBurnsOut {
  from { transform: scale(1.035); }
  to { transform: scale(1.0); }
}
.eg-hero-slide__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0C1A3C 0%, rgba(12,26,60,0.92) 12%, rgba(12,26,60,0.45) 32%, rgba(12,26,60,0.06) 58%, rgba(12,26,60,0) 100%),
    linear-gradient(180deg, rgba(12,26,60,0.22) 0%, transparent 25%, rgba(12,26,60,0.28) 100%);
}

/* Franja diagonal discreta en esquina inferior derecha */
.eg-hero-slider__stripes {
  position: absolute; right: -20px; bottom: -10px; width: 240px; height: 150px;
  pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(
    -24deg,
    var(--eg-orange) 0px,
    var(--eg-orange) 14px,
    #FFFFFF 14px,
    #FFFFFF 26px
  );
  clip-path: polygon(35% 100%, 100% 0%, 100% 100%);
  opacity: 0.85;
}
.eg-hero-slide.is-active .eg-hero-slider__stripes {
  animation: egStripeIn .9s .2s cubic-bezier(.22,1,.36,1) both;
}
@keyframes egStripeIn {
  from { opacity: 0; transform: translate(35px, 25px); }
  to { opacity: 0.85; transform: translate(0, 0); }
}

.eg-hero-slider__grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 20px;
  min-height: 560px;
}
.eg-hero-copy { padding: 64px 0 84px; }
.eg-hero-slide.is-active .eg-hero-anim-1 { animation: egSlideUp .55s ease both; }
.eg-hero-slide.is-active .eg-hero-anim-2 { animation: egSlideUp .65s .12s ease both; }
.eg-hero-slide.is-active .eg-hero-anim-3 { animation: egSlideUp .75s .24s ease both; }
.eg-hero-slide.is-active .eg-hero-anim-4 { animation: egSlideUp .85s .36s ease both; }

@keyframes egSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.eg-hero-slide__kicker {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: #FFB380; margin-bottom: 14px;
}
.eg-hero-slide__title {
  font-family: var(--eg-font-serif); font-size: clamp(2.3rem, 4.4vw, 3.65rem);
  font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 20px;
}
.eg-hero-underline {
  position: relative; display: inline-block; padding-bottom: 6px;
}
.eg-hero-underline::before,
.eg-hero-underline::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff;
  transform: scaleX(0); transform-origin: left;
}
.eg-hero-underline::before { bottom: 3px; }
.eg-hero-underline::after { bottom: -2px; opacity: 0.75; }
.eg-hero-slide.is-active .eg-hero-underline::before {
  animation: egLineDraw .55s .45s cubic-bezier(.22,1,.36,1) forwards;
}
.eg-hero-slide.is-active .eg-hero-underline::after {
  animation: egLineDraw .55s .58s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes egLineDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.eg-hero-slide__desc {
  font-size: 17px; color: rgba(255,255,255,0.88); max-width: 520px; margin-bottom: 28px;
}
.eg-hero-slide__desc strong, .eg-hero-slide__desc a { color: #FF9C54; font-weight: 600; }
.eg-hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eg-hero-portrait {
  align-self: end; display: flex; justify-content: flex-end; align-items: flex-end;
  height: 100%; padding-top: 24px;
}
.eg-hero-portrait img {
  max-height: 565px; width: auto; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
}
.eg-hero-slide.is-active .eg-hero-portrait img {
  animation: egPortraitIn .85s .15s cubic-bezier(.22,1,.36,1) both;
}
@keyframes egPortraitIn {
  from { opacity: 0; transform: translateX(34px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.eg-hero-controls {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.eg-hero-dots { display: flex; gap: 10px; }
.eg-hero-dot {
  width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0; transition: background .25s ease, transform .2s ease;
}
.eg-hero-dot.is-active { background: #fff; transform: scale(1.18); }
.eg-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.32);
  background: rgba(12,26,60,0.52); color: #fff; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .25s ease, transform .2s ease;
}
.eg-hero-arrow:hover { background: var(--eg-orange); border-color: var(--eg-orange); transform: translateY(-50%) scale(1.06); }
.eg-hero-arrow--prev { left: 18px; }
.eg-hero-arrow--next { right: 18px; }

/* Barra de progreso inferior del Hero Slider */
.eg-hero-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255,255,255,0.16); z-index: 5;
}
.eg-hero-progress__bar {
  display: block; height: 100%; width: 0%;
  background: var(--eg-orange);
}
.eg-hero-progress__bar.is-running {
  animation: egHeroProgress 6.5s linear forwards;
}
.eg-hero-slider:hover .eg-hero-progress__bar.is-running {
  animation-play-state: paused;
}
@keyframes egHeroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* =========================================================
   EFECTOS FOTOGRÁFICOS POTISEN (Curtain Reveal, Shine, Caption, Tilt)
   ========================================================= */
.eg-photo-curtain {
  position: relative;
  overflow: hidden;
}
.eg-photo-curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--eg-navy-deep);
  border-left: 6px solid var(--eg-orange);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform .85s cubic-bezier(.77, 0, .175, 1);
  pointer-events: none;
}
.eg-reveal.is-visible .eg-photo-curtain::after,
.eg-photo-curtain.is-visible::after {
  transform: scaleX(0);
}
.eg-photo-curtain[data-curtain-delay="140"]::after { transition-delay: .14s; }
.eg-photo-curtain[data-curtain-delay="280"]::after { transition-delay: .28s; }

.eg-photo-curtain img {
  transform: scale(1.1);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}
.eg-reveal.is-visible .eg-photo-curtain img,
.eg-photo-curtain.is-visible img {
  transform: scale(1);
}

/* Hover Shine + Zoom + Caption deslizante */
.eg-photo-fx {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.eg-photo-fx img {
  transition: transform .65s cubic-bezier(.22, 1, .36, 1), filter .4s ease !important;
}
.eg-photo-fx:hover img {
  transform: scale(1.07) !important;
  filter: contrast(1.04) saturate(1.05);
}
.eg-photo-fx::before {
  content: "";
  position: absolute;
  top: 0; left: -85%;
  width: 55%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  z-index: 2;
  pointer-events: none;
  transition: left .75s ease;
}
.eg-photo-fx:hover::before { left: 135%; }

.eg-photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(12,26,60,0.88) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}
.eg-photo-fx:hover .eg-photo-caption {
  transform: translateY(0);
  opacity: 1;
}
.eg-photo-caption span { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.eg-photo-zoom-pill {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--eg-orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}

/* Tilt 3D suave */
.eg-tilt-frame {
  transition: transform .22s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

/* =========================================================
   SECCIONES Y RITMO POTISEN
   ========================================================= */
.eg-section { padding: 105px 0; }
.eg-section--surface { background: var(--eg-surface); }
.eg-section--soft { background: var(--eg-surface-soft); }
.eg-section--navy { background: var(--eg-navy-deep); color: #fff; }
.eg-section--navy .eg-section-title { color: #fff; }
.eg-section--navy .eg-section-desc { color: rgba(255,255,255,0.78); }

/* Sec 2 · Trío introductorio Potisen */
.eg-trio-grid { display: grid; grid-template-columns: 1.05fr 0.95fr 0.95fr; gap: 0; align-items: stretch; }
.eg-trio-text { padding: 10px 36px 10px 0; display: flex; flex-direction: column; justify-content: center; }
.eg-trio-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.eg-trio-list li { position: relative; padding-left: 26px; font-weight: 500; color: var(--eg-ink); }
.eg-trio-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--eg-orange); font-weight: 800; }
.eg-trio-photo { min-height: 410px; }
.eg-trio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eg-trio-cta-box {
  background: var(--eg-orange); color: #fff; padding: 48px 38px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.eg-trio-cta-box__icon {
  width: 60px; height: 60px; border: 2px solid rgba(255,255,255,0.45); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.eg-trio-cta-box h3 { color: #fff; font-size: 26px; margin: 0; }
.eg-trio-cta-box p { color: rgba(255,255,255,0.94); margin: 0; }

/* Sec 3 · Doble divisor + Contador monumental Potisen */
.eg-double-divider { border-top: 1px solid var(--eg-border); border-bottom: 1px solid var(--eg-border); height: 6px; }
.eg-counter-band { padding: 85px 0 95px; text-align: center; }
.eg-counter-hero__num {
  font-family: var(--eg-font-serif); font-size: clamp(3.2rem, 6vw, 4.8rem);
  font-weight: 700; color: var(--eg-navy-deep); line-height: 1.05; margin-bottom: 10px;
}
.eg-counter-hero__label { font-size: 20px; font-weight: 600; color: var(--eg-ink); margin-bottom: 6px; }
.eg-counter-hero__source { font-size: 13px; color: var(--eg-muted); letter-spacing: 0.04em; }
.eg-counter-subgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px;
  padding-top: 36px; border-top: 1px solid var(--eg-border);
}
.eg-counter-subcard__num { font-family: var(--eg-font-serif); font-size: 2.2rem; font-weight: 700; color: var(--eg-orange); line-height: 1.1; }
.eg-counter-subcard__title { font-weight: 700; color: var(--eg-navy-deep); margin: 6px 0 4px; }
.eg-counter-subcard__source { font-size: 13px; color: var(--eg-muted); }

/* Sec 4 · Misión y Visión (#EEF1F6) */
.eg-mission-grid { display: grid; grid-template-columns: 0.94fr 1.06fr; gap: 56px; align-items: center; }
.eg-mission-photo { position: relative; padding: 0 22px 22px 0; }
.eg-mission-photo::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 72%;
  background: var(--eg-navy-deep); z-index: 0; border-bottom: 6px solid var(--eg-orange);
}
.eg-mission-photo .eg-photo-curtain { z-index: 1; }
.eg-mission-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.eg-mission-pillars { display: grid; gap: 18px; margin: 26px 0 30px; }
.eg-pillar-row {
  display: flex; align-items: flex-start; gap: 18px; background: #fff; padding: 18px 22px;
  border-left: 4px solid var(--eg-navy); transition: transform .25s ease, border-color .25s ease;
}
.eg-pillar-row:hover { transform: translateX(6px); border-left-color: var(--eg-orange); }
.eg-pillar-row__num { font-family: var(--eg-font-serif); font-size: 20px; font-weight: 700; color: var(--eg-orange); line-height: 1.2; }
.eg-pillar-row h4 { font-size: 18px; margin-bottom: 4px; }
.eg-pillar-row p { margin: 0; font-size: 15px; }

/* Sec 5 · Banda oscura limpia (Selector por Bandera) */
.eg-action-band {
  position: relative;
  background-color: var(--eg-navy-deep);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255,106,0,0.16), transparent 48%),
    linear-gradient(135deg, #0C1A3C 0%, #1E3A6E 100%);
  padding: 105px 0;
  color: #fff;
  text-align: center;
}
.eg-action-band .eg-section-title { color: #fff; }
.eg-action-band .eg-section-desc { color: rgba(255,255,255,0.84); margin: 0 auto 38px; }
.eg-selector-card {
  max-width: 860px; margin-inline: auto; background: #fff; color: var(--eg-ink);
  padding: 44px 42px; text-align: left; border-top: 5px solid var(--eg-orange);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.eg-selector-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.eg-selector-tab {
  padding: 12px 20px; border: 1px solid var(--eg-border); background: var(--eg-surface);
  color: var(--eg-navy-deep); font-family: var(--eg-font-sans); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .25s ease;
}
.eg-selector-tab.is-active, .eg-selector-tab:hover { background: var(--eg-orange); color: #fff; border-color: var(--eg-orange); }
.eg-selector-panel { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center; }
.eg-selector-panel.is-switching { animation: egPanelFade .32s ease; }
@keyframes egPanelFade {
  from { opacity: 0.25; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.eg-selector-panel__stat {
  background: var(--eg-surface); padding: 24px; text-align: center; border-bottom: 4px solid var(--eg-navy);
}
.eg-selector-panel__stat strong { display: block; font-family: var(--eg-font-serif); font-size: 40px; color: var(--eg-orange); line-height: 1.05; }
.eg-selector-panel__stat span { font-size: 13px; font-weight: 700; color: var(--eg-navy-deep); }

/* Sec 6 · Las 3 Banderas con hover fill estilo Potisen + Carrusel 6 Ejes */
.eg-banderas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.eg-bandera-card {
  background: #fff; border: 1px solid var(--eg-border); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 16px; position: relative;
  border-top: 4px solid var(--eg-navy);
  transition: background .35s ease, color .35s ease, transform .28s ease, box-shadow .28s ease;
}
.eg-bandera-card--orange { border-top-color: var(--eg-orange); }
.eg-bandera-card--green { border-top-color: var(--eg-green); }
.eg-bandera-card:hover {
  background: var(--eg-navy-deep); color: #fff; transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(12,26,60,0.16); border-color: var(--eg-navy-deep);
}
.eg-bandera-card--orange:hover { background: var(--eg-orange); border-color: var(--eg-orange); }
.eg-bandera-card--green:hover { background: var(--eg-navy); border-color: var(--eg-green); }
.eg-bandera-card__head { display: flex; align-items: center; justify-content: space-between; }
.eg-bandera-card__badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--eg-orange); }
.eg-bandera-card--green .eg-bandera-card__badge { color: var(--eg-green); }
.eg-bandera-card__icon { width: 48px; height: 48px; color: var(--eg-navy-deep); transition: color .35s ease; }
.eg-bandera-card--orange .eg-bandera-card__icon { color: var(--eg-orange); }
.eg-bandera-card--green .eg-bandera-card__icon { color: var(--eg-green); }
.eg-bandera-card__title { font-size: 22px; margin: 0; }
.eg-bandera-card__desc { flex: 1; margin: 0; font-size: 15px; color: var(--eg-muted); transition: color .35s ease; }
.eg-bandera-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--eg-border); font-size: 14px;
}
.eg-bandera-card:hover .eg-bandera-card__badge,
.eg-bandera-card:hover .eg-bandera-card__icon,
.eg-bandera-card:hover .eg-bandera-card__title a,
.eg-bandera-card:hover .eg-bandera-card__desc,
.eg-bandera-card:hover .eg-bandera-card__count,
.eg-bandera-card:hover .eg-link-arrow { color: #fff; }
.eg-bandera-card:hover .eg-bandera-card__foot { border-top-color: rgba(255,255,255,0.2); }

/* Carrusel de los 6 Ejes */
.eg-ejes-carousel-wrap { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--eg-border); }
.eg-ejes-carousel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; }
.eg-carousel-btns { display: flex; gap: 8px; }
.eg-carousel-btn {
  width: 40px; height: 40px; border: 1px solid var(--eg-border); background: #fff; color: var(--eg-navy-deep);
  font-size: 18px; cursor: pointer; transition: all .2s ease;
}
.eg-carousel-btn:hover { background: var(--eg-orange); color: #fff; border-color: var(--eg-orange); }
.eg-ejes-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.eg-ejes-track::-webkit-scrollbar { display: none; }
.eg-eje-tile {
  flex: 0 0 230px; background: var(--eg-surface); padding: 26px 20px; border-bottom: 3px solid var(--eg-navy);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.eg-eje-tile:hover { background: var(--eg-navy-deep); color: #fff; border-bottom-color: var(--eg-orange); }
.eg-eje-tile h4 { font-size: 17px; margin-bottom: 6px; }
.eg-eje-tile p { margin: 0; font-size: 14px; }
.eg-eje-tile:hover h4, .eg-eje-tile:hover p { color: #fff; }

/* Iniciativas con barra de progreso */
.eg-iniciativas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.eg-iniciativa-card {
  background: #fff; border: 1px solid var(--eg-border); padding: 28px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease, box-shadow .25s ease;
}
.eg-iniciativa-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12,26,60,0.08); }
.eg-iniciativa-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.eg-iniciativa-card__title { font-size: 19px; margin: 0; }
.eg-iniciativa-card__excerpt { font-size: 15px; flex: 1; margin: 0; }
.eg-iniciativa-card__cifra {
  font-size: 14px; background: var(--eg-surface); padding: 10px 14px;
  border-left: 3px solid var(--eg-orange); color: var(--eg-ink); margin: 0;
}
.eg-progress-wrap { margin-top: 4px; }
.eg-progress-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; color: var(--eg-ink); }
.eg-progress-pct { font-weight: 800; color: var(--eg-orange); }
.eg-progress-bar { height: 8px; background: var(--eg-surface); overflow: hidden; }
.eg-progress-bar__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--eg-navy), var(--eg-orange)); transition: width .45s ease; }
.eg-iniciativa-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--eg-border); font-size: 13px;
}
.eg-iniciativa-card__actions { display: flex; align-items: center; gap: 10px; }

/* Sec 7 · Gestión Territorial estilo event-block-1 + Countdown bar */
.eg-filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.eg-filter-tab {
  padding: 9px 18px; border: 1px solid var(--eg-border); background: #fff; color: var(--eg-navy-deep);
  font-family: var(--eg-font-sans); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s ease;
}
.eg-filter-tab.is-active, .eg-filter-tab:hover { background: var(--eg-navy-deep); color: #fff; border-color: var(--eg-navy-deep); }

.eg-acciones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.eg-accion-card {
  background: #fff; border: 1px solid var(--eg-border); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.eg-accion-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(12,26,60,0.09); }
.eg-accion-card.is-hidden { display: none; }
.eg-accion-card__top {
  position: relative; background: linear-gradient(120deg, var(--eg-navy-deep), var(--eg-navy));
  min-height: 78px; padding: 16px 20px 16px 92px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.eg-date-badge {
  position: absolute; top: 0; left: 0; width: 76px; padding: 12px 8px 16px;
  background: var(--eg-orange); color: #fff; text-align: center; line-height: 1.1;
}
.eg-date-badge__day { display: block; font-family: var(--eg-font-serif); font-size: 24px; font-weight: 700; }
.eg-date-badge__month { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-top: 3px; }
.eg-accion-card__place { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.88); }
.eg-accion-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eg-accion-card__title { font-size: 18px; margin: 0; }
.eg-accion-card__excerpt { font-size: 14.5px; margin: 0; flex: 1; }
.eg-accion-card__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 24px 20px; border-top: 1px solid var(--eg-surface); flex-wrap: wrap;
}

.eg-countdown-bar {
  margin-top: 56px; background: var(--eg-navy-deep); color: #fff; padding: 34px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border-left: 6px solid var(--eg-orange);
}
.eg-countdown-bar__title { font-family: var(--eg-font-serif); font-size: 22px; color: #fff; margin: 0; }
.eg-countdown-bar__sub { font-size: 14px; color: rgba(255,255,255,0.75); margin: 4px 0 0; }
.eg-countdown-units { display: flex; gap: 16px; flex-wrap: wrap; }
.eg-countdown-unit {
  min-width: 78px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 12px 14px; text-align: center;
}
.eg-countdown-unit strong { display: block; font-family: var(--eg-font-serif); font-size: 28px; color: var(--eg-orange); line-height: 1.05; }
.eg-countdown-unit span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.8); }

/* Sec 8 · Collage de 3 fotos reales + Acordeón Potisen */
.eg-pot-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.eg-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eg-collage__main { grid-column: 1 / -1; }
.eg-collage__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 22%; }
.eg-collage__sub img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.eg-collage__sub--wide img { aspect-ratio: 4 / 5; object-position: center 20%; }

.eg-accordion { display: grid; gap: 10px; }
.eg-accordion__item { background: var(--eg-surface); border: none; }
.eg-accordion__trigger {
  list-style: none; cursor: pointer; padding: 15px 18px; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--eg-font-serif); font-size: 16px; font-weight: 700; color: var(--eg-navy-deep);
}
.eg-accordion__trigger::-webkit-details-marker { display: none; }
.eg-accordion__left { display: flex; align-items: center; gap: 14px; }
.eg-accordion__num { font-family: var(--eg-font-sans); font-size: 13px; font-weight: 800; color: var(--eg-orange); }
.eg-accordion__plus {
  width: 40px; height: 40px; background: #fff; color: var(--eg-navy-deep); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--eg-font-sans);
  font-size: 20px; font-weight: 600; transition: background .25s ease, color .25s ease;
}
.eg-accordion__item[open] .eg-accordion__plus { background: var(--eg-orange); color: #fff; }
.eg-accordion__item[open] .eg-accordion__plus::before { content: "−"; }
.eg-accordion__plus::before { content: "+"; }
.eg-accordion__body { padding: 0 20px 20px 50px; font-size: 15px; color: var(--eg-ink); }
.eg-accordion__cifra { font-size: 13.5px; color: var(--eg-navy-deep); margin-bottom: 10px; }

/* Sec 9 · Testimonios Slider + Tarjeta de Video con foto real */
.eg-voices-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: stretch; }
.eg-testimonial-box { background: #fff; padding: 44px; border-left: 5px solid var(--eg-orange); display: flex; flex-direction: column; justify-content: space-between; }
.eg-testimonial-slide { display: none; }
.eg-testimonial-slide.is-active { display: block; animation: egSlideUp .4s ease; }
.eg-testimonial-slide blockquote { margin: 0 0 22px; font-family: var(--eg-font-serif); font-size: 21px; line-height: 1.55; color: var(--eg-navy-deep); }
.eg-testimonial-slide cite { font-style: normal; font-weight: 700; color: var(--eg-orange); display: block; }
.eg-testimonial-slide span { font-size: 14px; color: var(--eg-muted); }
.eg-testimonial-nav { display: flex; gap: 10px; margin-top: 24px; }

.eg-video-card {
  position: relative; overflow: hidden; background: var(--eg-navy-deep); color: #fff; padding: 48px 34px;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.eg-video-card__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  opacity: 0.34; transition: transform .7s ease, opacity .4s ease;
}
.eg-video-card:hover .eg-video-card__bg { transform: scale(1.08); opacity: 0.45; }
.eg-video-card > *:not(.eg-video-card__bg) { position: relative; z-index: 2; }
.eg-play-btn {
  width: 82px; height: 82px; border-radius: 50%; border: none; background: var(--eg-orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
  transition: transform .25s ease, background .25s ease;
}
.eg-play-btn::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255,106,0,0.7); animation: egPulse 2s infinite;
}
@keyframes egPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.28); opacity: 0; }
}
.eg-play-btn:hover { background: #fff; color: var(--eg-orange); transform: scale(1.06); }

/* Modales Lightbox (Video + Galería fotográfica navegable) */
.eg-modal {
  position: fixed; inset: 0; z-index: 999; background: rgba(12,26,60,0.88);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.eg-modal[hidden] { display: none; }
.eg-modal__dialog {
  width: min(680px, 100%); background: #fff; padding: 36px; position: relative;
  border-top: 5px solid var(--eg-orange); animation: egSlideUp .28s ease;
}
.eg-modal__dialog--gallery {
  width: min(920px, 100%); background: var(--eg-navy-deep); color: #fff; padding: 20px; border-top: 4px solid var(--eg-orange);
}
.eg-modal__close {
  position: absolute; top: 10px; right: 14px; border: none; background: transparent;
  font-size: 32px; line-height: 1; cursor: pointer; color: var(--eg-navy-deep); z-index: 3;
}
.eg-modal__dialog--gallery .eg-modal__close { color: #fff; }
.eg-gallery-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.eg-gallery-stage img { max-height: 74vh; width: auto; margin-inline: auto; }
.eg-gallery-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 14px; font-size: 14px; color: rgba(255,255,255,0.9);
}
.eg-gallery-nav { display: flex; gap: 8px; }
.eg-gallery-btn {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 20px; cursor: pointer;
}
.eg-gallery-btn:hover { background: var(--eg-orange); border-color: var(--eg-orange); }

/* Sec 10 · Participa / Suscripción */
.eg-participa-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.eg-form-card { background: var(--eg-surface); padding: 36px; border-top: 4px solid var(--eg-navy); }
.eg-form-grid { display: grid; gap: 14px; }
.eg-form-grid label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--eg-navy-deep); margin-bottom: 5px; }
.eg-form-grid input[type="text"],
.eg-form-grid input[type="email"],
.eg-form-grid select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--eg-border); background: #fff; font: inherit; font-size: 15px;
}
.eg-form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--eg-muted); text-transform: none !important; font-weight: 500 !important; }
.eg-form-feedback { margin-top: 10px; padding: 12px 14px; background: #E9F7EE; color: #166534; font-weight: 600; font-size: 14px; }

/* Sec 11 · Noticias y Franja de Programas */
.eg-noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.eg-noticia-card { background: #fff; border: 1px solid var(--eg-border); overflow: hidden; display: flex; flex-direction: column; }
.eg-noticia-card__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.eg-noticia-card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eg-noticia-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--eg-muted); }
.eg-noticia-card__title { font-size: 19px; margin: 0; }
.eg-noticia-card__excerpt { font-size: 14.5px; flex: 1; margin: 0; }

.eg-programs-strip {
  margin-top: 56px; padding-top: 38px; border-top: 1px solid var(--eg-border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px;
}
.eg-program-pill {
  padding: 12px 22px; background: #fff; border: 1px solid var(--eg-border);
  font-family: var(--eg-font-serif); font-size: 15px; font-weight: 700; color: var(--eg-navy-deep);
}

/* Sala de prensa y barra de arquitectura */
.eg-arch-strip {
  background: var(--eg-surface);
  border-bottom: 1px solid var(--eg-border);
  padding: 16px 0;
}
.eg-arch-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.eg-arch-chip {
  background: #fff;
  border: 1px solid var(--eg-border);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color .2s ease, transform .2s ease;
}
.eg-arch-chip:hover { border-color: var(--eg-orange); transform: translateY(-2px); }
.eg-arch-chip span { font-size: 11px; font-weight: 800; color: var(--eg-orange); letter-spacing: 0.08em; }
.eg-arch-chip strong { font-family: var(--eg-font-serif); font-size: 13px; color: var(--eg-navy-deep); line-height: 1.25; }

.eg-press-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.eg-press-card { background: #fff; border: 1px solid var(--eg-border); display: flex; flex-direction: column; }
.eg-press-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.eg-press-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.eg-press-card__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eg-press-card__body h3 { font-size: 16px; margin: 0; }
.eg-press-card__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: auto; }

/* Páginas internas */
.eg-page-hero { background: var(--eg-navy-deep); color: #fff; padding: 62px 0; }
.eg-page-hero h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.eg-page-hero .eg-section-desc { color: rgba(255,255,255,0.82); }
.eg-single-article { padding: 64px 0; }
.eg-single-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; color: rgba(255,255,255,0.82); font-size: 14px; }
.eg-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.eg-filter-chip { padding: 8px 16px; border: 1px solid var(--eg-border); background: #fff; font-size: 14px; font-weight: 700; color: var(--eg-navy-deep); }
.eg-filter-chip.is-active, .eg-filter-chip:hover { background: var(--eg-orange); color: #fff; border-color: var(--eg-orange); }
.eg-empty-state { background: var(--eg-surface); border: 1px dashed #CBD5E1; padding: 32px; text-align: center; }

/* Footer Potisen */
.eg-site-footer { background: var(--eg-navy-deep); color: rgba(255,255,255,0.78); }
.eg-footer__top { padding: 54px 0 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.eg-brand-logo--footer { height: 48px; }
.eg-footer__grid { display: grid; grid-template-columns: 1.2fr 0.9fr 1.1fr 0.9fr; gap: 36px; padding: 48px 0 56px; }
.eg-footer__heading { color: #fff; font-size: 19px; margin-bottom: 18px; }
.eg-footer__bio { font-size: 15px; color: rgba(255,255,255,0.75); }
.eg-footer__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.eg-footer__socials a { padding: 5px 12px; border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 13px; font-weight: 600; }
.eg-footer__socials a:hover { background: var(--eg-orange); border-color: var(--eg-orange); }
.eg-footer__list, .eg-footer__recent, .eg-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.eg-footer__list a, .eg-footer__recent a, .eg-footer__contact a { color: rgba(255,255,255,0.82); }
.eg-footer__list a:hover, .eg-footer__recent a:hover, .eg-footer__contact a:hover { color: var(--eg-orange); }
.eg-footer__recent span { display: block; font-size: 12px; color: rgba(255,255,255,0.52); }
.eg-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 14px; }
.eg-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.eg-footer__bottom p { margin: 0; }
.eg-footer__legal a { color: rgba(255,255,255,0.85); }

/* Scroll reveal suave */
.eg-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.eg-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .eg-reveal { opacity: 1; transform: none; transition: none; }
  .eg-hero-slide.is-active * { animation: none !important; }
  .eg-photo-curtain::after { display: none; }
  .eg-photo-curtain img { transform: none; }
  .eg-play-btn::after { animation: none; }
  .eg-hero-progress__bar.is-running { animation: none; width: 100%; }
}

@media (max-width: 1024px) {
  .eg-hero-slider, .eg-hero-slides, .eg-hero-slider__grid { min-height: 620px; }
  .eg-hero-slide__bg { width: 100%; max-width: none; }
  .eg-hero-slide__veil { background: linear-gradient(90deg, rgba(12,26,60,0.92) 0%, rgba(12,26,60,0.72) 55%, rgba(12,26,60,0.38) 100%); }
  .eg-hero-slider__grid, .eg-trio-grid, .eg-mission-grid, .eg-pot-grid, .eg-voices-grid, .eg-participa-grid, .eg-selector-panel { grid-template-columns: 1fr; }
  .eg-arch-strip__grid { grid-template-columns: repeat(3, 1fr); }
  .eg-press-grid { grid-template-columns: repeat(2, 1fr); }
  .eg-hero-copy { padding: 48px 0 36px; }
  .eg-trio-text { padding: 0 0 28px 0; }
  .eg-banderas-grid, .eg-iniciativas-grid, .eg-acciones-grid, .eg-noticias-grid, .eg-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .eg-burger { display: flex; }
  .eg-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 3px solid var(--eg-orange); padding: 18px 24px;
  }
  .eg-nav.is-open { display: block; }
  .eg-nav__list { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 640px) {
  .eg-banderas-grid, .eg-iniciativas-grid, .eg-acciones-grid, .eg-noticias-grid, .eg-footer__grid, .eg-counter-subgrid, .eg-press-grid { grid-template-columns: 1fr; }
  .eg-arch-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .eg-section { padding: 68px 0; }
  .eg-selector-card { padding: 28px 22px; }
  .eg-hero-arrow { display: none; }
}

/* =========================================================
   Barra ligera de compartir en redes (WhatsApp, X, FB, LI)
   ========================================================= */
.eg-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--eg-surface, #EEF1F6);
  border-radius: 10px;
  border: 1px solid rgba(12, 26, 60, 0.08);
}
.eg-share-bar__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--eg-navy, #0C1A3C);
  margin-right: 4px;
}
.eg-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.eg-share-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.eg-share-btn--wa { background: #1E8E49; }
.eg-share-btn--x  { background: #0C1A3C; }
.eg-share-btn--fb { background: #1877F2; }
.eg-share-btn--li { background: #0A66C2; }

/* =========================================================
   Estilos editoriales de Sala de prensa (comunicados)
   ========================================================= */
.eg-press-lead {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--eg-navy, #0C1A3C);
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(12, 26, 60, 0.1);
}
.eg-press-hero-media {
  margin: 0 0 28px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(12, 26, 60, 0.08);
}
.eg-press-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}
.eg-press-facts {
  background: var(--eg-surface, #EEF1F6);
  border-left: 4px solid var(--eg-orange, #FF6A00);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 0 0 28px;
}
.eg-press-facts__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--eg-orange, #FF6A00);
  margin: 0 0 10px;
}
.eg-press-facts ul {
  margin: 0;
  padding-left: 18px;
}
.eg-press-facts li {
  margin-bottom: 6px;
  color: var(--eg-navy, #0C1A3C);
}
.eg-press-body h2 {
  font-family: var(--eg-font-serif, Georgia, serif);
  font-size: 24px;
  color: var(--eg-navy, #0C1A3C);
  margin: 32px 0 12px;
}
.eg-press-body blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  background: #FAFBFD;
  border-left: 4px solid var(--eg-navy, #0C1A3C);
  font-family: var(--eg-font-serif, Georgia, serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--eg-navy, #0C1A3C);
  font-style: italic;
}
.eg-press-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 8px;
  border: 1px solid rgba(12, 26, 60, 0.12);
}
.eg-press-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.eg-press-table th {
  background: var(--eg-navy, #0C1A3C);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
}
.eg-press-table td {
  padding: 12px 16px;
  border-top: 1px solid rgba(12, 26, 60, 0.08);
}
.eg-press-table tbody tr:nth-child(even) {
  background: #F7F9FC;
}
.eg-press-contact-box {
  margin-top: 24px;
  padding: 18px 22px;
  background: #FAFBFD;
  border: 1px solid rgba(12, 26, 60, 0.1);
  border-radius: 8px;
  font-size: 14px;
}
.eg-press-contact-box p {
  margin: 6px 0 0;
}
