/* ========================================================
   FESBO - variables.css
   Fundación Educativa Simón Bolívar
   ======================================================== */

/*
 * variables.css - Variables, diseño global y tokens de tema
 * Fundación Educativa Simón Bolívar (FESBO)
 */

:root {
      /* Paleta Dorada FESBO */
      --oro-primario: #f59e0b;
      --oro-brillante: #fbbf24;
      --oro-hover: #d97706;
      --oro-dark: #b45309;
      --oro-glow: rgba(245, 158, 11, 0.45);
      --oro-border: rgba(245, 158, 11, 0.35);

      /* Tema Noche / Azul Institucional Clásico (por defecto si no blanco) */
      --bg-body: #030c1d;
      --bg-surface: #0a1832;
      --bg-surface-alt: #0d2146;
      --text-main: #e2e8f0;
      --text-muted: #94a3b8;
      --text-heading: #ffffff;
      --border-subtle: rgba(255, 255, 255, 0.1);
      --border-accent: rgba(245, 158, 11, 0.3);
      --card-bg: rgba(10, 24, 50, 0.85);
      --header-bg: rgba(3, 12, 29, 0.94);
      --hero-bg: #041026;
      --hero-grad-left: linear-gradient(90deg, rgba(4,16,38,0.98) 0%, rgba(4,16,38,0.85) 36%, rgba(4,16,38,0) 65%);
    }

    /* TEMA BLANCO (Activo por Defecto según requerimiento de usuario) */
    body.tema-blanco {
      --bg-body: #f8fafc;
      --bg-surface: #ffffff;
      --bg-surface-alt: #f1f5f9;
      --text-main: #334155;
      --text-muted: #64748b;
      --text-heading: #0f172a;
      --border-subtle: rgba(226, 232, 240, 0.9);
      --border-accent: rgba(245, 158, 11, 0.45);
      --card-bg: #ffffff;
      --header-bg: rgba(255, 255, 255, 0.97);
      --hero-bg: #061530;
      --hero-grad-left: linear-gradient(90deg, rgba(6,21,48,0.98) 0%, rgba(6,21,48,0.88) 36%, rgba(6,21,48,0) 65%);
    }

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

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: var(--bg-body);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background-color 0.4s ease, color 0.4s ease;
    }

    .font-cinzel {
      font-family: 'Cinzel', serif;
    }

    .font-caveat {
      font-family: 'Caveat', cursive;
    }

    .container-fesbo {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Lienzo fijo para lluvia de papelitos / confeti de celebración */
    #confettiCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 99999;
    }
/* ========================================================
   FESBO - navbar.css
   Fundación Educativa Simón Bolívar
   ======================================================== */

/*
 * navbar.css - Navegación institucional, header y barra superior
 * Fundación Educativa Simón Bolívar (FESBO)
 */

.header-institutional {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #00142e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-institutional.header-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

body.tema-blanco .header-institutional.header-scrolled {
  box-shadow: 0 6px 24px rgba(0, 20, 46, 0.08);
}

    .nav-inner-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      gap: 12px;
      padding-right: 6px;
      transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .header-institutional.header-scrolled .nav-inner-container {
      height: 62px;
    }

    .brand-cluster {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .brand-logo-img {
      width: 46px;
      height: 46px;
      object-fit: contain;
      border-radius: 50%;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
      transition: transform 0.3s ease;
    }

    .brand-cluster:hover .brand-logo-img {
      transform: scale(1.06) rotate(3deg);
    }

    .brand-text-stack {
      display: flex;
      flex-direction: column;
    }

    .brand-title-main {
      font-family: 'Cinzel', serif;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.05em;
      color: #ffffff !important;
      line-height: 1.15;
      text-transform: uppercase;
    }

    .brand-title-bold {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      font-weight: 900;
      letter-spacing: 0.04em;
      color: var(--oro-primario) !important;
      line-height: 1.15;
    }

    .brand-motto-row {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.75) !important;
      text-transform: uppercase;
      margin-top: 2px;
    }

    .brand-tag-badge {
      background: var(--oro-primario);
      color: #00142e;
      padding: 1px 4px;
      border-radius: 3px;
      font-weight: 800;
      margin-right: 4px;
    }

    /* Links de Navegación */
    .nav-links-desktop {
      display: flex;
      align-items: center;
      list-style: none;
      gap: clamp(8px, 1.1vw, 14px);
    }

    .nav-link-btn {
      text-decoration: none;
      font-size: 12.5px;
      font-weight: 600;
      color: #ffffff !important;
      padding: 5px 3px;
      position: relative;
      transition: color 0.25s ease, font-weight 0.2s ease, text-shadow 0.25s ease;
      white-space: nowrap;
    }

    .nav-link-btn::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 50%;
      width: 0;
      height: 3px;
      background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%) !important;
      border-radius: 9999px;
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
      transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
      opacity: 0;
    }

    .nav-link-btn:hover {
      color: var(--oro-primario) !important;
    }

    .nav-link-btn:hover::after {
      width: 50%;
      left: 25%;
      opacity: 0.6;
    }

    .nav-link-btn.active {
      color: var(--oro-brillante) !important;
      font-weight: 800;
      text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
    }

    .nav-link-btn.active::after {
      width: 100%;
      left: 0;
      opacity: 1;
      box-shadow: 0 0 12px rgba(245, 158, 11, 0.85);
    }

    /* Acciones de la derecha en cabecera */
    .nav-actions-cluster {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
      margin-left: 2px;
      margin-right: 4px;
    }

    .btn-action-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
      background: rgba(2, 16, 42, 0.85) !important;
      color: #ffffff !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 15px;
      transition: all 0.25s ease;
    }

    body.tema-blanco .header-institutional {
      background: rgba(255, 255, 255, 0.96) !important;
      border-bottom: 1px solid rgba(0, 20, 46, 0.08) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    body.tema-blanco .brand-title-main {
      color: #0f172a !important;
    }

    body.tema-blanco .brand-title-bold {
      color: #002855 !important;
    }

    body.tema-blanco .brand-motto-row {
      color: #64748b !important;
    }

    body.tema-blanco .nav-link-btn {
      color: #1e293b !important;
    }

    body.tema-blanco .nav-link-btn:hover {
      color: #d97706 !important;
    }

    body.tema-blanco .nav-link-btn.active {
      color: #b45309 !important;
      font-weight: 800;
      text-shadow: none;
    }

    body.tema-blanco .nav-link-btn.active::after {
      background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%) !important;
      box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
    }

    body.tema-blanco .header-institutional .btn-action-icon {
      background: #f1f5f9 !important;
      border-color: #cbd5e1 !important;
      color: #0f172a !important;
    }

    body.tema-blanco .header-institutional .btn-action-icon:hover {
      background: #fffbeb !important;
      border-color: #d97706 !important;
      color: #d97706 !important;
    }

    body.tema-blanco .btn-menu-burger {
      color: #0f172a !important;
      border-color: #cbd5e1 !important;
    }

    .btn-action-icon:hover {
      border-color: var(--oro-primario) !important;
      color: var(--oro-primario) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px var(--oro-glow);
    }

    .btn-cta-unete {
      background: linear-gradient(135deg, var(--oro-primario) 0%, var(--oro-hover) 100%);
      color: #00142e;
      font-weight: 800;
      font-size: 11.5px;
      letter-spacing: 0.04em;
      padding: 7px 15px;
      border-radius: 24px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 4px 14px var(--oro-glow);
      transition: all 0.25s ease;
      white-space: nowrap;
      margin-right: 2px;
    }

    .btn-cta-unete:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px var(--oro-glow);
      filter: brightness(1.06);
    }

    .btn-menu-burger {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
      background: transparent;
      color: var(--text-heading);
      font-size: 20px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
    }

    /* Botón de tema visible en la cabecera */
    #btnToggleTheme {
      display: inline-flex !important;
    }

    /* Botón de Inicio de Sesión en Cabecera */
    .btn-nav-login {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 9999px;
      border: 1.5px solid rgba(245, 158, 11, 0.5);
      background: rgba(2, 16, 42, 0.7);
      color: #ffffff !important;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-decoration: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
      cursor: pointer;
      margin-left: 2px;
    }

    .btn-nav-login svg {
      color: var(--oro-primario);
      transition: transform 0.2s ease;
    }

    .btn-nav-login:hover {
      background: rgba(245, 158, 11, 0.18);
      border-color: var(--oro-primario);
      color: var(--oro-primario) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 14px var(--oro-glow);
    }

    .btn-nav-login:hover svg {
      transform: translateX(2px);
    }

    /* Adaptación para Tema Blanco */
    body.tema-blanco .btn-nav-login {
      background: #ffffff !important;
      border-color: rgba(217, 119, 6, 0.45) !important;
      color: #0f172a !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    body.tema-blanco .btn-nav-login svg {
      color: #d97706;
    }

    body.tema-blanco .btn-nav-login:hover {
      background: #fffbeb !important;
      border-color: #d97706 !important;
      color: #d97706 !important;
      box-shadow: 0 4px 14px rgba(217, 119, 6, 0.22);
    }

    @media (max-width: 768px) {
      .btn-nav-login span {
        display: none;
      }
      .btn-nav-login {
        padding: 8px;
        width: 38px;
        height: 38px;
        justify-content: center;
      }
    }

    /* Indicador de Sección Activa para Menú Móvil (Drawer) */
    .drawer-mobile-menu .nav-link-btn {
      display: flex;
      align-items: center;
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main) !important;
      transition: all 0.25s ease;
      border-left: 3px solid transparent;
      text-decoration: none;
    }

    .drawer-mobile-menu .nav-link-btn:hover {
      background: rgba(245, 158, 11, 0.08);
      color: var(--oro-primario) !important;
    }

    .drawer-mobile-menu .nav-link-btn.active {
      background: rgba(245, 158, 11, 0.15) !important;
      border-left: 3px solid var(--oro-primario) !important;
      color: var(--oro-primario) !important;
      font-weight: 800;
      padding-left: 18px;
    }

    .drawer-mobile-menu .nav-link-btn::after {
      display: none !important;
    }

    body.tema-blanco .drawer-mobile-menu .nav-link-btn {
      color: #334155 !important;
    }

    body.tema-blanco .drawer-mobile-menu .nav-link-btn.active {
      background: #fef3c7 !important;
      border-left-color: #d97706 !important;
      color: #b45309 !important;
    }
/* ========================================================
   FESBO - hero.css
   Fundación Educativa Simón Bolívar
   Hero section con fondo2.png y efecto difuminado auténtico
   ======================================================== */

.hero-section-wrapper {
  position: relative;
  background-color: #00142e;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 44px 0 24px 0;
  transition: background-color 0.4s ease;
}

body.tema-blanco .hero-section-wrapper {
  background-color: #f8fafc;
}

body.tema-blanco .hero-photo-bg {
  background-image: 
    linear-gradient(90deg, 
      rgba(248, 250, 252, 0.98) 0%, 
      rgba(248, 250, 252, 0.92) 34%, 
      rgba(248, 250, 252, 0.60) 48%, 
      rgba(248, 250, 252, 0.15) 60%, 
      transparent 72%
    ),
    linear-gradient(180deg, 
      rgba(248, 250, 252, 0.5) 0%, 
      transparent 14%, 
      transparent 75%, 
      rgba(248, 250, 252, 0.9) 100%
    ),
    url('/assets/images/fesbo_hero_estudiantes.jpg?v=75'),
    url('/assets/images/fondo2.png?v=75');
}

body.tema-blanco .hero-badge-pill {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(217, 119, 6, 0.6);
  color: #b45309;
}

body.tema-blanco .hero-main-title {
  color: #00142e;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

body.tema-blanco .gold-gradient-text {
  background: linear-gradient(135deg, #9a3412 0%, #c2410c 45%, #d97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

body.tema-blanco .hero-editorial-lead {
  color: #334155;
  text-shadow: none;
  font-weight: 500;
}

body.tema-blanco .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #00142e;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.tema-blanco .btn-hero-secondary:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #d97706;
}

body.tema-blanco .instruction-3d-pill {
  background: rgba(255, 255, 255, 0.92);
  border-color: #d97706;
  color: #92400e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.tema-blanco .light-preset-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: #cbd5e1;
  color: #334155;
}

body.tema-blanco .light-preset-chip.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: #d97706;
  color: #b45309;
}

/* Fondo fotográfico fondo2.png con gradiente suave y difuminado auténtico estilo fondo3 */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, 
      rgba(0, 18, 42, 0.90) 0%, 
      rgba(0, 18, 42, 0.82) 32%, 
      rgba(0, 18, 42, 0.45) 46%, 
      rgba(0, 18, 42, 0.10) 56%, 
      transparent 66%
    ),
    linear-gradient(180deg, 
      rgba(0, 18, 42, 0.45) 0%, 
      transparent 14%, 
      transparent 80%, 
      rgba(0, 18, 42, 0.65) 100%
    ),
    url('/assets/images/fesbo_hero_estudiantes.jpg?v=75'),
    url('/assets/images/fondo2.png?v=75');
  background-size: cover;
  background-position: center right;
  z-index: 1;
  opacity: 1;
}

.hero-photo-bg::before {
  display: none;
}

.hero-container-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  height: 100%;
}

.hero-content-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Columna editorial a la izquierda sin caja ni borde (sin fondo de texto) */
.hero-left-editorial {
  max-width: 440px;
  z-index: 12;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 9999px;
  border: 1.2px solid rgba(245, 158, 11, 0.85);
  background: rgba(0, 18, 42, 0.55);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-main-title {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 40%, #f59e0b 80%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-editorial-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.62;
  color: #f1f5f9;
  margin-bottom: 24px;
  max-width: 440px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 50%, #f59e0b 100%);
  color: #00142e;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.65);
  filter: brightness(1.06);
}

.btn-hero-secondary {
  background: rgba(0, 18, 42, 0.68);
  color: #ffffff;
  border: 1.5px solid #d97706;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  border-color: #ffd700;
  color: #ffd700;
  transform: translateY(-2px);
  background: rgba(245, 158, 11, 0.2);
}

/* Escenario 3D del Escudo Heráldico */
.hero-shield-3d-stage {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 0;
  margin-right: -10px;
  justify-content: center;
  position: relative;
  z-index: 15;
  min-height: 300px;
}

.canvas-3d-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#heroThreeCanvas {
  width: 240px;
  height: 240px;
  max-width: 80vw;
  max-height: 80vw;
  cursor: grab;
  touch-action: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.35));
  transition: filter 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

#heroThreeCanvas:active {
  cursor: grabbing;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(245, 158, 11, 0.7));
}

.instruction-3d-pill {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(2, 11, 26, 0.85);
  border: 1.2px solid rgba(245, 158, 11, 0.75);
  border-radius: 9999px;
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.instruction-3d-pill:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #ffd700;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
}

.shield-controls-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.light-preset-chip {
  background: rgba(10, 25, 52, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.light-preset-chip:hover {
  border-color: #f59e0b;
  color: #ffffff;
}

.light-preset-chip.active {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

@media (max-width: 900px) {
  .hero-section-wrapper {
    padding: 24px 0 20px 0;
  }
  .hero-content-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-left-editorial {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-shield-3d-stage {
    margin-top: 24px;
    width: 100%;
    align-items: center;
    margin-right: 0;
  }
  #heroThreeCanvas {
    width: 220px;
    height: 220px;
  }
}
/* ========================================================
   FESBO - values.css
   Fundación Educativa Simón Bolívar
   Franja de valores pilares (Amor, Respeto, Honestidad)
   ======================================================== */

.values-unified-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(1, 20, 48, 0.92) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.45) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(59, 130, 246, 0.18) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 24px !important;
  margin: 0 !important;
  width: 100%;
}

.values-column {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 16px;
  transition: transform 0.3s ease;
}

.values-column:hover {
  transform: translateY(-2px);
}

.values-column:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
}

body.tema-blanco .values-unified-bar {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(217, 119, 6, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 20, 46, 0.08) !important;
}

body.tema-blanco .values-column:not(:last-child) {
  border-right: 1px solid rgba(0, 20, 46, 0.1) !important;
}

.pillar-svg-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-svg-box svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.values-column:hover .pillar-svg-box svg {
  transform: scale(1.08);
}

.pillar-text-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

body.tema-blanco .pillar-text-content h4 {
  color: #00142e !important;
}

.pillar-text-content p {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #ffffff !important;
  margin: 0;
}

body.tema-blanco .pillar-text-content p {
  color: #475569 !important;
}

@media (max-width: 900px) {
  .values-unified-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .values-column:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 12px;
  }
}
/* ========================================================
   FESBO - quienes-somos.css
   Fundación Educativa Simón Bolívar
   Sección Quiénes Somos y propósito institucional
   ======================================================== */

.about-purpose-section {
  padding: 70px 0;
  position: relative;
  background-color: #ffffff;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.about-left-editorial .section-pre-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.about-left-editorial h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  color: #00142e;
  margin-bottom: 16px;
}

.about-left-editorial p {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
}

.about-left-editorial p.nosotros-intro {
  margin-bottom: 12px;
}

.about-left-editorial strong {
  color: #00142e;
}

/* ========================================================
   COMPONENTE INTERACTIVO: VER MÁS EN ¿QUIÉNES SOMOS?
   ======================================================== */
.nosotros-expandible-wrapper {
  margin-bottom: 18px;
}

.btn-ver-mas-nosotros {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  margin-top: 2px;
  margin-bottom: 6px;
}

.btn-ver-mas-nosotros:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-ver-mas-nosotros:active {
  transform: translateY(0);
}

.btn-ver-mas-nosotros .ver-mas-icon {
  font-size: 11px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-ver-mas-nosotros.abierto .ver-mas-icon {
  transform: rotate(180deg);
}

.nosotros-texto-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease, margin 0.3s ease;
}

.nosotros-texto-extra.expandido {
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 10px;
  margin-bottom: 8px;
}

.nosotros-texto-extra p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #64748b;
  background: #f8fafc;
  border-left: 3px solid #d97706;
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Contenedor central unificado para Misión, Visión y Valores */
.about-right-cards-cluster {
  width: 100%;
}

.about-right-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  padding: 26px 14px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

.purpose-mini-card {
  background: transparent;
  border: none;
  padding: 0 14px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.purpose-mini-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #dbeafe;
}

.purpose-mini-card:hover {
  transform: translateY(-3px);
}

.purpose-mini-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #002855;
  transition: transform 0.3s ease;
}

.purpose-mini-card:hover .purpose-mini-icon {
  transform: scale(1.15) translateY(-2px);
}

.purpose-mini-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #002855;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.purpose-mini-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Columna derecha con frase caligráfica y pincelada dorada */
.quote-banner-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 14px;
}

.quote-cursive-text {
  font-family: 'Caveat', cursive;
  font-size: clamp(28px, 2.9vw, 36px);
  color: #1e40af;
  font-weight: 700;
  line-height: 1.15;
  display: block;
}

.quote-gold-stroke {
  width: 155px;
  height: 14px;
  margin-top: 4px;
  stroke: #f59e0b;
  stroke-width: 4.5;
  fill: none;
  stroke-linecap: round;
}

/* Adaptación responsive para tablets y móviles */
@media (max-width: 1024px) {
  .about-purpose-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .quote-banner-callout {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .about-right-cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .purpose-mini-card:not(:last-child)::after {
    display: none;
  }
  .purpose-mini-card:not(:last-child) {
    border-bottom: 1px solid #dbeafe;
    padding-bottom: 18px;
  }
}
/* ========================================================
   FESBO - proyectos.css
   Fundación Educativa Simón Bolívar
   Sección Nuestros Proyectos (Educa, Crece, Comunidad)
   Con fidelidad total a fondo4.png y boceto oficial
   ======================================================== */

.projects-section-wrapper {
  padding: 85px 0 95px;
  background-color: #030d1d;
  background-image: radial-gradient(ellipse 90% 60% at 50% 30%, #061e44 0%, #020b18 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.tema-blanco .projects-section-wrapper {
  background-color: #f8fafc;
  background-image: radial-gradient(ellipse 90% 60% at 50% 30%, #ffffff 0%, #f1f5f9 100%);
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
}

body.tema-blanco .projects-header-left h2 {
  color: #00142e;
}

body.tema-blanco .link-all-projects-btn {
  background: #ffffff;
  color: #00142e;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

body.tema-blanco .link-all-projects-btn:hover {
  border-color: #d97706;
  color: #d97706;
  background: #fffbeb;
}

.projects-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
  gap: 24px;
}

.projects-header-left .section-pre-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f59e0b;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.projects-header-left h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.link-all-projects-btn {
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(10, 25, 52, 0.7);
  transition: all 0.25s ease;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.link-all-projects-btn:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.projects-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Tarjetas horizontales de proyectos con el arte fondo4 */
.project-card-interactive {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 310px;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.project-card-interactive:hover {
  transform: translateY(-6px);
}

/* Fondos exactos extraídos de fondo4.png */
.project-card-interactive.card-educa {
  background-image: url('/assets/images/card_fesbo_educa_bg.png?v=75');
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 26px rgba(2, 26, 62, 0.5), inset 0 0 12px rgba(56, 189, 248, 0.15);
}

.project-card-interactive.card-educa:hover {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 16px 42px rgba(14, 165, 233, 0.35), inset 0 0 20px rgba(56, 189, 248, 0.3);
}

.project-card-interactive.card-crece {
  background-image: url('/assets/images/card_fesbo_crece_bg.png?v=75');
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 10px 26px rgba(2, 35, 28, 0.5), inset 0 0 12px rgba(52, 211, 153, 0.15);
}

.project-card-interactive.card-crece:hover {
  border-color: rgba(52, 211, 153, 0.9);
  box-shadow: 0 16px 42px rgba(16, 185, 129, 0.35), inset 0 0 20px rgba(52, 211, 153, 0.3);
}

.project-card-interactive.card-comunidad {
  background-image: url('/assets/images/card_fesbo_comunidad_bg.png?v=75');
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 10px 26px rgba(68, 42, 8, 0.5), inset 0 0 12px rgba(251, 191, 36, 0.15);
}

.project-card-interactive.card-comunidad:hover {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 16px 42px rgba(245, 158, 11, 0.35), inset 0 0 20px rgba(251, 191, 36, 0.3);
}

/* Área de contenido textual alineada a la derecha con flujo normal */
.project-card-inner {
  position: relative;
  margin-left: auto;
  width: 58%;
  min-height: 310px;
  height: 100%;
  padding: 16px 18px 18px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 2;
}

/* Gradientes específicos para legibilidad absoluta del texto */
.card-educa .project-card-inner {
  background: linear-gradient(90deg, rgba(2, 26, 62, 0) 0%, rgba(2, 26, 62, 0.45) 15%, rgba(2, 26, 62, 0.94) 100%);
}

.card-crece .project-card-inner {
  background: linear-gradient(90deg, rgba(2, 35, 28, 0) 0%, rgba(2, 35, 28, 0.45) 15%, rgba(2, 35, 28, 0.94) 100%);
}

.card-comunidad .project-card-inner {
  background: linear-gradient(90deg, rgba(45, 26, 4, 0) 0%, rgba(45, 26, 4, 0.45) 15%, rgba(45, 26, 4, 0.94) 100%);
}

.project-body-top {
  display: flex;
  flex-direction: column;
}

.project-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-card-proximamente {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.badge-card-activo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.project-icon-and-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.project-svg-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-svg-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.project-title-cluster {
  display: flex;
  flex-direction: column;
}

.project-pre-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f59e0b;
  text-transform: uppercase;
  line-height: 1.1;
}

.project-title-cluster h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.project-sub-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--oro-primario, #f59e0b);
  margin: 3px 0 5px;
  line-height: 1.3;
}

.project-desc-text {
  font-size: 12px;
  line-height: 1.45;
  color: #e2e8f0;
  margin: 0 0 6px 0;
  font-weight: 400;
}

.project-programs-tagline {
  margin-top: 2px;
}

.tag-programas-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  max-width: 100%;
}

.btn-card-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #031024;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px 16px;
  border-radius: 9999px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-top: 10px;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.btn-card-action-pill span:last-child {
  transition: transform 0.2s ease;
  font-size: 13px;
  font-weight: 900;
}

.project-card-interactive:hover .btn-card-action-pill {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
  color: #00142e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6);
}

.project-card-interactive:hover .btn-card-action-pill span:last-child {
  transform: translateX(4px);
}

/* Responsividad para tabletas y móviles */
@media (max-width: 1100px) {
  .projects-three-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .project-card-inner {
    width: 60%;
    padding: 14px 14px 16px 8px;
  }
}

@media (max-width: 960px) {
  .projects-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .projects-three-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
    gap: 24px;
  }

  .project-card-interactive {
    min-height: 280px;
  }

  .project-card-inner {
    width: 56%;
    min-height: 280px;
    padding: 18px 20px 18px 10px;
  }
}

@media (max-width: 580px) {
  .project-card-inner {
    width: 64%;
    min-height: 270px;
    padding: 14px 14px 14px 6px;
  }

  .project-title-cluster h3 {
    font-size: 15px;
  }

  .project-desc-text {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .btn-card-action-pill {
    font-size: 11px;
    padding: 5px 14px;
  }
}
/* ========================================================
   FESBO - programas.css
   Fundación Educativa Simón Bolívar
   Programas Destacados (FESBO Becas y FESBO Cuida)
   ======================================================== */

.featured-programs-section {
  padding: 48px 0 58px;
  position: relative;
  background-color: #020f26;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.tema-blanco .featured-programs-section {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.featured-label-pre {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f59e0b;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.featured-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.white-program-card {
  background-color: #ffffff;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 22px;
  padding: 22px 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  color: #334155;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 290px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.white-program-card.card-becas {
  background-image: url('/assets/images/card_fesbo_becas_bg.png?v=76');
}

.white-program-card.card-cuida {
  background-image: url('/assets/images/card_fesbo_cuida_bg.png?v=76');
}

.white-program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.program-left-content {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.program-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.icon-program-square {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.icon-program-square.heart-bg {
  background: #ef4444;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25);
}

.icon-program-square svg {
  width: 17px;
  height: 17px;
}

.program-card-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  color: #002855;
  margin: 0;
}

.program-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 5px;
}

.program-subtitle.cuida-red {
  color: #dc2626;
}

.program-body-p {
  font-size: 10.5px;
  line-height: 1.42;
  color: #64748b;
  margin-bottom: 10px;
}

/* Badges de porcentaje en Becas */
.percentage-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pill-pct {
  background: #dbeafe;
  color: #1e40af;
  font-weight: 800;
  font-size: 9.5px;
  padding: 3px 9px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-pct:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #f59e0b;
}

.pill-pct.active-pct {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #00142e;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
  transform: scale(1.05);
}

/* Iconos de Dotación en Cuida */
.cuida-items-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cuida-item-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 8.5px;
  font-weight: 700;
  color: #475569;
  gap: 2px;
  transition: transform 0.25s ease;
}

.cuida-item-chip:hover {
  transform: translateY(-2px);
}

.cuida-item-chip .emoji-icon {
  font-size: 16px;
}

.program-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-program-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #00142e;
  font-weight: 800;
  font-size: 10.5px;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
}

.btn-program-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.btn-program-outline {
  background: transparent;
  color: #00142e;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 10.5px;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-program-outline:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

.program-art-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  pointer-events: none;
}

.beca-coverage-hint {
  font-size: 9.5px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 10px;
  padding: 4px 8px;
  background: rgba(37, 99, 235, 0.08);
  border-left: 3px solid #2563eb;
  border-radius: 0 6px 6px 0;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .white-program-card {
    grid-template-columns: 1fr;
    background-size: cover;
    background-position: center right;
    min-height: auto;
    padding: 24px 20px;
  }
  .program-left-content {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  .program-art-right {
    display: none;
  }
}

/* ========================================================
   SECCIÓN DE NOTICIAS Y MULTIMEDIA (FESBO)
   ======================================================== */
.news-multimedia-section {
  padding: 60px 0 70px;
  background: var(--bg-surface-alt);
  position: relative;
}

body.tema-blanco .news-multimedia-section {
  background: #f1f5f9;
}

.section-title-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-title-center h2 {
  font-size: 28px;
  color: var(--text-heading);
  margin: 6px 0 10px;
  letter-spacing: -0.01em;
}

.section-title-center .section-pre-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--oro-primario);
  text-transform: uppercase;
}

.section-lead-p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Estilos del Slider de Noticias (FESBO Slider) */
.news-slider-outer {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.news-slider-viewport {
  width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 6px 24px;
  cursor: grab;
}

.news-slider-viewport:active {
  cursor: grabbing;
}

.news-slider-viewport::-webkit-scrollbar {
  display: none;
}

.news-slider-track,
.news-multimedia-grid {
  display: flex !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  align-items: stretch;
  grid-template-columns: none !important;
  will-change: transform;
}

.news-card {
  flex: 0 0 370px;
  max-width: 390px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

@media (min-width: 1200px) {
  .news-card {
    flex: 0 0 calc((1200px - 48px) / 3);
    max-width: 384px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .news-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 320px;
  }
}

@media (max-width: 767px) {
  .news-card {
    flex: 0 0 86vw;
    min-width: 270px;
  }
}

html.has-scroll-fx .news-card {
  opacity: 1 !important;
  visibility: visible !important;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--oro-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

/* Botones Flechas de Navegación del Slider */
.news-slider-btn {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(3, 16, 36, 0.95);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--oro-primario, #f59e0b);
  color: var(--oro-primario, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

.news-slider-btn svg {
  pointer-events: none;
}

.news-slider-btn.prev {
  left: -24px;
}

.news-slider-btn.next {
  right: -24px;
}

@media (max-width: 1340px) {
  .news-slider-btn.prev {
    left: 8px;
  }
  .news-slider-btn.next {
    right: 8px;
  }
}

.news-slider-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #00142e;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.65), 0 0 20px rgba(251, 191, 36, 0.6);
  border-color: #ffffff;
}

.news-slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 900px) {
  .news-slider-btn.prev {
    left: 4px;
  }
  .news-slider-btn.next {
    right: 4px;
  }
}

@media (max-width: 600px) {
  .news-slider-btn {
    width: 40px;
    height: 40px;
  }
}

body.tema-blanco .news-slider-btn {
  background: rgba(255, 255, 255, 0.96);
  border-color: #f59e0b;
  color: #b45309;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), 0 0 12px rgba(245, 158, 11, 0.25);
}

body.tema-blanco .news-slider-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

/* Indicadores / Paginación del Slider */
.news-slider-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.news-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.tema-blanco .news-dot {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(0, 0, 0, 0.08);
}

.news-dot:hover {
  background: rgba(245, 158, 11, 0.6);
  transform: scale(1.2);
}

.news-dot.active {
  width: 30px;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.65);
}

/* Barra de progreso de Autoplay */
.news-slider-progress-bar {
  width: 140px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

body.tema-blanco .news-slider-progress-bar {
  background: rgba(0, 0, 0, 0.1);
}

.news-slider-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
  transition: width 0.08s linear;
}

.news-card-image-box {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.news-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-image-box img {
  transform: scale(1.05);
}

.news-card-video-box {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.news-card-video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 20, 46, 0.85);
  color: var(--oro-primario);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-tag-badge.youtube-pill {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.news-tag-badge.comunidad-pill {
  background: rgba(6, 78, 59, 0.9);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.4);
}

.news-tag-badge.evento-pill {
  background: rgba(30, 58, 138, 0.9);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.4);
}

.news-tag-badge.logro-pill {
  background: rgba(88, 28, 135, 0.9);
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.4);
}

.news-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-card-desc {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-news-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #031024;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px 16px;
  border-radius: 9999px;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.02em;
}

.btn-news-action-pill span:last-child {
  transition: transform 0.2s ease;
  font-size: 13px;
  font-weight: 900;
}

.news-card:hover .btn-news-action-pill {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
  color: #00142e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
}

.news-card:hover .btn-news-action-pill span:last-child {
  transform: translateX(4px);
}


/* ========================================================
   FESBO - banner.css
   Fundación Educativa Simón Bolívar
   Banner Con Tu Apoyo / Alianzas
   Fidelidad total con fondo5.png y boceto oficial
   ======================================================== */

.support-banner-section {
  background: linear-gradient(90deg, #02122d 0%, #031c46 50%, #02122d 100%);
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  position: relative;
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.tema-blanco .support-banner-section {
  background: linear-gradient(90deg, #f0f7ff 0%, #e0f2fe 50%, #f0f7ff 100%);
  border-top: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
  color: #0f172a;
}

body.tema-blanco .support-text-stack h3 {
  color: #00142e;
}

body.tema-blanco .support-text-stack p {
  color: #334155;
}

.support-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Cluster Izquierdo: Icono Apretón de manos + Textos */
.support-left-cluster {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}

.support-handshake-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-handshake-img {
  width: 78px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.35));
  transition: transform 0.35s ease;
}

.support-banner-section:hover .support-handshake-img {
  transform: scale(1.06);
}

.support-text-stack {
  display: flex;
  flex-direction: column;
}

.support-text-stack .support-pre {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f59e0b;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.support-text-stack h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.support-text-stack p {
  font-size: 13.5px;
  line-height: 1.48;
  color: #94a3b8;
  max-width: 680px;
  margin: 0;
}

/* Cluster Derecho: Botón CTA Dorado/Naranja + Hojas Verdes */
.support-right-action {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
}

.btn-aliado-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #00122e;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 32px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-aliado-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 38px rgba(245, 158, 11, 0.65);
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  color: #000c1e;
}

.support-leaf-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.support-leaf-img {
  width: 70px;
  height: auto;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.support-banner-section:hover .support-leaf-decor {
  transform: rotate(5deg) scale(1.06);
}

/* Responsive */
@media (max-width: 992px) {
  .support-banner-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .support-right-action {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .support-left-cluster {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .support-handshake-img {
    width: 62px;
  }

  .btn-aliado-gold {
    font-size: 13.5px;
    padding: 11px 24px;
  }

  .support-leaf-img {
    width: 56px;
  }
}
/* ========================================================
   FESBO - footer.css
   Fundación Educativa Simón Bolívar
   ======================================================== */

/*
 * footer.css - Footer oficial y enlaces institucionales
 * Fundación Educativa Simón Bolívar (FESBO)
 */

.footer-official-section {
      background: #020b18;
      color: #94a3b8;
      padding: 56px 0 28px;
      border-top: 1px solid var(--border-subtle);
    }

    .footer-columns-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1.3fr 1.3fr;
      gap: 36px;
      margin-bottom: 40px;
    }

    .footer-col h4 {
      font-family: 'Cinzel', serif;
      font-size: 13px;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: 0.06em;
      margin-bottom: 16px;
      text-transform: uppercase;
    }

    .footer-links-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .footer-links-list a {
      color: #94a3b8;
      text-decoration: none;
      font-size: 12.5px;
      transition: color 0.2s ease;
    }

    .footer-links-list a:hover {
      color: var(--oro-primario);
    }

    .contact-item-row {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12.5px;
      color: #94a3b8;
      margin-bottom: 10px;
    }

    .contact-item-row a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .contact-item-row a:hover {
      color: var(--oro-primario);
    }

    .social-icons-cluster {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 16px;
    }

    .btn-social-circle {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    .btn-social-circle:hover {
      background: var(--oro-primario);
      color: #00142e;
      transform: translateY(-2px);
    }

    .footer-quote-editorial {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      text-align: right;
      border-left: 1px solid rgba(255, 255, 255, 0.12);
      padding-left: 28px;
    }

    .quote-editorial-text {
      font-family: 'Caveat', cursive;
      font-size: 27px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.25;
      display: block;
    }

    .gold-swoosh-underline {
      margin-top: 8px;
      stroke: #f59e0b;
      stroke-width: 4.5;
      stroke-linecap: round;
      fill: none;
    }

    .footer-bottom-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11.5px;
      color: #64748b;
      flex-wrap: wrap;
      gap: 14px;
    }

    .footer-legal-links {
      display: flex;
      gap: 18px;
    }

    .footer-legal-links a {
      color: #64748b;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .footer-legal-links a:hover {
      color: var(--oro-primario);
    }
/* ========================================================
   FESBO - modals.css
   Fundación Educativa Simón Bolívar
   ======================================================== */

/*
 * modals.css - Modales interactivos, búsqueda y notificaciones
 * Fundación Educativa Simón Bolívar (FESBO)
 */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  padding: 24px 28px 20px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.active .modal-dialog-box {
  transform: scale(1);
}

/* Área de contenido con scroll interno fluido */
.modal-dialog-scroll-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding-right: 8px;
  margin-top: 8px;
  margin-bottom: 12px;
  overscroll-behavior: contain;
}

.modal-dialog-scroll-body::-webkit-scrollbar {
  width: 6px;
}
.modal-dialog-scroll-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.modal-dialog-scroll-body::-webkit-scrollbar-thumb {
  background: var(--oro-primario, #f59e0b);
  border-radius: 4px;
}

/* Botón 'X' de cierre flotante y siempre visible */
.btn-close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle, rgba(255, 255, 255, 0.2));
  background: var(--bg-surface-elevated, rgba(6, 25, 51, 0.95));
  color: var(--text-heading, #ffffff);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  z-index: 60;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-close-modal:hover {
  color: #00142e;
  background: var(--oro-primario, #f59e0b);
  border-color: var(--oro-primario, #f59e0b);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* Pie de modal con botón de cierre fijo */
.modal-dialog-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  flex-shrink: 0;
  margin-top: auto;
}

/* Estilos para Tema Blanco */
body.tema-blanco .modal-dialog-box {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

body.tema-blanco .modal-dialog-scroll-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

body.tema-blanco .btn-close-modal {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

body.tema-blanco .btn-close-modal:hover {
  background: var(--oro-primario, #f59e0b);
  color: #ffffff;
  border-color: var(--oro-primario, #f59e0b);
}

body.tema-blanco .modal-dialog-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

    /* Drawer de Menú Móvil */
    .drawer-mobile-menu {
      position: fixed;
      top: 0;
      right: -320px;
      width: 300px;
      height: 100vh;
      background: var(--bg-surface);
      z-index: 2100;
      box-shadow: -8px 0 25px rgba(0, 0, 0, 0.25);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .drawer-mobile-menu.active {
      right: 0;
    }

    /* Barra Flotante de Accesibilidad Rápida (Removida a solicitud) */
    .quick-access-dock {
      display: none !important;
    }

    .dock-btn {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: none;
      background: transparent;
      color: var(--text-heading);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      transition: all 0.2s ease;
    }

    .dock-btn:hover {
      color: var(--oro-primario);
      transform: scale(1.12);
    }
/* ========================================================
   FESBO - animations.css
   Fundación Educativa Simón Bolívar
   Sistema Integral de Animaciones Altamente Llamativas, Intuitivas,
   Dinámicas y Profesionales para Toda la Página y Todos los Botones
   ======================================================== */

/* ========================================================
   0. BARRA DE PROGRESO DE LECTURA GLOBAL (Top Scroll Indicator)
   ======================================================== */
#fesboScrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
  transform-origin: 0% 50%;
  transform: scaleX(0);
  z-index: 100005;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.9), 0 0 4px #fbbf24;
  transition: transform 0.08s linear;
}

/* ========================================================
   1. BOTÓN FLOTANTE "VOLVER ARRIBA" (Scroll To Top)
   ======================================================== */
#btnScrollToTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #00142e;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.6);
  cursor: pointer;
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.8);
  transition: opacity 0.35s ease,
              visibility 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

#btnScrollToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: floatBtnScroll 3.2s ease-in-out infinite;
}

@keyframes floatBtnScroll {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.6);
  }
  50% {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 28px rgba(245, 158, 11, 0.85);
  }
}

#btnScrollToTop:hover {
  transform: translateY(-8px) scale(1.18) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 1) !important;
}

#btnScrollToTop:active {
  transform: scale(0.92) !important;
}

/* ========================================================
   2. POLVO ESTELAR Y PARTÍCULAS AMBIENTALES DEL HERO
   ======================================================== */
#heroParticlesCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ========================================================
   3. ANIMACIONES DE ENTRADA AL SCROLL (Cinemáticas y Llamativas)
   ======================================================== */
.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1),
              filter 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: opacity, transform;
}

html.has-scroll-fx .reveal-item:not(.is-revealed) {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.reveal-item.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Variantes direccionales dinámicas */
html.has-scroll-fx .reveal-slide-left:not(.is-revealed) {
  opacity: 0;
  transform: translateX(-65px) scale(0.95);
}
.reveal-slide-left.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
}

html.has-scroll-fx .reveal-slide-right:not(.is-revealed) {
  opacity: 0;
  transform: translateX(65px) scale(0.95);
}
.reveal-slide-right.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
}

html.has-scroll-fx .reveal-zoom-in:not(.is-revealed) {
  opacity: 0;
  transform: scale(0.88) translateY(35px);
}
.reveal-zoom-in.is-revealed {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

html.has-scroll-fx .reveal-card-3d:not(.is-revealed) {
  opacity: 0;
  transform: perspective(1000px) rotateX(18deg) translateY(60px) scale(0.92);
}
.reveal-card-3d.is-revealed {
  opacity: 1 !important;
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1) !important;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Transición suave para cambio entre Tema Blanco y Modo Noche */
body, 
.header-institutional, 
.hero-section-wrapper, 
.about-purpose-section, 
.projects-section-wrapper, 
.featured-programs-section, 
.support-banner-section, 
.site-footer-wrapper,
.values-unified-bar,
.nav-link-btn,
.btn-action-icon {
  transition: background-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              color 0.35s ease, 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
}

/* ========================================================
   4. SISTEMA DE BOTONES ALTAMENTE LLAMATIVOS Y DINÁMICOS
   ======================================================== */

/* A. Pulso y Respiración Viva en Botones Principales */
@keyframes ctaLivingGlowBold {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4), 0 0 12px rgba(251, 191, 36, 0.3);
    border-color: rgba(251, 191, 36, 0.6);
  }
  50% {
    box-shadow: 0 10px 32px rgba(245, 158, 11, 0.75), 0 0 22px rgba(251, 191, 36, 0.65);
    border-color: rgba(255, 255, 255, 0.9);
  }
}

.btn-hero-primary,
.btn-cta-unete,
.btn-aliado-gold,
.btn-program-gold {
  animation: ctaLivingGlowBold 3.2s ease-in-out infinite;
  cursor: pointer;
}

/* B. Destello / Haz de Luz Continuo que Cruza los Botones */
@keyframes glintBeamTravelBold {
  0% { left: -140%; }
  30% { left: 240%; }
  100% { left: 240%; }
}

.btn-hero-primary,
.btn-cta-unete,
.btn-aliado-gold,
.btn-program-gold {
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after,
.btn-cta-unete::after,
.btn-aliado-gold::after,
.btn-program-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: glintBeamTravelBold 3.6s ease-in-out infinite;
  pointer-events: none;
}

/* C. Elevación y Físicas Magnéticas en Hover para Botones */
.btn-hero-primary:hover,
.btn-cta-unete:hover,
.btn-aliado-gold:hover,
.btn-program-gold:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.65), 0 0 24px rgba(251, 191, 36, 0.65) !important;
}

.btn-hero-secondary:hover {
  transform: translateY(-3.5px) scale(1.03);
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35) !important;
}

/* D. Salto Elástico Pronunciado en Flechas al Hover (→) */
.btn-arrow,
.btn-cta-unete span:last-child,
.btn-hero-primary .btn-arrow,
.link-all-projects-btn span:last-child,
.btn-program-gold span:last-child,
.btn-aliado-gold span:last-child,
.btn-card-action-pill span:last-child,
.about-left-editorial .btn-hero-primary span:last-child {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cta-unete:hover span:last-child,
.btn-hero-primary:hover .btn-arrow,
.link-all-projects-btn:hover span:last-child,
.btn-program-gold:hover span:last-child,
.btn-aliado-gold:hover span:last-child,
.btn-card-action-pill:hover span:last-child,
.about-left-editorial .btn-hero-primary:hover span:last-child {
  transform: translateX(8px) scale(1.28);
}

/* E. Feedback Táctil al Clic / Pulsación (:active) en TODOS los botones */
button:active,
.btn-hero-primary:active,
.btn-hero-secondary:active,
.btn-cta-unete:active,
.btn-program-gold:active,
.btn-aliado-gold:active,
.btn-card-action-pill:active,
.link-all-projects-btn:active,
.pill-pct:active,
.light-preset-chip:active,
.btn-action-icon:active,
.btn-menu-burger:active,
.btn-social-circle:active,
.instruction-3d-pill:active {
  transform: scale(0.93) translateY(2px) !important;
  transition: transform 0.08s ease-out !important;
}

/* F. Efecto Onda Luminosa al Clic (Ripple) */
.btn-click-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 65%, transparent 100%);
  transform: translate(-50%, -50%) scale(0);
  width: 150px;
  height: 150px;
  animation: btnRippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes btnRippleAnim {
  to {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* G. Botones de Acción de Cabecera (Tema Blanco/Noche y Búsqueda) */
.btn-action-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.btn-action-icon:hover {
  transform: scale(1.18) rotate(12deg);
  border-color: #f59e0b !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
}

#btnToggleTheme:hover #themeIcon {
  display: inline-block;
  transform: rotate(360deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* H. Botón de Instrucción 3D (Tócame para girar rápido) */
.instruction-3d-pill {
  animation: pillBouncePulse 2.4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  cursor: pointer;
}

@keyframes pillBouncePulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 10px 32px rgba(245, 158, 11, 0.85), 0 0 20px rgba(251, 191, 36, 0.6);
  }
}

.instruction-3d-pill:hover {
  transform: translateY(-6px) scale(1.1) !important;
  box-shadow: 0 14px 40px rgba(245, 158, 11, 1) !important;
}

/* I. Botones Chips de Iluminación 3D (Oro, Azul, Solar, Sonido) */
.light-preset-chip {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease,
              box-shadow 0.25s ease;
}

.light-preset-chip:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: #f59e0b !important;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.light-preset-chip.active {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.7);
}

/* ========================================================
   5. HEADER & NAVEGACIÓN INSTITUCIONAL
   ======================================================== */
@keyframes headerEntranceAnim {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-institutional {
  animation: headerEntranceAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-link-btn {
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link-btn:hover {
  transform: translateY(-2px);
}

.nav-link-btn::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0%;
  height: 2.4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  pointer-events: none;
}

.nav-link-btn:hover::after,
.nav-link-btn.active::after {
  width: 80%;
  left: 10%;
}

.brand-cluster:hover .brand-logo-img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.55));
}

/* ========================================================
   6. HERO SECTION: MOVIMIENTO CONTINUO Y GUÍA INTUITIVA
   ======================================================== */
@keyframes heroBadgePop {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.9);
  }
  70% {
    transform: translateY(3px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTitleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left-editorial .hero-badge-pill {
  animation: heroBadgePop 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
             badgeFloatingGentle 4.2s ease-in-out infinite 1.2s;
}

@keyframes badgeFloatingGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-left-editorial .hero-main-title {
  animation: heroTitleFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-left-editorial .hero-editorial-lead {
  animation: heroTitleFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.hero-left-editorial .hero-cta-group {
  animation: heroTitleFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

/* Indicador de Desplazamiento Intuitivo en Hero */
.hero-scroll-hint {
  margin-top: 24px;
  animation: heroTitleFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(0, 20, 46, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

body.tema-blanco .hero-scroll-link {
  color: #00142e;
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.hero-scroll-link:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25);
}

.mouse-pill-shape {
  width: 16px;
  height: 24px;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  position: relative;
  display: inline-block;
}

.mouse-dot-scroll {
  width: 4px;
  height: 4px;
  background: #f59e0b;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 4px;
  animation: mouseDotScrollAnim 1.8s ease-in-out infinite;
}

@keyframes mouseDotScrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(9px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-arrow-bounce {
  display: inline-block;
  font-weight: 900;
  color: #f59e0b;
  animation: arrowBounceVertical 1.6s ease-in-out infinite;
}

@keyframes arrowBounceVertical {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Texto dorado con flujo dinámico de oro líquido */
@keyframes goldGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gold-gradient-text {
  background-size: 200% auto !important;
  animation: goldGradientFlow 4.5s ease-in-out infinite !important;
}

/* Flotación levitante del escenario 3D */
@keyframes floatShieldSubtle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.8deg);
  }
}

.float-shield-anim {
  animation: floatShieldSubtle 4.2s ease-in-out infinite;
}

/* Pulso dorado y respiración suave para halos */
@keyframes goldBreatheGlow {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 12px 38px rgba(245, 158, 11, 0.7), 0 0 20px rgba(251, 191, 36, 0.4);
    border-color: rgba(245, 158, 11, 1);
  }
}

.pulse-gold-glow {
  animation: goldBreatheGlow 3.2s ease-in-out infinite;
}

/* Onda de Choque Dorada al Clic en Escudo */
.shield-shockwave-ring {
  position: fixed;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border-radius: 50%;
  border: 3px solid #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.8), inset 0 0 15px rgba(251, 191, 36, 0.6);
  pointer-events: none;
  z-index: 99998;
  animation: shieldShockwaveAnim 0.85s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes shieldShockwaveAnim {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(28);
    opacity: 0;
  }
}

/* Toast Notificación Interactiva FESBO */
#fesboInteractiveToast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: rgba(3, 13, 29, 0.94);
  color: #fbbf24;
  border: 1.5px solid #f59e0b;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

#fesboInteractiveToast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========================================================
   7. VALORES PILARES (Amor, Respeto, Honestidad)
   Movimiento continuo escalonado de iconos y físicas hover
   ======================================================== */
.values-unified-bar {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.values-column {
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.values-column:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(245, 158, 11, 0.7) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), 0 0 24px rgba(245, 158, 11, 0.3) !important;
}

/* Movimiento continuo de flotación en los iconos de valores */
@keyframes pillarIdleFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.06);
  }
}

.values-column:nth-child(1) .pillar-svg-box {
  animation: pillarIdleFloat 3.8s ease-in-out infinite 0s;
}

.values-column:nth-child(2) .pillar-svg-box {
  animation: pillarIdleFloat 3.8s ease-in-out infinite 0.7s;
}

.values-column:nth-child(3) .pillar-svg-box {
  animation: pillarIdleFloat 3.8s ease-in-out infinite 1.4s;
}

.values-column .pillar-svg-box {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s ease;
}

.values-column:hover .pillar-svg-box {
  transform: scale(1.22) rotate(5deg) !important;
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.85)) !important;
}

.values-column h4 {
  transition: color 0.3s ease;
}

.values-column:hover h4 {
  color: #fbbf24 !important;
}

/* ========================================================
   8. QUIÉNES SOMOS & PROPÓSITO INSTITUCIONAL
   Mini-tarjetas flotantes, oscilación de cita y trazo dorado
   ======================================================== */
.purpose-mini-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  border-radius: 14px;
}

.purpose-mini-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 40, 85, 0.14);
}

/* Flotación continua de iconos en mini-cards */
@keyframes miniIconFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.08);
  }
}

.purpose-mini-card:nth-child(1) .purpose-mini-icon {
  animation: miniIconFloat 4s ease-in-out infinite 0s;
}

.purpose-mini-card:nth-child(2) .purpose-mini-icon {
  animation: miniIconFloat 4s ease-in-out infinite 0.8s;
}

.purpose-mini-card:nth-child(3) .purpose-mini-icon {
  animation: miniIconFloat 4s ease-in-out infinite 1.6s;
}

.purpose-mini-card .purpose-mini-icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s ease;
}

.purpose-mini-card:hover .purpose-mini-icon {
  transform: scale(1.22) rotate(8deg) !important;
  filter: drop-shadow(0 4px 14px rgba(0, 40, 85, 0.35)) !important;
}

body.tema-blanco .purpose-mini-card:hover .purpose-mini-icon {
  filter: drop-shadow(0 4px 14px rgba(245, 158, 11, 0.6)) !important;
}

/* Oscilación suave continua de la cita inspiradora */
@keyframes quoteGentleSway {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(1.2deg);
  }
}

.quote-cursive-text {
  display: inline-block;
  animation: quoteGentleSway 5s ease-in-out infinite;
  transform-origin: center center;
}

/* Dibujo animado dinámico del trazo dorado en la cita */
.quote-gold-stroke path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.is-revealed .quote-gold-stroke path,
.quote-banner-callout:hover .quote-gold-stroke path {
  stroke-dashoffset: 0;
}

@keyframes strokeGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.35)); }
  50% { filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.85)); }
}

.quote-gold-stroke {
  animation: strokeGlowPulse 3s ease-in-out infinite;
}

.quote-banner-callout {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.quote-banner-callout:hover {
  transform: translateY(-6px) scale(1.03);
}

/* ========================================================
   9. NUESTROS PROYECTOS (Educa, Crece, Comunidad)
   Efecto de elevación profunda 12px, foco especular y colores vivos
   ======================================================== */
.project-card-interactive {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Resplandor especular dinámico que sigue el cursor del ratón con alta visibilidad */
.project-card-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.28),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 4;
}

.project-card-interactive:hover::before {
  opacity: 1;
}

.project-card-interactive:hover {
  transform: translateY(-12px) scale(1.025);
}

.project-card-interactive.card-educa:hover {
  border-color: rgba(56, 189, 248, 1) !important;
  box-shadow: 0 20px 48px rgba(14, 165, 233, 0.45), 0 0 24px rgba(56, 189, 248, 0.4) !important;
}

.project-card-interactive.card-crece:hover {
  border-color: rgba(52, 211, 153, 1) !important;
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.45), 0 0 24px rgba(52, 211, 153, 0.4) !important;
}

.project-card-interactive.card-comunidad:hover {
  border-color: rgba(251, 191, 36, 1) !important;
  box-shadow: 0 20px 48px rgba(245, 158, 11, 0.45), 0 0 24px rgba(251, 191, 36, 0.4) !important;
}

/* Flotación continua de los iconos en los proyectos */
@keyframes projectSvgFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}

.card-educa .project-svg-icon {
  animation: projectSvgFloat 3.8s ease-in-out infinite 0s;
}

.card-crece .project-svg-icon {
  animation: projectSvgFloat 3.8s ease-in-out infinite 0.7s;
}

.card-comunidad .project-svg-icon {
  animation: projectSvgFloat 3.8s ease-in-out infinite 1.4s;
}

.project-card-interactive .project-svg-icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s ease;
}

.project-card-interactive:hover .project-svg-icon {
  transform: scale(1.24) rotate(7deg) !important;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.9)) !important;
}

/* Nudge continuo dinámico en la flecha de la tarjeta */
@keyframes arrowNudgeContinuous {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.project-card-interactive .btn-card-action-pill span:last-child {
  animation: arrowNudgeContinuous 2s ease-in-out infinite;
}

.project-card-interactive .btn-card-action-pill {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}

.project-card-interactive:hover .btn-card-action-pill {
  transform: translateX(4px);
  background: rgba(245, 158, 11, 0.28);
  color: #fbbf24;
  border-color: #f59e0b;
}

.project-card-interactive:hover .btn-card-action-pill span:last-child {
  transform: translateX(8px) scale(1.25) !important;
}

/* ========================================================
   10. PROGRAMAS DESTACADOS: BARRA DINÁMICA INTERACTIVA, LATIDO Y CHIPS
   ======================================================== */
.white-program-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.white-program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.8) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4) !important;
}

/* Barra de Progreso Interactiva Animada en FESBO BECAS */
.beca-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  margin: 12px 0 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

body.tema-blanco .beca-progress-track {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.beca-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #f59e0b 100%);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.beca-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: progressShine 2.2s linear infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Flotación continua del icono del libro en Becas */
@keyframes becasIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(5deg); }
}

.card-becas .icon-program-square {
  animation: becasIconFloat 3.8s ease-in-out infinite;
}

/* Latido continuo rítmico del corazón en Cuida */
@keyframes cuidaHeartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.16); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  56% { transform: scale(1); }
}

.card-cuida .icon-program-square.heart-bg {
  animation: cuidaHeartBeat 1.8s ease-in-out infinite;
}

/* Chips de FESBO Cuida con flotación desfasada continua */
@keyframes chipIdleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.cuida-item-chip:nth-child(1) { animation: chipIdleFloat 3.4s ease-in-out infinite 0s; }
.cuida-item-chip:nth-child(2) { animation: chipIdleFloat 3.4s ease-in-out infinite 0.4s; }
.cuida-item-chip:nth-child(3) { animation: chipIdleFloat 3.4s ease-in-out infinite 0.8s; }
.cuida-item-chip:nth-child(4) { animation: chipIdleFloat 3.4s ease-in-out infinite 1.2s; }

.cuida-item-chip {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  cursor: default;
}

.cuida-item-chip:hover {
  transform: translateY(-6px) scale(1.1) !important;
  border-color: #ef4444;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.3);
}

.cuida-item-chip:hover .emoji-icon {
  display: inline-block;
  animation: emojiWiggle 0.5s ease-in-out;
}

@keyframes emojiWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg) scale(1.22); }
  75% { transform: rotate(15deg) scale(1.22); }
}

/* Botones de porcentaje de becas */
.pill-pct {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
  cursor: pointer;
}

.pill-pct:hover {
  transform: scale(1.15) translateY(-3px);
}

@keyframes activePillPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(37, 99, 235, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 24px rgba(37, 99, 235, 0.85); transform: scale(1.06); }
}

.pill-pct.active-pct {
  animation: activePillPulse 2.6s ease-in-out infinite;
}

@keyframes textCoveragePop {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-pop {
  animation: textCoveragePop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========================================================
   11. BANNER CON TU APOYO / ALIANZAS
   Onda de choque continua en apretón de manos y viento en hojas
   ======================================================== */
@keyframes pulseAuraRingContinuous {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6), 0 0 15px rgba(245, 158, 11, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(245, 158, 11, 0), 0 0 30px rgba(245, 158, 11, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0), 0 0 15px rgba(245, 158, 11, 0.4);
  }
}

.support-handshake-icon {
  border-radius: 50%;
  animation: pulseAuraRingContinuous 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes floatLeavesPro {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) translateX(4px) rotate(3.5deg);
  }
  66% {
    transform: translateY(-5px) translateX(-3px) rotate(-2.5deg);
  }
}

.leaves-floating {
  animation: floatLeavesPro 5.8s ease-in-out infinite;
  transform-origin: center bottom;
}

.support-banner-section:hover .support-handshake-img {
  transform: scale(1.16) rotate(-3deg);
  filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.85));
}

/* ========================================================
   12. FOOTER INSTITUCIONAL OFICIAL
   Flotación continua de redes y pulso en subrayado
   ======================================================== */
.footer-links-list li a {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  transform: translateX(8px);
  color: #fbbf24 !important;
}

/* Flotación desfasada continua en iconos de redes sociales */
@keyframes socialFloatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.btn-social-circle:nth-child(1) { animation: socialFloatBob 3.8s ease-in-out infinite 0s; }
.btn-social-circle:nth-child(2) { animation: socialFloatBob 3.8s ease-in-out infinite 0.5s; }
.btn-social-circle:nth-child(3) { animation: socialFloatBob 3.8s ease-in-out infinite 1s; }

.btn-social-circle {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-social-circle:hover {
  transform: translateY(-8px) scale(1.28) !important;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.6) !important;
}

.gold-swoosh-underline path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.is-revealed .gold-swoosh-underline path,
.footer-official-section:hover .gold-swoosh-underline path {
  stroke-dashoffset: 0;
}

.gold-swoosh-underline {
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
  animation: strokeGlowPulse 3.5s ease-in-out infinite;
}

/* ========================================================
   13. PREFERENCIAS DE MOVIMIENTO REDUCIDO
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-item,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-zoom-in,
  .reveal-card-3d {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ========================================================
   FESBO - responsive.css
   Fundación Educativa Simón Bolívar
   Ajustes responsive exclusivos para tablets y celulares
   ======================================================== */

/* Tabletas medianas y pantallas pequeñas (<= 1024px) */
@media (max-width: 1024px) {
  .hero-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .featured-two-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1140px) {
  .nav-links-desktop {
    gap: 8px;
  }
  .nav-link-btn {
    font-size: 11.5px;
    padding: 4px 2px;
  }
  .btn-nav-login span {
    display: none;
  }
  .btn-nav-login {
    padding: 7px;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
}

/* Tabletas verticales y móviles (<= 960px) */
@media (max-width: 960px) {
  .nav-links-desktop,
  .btn-cta-unete {
    display: none !important;
  }
  .btn-menu-burger {
    display: flex !important;
  }
  .hero-section-wrapper {
    min-height: auto;
    height: auto !important;
    padding: 36px 0 28px;
    align-items: flex-start !important;
  }
  .hero-content-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
    text-align: center;
    height: auto !important;
    justify-content: flex-start !important;
    align-items: center;
  }
  .hero-left-editorial {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-right-3d-stage {
    align-items: center;
    padding-left: 0;
    margin-top: 10px;
  }
  .hero-photo-bg {
    opacity: 0.35;
  }

  /* Sección de Proyectos: 1 columna en tablet/móvil */
  .projects-header-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .projects-three-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    max-width: 580px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .project-card-interactive {
    width: 100% !important;
    min-height: 290px !important;
  }
  .project-card-inner {
    width: 60% !important;
    min-height: 290px !important;
    padding: 18px 18px 18px 10px !important;
  }

  .values-unified-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  .values-column {
    padding: 8px 6px !important;
    gap: 14px !important;
  }
  .values-column:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 12px !important;
  }

  .about-purpose-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  .about-right-cards-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .purpose-mini-card {
    width: 100% !important;
  }

  .support-banner-grid {
    flex-direction: column !important;
    text-align: center !important;
  }
  .support-left-cluster {
    flex-direction: column !important;
    align-items: center !important;
  }
  .support-right-action {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* ========================================================
   AJUSTES EXCLUSIVOS PARA SMARTPHONES / CELULARES (<= 768px)
   ======================================================== */
@media (max-width: 768px) {
  .container-fesbo {
    padding: 0 12px !important;
  }

  /* Header móvil compacto - evita que el menú hamburguesa se salga */
  .header-institutional {
    padding: 0 !important;
    overflow: hidden !important;
  }
  .nav-inner-container {
    height: 60px !important;
    gap: 4px !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .brand-cluster {
    gap: 7px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }
  .brand-text-stack {
    min-width: 0 !important;
  }
  .brand-title-main {
    font-size: 10px !important;
    white-space: nowrap !important;
  }
  .brand-title-bold {
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  .brand-motto-row {
    display: none !important;
  }
  .nav-actions-cluster {
    gap: 4px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .btn-action-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  .btn-nav-login {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    justify-content: center !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }
  .btn-nav-login span {
    display: none !important;
  }
  .btn-nav-login svg {
    width: 13px !important;
    height: 13px !important;
  }
  .btn-menu-burger {
    width: 34px !important;
    height: 34px !important;
    font-size: 17px !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hero section móvil */
  .hero-section-wrapper {
    padding: 24px 0 20px !important;
  }
  .hero-badge-pill {
    font-size: 9.5px !important;
    padding: 3px 10px !important;
    margin-bottom: 10px !important;
  }
  .hero-main-title {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.16 !important;
    margin-bottom: 12px !important;
  }
  .hero-editorial-lead {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 0 4px !important;
    margin-bottom: 18px !important;
  }
  .hero-cta-group {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-secondary {
    font-size: 12px !important;
    padding: 9px 16px !important;
    flex: 1 1 auto !important;
    max-width: 200px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hero-scroll-hint {
    margin-top: 14px !important;
  }

  /* Escenario 3D en móvil */
  .hero-shield-3d-stage {
    margin-top: 16px !important;
  }
  #heroThreeCanvas {
    width: 200px !important;
    height: 200px !important;
  }
  .instruction-3d-pill {
    font-size: 10px !important;
    padding: 4px 12px !important;
  }
  .shield-controls-bar {
    gap: 4px !important;
  }
  .light-preset-chip {
    font-size: 9px !important;
    padding: 3px 7px !important;
  }

  /* Valores Pilares en móvil */
  .values-unified-bar {
    margin-top: 22px !important;
    border-radius: 14px !important;
    padding: 12px !important;
  }
  .pillar-svg-box {
    width: 38px !important;
    height: 38px !important;
  }
  .pillar-text-content h4 {
    font-size: 13.5px !important;
  }
  .pillar-text-content p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  /* Quiénes somos en móvil */
  .about-purpose-section {
    padding: 42px 0 !important;
  }
  .about-left-editorial h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .about-left-editorial p {
    font-size: 13px !important;
  }
  .quote-cursive-text {
    font-size: 24px !important;
  }

  /* ========================================================
     TARJETAS DE PROYECTOS EN CELULAR (1 COLUMNA COMPLETA)
     ======================================================== */
  .projects-section-wrapper {
    padding: 46px 0 54px !important;
  }
  .projects-header-left h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .projects-three-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .project-card-interactive {
    width: 100% !important;
    min-height: 290px !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    background-size: cover !important;
    background-position: left center !important;
  }
  .project-card-inner {
    width: 66% !important;
    min-height: 290px !important;
    padding: 16px 14px 16px 8px !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }
  .project-icon-and-title {
    gap: 8px !important;
  }
  .project-title-cluster h3 {
    font-size: 16px !important;
    letter-spacing: 0.02em !important;
    white-space: normal !important;
  }
  .project-sub-label {
    font-size: 11.5px !important;
    margin: 2px 0 4px !important;
  }
  .project-desc-text {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
  .tag-programas-count {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }
  .btn-card-action-pill {
    font-size: 12px !important;
    padding: 6px 16px !important;
    margin-top: 8px !important;
  }

  /* Gradientes reforzados para máxima legibilidad */
  .card-educa .project-card-inner {
    background: linear-gradient(90deg, rgba(2, 26, 62, 0) 0%, rgba(2, 26, 62, 0.65) 15%, rgba(2, 26, 62, 0.96) 100%) !important;
  }
  .card-crece .project-card-inner {
    background: linear-gradient(90deg, rgba(2, 35, 28, 0) 0%, rgba(2, 35, 28, 0.65) 15%, rgba(2, 35, 28, 0.96) 100%) !important;
  }
  .card-comunidad .project-card-inner {
    background: linear-gradient(90deg, rgba(45, 26, 4, 0) 0%, rgba(45, 26, 4, 0.65) 15%, rgba(45, 26, 4, 0.96) 100%) !important;
  }

  /* ========================================================
     PROGRAMAS DESTACADOS EN MÓVIL (TARJETAS BLANCAS Y NÍTIDAS)
     ======================================================== */
  .featured-programs-section {
    padding: 40px 0 !important;
  }
  .featured-two-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }
  .white-program-card {
    display: flex !important;
    flex-direction: column !important;
    background-color: #ffffff !important;
    background-image: none !important; /* Elimina la foto de fondo borrosa */
    min-height: auto !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
  }
  .white-program-card.card-becas {
    border-top: 4px solid #2563eb !important;
  }
  .white-program-card.card-cuida {
    border-top: 4px solid #ef4444 !important;
  }
  .program-left-content {
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .program-art-right {
    display: none !important;
  }
  .program-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
  }
  .icon-program-square {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }
  .icon-program-square svg {
    width: 20px !important;
    height: 20px !important;
  }
  .program-card-header h3 {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #002855 !important;
    margin: 0 !important;
  }
  .program-subtitle {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e40af !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  .program-subtitle.cuida-red {
    color: #dc2626 !important;
  }
  .program-body-p {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    margin-bottom: 12px !important;
  }
  .percentage-badges-row {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
  }
  .pill-pct {
    font-size: 11.5px !important;
    padding: 5px 12px !important;
    border-radius: 9999px !important;
    font-weight: 800 !important;
  }
  .beca-progress-track {
    height: 7px !important;
    margin-bottom: 12px !important;
    border-radius: 9999px !important;
    background: #e2e8f0 !important;
  }
  .beca-coverage-hint {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: #1e40af !important;
    background: #eff6ff !important;
    border-left: 3.5px solid #2563eb !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 8px 12px !important;
    margin-bottom: 14px !important;
    font-weight: 600 !important;
  }
  .cuida-items-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
  }
  .cuida-item-chip {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 8px 4px !important;
    font-size: 10.5px !important;
    color: #334155 !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .cuida-item-chip .emoji-icon {
    font-size: 20px !important;
  }
  .program-action-btns {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-top: 4px !important;
  }
  .btn-program-gold {
    font-size: 12.5px !important;
    padding: 9px 18px !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
  }
  .btn-program-outline {
    font-size: 11.5px !important;
    padding: 8px 14px !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 700 !important;
  }

  /* Noticias en móvil */
  .news-multimedia-section {
    padding: 40px 0 !important;
  }
  .section-title-center h2 {
    font-size: 23px !important;
  }
  .news-card-title {
    font-size: 15px !important;
  }

  /* Alianzas y Footer en móvil */
  .support-banner-section {
    padding: 30px 0 !important;
  }
  .support-text-stack h3 {
    font-size: 21px !important;
  }
  .btn-aliado-gold {
    font-size: 13px !important;
    padding: 9px 22px !important;
  }
  .footer-official-section {
    padding: 36px 0 22px !important;
  }
}

/* Pantallas de celular extra pequeñas (<= 400px) */
@media (max-width: 400px) {
  .project-card-inner {
    width: 72% !important;
    padding: 14px 12px 14px 6px !important;
  }
  .project-title-cluster h3 {
    font-size: 15px !important;
  }
  .project-desc-text {
    font-size: 11px !important;
  }
  .nav-inner-container {
    height: 56px !important;
  }
  .brand-title-main {
    font-size: 9px !important;
  }
  .brand-title-bold {
    font-size: 10px !important;
  }
}
