/* Auto-bundled core styles. Rebuild: php tools/build-core-css.php */

/* === variables.css === */
:root {
  /* Paleta original – eben-ezer-header-footer.html */
  --eb-primary: #0D3B8E;
  --eb-secondary: #0774e2;
  --eb-secondary-dark: #0560c4;
  --eb-dark: #072A63;
  --eb-navbar: #0A2E5C;
  --eb-navbar-light: #0C366F;
  --eb-accent: #FFC928;
  --eb-accent-dark: #F2B600;
  --eb-accent-text: #1A2744;
  --eb-info: #0774e2;
  --eb-link: #0774e2;
  --eb-link-hover: #0560c4;
  --eb-white: #FFFFFF;
  --eb-bg: #F5F8FC;
  --eb-bg-soft: #EEF4FB;
  --eb-bg-programs: #E8F0F8;
  --eb-text: #20304A;
  --eb-text-light: #4F5F75;
  --eb-border: #E4ECF7;
  --eb-stat-divider: #C8DFF5;
  --eb-success: #2ECC71;
  --eb-danger: #E74C3C;
  --eb-radius: 18px;
  --eb-radius-sm: 12px;
  --eb-radius-pill: 999px;
  --eb-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --eb-shadow-hover: 0 18px 45px rgba(13, 59, 142, 0.18);
  --eb-shadow-card: 0 12px 40px rgba(13, 59, 142, 0.12);
  --eb-container: 1200px;
  --eb-nav-h: 62px;
}


/* === base.css === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  color: var(--eb-text);
  background: var(--eb-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

.eb-container {
  width: 100%;
  max-width: var(--eb-container);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .eb-container { padding-left: 2rem; padding-right: 2rem; }
}


/* === components.css === */
/* Botones */
.eb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.6875rem 1.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--eb-radius-pill);
  border: 2px solid transparent;
  transition: 0.25s;
  white-space: nowrap;
}

.eb-btn svg,
.eb-btn-donar .eb-i {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Botón Donar – siempre con icono corazón delante */
.eb-btn-donar {
  gap: 0.5rem;
}

.eb-btn-donar .eb-i {
  margin-top: -1px;
}

.eb-btn--sm.eb-btn-donar .eb-i {
  width: 12px;
  height: 12px;
}

.eb-btn--primary {
  background: var(--eb-accent);
  color: var(--eb-accent-text);
  border-color: var(--eb-accent);
}

.eb-btn--primary:hover {
  background: var(--eb-accent-dark);
  border-color: var(--eb-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 201, 40, 0.35);
}

.eb-btn.is-submitting,
.eb-btn.is-submitting:disabled {
  cursor: wait;
  opacity: 0.92;
  transform: none;
  box-shadow: none;
}

.eb-btn.is-submitting .fa-spinner {
  flex-shrink: 0;
}

.eb-contact-form.is-submitting,
.eb-vol-form.is-submitting,
.eb-news-newsletter-form.is-submitting,
.eb-sidebar-newsletter-form.is-submitting {
  pointer-events: none;
}

.eb-btn--ghost {
  background: transparent;
  color: var(--eb-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.eb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.eb-btn--blue {
  background: var(--eb-secondary);
  color: var(--eb-white);
  border-color: var(--eb-secondary);
}

.eb-btn--blue:hover {
  background: var(--eb-secondary-dark);
  border-color: var(--eb-secondary-dark);
  transform: translateY(-2px);
}

.eb-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  gap: 0.3125rem;
}

.eb-btn--sm svg {
  width: 13px;
  height: 13px;
}

/* Navbar: botón donar compacto */
.eb-btn-donar-nav {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
}

/* Títulos de sección */
.eb-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.eb-section-head h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--eb-dark);
  line-height: 1.3;
}

.eb-section-head p {
  margin-top: 0.625rem;
  color: var(--eb-text-light);
  font-size: 0.875rem;
  max-width: 32rem;
}

.eb-section-head--left { text-align: left; }

.eb-section-head h2 span {
  font-style: normal;
  color: var(--eb-secondary);
}

.eb-section-head h2 .hl-yellow {
  color: var(--eb-accent);
}

.eb-section-head--left p { margin-left: 0; margin-right: 0; }
.eb-section-head--center p { margin-left: auto; margin-right: auto; }

/* Etiquetas */
.eb-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--eb-radius-pill);
  color: var(--eb-white);
}

.eb-tag--blue,
.eb-tag--sky,
.eb-tag--dark { background: var(--eb-secondary); }

.eb-tag--yellow {
  background: var(--eb-accent);
  color: var(--eb-accent-text);
}

.eb-tag--green {
  background: var(--eb-success);
  color: var(--eb-white);
}

/* Enlace que cubre toda una tarjeta clicable */
.eb-card-cover-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.eb-card-cover-link:focus-visible {
  outline: 2px solid var(--eb-secondary);
  outline-offset: 2px;
}

/* Enlaces con flecha */
.eb-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--eb-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: 0.2s;
}

.eb-link-arrow:hover { gap: 0.625rem; color: var(--eb-secondary); }

.eb-link-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* Dropdown compartido */
.eb-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  background: var(--eb-white);
  border-radius: var(--eb-radius-sm);
  box-shadow: var(--eb-shadow-card);
  padding: 6px 0;
  border-top: 3px solid var(--eb-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: 0.2s;
  z-index: 300;
}

.eb-nav-item:hover .eb-dropdown,
.eb-subnav-item:hover .eb-dropdown,
.eb-subnav-item.is-open .eb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eb-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--eb-text);
  transition: 0.15s;
}

.eb-dropdown a:hover {
  background: var(--eb-bg);
  color: var(--eb-secondary);
  padding-left: 24px;
}

/* Modal video YouTube */
.eb-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eb-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.eb-video-modal-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: rgba(7, 42, 99, 0.85);
  cursor: pointer;
}

.eb-video-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
}

.eb-video-modal-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--eb-white);
  color: var(--eb-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.eb-video-modal-close:hover {
  background: var(--eb-accent);
  transform: scale(1.05);
}

.eb-video-modal-close svg {
  width: 18px;
  height: 18px;
}

.eb-video-modal-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--eb-radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.eb-video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .eb-video-modal {
    padding: 2rem;
  }

  .eb-video-modal-close {
    top: -1rem;
    right: -1rem;
  }
}

/* Carrusel horizontal (home, voluntarios, noticias) */
.eb-stories-slider {
  position: relative;
}

.eb-stories-viewport {
  overflow: hidden;
  width: 100%;
}

.eb-stories-track {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.eb-stories-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2rem;
}

.eb-stories-dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.eb-stories-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--eb-stat-divider);
  transform: translate(-50%, -50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.eb-stories-dot:hover::after {
  transform: translate(-50%, -50%) scale(1.1);
}

.eb-stories-dot.is-active::after {
  background: var(--eb-accent);
  transform: translate(-50%, -50%) scale(1.25);
}

.eb-stories-dot:focus-visible {
  outline: 2px solid var(--eb-secondary);
  outline-offset: 2px;
}


/* === icons.css === */
/* Iconos SVG – sprite Ebenezer (assets/ebenezer_icons_svg/) */
.eb-i,
.eb-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

.eb-icon--accent { color: var(--eb-accent); }
.eb-icon--white { color: var(--eb-white); }
.eb-icon--secondary { color: var(--eb-secondary); }
.eb-icon--info { color: var(--eb-info); }

.eb-icon--lg {
  width: 32px;
  height: 32px;
}

.eb-icon--fill svg,
.eb-i.eb-icon--fill {
  fill: currentColor;
  stroke: none;
}


/* === header.css === */
/* ═══════════════════════════════════════
   NAVBAR (móvil primero)
   ═══════════════════════════════════════ */
.eb-navbar {
  height: var(--eb-nav-h);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: var(--eb-navbar);
  position: relative;
  z-index: 100;
}

.eb-navbar--transparent {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Barra superior – azul institucional empresarial */
.eb-navbar--gradient {
  background: linear-gradient(
    180deg,
    var(--eb-navbar-light) 0%,
    var(--eb-navbar) 55%,
    #082A58 100%
  );
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 10px rgba(4, 18, 42, 0.28);
}

.eb-navbar--solid {
  background: linear-gradient(
    180deg,
    var(--eb-navbar-light) 0%,
    var(--eb-navbar) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 10px rgba(4, 18, 42, 0.22);
}

.eb-site-header {
  position: relative;
  z-index: 100;
}

.eb-navbar-inner {
  max-width: var(--eb-container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.eb-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  margin-right: auto;
  min-width: 0;
}

/* Logo PNG: figuras horizontales (4 niños) */
.eb-logo-icon {
  height: 38px;
  width: auto;
  max-width: 82px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.eb-logo-texts .fundacion {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.eb-logo-texts .nombre {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--eb-white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.eb-logo-texts .lema { display: none; }

.eb-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
  margin: 0 1rem;
  flex-wrap: nowrap;
}

/* WordPress: contenedor del menú sin romper el grid del header */
.eb-nav ul,
.eb-nav .eb-nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eb-nav li {
  list-style: none;
}

.eb-nav-item { position: relative; }

.eb-nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.6875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transition: 0.2s;
  white-space: nowrap;
}

.eb-nav-link:hover { color: var(--eb-white); background: rgba(255, 255, 255, 0.08); }
.eb-nav-link.is-active { color: var(--eb-accent); }

.eb-nav-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
}

.eb-nav-link svg use,
.eb-btn svg use {
  stroke: inherit;
  fill: none;
}

.eb-nav-item:hover .eb-nav-link svg { transform: rotate(180deg); }

.eb-btn-donar-nav {
  display: none;
}

.eb-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.eb-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: 0;
}

.eb-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--eb-white);
  border-radius: 2px;
  transition: 0.3s;
}

.eb-mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--eb-dark);
  border-top: 2px solid var(--eb-accent);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.eb-mobile-menu.open { max-height: 520px; }

.eb-mobile-menu a {
  display: block;
  padding: 14px 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.eb-mobile-menu a.is-active { color: var(--eb-accent); }

.eb-mobile-donate { padding: 1rem 1.5rem; }

.eb-mobile-donate .eb-btn { width: 100%; }

/* Subnav (páginas internas – mockup 08_02) */
.eb-subnav { background: var(--eb-primary); }

.eb-subnav-inner {
  max-width: var(--eb-container);
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.eb-subnav-inner::-webkit-scrollbar { display: none; }

.eb-subnav-item { position: relative; flex-shrink: 0; }

.eb-subnav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 3px solid transparent;
  transition: 0.2s;
  white-space: nowrap;
}

.eb-subnav-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eb-subnav-link.is-active {
  color: var(--eb-accent);
  border-bottom-color: var(--eb-accent);
}

.eb-subnav-link .arr {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.eb-subnav-space { display: none; }

.eb-subnav-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
  flex-shrink: 0;
}

.eb-subnav-search {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.eb-subnav-search svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Franja hero interna (mockup 08_02) */
.eb-hero-band {
  background: linear-gradient(135deg, var(--eb-dark) 0%, var(--eb-primary) 45%, var(--eb-secondary) 100%);
  padding: 1.75rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.eb-hero-band::before {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.eb-hero-band-inner {
  max-width: var(--eb-container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.eb-hero-band-mascot {
  height: 56px;
  width: auto;
  max-width: 120px;
  flex-shrink: 0;
  object-fit: contain;
}

.eb-hero-band-brand .pre {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eb-hero-band-brand .main-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--eb-white);
}

.eb-hero-band-brand .lema {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.eb-hero-band-sep { display: none; }

.eb-hero-band-tagline { flex: 1 1 100%; }

.eb-hero-band-tagline .line1,
.eb-hero-band-tagline .line2 {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.eb-hero-band-tagline .line1 { color: rgba(255, 255, 255, 0.9); font-weight: 400; }
.eb-hero-band-tagline .line2 { color: var(--eb-accent); font-weight: 700; }

@media (min-width: 768px) {
  .eb-logo-icon { height: 42px; max-width: 90px; }
  .eb-logo-texts .nombre { font-size: 0.875rem; }
  .eb-logo-texts .lema { display: block; font-size: 0.5625rem; color: rgba(255, 255, 255, 0.5); margin-top: 1px; }

  .eb-hero-band-inner { gap: 1.5rem; }
  .eb-hero-band-mascot { height: 72px; max-width: 150px; }
  .eb-hero-band-brand .main-name { font-size: 1.75rem; }
  .eb-hero-band-tagline { flex: 1; }
  .eb-hero-band-tagline .line1,
  .eb-hero-band-tagline .line2 { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
  .eb-navbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .eb-logo {
    margin-right: 0;
    justify-self: start;
  }

  .eb-nav {
    display: flex;
    justify-self: center;
    margin: 0;
  }

  .eb-navbar-actions {
    justify-self: end;
    gap: 0.75rem;
  }

  .eb-btn-donar-nav {
    display: inline-flex;
  }

  .eb-hamburger { display: none; }
  .eb-mobile-menu { display: none !important; }

  .eb-logo-icon { height: 44px; max-width: 96px; }
  .eb-logo-texts .nombre { font-size: 0.9375rem; }

  .eb-subnav-inner { padding: 0 2rem; overflow: visible; }
  .eb-subnav-link { padding: 1rem 1.25rem; font-size: 0.6875rem; gap: 0.5rem; }
  .eb-subnav-link svg { width: 20px; height: 20px; }
  .eb-subnav-space { display: block; flex: 1; }

  .eb-hero-band { padding: 2.25rem 2rem; }
  .eb-hero-band-inner { flex-wrap: nowrap; gap: 2rem; }
  .eb-hero-band-mascot { height: 88px; max-width: 180px; }
  .eb-hero-band-brand .main-name { font-size: 2.25rem; }
  .eb-hero-band-sep {
    display: block;
    width: 3px;
    height: 72px;
    background: var(--eb-accent);
    border-radius: 2px;
    flex-shrink: 0;
  }
  .eb-hero-band-tagline .line1,
  .eb-hero-band-tagline .line2 { font-size: 1.375rem; }
}


/* === footer.css === */
/* CTA pre-footer (mockup 08_04) */
.eb-cta-banner {
  background: linear-gradient(135deg, var(--eb-dark) 0%, var(--eb-primary) 45%, var(--eb-secondary) 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.eb-cta-banner::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  background-image: radial-gradient(var(--eb-accent) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.85;
  pointer-events: none;
  display: none;
  z-index: 0;
}

.eb-cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.eb-cta-banner-visual {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.eb-cta-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--eb-accent);
  background: var(--eb-secondary);
  color: var(--eb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.eb-cta-icon i {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--eb-white);
}

.eb-cta-banner h2 {
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 700;
  color: var(--eb-white);
  line-height: 1.25;
}

.eb-cta-banner h2 span { color: var(--eb-accent); }

.eb-cta-banner p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
}

.eb-cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.eb-cta-banner-actions .eb-btn { width: 100%; }

.eb-cta-banner .eb-btn--ghost {
  background: var(--eb-dark);
  border-color: var(--eb-dark);
  color: var(--eb-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.eb-cta-banner .eb-btn--ghost:hover {
  background: var(--eb-primary);
  border-color: var(--eb-primary);
}

.eb-cta-banner h2 .hl-yellow {
  color: var(--eb-accent);
}

/* Footer (mockup 08_04) */
.eb-footer {
  background: linear-gradient(160deg, var(--eb-dark) 0%, var(--eb-primary) 70%, #0c3480 100%);
  color: rgba(255, 255, 255, 0.78);
}

.eb-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
}

.eb-footer-brand .eb-logo-texts .nombre { font-size: 1rem; }
.eb-footer-brand .eb-logo-texts .lema { display: block; font-size: 0.625rem; font-style: italic; }

.eb-footer-desc {
  margin-top: 1rem;
  font-size: 0.84375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

.eb-footer-col h4,
.eb-footer-col .eb-footer-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--eb-white);
  margin-bottom: 1.125rem;
}

.eb-footer-contact { display: flex; flex-direction: column; gap: 0.875rem; }

.eb-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.84375rem;
  line-height: 1.5;
}

.eb-footer-contact svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.65);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 3px;
}

.eb-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.eb-footer-links > ul,
.eb-footer-links .eb-footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  grid-column: 1 / -1;
}

.eb-footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eb-footer-links a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.84375rem;
  color: rgba(255, 255, 255, 0.65);
  transition: 0.2s;
}

.eb-footer-links a::before {
  content: "›";
  color: var(--eb-info);
  font-weight: 700;
}

.eb-footer-links a:hover { color: var(--eb-white); padding-left: 2px; }

.eb-footer-social-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.eb-social {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.eb-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.eb-social a:hover {
  background: var(--eb-accent);
  border-color: var(--eb-accent);
}

.eb-social a i {
  font-size: 1rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
}

.eb-social a:hover i {
  color: var(--eb-accent-text);
}

.eb-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.125rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

.eb-footer-bar .tagline {
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  align-self: flex-end;
  width: 100%;
}

.eb-footer-bar a {
  color: var(--eb-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.eb-footer-bar a:hover {
  color: var(--eb-white);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .eb-cta-banner-actions { flex-direction: row; width: auto; }
  .eb-cta-banner-actions .eb-btn { width: auto; }
  .eb-cta-banner::after { display: block; }

  .eb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .eb-footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .eb-cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .eb-cta-banner-actions { flex-shrink: 0; }

  .eb-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .eb-footer-brand { grid-column: auto; }

  .eb-footer-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .eb-footer-bar .tagline {
    width: auto;
    margin-left: auto;
    text-align: right;
  }
}

