/* ==========================================================================
   ALCA SISTEMAS SAS - SISTEMA DE IDENTIDAD DE MARCA HIGH-TICKET SENIOR (+50)
   Arquetipo: "El Gobernante" (The Ruler & The Wise)
   Paleta Soberana: Regla 60-30-10 (Sovereign Navy, Imperial Gold, Velvet Surface)
   Tipografía: Cinzel (Display/Headings) & Plus Jakarta Sans (Reading/Body)
   Estándares: WCAG 2.2 AAA para público Senior (+50), TASS 3.0
   ========================================================================== */

:root {
  /* TOKENS MAESTROS DE IDENTIDAD OFICIAL (EL GOBERNANTE) */
  --bg-dark: #070F1A;                      /* Fondo estructural dominante (60% viewport) */
  --bg-surface: #0B192C;                   /* Fondo de tarjetas, secciones y barra con transparencia 0.95 (30%) */
  --gold-noble: #C5A059;                   /* Color acento de autoridad (10%) */
  --gold-glow: rgba(197, 160, 89, 0.40);   /* Resplandor interactivo en bucle */
  --gold-border: rgba(197, 160, 89, 0.35); /* Bordes de contención de 1px en tarjetas y modales */
  --text-primary: #FFFFFF;                 /* Títulos H1 y encabezados de alta legibilidad (contraste > 16:1) */
  --text-body: #E2E8F0;                    /* Cuerpo de lectura sin fatiga visual (18px-19px, line-height: 1.65) */
  --text-muted: #94A3B8;                   /* Notas legales y aclaraciones al pie */

  /* JERARQUÍA TIPOGRÁFICA EDITORIAL */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Roboto Mono', 'Fira Code', Consolas, monospace;

  /* COMPATIBILIDAD Y MAPEO DE CONTINUIDAD CON SELECTORES PREVIOS */
  --bg-void: var(--bg-dark);
  --surface-card: var(--bg-surface);
  --surface-card-border: var(--gold-border);
  --border-interactive: var(--gold-noble);
  --bg-obsidian: var(--bg-dark);
  --bg-surface-elevated: #0f223a;
  --bg-card: var(--bg-surface);
  --border-subtle: var(--gold-border);
  --border-active: var(--gold-noble);
  --border-gold: var(--gold-border);
  --border-emerald: rgba(16, 185, 129, 0.4);

  --text-h-start: var(--text-primary);
  --text-h-end: #E2E8F0;
  --text-secondary: var(--text-body);

  --gold-primary: var(--gold-noble);
  --accent-red: #EF4444;
  --accent-red-glow: rgba(197, 160, 89, 0.15);
  --accent-blue: #38bdf8;
  --accent-green: #10b981;
  --accent-purple: #a855f7;
  --emerald-accent: #10b981;
  --rose-alert: #ef4444;

  --radius-btn: 4px;
  --radius-card: 6px;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: var(--container-width);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 50% -5%, rgba(197, 160, 89, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 90% 70%, rgba(11, 25, 44, 0.6) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* RESPLANDOR DIFUSO AMBIENTAL */
.ambient-glow-sphere {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* TITULARES (H1, H2) - ARQUETIPO EL GOBERNANTE */
h1, h2, .display-title, .section-title, .headline-ruler {
  font-family: var(--font-serif);
  color: var(--text-primary);
  letter-spacing: 2px;
  line-height: 1.25;
  font-weight: 700;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  background-clip: unset;
}

h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.35;
}

.serif-headline {
  font-family: var(--font-serif);
  letter-spacing: 2px;
}

.display-title {
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  margin-bottom: 12px;
}

.display-title span.highlight-gold {
  color: var(--gold-noble);
  background: none;
  -webkit-text-fill-color: initial;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-noble);
  background: rgba(197, 160, 89, 0.08);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--gold-border);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(197, 160, 89, 0.1);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

/* COPY DE SOPORTE - SENIOR +50 */
.lead-paragraph {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 780px;
}

/* CONTENEDOR STICKY CONJUNTO (TICKER + HEADER SIEMPRE VISIBLES AL SCROLL) */
.sticky-top-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

/* TERMINAL DE MERCADO EN VIVO (ESTILO FT / BLOOMBERG) */
.market-ticker-bar {
  background: rgba(7, 15, 26, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  overflow: hidden;
  overflow-x: hidden;
  position: relative;
  z-index: 1002;
  width: 100%;
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  margin: 0 0 0 16px;
  min-width: 0;
  width: 100%;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 38s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 28px;
  padding-right: 28px;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ticker-symbol {
  font-weight: 700;
  color: var(--text-primary);
}

.ticker-price {
  color: var(--text-muted);
}

.ticker-change.up {
  color: var(--accent-green);
}

.ticker-change.down {
  color: var(--accent-red);
}

/* ==========================================================================
   MICROINTERACCIÓN REQUERIDA: CIRCLE / LOOP GLOW EN BOTONES Y RECUADROS
   ========================================================================== */
@keyframes loopGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.45), 0 4px 20px rgba(197, 160, 89, 0.2);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(197, 160, 89, 0), 0 6px 28px rgba(197, 160, 89, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0), 0 4px 20px rgba(197, 160, 89, 0.2);
  }
}

/* Aplicación sobre el Botón de Llamado a la Acción Primario */
.btn-cta-ruler, .cta-glow-loop, .glow-beam-btn {
  background-color: var(--gold-noble) !important;
  color: #070F1A !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 18px 38px !important;
  border-radius: 4px !important;
  border: 1px solid var(--gold-noble) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  animation: loopGlowPulse 3s infinite ease-in-out !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.btn-cta-ruler:hover, .cta-glow-loop:hover, .glow-beam-btn:hover {
  background-color: #D8B26E !important;
  transform: translateY(-2px) !important;
  color: #070F1A !important;
}

/* Recuadros Destacados con Loop Glow sutil en el borde */
.card-featured-glow {
  border: 1px solid var(--gold-border) !important;
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.12) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.card-featured-glow:hover {
  box-shadow: 0 0 35px rgba(197, 160, 89, 0.25) !important;
  border-color: var(--gold-noble) !important;
}

/* BOTONES BASE INSTITUCIONALES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  border: 1px solid transparent;
  text-align: center;
}

.btn-gold {
  background-color: var(--gold-noble) !important;
  color: #070F1A !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border-radius: 4px !important;
  border: 1px solid var(--gold-noble) !important;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.25) !important;
}

.btn-gold:hover {
  background-color: #D8B26E !important;
  color: #070F1A !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.35) !important;
}

.btn-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: var(--accent-green);
}

.btn-outline {
  background: rgba(11, 25, 44, 0.6);
  color: var(--text-body);
  border: 1px solid var(--gold-border);
  font-family: var(--font-sans);
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--gold-noble);
  color: #FFFFFF;
}

/* CONMUTADOR DE MONEDA [ USD | COP ] */
.currency-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 25, 44, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 3px;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 12px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition);
}

.currency-btn.active {
  background: var(--gold-noble);
  color: #070F1A;
  font-weight: 700;
}

/* HEADER TASS - ARQUITECTURA SOBERANA */
.header-tass {
  background: rgba(11, 25, 44, 0.95) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border) !important;
  padding: 12px 0;
  position: relative;
  z-index: 1001;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text-main {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #FFFFFF;
  text-transform: uppercase;
  display: block;
  line-height: 1.1;
}

.brand-text-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-noble);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-item a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}

.nav-item a:hover {
  color: var(--gold-noble) !important;
  text-shadow: 0 0 12px rgba(197, 160, 89, 0.5);
}

/* LAYOUT & RITMO (ESTILO VERCEL: 110px - 140px) */
.section-padding {
  padding: 120px 0;
}

.hero-section {
  min-height: calc(100vh - 86px);
  min-height: calc(100dvh - 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 16px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

.hero-section > .container {
  width: 100%;
  position: relative;
  z-index: 10; /* CAPA SUPERIOR: Textos y botones */
}

/* ==========================================================================
   JERARQUÍA DE CAPAS HERO:
   - Capa Superior (z-index: 10): Textos (H1, p, badge) y Botones CTA
   - Capa Intermedia (z-index: 2): Animación Candlesticks Trading
   - Capa Inferior (z-index: 0): Fondo Oscuro Void
   ========================================================================== */

/* CAPA INTERMEDIA: VELAS JAPONESAS DESACTIVADAS DEFINITIVAMENTE (SERENIDAD TOTAL) */
.candlestick-ambient-grid {
  display: none !important;
}

/* CAPA SUPERIOR: TEXTOS Y BOTONES (ENCIMA DE TODO) */
.hero-fullwidth-content {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.hero-fullwidth-content .section-label,
.hero-fullwidth-content .display-title,
.hero-fullwidth-content .lead-paragraph,
.hero-fullwidth-content .hero-cta-group,
.hero-fullwidth-content .hero-badges-group {
  position: relative;
  z-index: 10;
}

.hero-fullwidth-content .section-label {
  margin-bottom: 8px;
}

.hero-fullwidth-content .display-title {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  /* Color blanco puro sólido e impenetrable para que el halo posterior no contamine las letras */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  background-clip: unset;
  color: #ffffff;
  /* Respaldo sombreado oscuro nítido que aísla las letras completamente del resplandor de fondo */
  text-shadow: 0 3px 18px rgba(7, 8, 10, 0.95), 0 0 28px rgba(7, 8, 10, 0.9);
}

.hero-fullwidth-content .lead-paragraph {
  max-width: 960px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #cbd5e1;
  text-shadow: 0 2px 14px rgba(7, 8, 10, 0.95);
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 8px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 15;
}

.hero-badges-group {
  display: flex;
  gap: 32px;
  margin-top: 34px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  justify-content: center;
  flex-wrap: wrap;
}

/* SECCIÓN: QUÉ APRENDERÉ A NEGOCIAR // LOS 4 ACTIVOS REALES GRID */
.assets-negotiation-section {
  position: relative;
}

.assets-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1080px) {
  .assets-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .assets-four-grid {
    grid-template-columns: 1fr;
  }
}

.asset-grid-card {
  border-radius: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #0d0f12;
  overflow: hidden;
}

.asset-grid-card:hover {
  transform: translateY(-4px);
}

.asset-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.asset-card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.asset-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.asset-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.asset-card-points {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asset-card-points li {
  font-size: 0.80rem;
  color: #d1d5db;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.asset-card-points .bullet {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* TARJETA LATERAL HERO: BENTO CARD */
.hero-card-terminal {
  background: var(--surface-card);
  border: 1px solid var(--surface-card-border);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-card);
  padding: 24px;
  backdrop-filter: blur(16px);
}

.director-video-container {
  background: #000000;
  border-radius: var(--radius-btn);
  border: 1px solid var(--surface-card-border);
  padding: 28px 18px;
  text-align: center;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.director-video-container:hover {
  border-color: var(--border-interactive);
}

.video-play-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 16px;
  border: 1px solid var(--surface-card-border);
  transition: all var(--transition);
}

.director-video-container:hover .video-play-btn {
  background: var(--gold-noble);
  color: #070F1A;
  transform: scale(1.05);
}

/* BENTO GRIDS & TARJETAS PRÉMIUM (GAP: 24px a 32px) */
.cards-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.threat-card, .audience-card, .testimonial-card, .support-human-card, .friction-no-list, .velvet-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.08);
  border-radius: var(--radius-card);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: all var(--transition);
}

.threat-card:hover, .audience-card:hover, .testimonial-card:hover, .velvet-card:hover {
  border-color: var(--gold-noble);
  box-shadow: 0 0 35px rgba(197, 160, 89, 0.25);
  transform: translateY(-2px);
}

.threat-number {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-noble);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.threat-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.threat-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* AUDIENCIA SENIOR (3 COLUMNAS BALANCEADAS) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.audience-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.audience-profession {
  font-size: 0.76rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-noble);
  margin-bottom: 14px;
}

.manifesto-quote-box {
  background: rgba(11, 25, 44, 0.6);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold-noble);
  padding: 24px 30px;
  border-radius: var(--radius-btn);
  margin-top: 36px;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-body);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.1);
}

/* TESTIMONIOS DISCRETOS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 18px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: var(--font-sans);
}

.testimonial-role {
  font-size: 0.76rem;
  font-family: var(--font-sans);
  color: var(--gold-noble);
  letter-spacing: 0.5px;
}

/* FRICCIÓN CERO */
.frictionless-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.friction-no-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 3px solid var(--accent-red);
}

.friction-no-list li {
  font-size: 0.90rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.support-human-card {
  border-left: 3px solid var(--accent-green);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   PLAN CURRICULAR: RAYCAST-STYLE CAROUSEL (5 GRUPOS TEMÁTICOS CON GLOW)
   ========================================================================== */
.curriculum-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.curriculum-header-info {
  max-width: 560px;
}

/* CONTENEDOR DE PESTAÑAS ALINEADO ESTRICTAMENTE A LA DERECHA */
.carousel-tabs-wrapper {
  margin-left: auto;
}

/* PESTAÑAS SOBERANAS EN LA PARTE SUPERIOR DERECHA */
.carousel-tabs-nav {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  overflow-x: auto;
  max-width: 100%;
}

.carousel-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(197, 160, 89, 0.12);
}

/* PESTAÑA ACTIVA: ACENTO ORO IMPERIAL */
.carousel-tab-btn.active {
  background: var(--gold-noble) !important;
  color: #070F1A !important;
  border: 1px solid var(--gold-noble) !important;
  box-shadow: 0 2px 14px rgba(197, 160, 89, 0.35) !important;
  font-weight: 700 !important;
}

/* CONTENEDOR DEL CARRUSEL DENTRO DE CONTAINER (ALINEACIÓN EXACTA A LA IZQUIERDA Y DESBORDE A LA DERECHA) */
.carousel-viewport-wrapper {
  position: relative;
  width: auto;
  /* Se desborda hacia ambos bordes del viewport */
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
  padding-right: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: auto; /* Controlado por animación fluida JS */
  scroll-snap-type: x mandatory;
  padding-top: 12px;
  padding-bottom: 24px;
  /* Padding dinámico base (móviles/tablets) */
  padding-left: 24px;
  padding-right: 24px;
  /* El scroll-padding evita que el scroll-snap se salte el padding inicial al cargar la página */
  scroll-padding-left: 24px;
  scroll-padding-right: 24px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

@media (min-width: 1200px) {
  .carousel-track {
    /* Padding dinámico para alinear el primer módulo con el contenedor en pantallas grandes, pero que permita al scroll llegar hasta el borde */
    padding-left: calc((100vw - var(--max-width)) / 2 + 24px);
    padding-right: calc((100vw - var(--max-width)) / 2 + 24px);
    scroll-padding-left: calc((100vw - var(--max-width)) / 2 + 24px);
    scroll-padding-right: calc((100vw - var(--max-width)) / 2 + 24px);
  }
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* TARJETAS SOBERANAS DE CADA MÓDULO */
.raycast-module-card {
  flex: 0 0 360px;
  width: 360px;
  min-width: 360px;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  background: var(--bg-surface);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.08);
  overflow: hidden;
}

.raycast-module-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-noble);
  box-shadow: 0 0 35px rgba(197, 160, 89, 0.25);
}

/* TEMAS CONTRASTANTES CON EFECTOS GLOW Y BORDES DIFERENCIADOS */

/* --- GRUPO 1: MORADOS (FUNDAMENTOS) --- */
/* Módulo 01: Morado Sobrio / Base */
.theme-purple-subtle {
  background: linear-gradient(180deg, #160f24 0%, #0c0913 100%);
  border-color: rgba(168, 85, 247, 0.18);
  box-shadow: inset 0 1px 0 rgba(168, 85, 247, 0.20), 0 10px 30px rgba(0, 0, 0, 0.4);
}
.theme-purple-subtle:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: inset 0 1px 0 rgba(168, 85, 247, 0.30), 0 14px 40px rgba(168, 85, 247, 0.12);
}
.theme-purple-subtle .module-icon-badge {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* Módulo 02: Morado Más Intenso y Brillante */
.theme-purple-intense {
  background: linear-gradient(180deg, #2a1647 0%, #120921 100%);
  border-color: rgba(192, 132, 252, 0.42);
  box-shadow: inset 0 1px 0 rgba(216, 180, 254, 0.35), 0 12px 34px rgba(168, 85, 247, 0.18);
}
.theme-purple-intense:hover {
  border-color: rgba(192, 132, 252, 0.65);
  box-shadow: inset 0 1px 0 rgba(216, 180, 254, 0.5), 0 16px 44px rgba(168, 85, 247, 0.28);
}
.theme-purple-intense .module-icon-badge {
  background: rgba(168, 85, 247, 0.28);
  color: #e9d5ff;
  border: 1px solid rgba(192, 132, 252, 0.5);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

/* --- GRUPO 2: AZULES (ACTIVOS REALES) --- */
/* Módulo 03: Azul Más Intenso y Brillante */
.theme-blue-intense {
  background: linear-gradient(180deg, #0e2d52 0%, #061529 100%);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.35), 0 12px 34px rgba(59, 130, 246, 0.20);
}
.theme-blue-intense:hover {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.5), 0 16px 44px rgba(59, 130, 246, 0.30);
}
.theme-blue-intense .module-icon-badge {
  background: rgba(59, 130, 246, 0.28);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

/* Módulo 04: Azul Sobrio / Base */
.theme-blue-subtle {
  background: linear-gradient(180deg, #0a1726 0%, #050c14 100%);
  border-color: rgba(59, 130, 246, 0.18);
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.20), 0 10px 30px rgba(0, 0, 0, 0.4);
}
.theme-blue-subtle:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.30), 0 14px 40px rgba(59, 130, 246, 0.12);
}
.theme-blue-subtle .module-icon-badge {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

/* --- GRUPO 3: VERDES (VALUACIÓN & GRÁFICOS) --- */
/* Módulo 05: Verde Sobrio / Base */
.theme-green-subtle {
  background: linear-gradient(180deg, #091a13 0%, #040d0a 100%);
  border-color: rgba(34, 197, 94, 0.18);
  box-shadow: inset 0 1px 0 rgba(34, 197, 94, 0.20), 0 10px 30px rgba(0, 0, 0, 0.4);
}
.theme-green-subtle:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: inset 0 1px 0 rgba(34, 197, 94, 0.30), 0 14px 40px rgba(34, 197, 94, 0.12);
}
.theme-green-subtle .module-icon-badge {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Módulo 06: Verde Más Intenso y Brillante */
.theme-green-intense {
  background: linear-gradient(180deg, #0f3521 0%, #06180f 100%);
  border-color: rgba(74, 222, 128, 0.42);
  box-shadow: inset 0 1px 0 rgba(134, 239, 172, 0.35), 0 12px 34px rgba(34, 197, 94, 0.20);
}
.theme-green-intense:hover {
  border-color: rgba(74, 222, 128, 0.65);
  box-shadow: inset 0 1px 0 rgba(134, 239, 172, 0.5), 0 16px 44px rgba(34, 197, 94, 0.30);
}
.theme-green-intense .module-icon-badge {
  background: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.35);
}

/* --- GRUPO 4: GRISES (BRÓKERS & CUSTODIA) --- */
/* Módulo 07: Gris Más Intenso y Brillante (Platino Refinado) */
.theme-gray-intense {
  background: linear-gradient(180deg, #2b3038 0%, #15181d 100%);
  border-color: rgba(226, 232, 240, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 12px 34px rgba(148, 163, 184, 0.18);
}
.theme-gray-intense:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 16px 44px rgba(148, 163, 184, 0.28);
}
.theme-gray-intense .module-icon-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.20);
}

/* Módulo 08: Gris Sobrio / Base */
.theme-gray-subtle {
  background: linear-gradient(180deg, #16181b 0%, #0d0e10 100%);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.18), 0 10px 30px rgba(0, 0, 0, 0.4);
}
.theme-gray-subtle:hover {
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.25), 0 14px 40px rgba(148, 163, 184, 0.12);
}
.theme-gray-subtle .module-icon-badge {
  background: rgba(148, 163, 184, 0.10);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.20);
}

/* --- GRUPO 5: AMARILLO / ORO (BLINDAJE LEGAL - ANEXO ESPECIAL) --- */
/* Módulo 09: Oro Más Intenso, Cálido y Brillante */
.theme-gold-intense {
  background: linear-gradient(180deg, #3d2c0e 0%, #1c1305 100%);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: inset 0 1px 0 rgba(254, 240, 138, 0.38), 0 14px 38px rgba(245, 158, 11, 0.22);
}
.theme-gold-intense:hover {
  border-color: rgba(251, 191, 36, 0.70);
  box-shadow: inset 0 1px 0 rgba(254, 240, 138, 0.55), 0 18px 48px rgba(245, 158, 11, 0.32);
}
.theme-gold-intense .module-icon-badge {
  background: rgba(245, 158, 11, 0.28);
  color: #fef08a;
  border: 1px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.38);
}

/* CABECERA INTERNA DE CADA TARJETA */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.module-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.module-index-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.raycast-module-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.raycast-module-desc {
  font-size: 0.84rem;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 40px;
}

/* LISTA DE TEMAS CLAVE EN LA TARJETA */
.raycast-lessons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.raycast-lessons-list li {
  font-size: 0.82rem;
  color: #d1d5db;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.raycast-lessons-list li span.bullet {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* BOTONES DE NAVEGACIÓN INFERIOR DERECHA */
.carousel-bottom-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
  padding: 0 4px;
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-arrow-btn:hover {
  background: var(--gold-noble);
  color: #070F1A;
  border-color: var(--gold-noble);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.35);
}

.carousel-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  background: rgba(255, 255, 255, 0.02);
  color: #64748b;
  border-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1024px) {
  .raycast-module-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 280px;
  }
}

@media (max-width: 640px) {
  .raycast-module-card {
    flex: 0 0 100%;
    min-width: 260px;
  }
}

/* SECCIÓN TRANSPARENCIA RADICAL (SUTIL, SIN ESTRIDENCIA) */
.transparency-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-card-border);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  padding: 38px;
  backdrop-filter: blur(16px);
}

.transparency-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.transparency-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.icon-soft-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 99, 99, 0.08);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-soft-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(39, 201, 63, 0.08);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* CAJA DE CAPTURA DE LEAD Y DESCARGA DE REPORTE PDF FIRMADO */
.lead-capture-box {
  --beam-color: rgba(197, 160, 89, 0.95);
  --beam-bg: #0B192C;
  --beam-radius: 6px;
  --beam-duration: 4.5s;
  --beam-border-width: 1.5px;

  position: relative;
  border-radius: var(--beam-radius);
  padding: 24px 28px;
  margin-top: 20px;
  border: var(--beam-border-width) solid transparent;
  background:
    linear-gradient(var(--beam-bg), var(--beam-bg)) padding-box,
    conic-gradient(
      from var(--border-angle),
      rgba(197, 160, 89, 0.1) 0deg,
      rgba(197, 160, 89, 0.1) 315deg,
      var(--beam-color) 340deg,
      rgba(197, 160, 89, 0.1) 360deg
    ) border-box;

  animation: raycastBorderBeamRotate var(--beam-duration) linear infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 160, 89, 0.15), inset 0 1px 0 rgba(197, 160, 89, 0.1);
}

.lead-input {
  width: 100%;
  background: #070F1A;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-btn);
  color: #FFFFFF;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: all var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lead-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.lead-input:focus {
  outline: none;
  background: #0B192C;
  border-color: var(--gold-noble);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* OFERTA COMERCIAL SOBERANA */
.offer-box,
.offer-master-box {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.1);
  border-radius: var(--radius-card);
  padding: 38px;
  margin-top: 40px;
}

.offer-grid,
.offer-items-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.offer-stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer-stack-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gold-border);
  font-size: 0.95rem;
  color: var(--text-body);
}

.price-sidebar {
  background: #070F1A;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.12);
}

.price-display-main {
  font-size: 2.7rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--gold-noble);
  letter-spacing: 1px;
  margin: 12px 0 4px;
}

.price-display-sub {
  font-size: 0.76rem;
  color: var(--gold-noble);
  font-family: var(--font-sans);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}

/* FAQS ACCORDION */
.faq-box-collapsible {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-btn);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-box-collapsible:hover {
  border-color: var(--gold-noble);
}

.faq-box-collapsible summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #FFFFFF;
}

.faq-box-collapsible summary::-webkit-details-marker {
  display: none;
}

.faq-box-collapsible[open] .summary-icon {
  transform: rotate(180deg);
  color: var(--gold-noble);
}

.faq-answer-body {
  padding: 0 22px 18px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--gold-border);
  padding-top: 14px;
}

/* MODALES NATIVOS (<dialog>) */
dialog.native-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: 620px;
  width: 92%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 40px rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-card);
  color: var(--text-body);
  padding: 32px;
}

dialog.native-modal.modal-wide {
  max-width: 1100px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
}

dialog.native-modal::backdrop {
  background: rgba(7, 15, 26, 0.92);
  backdrop-filter: blur(16px);
}

/* PESTAÑAS DEL MODAL COMPARATIVO */
.modal-tab-btn {
  background: rgba(11, 25, 44, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
}

.modal-tab-btn:hover {
  border-color: var(--gold-noble);
  color: #FFFFFF;
}

.modal-tab-btn.active {
  background: var(--gold-noble);
  border-color: var(--gold-noble);
  color: #070F1A;
  font-weight: 700;
}

/* COMPARADOR HUMANO 1:1 - MATRIZ COMPARATIVA EN PARALELO */
.comp-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .comp-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .comp-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.cap-selector-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  background: #070F1A;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--gold-border);
}

.cap-btn {
  background: rgba(11, 25, 44, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
}

.cap-btn:hover {
  border-color: var(--gold-noble);
  color: #FFFFFF;
}

.cap-btn.active {
  background: var(--gold-noble);
  border-color: var(--gold-noble);
  color: #070F1A;
  font-weight: 700;
}

.comp-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.comp-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.08);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: all var(--transition);
}

.comp-card.winner-card {
  border: 1px solid var(--gold-noble);
  background: rgba(197, 160, 89, 0.05);
  box-shadow: 0 0 35px rgba(197, 160, 89, 0.25);
}

.comp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.comp-card-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFFFF;
}

.comp-card-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.comp-tag {
  font-size: 0.70rem;
  font-family: var(--font-sans);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.tag-danger { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.tag-warning { background: rgba(197, 160, 89, 0.12); color: var(--gold-noble); border: 1px solid var(--gold-border); }
.tag-winner { background: rgba(197, 160, 89, 0.18); color: var(--gold-noble); border: 1px solid var(--gold-noble); font-weight: 800; }

.comp-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .comp-boxes-grid {
    grid-template-columns: 1fr;
  }
}

.comp-period-box {
  background: rgba(7, 15, 26, 0.6);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
}

.comp-period-label {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--gold-noble);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.comp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.comp-row-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.comp-label {
  color: var(--text-body);
}

.comp-value {
  font-family: var(--font-mono);
  font-weight: 600;
}

.val-green { color: var(--gold-noble); font-weight: 700; }
.val-red { color: #f87171; }

.comp-divider {
  height: 1px;
  background: var(--gold-border);
  margin: 8px 0;
}

.comp-total-row {
  font-size: 0.90rem;
  font-weight: 700;
  margin-top: 2px;
}

.comp-total-label {
  color: #FFFFFF;
}

.comp-total-value {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 800;
}

.comp-verdict-box {
  background: #070F1A;
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold-noble);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.winner-card .comp-verdict-box {
  border-left-color: var(--gold-noble);
  background: rgba(197, 160, 89, 0.08);
}

.comp-verdict-icon {
  font-size: 1.0rem;
  line-height: 1;
}

.comp-verdict-text {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.5;
}

/* FOOTER LEGAL */
.footer-legal {
  background: #040810;
  border-top: 1px solid var(--gold-border);
  padding: 70px 0 45px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-disclaimers {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  padding: 28px;
  border-radius: var(--radius-card);
  margin-bottom: 26px;
  line-height: 1.65;
}

.footer-disclaimers h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.footer-disclaimers p {
  margin-bottom: 14px;
}

.footer-disclaimers p:last-child {
  margin-bottom: 0;
}

/* MODELO METODOLÓGICO DE DOS FASES */
.two-phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .two-phase-grid {
    grid-template-columns: 1fr;
  }
}

.phase-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-card-border);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: all var(--transition);
}

.phase-card:hover {
  border-color: var(--border-interactive);
  transform: translateY(-2px);
}

.phase-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  display: inline-block;
  margin-bottom: 12px;
}

.phase-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: var(--text-h-start);
}

.phase-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-triad-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .frictionless-grid { grid-template-columns: 1fr; }
  .modules-container-grid { grid-template-columns: 1fr; }
  .module-box-collapsible.special-annex { grid-column: span 1; }
  .offer-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}

/* ==========================================================================
   ESTILOS RAYCAST BENTO & ESQUEMAS TÉCNICOS VECTORIALES (FIG_01 .. FIG_10)
   ========================================================================== */
.raycast-bento-card {
  position: relative;
  overflow: hidden;
  background: #0d0f12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  transition: all var(--transition);
}

.raycast-bento-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.raycast-fig-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.raycast-scheme-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO 4 ACTIVOS REALES // ESTILO RAYCAST DARK BENTO UI (FIG_01 .. FIG_04)
   ========================================================================== */
.hero-assets-matrix {
  position: relative;
  z-index: 12;
}

.hero-assets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

@media (max-width: 1024px) {
  .hero-assets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-assets-grid {
    grid-template-columns: 1fr;
  }
}

.hero-asset-card {
  border-radius: 12px;
  padding: 16px 18px;
  background: #090a0c;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  position: relative;
}

.hero-asset-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.asset-card-mini-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.asset-badge-mono {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
}

.asset-fig-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
}

.asset-wireframe-display {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-asset-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.hero-asset-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* TEMAS ESPECÍFICOS DE LAS 4 TARJETAS */
.theme-purple-wireframe {
  background: linear-gradient(180deg, #180d29 0%, #0c0617 100%);
  border: 1px solid rgba(192, 132, 252, 0.45);
}
.theme-purple-wireframe:hover {
  border-color: rgba(192, 132, 252, 0.8);
}
.theme-purple-wireframe .asset-badge-mono {
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid rgba(192, 132, 252, 0.5);
}

.theme-blue-wireframe {
  background: linear-gradient(180deg, #091a33 0%, #040d1a 100%);
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.theme-blue-wireframe:hover {
  border-color: rgba(96, 165, 250, 0.8);
}
.theme-blue-wireframe .asset-badge-mono {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.5);
}

.theme-emerald-wireframe {
  background: linear-gradient(180deg, #082417 0%, #03120b 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
}
.theme-emerald-wireframe:hover {
  border-color: rgba(52, 211, 153, 0.8);
}
.theme-emerald-wireframe .asset-badge-mono {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.5);
}

.theme-gray-wireframe {
  background: linear-gradient(180deg, #1c2027 0%, #0f1216 100%);
  border: 1px solid rgba(226, 232, 240, 0.35);
}
.theme-gray-wireframe:hover {
  border-color: rgba(255, 255, 255, 0.65);
}
.theme-gray-wireframe .asset-badge-mono {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.philosophy-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
}

/* BADGES DE COMPONENTES DE LA OFERTA FIDUCIARIA (COLORES SUTILES DEL CURSO) */
.offer-component-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.badge-theme-purple {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.badge-theme-blue {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.badge-theme-green {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.badge-theme-gold {
  color: #fef08a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.badge-theme-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

/* ==========================================================================
   SECCIÓN INSTRUCTOR Y GUÍA // TRAYECTORIA Y FIDUCIARIA
   ========================================================================== */
.instructor-section-root {
  background: var(--bg-void);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.instructor-header-box {
  max-width: 860px;
  margin: 0 auto 44px auto;
  text-align: center;
}

.instructor-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 22px;
  line-height: 1.45;
}

.instructor-intro-text {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  padding: 22px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .instructor-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .instructor-intro-text {
    padding: 18px;
    font-size: 0.95rem;
  }
}

.instructor-card {
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.instructor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Recuadro 1: Acento Azul Bursátil */
.instructor-card-theme-blue {
  background: linear-gradient(180deg, #091a33 0%, #040d1a 100%);
  border: 1px solid rgba(96, 165, 250, 0.4);
}
.instructor-card-theme-blue:hover {
  border-color: rgba(96, 165, 250, 0.8);
}

/* Recuadro 2: Acento Esmeralda Ingeniería */
.instructor-card-theme-emerald {
  background: linear-gradient(180deg, #082417 0%, #03120b 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.instructor-card-theme-emerald:hover {
  border-color: rgba(52, 211, 153, 0.8);
}

/* Recuadro 3: Acento Oro Independencia */
.instructor-card-theme-gold {
  background: linear-gradient(180deg, #1f1807 0%, #0d0a03 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.instructor-card-theme-gold:hover {
  border-color: rgba(251, 191, 36, 0.8);
}

.instructor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.instructor-card-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-blue-accent {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.5);
}

.badge-emerald-accent {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.5);
}

.badge-gold-accent {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.instructor-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-blue-tone { color: #60a5fa; }
.icon-emerald-tone { color: #34d399; }
.icon-gold-tone { color: #fbbf24; }

.instructor-card-title {
  font-size: 1.10rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.instructor-card-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.instructor-quote-container {
  max-width: 860px;
  margin: 48px auto 0;
  padding: 28px 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid #38bdf8;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  text-align: center;
  box-sizing: border-box;
}

.instructor-quote-text {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.7;
  margin: 0 0 14px 0;
  quotes: none;
}

.instructor-quote-author {
  font-family: var(--font-sans);
  font-size: 0.90rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .instructor-quote-container {
    padding: 20px 18px;
    margin-top: 36px;
  }
  .instructor-quote-text {
    font-size: 1.0rem;
    line-height: 1.6;
  }
}



