/* ===================================================================
   ALEPH 2.0 / R10 - MASTER DESIGN SYSTEM & STYLESHEET
   Guía de Paleta Canónica Oficial (28 de noviembre de 2026)
   =================================================================== */

:root {
  /* ============================================================
     1. PALETA CANÓNICA RECOMENDADA (R10)
     ============================================================ */
  --aleph-navy: #092A55;             /* Cabeceras, footer, títulos de peso, branding */
  --aleph-blue: #075BAB;             /* Azul principal / CTA, botón principal, enlaces */
  --aleph-blue-button: #0769B5;      /* Botón primario R10 */
  --aleph-cyan: #0AB9CF;             /* Cian de marca: acentos, iconos, líneas, detalles */
  --aleph-gold: #D4AA45;             /* Dorado de marca: distintivos, destacados, precio/logro */
  --aleph-ink: #15365A;              /* Texto principal sobre fondo claro */
  --aleph-bg: #F3F8FC;               /* Fondo claro de la web, secciones alternadas */
  --aleph-surface: #FFFFFF;          /* Blanco: tarjetas, formularios, superficies */
  --aleph-line: #DCEAF3;             /* Borde suave de tarjetas, separadores, campos */
  --aleph-muted: #506983;            /* Texto secundario, descripciones, notas */
  --aleph-dark-bg: #081A36;          /* Azul muy oscuro / fondo nocturno / hero oscuro */
  --aleph-on-dark: #EAF6FF;          /* Texto sobre fondo azul marino */
  --aleph-active: #1768A9;           /* Pestañas activas, selección en tarjetas */
  --aleph-progress: #19B6C9;         /* Turquesa de progreso, gráficas y degradados */
  --aleph-success: #14834A;          /* Verde de respuesta correcta / acierto */
  --aleph-success-bg: #E8F9EF;       /* Fondo retroalimentación acierto */
  --aleph-error: #C52538;            /* Rojo de respuesta incorrecta / error */
  --aleph-error-bg: #FFF0F2;         /* Fondo retroalimentación error */
  --aleph-focus: #16C7D6;            /* Foco de control accesible */

  /* Aliases de compatibilidad */
  --color-primary: var(--aleph-blue);
  --color-primary-glow: #38bdf8;
  --color-cyan: var(--aleph-cyan);
  --color-cyan-glow: rgba(10, 185, 207, 0.25);
  --color-gold: var(--aleph-gold);
  --color-gold-glow: #e2be67;
  --color-gold-light: #fef8eb;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1ebd5a;

  --color-success: var(--aleph-success);
  --color-success-bg: var(--aleph-success-bg);
  --color-error: var(--aleph-error);
  --color-error-bg: var(--aleph-error-bg);

  --color-bg-deep: var(--aleph-dark-bg);
  --color-bg-base: var(--aleph-bg);
  --color-bg-surface: var(--aleph-surface);
  --color-bg-card: var(--aleph-surface);
  --color-bg-alt: #FFFFFF;

  /* Typography */
  --font-main: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Text Colors */
  --text-white: #ffffff;
  --text-primary: var(--aleph-ink);
  --text-secondary: var(--aleph-muted);
  --text-muted: #6b8299;
  --text-dark: var(--aleph-navy);

  /* Borders & Shadows */
  --border-subtle: var(--aleph-line);
  --border-glow: rgba(10, 185, 207, 0.35);
  --border-gold: rgba(212, 170, 69, 0.4);
  --shadow-sm: 0 2px 8px rgba(9, 42, 85, 0.05);
  --shadow-md: 0 6px 20px rgba(9, 42, 85, 0.08);
  --shadow-lg: 0 14px 40px rgba(9, 42, 85, 0.12);
  --shadow-cyan-glow: 0 0 25px rgba(10, 185, 207, 0.2);
  --shadow-gold-glow: 0 0 25px rgba(212, 170, 69, 0.25);

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--aleph-bg);
  color: var(--aleph-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--aleph-focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--aleph-ink);
  line-height: 1.2;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--aleph-cyan) 0%, var(--aleph-progress) 50%, var(--aleph-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.highlight-underline {
  position: relative;
  white-space: nowrap;
}

.highlight-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: rgba(10, 185, 207, 0.3);
  border-radius: 4px;
  z-index: -1;
}

/* ===================================================================
   Buttons & Interactive Elements
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--aleph-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(7, 91, 171, 0.3);
  border: 1px solid rgba(10, 185, 207, 0.35);
}

.btn-primary:hover {
  background: var(--aleph-blue-button);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 91, 171, 0.45);
  color: #FFFFFF;
}

.btn-gold {
  background: var(--aleph-gold);
  color: var(--aleph-navy);
  font-weight: 800;
  border: 1px solid rgba(212, 170, 69, 0.5);
  box-shadow: 0 4px 16px rgba(212, 170, 69, 0.35);
}

.btn-gold:hover {
  background: #e2be67;
  color: var(--aleph-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 170, 69, 0.5);
}

.btn-gold-star {
  color: var(--aleph-navy);
  font-size: 1.05rem;
}

.btn-secondary {
  background: rgba(7, 91, 171, 0.08);
  color: var(--aleph-blue);
  border: 1px solid rgba(7, 91, 171, 0.25);
}

.btn-secondary:hover {
  background: var(--aleph-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--aleph-ink);
  border: 1px solid var(--aleph-line);
}

.btn-outline:hover {
  background: var(--aleph-bg);
  border-color: var(--aleph-blue);
  color: var(--aleph-blue);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: #FFFFFF;
  color: var(--aleph-navy);
  border-color: #FFFFFF;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #052610;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  color: #000000;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ===================================================================
   Announcement Bar
   =================================================================== */
.announcement-bar {
  background: var(--aleph-dark-bg);
  border-bottom: 1px solid rgba(10, 185, 207, 0.25);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  text-align: center;
  position: relative;
  z-index: 100;
  color: var(--aleph-on-dark);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-pulse {
  background: var(--aleph-gold);
  color: var(--aleph-navy);
  font-weight: 900;
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(212, 170, 69, 0.5);
  animation: pulse-glow 2s infinite;
}

.announcement-link {
  color: var(--aleph-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-link:hover {
  color: #FFFFFF;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

/* ===================================================================
   Header & Navigation (Azul Marino Institucional #092A55)
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--aleph-navy);
  border-bottom: 1px solid rgba(10, 185, 207, 0.2);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 42, 85, 0.98);
  box-shadow: 0 4px 20px rgba(8, 26, 54, 0.25);
  border-bottom-color: rgba(10, 185, 207, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid rgba(10, 185, 207, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 16px rgba(10, 185, 207, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2px;
}

.brand-link:hover .brand-logo-img {
  border-color: var(--aleph-cyan);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35), 0 0 22px rgba(10, 185, 207, 0.45);
  transform: scale(1.04);
}

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

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  line-height: 1.05;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--aleph-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aleph-on-dark);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover {
  color: var(--aleph-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--aleph-cyan);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#navLoginBtn {
  background: var(--aleph-blue);
  color: #FFFFFF;
  border: 1px solid rgba(10, 185, 207, 0.4);
}

#navLoginBtn:hover {
  background: var(--aleph-blue-button);
  border-color: var(--aleph-cyan);
  color: #FFFFFF;
}

#navBuyBtn {
  background: var(--aleph-gold);
  color: var(--aleph-navy);
  font-weight: 800;
  border: 1px solid rgba(212, 170, 69, 0.6);
}

#navBuyBtn:hover {
  background: #e2be67;
  color: var(--aleph-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 170, 69, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--aleph-on-dark);
  transition: var(--transition);
}

/* ===================================================================
   Hero Section (Fondo Nocturno #081A36 -> #092A55)
   =================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--aleph-dark-bg) 0%, var(--aleph-navy) 60%, #123969 100%);
  color: var(--aleph-on-dark);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 450px;
  height: 450px;
  background: rgba(10, 185, 207, 0.15);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(212, 170, 69, 0.1);
  bottom: 0;
  right: 5%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 185, 207, 0.12);
  border: 1px solid rgba(10, 185, 207, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--aleph-cyan);
  margin-bottom: 1.5rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--aleph-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--aleph-cyan);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  color: #FFFFFF;
}

.hero-year-badge {
  display: inline-block;
  background: var(--aleph-gold);
  color: var(--aleph-navy);
  font-size: 0.65em;
  font-weight: 900;
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-left: 0.2rem;
  box-shadow: 0 4px 14px rgba(212, 170, 69, 0.4);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--aleph-on-dark);
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 560px;
  opacity: 0.95;
}

.hero-lead strong {
  color: #FFFFFF;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

#heroLoginCta {
  background: #FFFFFF;
  color: var(--aleph-navy);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

#heroLoginCta:hover {
  background: var(--aleph-on-dark);
  color: var(--aleph-navy);
}

.hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(234, 246, 255, 0.12);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.credential-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(10, 185, 207, 0.2);
  color: var(--aleph-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-item strong {
  display: block;
  font-size: 0.85rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.credential-item span {
  font-size: 0.72rem;
  color: var(--aleph-on-dark);
  opacity: 0.85;
}

/* ===================================================================
   Platform Window Mockup (Hero Right - R10 App Preview)
   =================================================================== */
.hero-visual {
  position: relative;
  width: 100%;
}

.platform-window-mockup {
  background: #FFFFFF;
  border: 1px solid rgba(10, 185, 207, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(8, 26, 54, 0.4), 0 0 40px rgba(10, 185, 207, 0.15);
  position: relative;
  overflow: visible;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.platform-window-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 75px rgba(8, 26, 54, 0.5), 0 0 50px rgba(10, 185, 207, 0.25);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  background: var(--aleph-navy);
  border-bottom: 1px solid rgba(234, 246, 255, 0.1);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: var(--aleph-error); }
.dot-yellow { background: var(--aleph-gold); }
.dot-green { background: var(--aleph-success); }

.mockup-url-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: var(--aleph-on-dark);
}

.mockup-badge-live {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--aleph-cyan);
  font-weight: 700;
}

.live-pulse {
  width: 6px;
  height: 6px;
  background: var(--aleph-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--aleph-cyan);
}

.mockup-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--aleph-line);
  background: var(--aleph-bg);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.exam-tag {
  font-size: 0.65rem;
  color: var(--aleph-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exam-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--aleph-ink);
  margin-top: 2px;
}

.mockup-stats-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(212, 170, 69, 0.12);
  border: 1px solid rgba(212, 170, 69, 0.35);
  color: #9f7514;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.score-pill {
  font-size: 0.8rem;
  color: var(--aleph-muted);
}

.score-pill strong {
  color: var(--aleph-blue);
}

.mockup-question-box {
  padding: 1.25rem 1.4rem;
  background: #FFFFFF;
}

.question-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.area-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--aleph-blue);
  background: rgba(7, 91, 171, 0.08);
  border: 1px solid rgba(7, 91, 171, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.points-badge {
  font-size: 0.72rem;
  color: var(--aleph-success);
  font-weight: 700;
}

.question-stem {
  font-size: 0.98rem;
  color: var(--aleph-ink);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.mockup-choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-choice-item {
  display: flex;
  align-items: center;
  background: var(--aleph-bg);
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--aleph-muted);
  transition: var(--transition);
}

.mockup-choice-item.active-choice {
  background: var(--aleph-success-bg);
  border-color: var(--aleph-success);
  color: var(--aleph-ink);
}

.choice-bubble {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--aleph-muted);
  margin-right: 0.8rem;
  flex-shrink: 0;
}

.choice-bubble.active-bubble {
  background: var(--aleph-success);
  border-color: var(--aleph-success);
  color: #FFFFFF;
}

.choice-text {
  font-weight: 600;
}

.correct-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--aleph-success);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.mockup-nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: var(--aleph-bg);
  border-top: 1px solid var(--aleph-line);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  gap: 1rem;
  flex-wrap: wrap;
}

.question-map-preview {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.map-tile {
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  color: var(--aleph-muted);
}

.map-tile.answered {
  background: var(--aleph-success-bg);
  color: var(--aleph-success);
  border-color: var(--aleph-success);
  font-weight: 700;
}

.map-tile.current {
  background: var(--aleph-blue);
  color: #FFFFFF;
  border-color: var(--aleph-blue);
  font-weight: 800;
}

.mockup-login-btn {
  background: var(--aleph-blue);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(7, 91, 171, 0.3);
  white-space: nowrap;
}

.mockup-login-btn:hover {
  background: var(--aleph-blue-button);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Floating Info Tags */
.mockup-floating-tag {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(9, 42, 85, 0.12);
  z-index: 5;
}

.mockup-floating-tag.tag-top {
  top: -16px;
  right: -12px;
  border-color: rgba(212, 170, 69, 0.45);
}

.mockup-floating-tag.tag-bottom {
  bottom: -18px;
  left: -12px;
  border-color: rgba(10, 185, 207, 0.45);
}

.mockup-floating-tag strong {
  display: block;
  font-size: 0.82rem;
  color: var(--aleph-ink);
  line-height: 1.2;
}

.mockup-floating-tag span {
  font-size: 0.68rem;
  color: var(--aleph-muted);
}

.tag-star {
  font-size: 1.2rem;
  color: var(--aleph-gold);
}

.avatar-logos {
  display: flex;
  align-items: center;
  gap: 4px;
}

.avatar-pill {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #FFFFFF;
}

.avatar-pill.u { background: #002B7A; }
.avatar-pill.i { background: #6C1D45; }

/* ===================================================================
   Key Metrics Bar (Stats Strip)
   =================================================================== */
.stats-strip {
  background: var(--aleph-navy);
  border-top: 1px solid rgba(10, 185, 207, 0.2);
  border-bottom: 1px solid rgba(10, 185, 207, 0.2);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1rem;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(234, 246, 255, 0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--aleph-cyan);
  background: linear-gradient(135deg, #FFFFFF 0%, var(--aleph-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--aleph-on-dark);
  max-width: 220px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ===================================================================
   Sections Layout & Common Styling (Fondo Claro #F3F8FC / #FFFFFF)
   =================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
  background: var(--aleph-bg);
}

.bg-alt {
  background-color: #FFFFFF;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--aleph-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  background: rgba(7, 91, 171, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(7, 91, 171, 0.2);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--aleph-ink);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--aleph-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===================================================================
   Comparison Grid (ECOEMS vs COMIPEMS)
   =================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--aleph-blue);
  box-shadow: var(--shadow-md);
}

.feature-card.highlight-border {
  border-color: var(--aleph-blue);
}

.feature-card.highlight-card {
  background: linear-gradient(160deg, #FFFFFF 0%, #F0F9FC 100%);
  border-color: var(--aleph-cyan);
  box-shadow: 0 8px 30px rgba(10, 185, 207, 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(7, 91, 171, 0.08);
  border: 1px solid rgba(7, 91, 171, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--aleph-blue);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--aleph-ink);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--aleph-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.feature-checklist li {
  font-size: 0.85rem;
  color: var(--aleph-ink);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-checklist li::before {
  content: '✓';
  color: var(--aleph-cyan);
  font-weight: 900;
}

.feature-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--aleph-blue);
  background: rgba(10, 185, 207, 0.08);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--aleph-cyan);
  margin-bottom: 1.5rem;
}

/* ===================================================================
   Subjects Grid (Materias - Fondo #FFFFFF)
   =================================================================== */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.subject-box {
  background: var(--aleph-bg);
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.subject-box:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  border-color: var(--aleph-blue);
  box-shadow: var(--shadow-md);
}

.subject-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subject-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.subject-category {
  display: block;
  font-size: 0.7rem;
  color: var(--aleph-blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.subject-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--aleph-ink);
}

.subject-desc {
  font-size: 0.88rem;
  color: var(--aleph-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.subject-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--aleph-line);
}

.meta-tag {
  font-size: 0.75rem;
  color: var(--aleph-muted);
  font-weight: 600;
}

.meta-tag.tag-focus {
  color: var(--aleph-gold);
  font-weight: 700;
}

/* Identidad Cromática Canónica por Materia */
.subject-box.subject-mat { border-color: rgba(7, 91, 171, 0.25); }
.subject-box.subject-mat:hover { border-color: var(--aleph-blue); }
.icon-mat { background: rgba(7, 91, 171, 0.08) !important; border-color: rgba(7, 91, 171, 0.25) !important; }
.cat-mat, .tag-focus-mat { color: var(--aleph-blue) !important; font-weight: 700; }

.subject-box.subject-esp { border-color: rgba(23, 104, 169, 0.25); }
.subject-box.subject-esp:hover { border-color: var(--aleph-active); }
.icon-esp { background: rgba(23, 104, 169, 0.08) !important; border-color: rgba(23, 104, 169, 0.25) !important; }
.cat-esp, .tag-focus-esp { color: var(--aleph-active) !important; font-weight: 700; }

.subject-box.subject-fis { border-color: rgba(212, 170, 69, 0.25); }
.subject-box.subject-fis:hover { border-color: var(--aleph-gold); }
.icon-fis { background: rgba(212, 170, 69, 0.08) !important; border-color: rgba(212, 170, 69, 0.25) !important; }
.cat-fis, .tag-focus-fis { color: var(--aleph-gold) !important; font-weight: 700; }

.subject-box.subject-qui { border-color: rgba(25, 182, 201, 0.25); }
.subject-box.subject-qui:hover { border-color: var(--aleph-progress); }
.icon-qui { background: rgba(25, 182, 201, 0.08) !important; border-color: rgba(25, 182, 201, 0.25) !important; }
.cat-qui, .tag-focus-qui { color: var(--aleph-progress) !important; font-weight: 700; }

.subject-box.subject-bio { border-color: rgba(20, 131, 74, 0.25); }
.subject-box.subject-bio:hover { border-color: var(--aleph-success); }
.icon-bio { background: rgba(20, 131, 74, 0.08) !important; border-color: rgba(20, 131, 74, 0.25) !important; }
.cat-bio, .tag-focus-bio { color: var(--aleph-success) !important; font-weight: 700; }

.subject-box.subject-soc { border-color: rgba(9, 42, 85, 0.25); }
.subject-box.subject-soc:hover { border-color: var(--aleph-navy); }
.icon-soc { background: rgba(9, 42, 85, 0.08) !important; border-color: rgba(9, 42, 85, 0.25) !important; }
.cat-soc, .tag-focus-soc { color: var(--aleph-navy) !important; font-weight: 700; }

/* ===================================================================
   Pricing & Payment Instructions
   =================================================================== */
.pricing-section {
  background: var(--aleph-bg);
  padding: 4.5rem 0 6.5rem;
}

.pricing-container-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
  padding-top: 0.85rem;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--aleph-blue);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem 1.6rem;
  position: relative;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.holographic-vip-card {
  border: 2px solid transparent;
  background: 
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    linear-gradient(135deg, var(--aleph-gold) 0%, var(--aleph-blue) 50%, var(--aleph-cyan) 100%) border-box;
  box-shadow: 0 16px 45px rgba(9, 42, 85, 0.12), 0 0 25px rgba(212, 170, 69, 0.15);
  overflow: visible !important;
  position: relative;
}

.holographic-sheen-container {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.holographic-sheen {
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(212, 170, 69, 0.15) 50%,
    rgba(10, 185, 207, 0.15) 55%,
    transparent 70%
  );
  pointer-events: none;
  transform: rotate(-15deg);
  transition: transform 0.7s ease, opacity 0.4s ease;
  opacity: 0.5;
}

.holographic-vip-card:hover .holographic-sheen {
  transform: translate(25%, 25%) rotate(-15deg);
  opacity: 0.8;
}

.holographic-vip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(9, 42, 85, 0.18), 0 0 35px rgba(212, 170, 69, 0.25);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--aleph-gold) 0%, var(--aleph-blue) 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(212, 170, 69, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  z-index: 10;
}

.badge-star-icon {
  color: #FFFFFF;
  font-size: 0.85rem;
}

.plan-tag-exclusive {
  display: inline-block;
  background: rgba(212, 170, 69, 0.12);
  color: #9f7514;
  border: 1px solid rgba(212, 170, 69, 0.35);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.pricing-head {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--aleph-line);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--aleph-ink);
  margin-bottom: 0.25rem;
}

.plan-sub {
  font-size: 0.8rem;
  color: var(--aleph-muted);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.plan-price-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  font-family: var(--font-display);
}

.plan-price-wrap .currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--aleph-gold);
  margin-top: 0.3rem;
}

.plan-price-wrap .amount {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 0.95;
  color: var(--aleph-ink);
}

.plan-price-wrap .period {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aleph-muted);
  align-self: flex-end;
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
}

.plan-clarification {
  font-size: 0.78rem;
  color: var(--aleph-blue);
  font-weight: 700;
  margin-top: 0.35rem;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--aleph-muted);
  line-height: 1.35;
}

.plan-feature-item strong {
  color: var(--aleph-ink);
}

.feature-bullet {
  width: 18px;
  height: 18px;
  background: var(--aleph-success-bg);
  color: var(--aleph-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-cta-wrap .btn-primary {
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
}

.pricing-cta-wrap .btn-whatsapp {
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

.secure-guarantee-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--aleph-muted);
  margin-top: 0.15rem;
}

/* Payment Steps Card */
.payment-steps-card {
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.steps-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  color: var(--aleph-ink);
  margin-bottom: 0.25rem;
}

.icon-circle {
  font-size: 1.35rem;
}

.steps-desc {
  font-size: 0.84rem;
  color: var(--aleph-muted);
  margin-bottom: 1rem;
}

.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--aleph-bg);
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  transition: var(--transition);
}

.step-card:hover {
  background: #FFFFFF;
  border-color: var(--aleph-blue);
  box-shadow: var(--shadow-sm);
}

.step-number-bubble {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--aleph-blue), var(--aleph-cyan));
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(7, 91, 171, 0.3);
  margin-top: 2px;
}

.step-details {
  flex-grow: 1;
}

.step-details h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--aleph-ink);
}

.step-details p {
  font-size: 0.88rem;
  color: var(--aleph-muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

/* CLABE Copy Box */
.clabe-copy-box {
  margin-top: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
}

.clabe-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--aleph-muted);
  margin-bottom: 0.25rem;
}

.clabe-bank strong {
  color: var(--aleph-gold);
}

.clabe-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.clabe-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--aleph-ink);
  letter-spacing: 0.06em;
  user-select: all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(7, 91, 171, 0.08);
  color: var(--aleph-blue);
  border: 1px solid rgba(7, 91, 171, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--aleph-blue);
  color: #FFFFFF;
}

.clabe-toast {
  font-size: 0.72rem;
  color: var(--aleph-success);
  font-weight: 700;
  margin-top: 0.25rem;
}

.contact-channels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.contact-pill {
  font-size: 0.76rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--aleph-line);
  background: #FFFFFF;
  color: var(--aleph-muted);
  transition: var(--transition);
}

.contact-pill.whatsapp-pill {
  border-color: rgba(37, 211, 102, 0.35);
  color: #1b8a43;
  font-weight: 700;
}

.contact-pill:hover {
  transform: translateY(-2px);
  background: var(--aleph-bg);
}

.login-callout {
  margin-top: 0.4rem;
  background: rgba(7, 91, 171, 0.06);
  border: 1px solid rgba(7, 91, 171, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--aleph-ink);
}

.login-external-link {
  color: var(--aleph-blue);
  font-weight: 800;
}

.login-external-link:hover {
  text-decoration: underline;
}

/* ===================================================================
   About ALEPH Section
   =================================================================== */
#sobre-aleph {
  background: var(--aleph-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.aleph-brand-card {
  background: var(--aleph-navy);
  border: 1px solid rgba(10, 185, 207, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  color: var(--aleph-on-dark);
}

.aleph-big-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-xl);
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(10, 185, 207, 0.45);
  padding: 6px;
}

.aleph-big-name {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  color: #FFFFFF;
}

.aleph-tagline {
  font-size: 0.85rem;
  color: var(--aleph-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.aleph-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--aleph-cyan), var(--aleph-gold));
  margin: 1.5rem auto;
}

.aleph-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--aleph-on-dark);
  line-height: 1.6;
  opacity: 0.95;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--aleph-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-lead strong {
  color: var(--aleph-ink);
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pillar-item:hover {
  border-color: var(--aleph-blue);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--aleph-ink);
}

.pillar-text p {
  font-size: 0.86rem;
  color: var(--aleph-muted);
  line-height: 1.55;
}

/* ===================================================================
   FAQ Accordion (Fondo #FFFFFF)
   =================================================================== */
#faq {
  background: #FFFFFF;
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--aleph-blue);
}

.faq-item.active {
  border-color: var(--aleph-blue);
  background: var(--aleph-bg);
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--aleph-ink);
  gap: 1rem;
}

.faq-arrow {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--aleph-blue);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
  color: var(--aleph-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--aleph-muted);
  line-height: 1.65;
}

.faq-answer strong {
  color: var(--aleph-ink);
}

/* ===================================================================
   Final CTA Section
   =================================================================== */
.final-cta-section {
  padding: 4rem 0 6rem;
  background: var(--aleph-bg);
}

.final-cta-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, var(--aleph-blue) 0%, var(--aleph-navy) 60%, var(--aleph-dark-bg) 100%);
  border: 1px solid rgba(10, 185, 207, 0.4);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #FFFFFF;
}

.cta-badge {
  display: inline-block;
  background: rgba(212, 170, 69, 0.25);
  color: var(--aleph-gold);
  border: 1px solid var(--aleph-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.final-cta-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.final-cta-lead {
  font-size: 1.1rem;
  color: var(--aleph-on-dark);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  opacity: 0.95;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ===================================================================
   Sticky Mobile Action Bar
   =================================================================== */
.sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 42, 85, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--aleph-cyan);
  padding: 0.75rem 1.25rem;
  z-index: 85;
  box-shadow: 0 -4px 20px rgba(8, 26, 54, 0.35);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-action-bar.visible {
  transform: translateY(0);
}

.sticky-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1rem;
}

.sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.sticky-price {
  font-size: 0.75rem;
  color: var(--aleph-gold);
}

.sticky-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===================================================================
   Floating WhatsApp Button
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 80;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: var(--color-whatsapp-hover);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: var(--aleph-navy);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 185, 207, 0.3);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(10px);
}

.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================================
   Footer (Fondo Nocturno #081A36 / #092A55)
   =================================================================== */
.site-footer {
  background: var(--aleph-dark-bg);
  border-top: 1px solid rgba(234, 246, 255, 0.1);
  padding: 4.5rem 0 2rem;
  color: var(--aleph-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid rgba(10, 185, 207, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  padding: 2px;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  line-height: 1;
}

.footer-brand-sub {
  font-size: 0.68rem;
  color: var(--aleph-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--aleph-on-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.footer-contacts p {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.footer-contacts a {
  color: var(--aleph-cyan);
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--aleph-on-dark);
  opacity: 0.85;
}

.footer-nav a:hover {
  color: var(--aleph-cyan);
  opacity: 1;
  transform: translateX(3px);
  display: inline-block;
}

.footer-text-small {
  font-size: 0.85rem;
  color: var(--aleph-on-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer-login-btn {
  margin-bottom: 1.25rem;
}

.security-seal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--aleph-on-dark);
  opacity: 0.75;
}

.security-seal strong {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(234, 246, 255, 0.08);
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.copy-text {
  color: var(--aleph-on-dark);
  opacity: 0.75;
}

.disclaimer-text {
  color: #7b94ad;
  line-height: 1.5;
}

/* Confetti Canvas */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ===================================================================
   Course Section: Empleabilidad, CV e Inserción Laboral
   =================================================================== */
.course-section {
  background: #FFFFFF;
  position: relative;
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--aleph-line);
  border-bottom: 1px solid var(--aleph-line);
}

.course-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2.5rem;
}

.syllabus-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--aleph-blue);
  background: rgba(7, 91, 171, 0.08);
  border: 1px solid rgba(7, 91, 171, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--aleph-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--aleph-cyan);
  animation: pulse-dot-anim 2s infinite ease-in-out;
}

@keyframes pulse-dot-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.course-syllabus-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.module-card {
  background: var(--aleph-bg);
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--aleph-blue);
  opacity: 0.8;
}

.module-card:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  border-color: var(--aleph-blue);
  box-shadow: var(--shadow-md);
}

.module-card:nth-child(2)::before {
  background: linear-gradient(180deg, var(--aleph-blue), var(--aleph-cyan));
}

.module-card:nth-child(3)::before {
  background: linear-gradient(180deg, var(--aleph-cyan), var(--aleph-progress));
}

.module-card:nth-child(4)::before {
  background: linear-gradient(180deg, var(--aleph-gold), #e2be67);
}

.module-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--aleph-line);
}

.module-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.module-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.pill-mod-1 {
  background: rgba(7, 91, 171, 0.1);
  color: var(--aleph-blue);
  border: 1px solid rgba(7, 91, 171, 0.25);
}

.pill-mod-2 {
  background: rgba(10, 185, 207, 0.12);
  color: #088b9c;
  border: 1px solid rgba(10, 185, 207, 0.3);
}

.pill-mod-3 {
  background: rgba(212, 170, 69, 0.12);
  color: #9f7514;
  border: 1px solid rgba(212, 170, 69, 0.3);
}

.module-time-tag {
  font-size: 0.75rem;
  color: var(--aleph-muted);
  font-weight: 500;
}

.module-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--aleph-ink);
  line-height: 1.35;
}

.module-topics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.topic-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #FFFFFF;
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-md);
  color: var(--aleph-blue);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.topic-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--aleph-ink);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.topic-content p {
  font-size: 0.84rem;
  color: var(--aleph-muted);
  line-height: 1.45;
  margin: 0;
}

/* Course Pricing Card */
.course-pricing-col {
  position: sticky;
  top: 90px;
}

.course-pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--aleph-blue);
  box-shadow: var(--shadow-md);
}

.badge-course-accent {
  background: linear-gradient(90deg, var(--aleph-blue), var(--aleph-cyan)) !important;
  color: #FFFFFF !important;
}

.tag-course {
  background: rgba(7, 91, 171, 0.1) !important;
  color: var(--aleph-blue) !important;
  border: 1px solid rgba(7, 91, 171, 0.25) !important;
}

.course-payment-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--aleph-bg);
  border: 1px solid var(--aleph-line);
  border-radius: var(--radius-md);
}

.course-payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.bank-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aleph-muted);
}

.amount-pill {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--aleph-gold);
}

.course-payment-note {
  font-size: 0.78rem;
  color: var(--aleph-muted);
  line-height: 1.45;
  margin-top: 0.85rem;
}

.course-payment-note strong {
  color: var(--aleph-ink);
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-credentials {
    max-width: 600px;
    margin: 0 auto;
  }

  .visual-card-wrapper {
    max-width: 650px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .comparison-grid,
  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-container-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .course-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .course-pricing-col {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(9, 42, 85, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--aleph-cyan);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  #navBuyBtn {
    display: none;
  }

  .hero-credentials {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .comparison-grid,
  .subjects-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card::after {
    display: none !important;
  }

  .pricing-card {
    padding: 2.5rem 1.5rem;
  }

  .plan-price-wrap .amount {
    font-size: 3.8rem;
  }

  .payment-steps-card {
    padding: 1.75rem 1.25rem;
  }

  .clabe-code-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-copy {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mockup-floating-tag {
    position: static;
    margin: 0.75rem 0;
  }
}

/* ===================================================================
   Scroll Reveal Animations
   =================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
