/* ==========================================================================
   IICED · Sistema Visual Integral v3.0
   Calibrado bajo Estándares de Colorimetría UI & CRO:
   - Regla 60-30-10 · WCAG 2.2 AA/AAA · Contraste Perceptual APCA · Von Restorff
   - Portada Principal (body.tema-claro): Fondo Claro Alabastro (60%) +
     Fichas Gris Grafito Oscuro Semitransparente (30%) + Azul Cobalto CTA (10%)
   - Landing Curso IA (body.tema-oscuro): Fondo Obsidiana (60%) +
     Superficies Pizarra Elevada (30%) + Ámbar Solar Von Restorff CTA (10%)
   - Logo -30% estilizado (56px desktop) + Política Tipográfica 18/16/14
   ========================================================================== */

:root {
  --fuente-titulos: 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, sans-serif;
  --fuente-cuerpo: 'Inter', system-ui, -apple-system, sans-serif;
  --fuente-mono: 'Roboto Mono', monospace;

  --radio-sm: 10px;
  --radio-md: 18px;
  --radio-lg: 24px;
  --radio-pill: 9999px;
  --ancho-max: 1260px;

  --azul-iiced: #1D4ED8;
  --azul-iiced-vivo: #2563EB;
  --azul-brillante: #60A5FA;
  --cian-neon: #38BDF8;
  --verde-ok: #34D399;
  --verde-oscuro: #059669;
  --oro-acento: #F59E0B;
  --oro-suave: #FDE68A;
  --coral-alerta: #FB7185;
}

/* --------------------------------------------------------------------------
   TEMA CLARO (PORTADA PRINCIPAL IICED: 60% ALABASTRO + 30% FICHAS GRAFITO)
   -------------------------------------------------------------------------- */
body.tema-claro {
  --bg-primario: #EDF2F7;
  --bg-secundario: #E2E8F0;
  /* Textos sobre el lienzo claro (WCAG AAA > 8.9:1 a 15.8:1) */
  --texto-lienzo: #0F172A;
  --texto-lienzo-sec: #334155;
  /* Superficies 30%: Fichas Gris Grafito Oscuro Semitransparente */
  --bg-ficha: rgba(21, 30, 44, 0.88);
  --bg-ficha-elevada: rgba(15, 23, 38, 0.93);
  --bg-subficha: rgba(255, 255, 255, 0.06);
  --borde-ficha: rgba(255, 255, 255, 0.14);
  --borde-ficha-hover: rgba(56, 189, 248, 0.55);
  /* Textos dentro de las fichas grafito (WCAG AAA > 10.7:1 a 14.9:1) */
  --texto-principal: #F1F5F9;
  --texto-secundario: #CBD5E1;
  --texto-mutado: #94A3B8;
  --acento-ficha: #38BDF8;

  --sombra-panel: 0 24px 54px -16px rgba(15, 23, 42, 0.30), 0 4px 14px -4px rgba(15, 23, 42, 0.14);
  --sombra-hover: 0 30px 64px -14px rgba(15, 23, 42, 0.42), 0 0 0 1px rgba(56, 189, 248, 0.35);
  background-color: var(--bg-primario);
  color: var(--texto-lienzo);
}

/* --------------------------------------------------------------------------
   TEMA OSCURO (LANDING CURSO IA: 60% OBSIDIANA + 30% PIZARRA + 10% ÁMBAR)
   -------------------------------------------------------------------------- */
body.tema-oscuro {
  --bg-primario: #0B1120;
  --bg-secundario: #0F172A;
  --texto-lienzo: #F1F5F9;
  --texto-lienzo-sec: #CBD5E1;
  --bg-ficha: rgba(17, 27, 46, 0.86);
  --bg-ficha-elevada: rgba(22, 35, 58, 0.94);
  --bg-subficha: rgba(255, 255, 255, 0.045);
  --borde-ficha: rgba(148, 163, 184, 0.18);
  --borde-ficha-hover: rgba(56, 189, 248, 0.50);
  --texto-principal: #F1F5F9;
  --texto-secundario: #CBD5E1;
  --texto-mutado: #94A3B8;
  --acento-ficha: #38BDF8;

  --sombra-panel: 0 24px 60px -15px rgba(0, 0, 0, 0.65);
  --sombra-hover: 0 28px 66px -14px rgba(0, 0, 0, 0.78), 0 0 36px -10px rgba(56, 189, 248, 0.25);
  background-color: var(--bg-primario);
  color: var(--texto-lienzo);
}

/* Reset y base tipográfica 18/16/14 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  font-family: var(--fuente-cuerpo);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

img, video {
  max-width: 100%;
  display: block;
}

section[id],
div[id] {
  scroll-margin-top: 104px;
}

.salto {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--azul-iiced);
  color: #FFFFFF;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: var(--radio-sm);
  font-weight: 600;
}
.salto:focus {
  top: 20px;
}

/* ==========================================================================
   MUNDO ARQUITECTÓNICO DE FONDO (CANVAS SCROLL + VIDEO HERO)
   ========================================================================== */
.mundo-scroll {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mundo-scroll canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tema-claro .mundo-scroll__velo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(237, 242, 247, 0.56) 0%, rgba(237, 242, 247, 0.34) 55%, rgba(226, 232, 240, 0.52) 100%);
}

.tema-oscuro .mundo-scroll__velo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(11, 17, 32, 0.58) 0%, rgba(11, 17, 32, 0.42) 55%, rgba(11, 17, 32, 0.72) 100%);
}

main, footer {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   CABECERA CON LOGO REDUCIDO EN UN 30% (56PX DESKTOP / 38PX MÓVIL)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 82px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tema-claro .site-header {
  background: rgba(237, 242, 247, 0.90);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.tema-oscuro .site-header {
  background: rgba(11, 17, 32, 0.90);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.site-header__in {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Logo reducido un 30% respecto a 82px -> 56px */
.brand {
  position: relative;
  z-index: 1010;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.14);
  transition: transform 0.22s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 991px) {
  .site-header {
    height: 70px;
    padding: 0 1rem;
  }
  .brand {
    padding: 5px 9px;
    border-radius: 8px;
  }
  .brand img {
    height: 38px;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.15rem;
}

@media (min-width: 1080px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--fuente-titulos);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--texto-lienzo-sec);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--azul-iiced-vivo);
}

.tema-oscuro .nav-link:hover,
.tema-oscuro .nav-link.active {
  color: var(--cian-neon);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2.5px;
  border-radius: var(--radio-pill);
  background: currentColor;
}

.badge-nav {
  display: inline-block;
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radio-pill);
  background: #F59E0B;
  color: #0B1120;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   TIPOGRAFÍA Y CONTENEDORES
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--fuente-titulos);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--texto-lienzo);
}

/* Dentro de cualquier ficha oscura grafito, los títulos son hielo puro */
.cristal h1, .cristal h2, .cristal h3, .cristal h4,
.hero-consola h3, .hero-consola strong,
.dir-foto-box strong, .form-box h3, .demo-shell h2, .demo-shell h3 {
  color: var(--texto-principal);
}

.h1 {
  font-size: clamp(2.25rem, 4.1vw, 3.65rem);
  margin-bottom: 1.25rem;
}

.h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
}

.luz {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 55%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tema-oscuro .luz,
.cristal .luz {
  background: linear-gradient(135deg, #E0F2FE 0%, #38BDF8 55%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.luz-oro {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, #FEF3C7 0%, #FBBF24 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--texto-lienzo-sec);
  max-width: 680px;
}

.pg {
  width: 100%;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.seccion {
  padding: 5rem 0;
  position: relative;
}

.seccion-head {
  margin-bottom: 2.75rem;
}

.seccion-head.split {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .seccion-head.split {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .seccion-head.split > div:first-child {
    max-width: 64%;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--fuente-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1E40AF;
  background: rgba(29, 78, 216, 0.10);
  border: 1px solid rgba(29, 78, 216, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radio-pill);
  margin-bottom: 1rem;
}

.tema-oscuro .kicker,
.cristal .kicker {
  color: var(--cian-neon);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.30);
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.kicker-oro,
.tema-oscuro .kicker-oro,
.cristal .kicker-oro {
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.42);
}

/* ==========================================================================
   FICHAS DE CRISTAL GRIS GRAFITO OSCURO SEMITRANSPARENTE (30% SUPERFICIES)
   ========================================================================== */
.cristal {
  background: var(--bg-ficha);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--borde-ficha);
  border-radius: var(--radio-md);
  padding: 2rem;
  color: var(--texto-principal);
  box-shadow: var(--sombra-panel);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cristal:hover {
  border-color: var(--borde-ficha-hover);
  box-shadow: var(--sombra-hover);
}

.cristal p {
  color: var(--texto-secundario);
}

/* Botones (10% Acento de Conversión — Efecto Von Restorff) */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--fuente-titulos);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radio-pill);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.boton--azul {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px -6px rgba(29, 78, 216, 0.50);
}
.boton--azul:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -6px rgba(29, 78, 216, 0.68);
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
}

.boton--oro {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #0B1120;
  box-shadow: 0 10px 28px -6px rgba(245, 158, 11, 0.52);
}
.boton--oro:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -6px rgba(245, 158, 11, 0.72);
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
}

.boton--cristal {
  background: var(--bg-ficha);
  color: #F1F5F9;
  border-color: var(--borde-ficha);
}
.boton--cristal:hover {
  border-color: var(--cian-neon);
  transform: translateY(-2px);
}

.enlace-accion {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--azul-iiced-vivo);
  cursor: pointer;
  background: none;
  border: none;
}
.tema-oscuro .enlace-accion,
.cristal .enlace-accion {
  color: var(--cian-neon);
}
.enlace-accion:hover {
  gap: 0.72rem;
}

/* ==========================================================================
   HERO CON VIDEO DE FONDO (Z-INDEX BLINDADO: VIDEO=0, CONTENIDO=3)
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.90;
}

.tema-claro .hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 242, 247, 0.88) 0%, rgba(237, 242, 247, 0.56) 52%, rgba(237, 242, 247, 0.24) 100%),
    linear-gradient(180deg, rgba(237, 242, 247, 0.14) 0%, rgba(237, 242, 247, 0.72) 100%);
}

.tema-oscuro .hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.74) 0%, rgba(11, 17, 32, 0.62) 55%, rgba(11, 17, 32, 0.90) 100%);
}

/* Garantiza que TODO el contenido del Hero siempre viva encima del video/scrim */
.hero > .pg {
  position: relative;
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

/* Fichas de pilares en Hero Principal -> Gris grafito oscuro semitransparente */
.hero-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.95rem;
  margin: 1.85rem 0;
  list-style: none;
}

.hero-pill-item {
  background: var(--bg-ficha);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--borde-ficha);
  border-left: 3.5px solid var(--cian-neon);
  border-radius: var(--radio-sm);
  padding: 0.9rem 1.05rem;
  box-shadow: var(--sombra-panel);
}

.hero-pill-item strong {
  display: block;
  font-family: var(--fuente-mono);
  font-size: 1.05rem;
  color: #F8FAFC;
}

.hero-pill-item span {
  font-size: 0.875rem;
  color: #CBD5E1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  align-items: center;
}

/* Consola Arquitectónica en Hero Principal -> Gris grafito oscuro semitransparente */
.hero-consola {
  background: var(--bg-ficha-elevada);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--borde-ficha);
  border-radius: var(--radio-lg);
  padding: 1.85rem;
  box-shadow: var(--sombra-panel);
  color: var(--texto-principal);
}

.consola-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--borde-ficha);
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
}

.consola-dots {
  display: flex;
  gap: 6px;
}
.consola-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.consola-dots span:nth-child(1) { background: #FB7185; }
.consola-dots span:nth-child(2) { background: #FBBF24; }
.consola-dots span:nth-child(3) { background: #34D399; }

.consola-tag {
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  color: var(--cian-neon);
  font-weight: 700;
}

.consola-flow {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.consola-step {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radio-sm);
  background: var(--bg-subficha);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.consola-step.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
}

.consola-step-num {
  font-family: var(--fuente-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--azul-iiced-vivo);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
}

.consola-step-txt strong {
  display: block;
  font-size: 1rem;
  color: #F8FAFC;
  margin-bottom: 0.15rem;
}

.consola-step-txt p {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.48;
}

/* ==========================================================================
   SECCIONES DE LA PORTADA PRINCIPAL (FICHAS GRIS OSCURO SEMITRANSPARENTE)
   ========================================================================== */
.criterio-grid,
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 960px) {
  .criterio-grid,
  .contacto-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sintomas-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.sintomas-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radio-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.95rem;
  color: #F1F5F9;
}

.sintomas-num {
  font-family: var(--fuente-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FDA4AF;
  background: rgba(244, 63, 94, 0.20);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

.piramide-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.pira-bloque {
  padding: 1.05rem 1.25rem;
  border-radius: var(--radio-md);
  border: 1px solid transparent;
  text-align: center;
}

.pira-bloque-3 {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.48);
  margin: 0 12%;
}
.pira-bloque-2 {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.40);
  margin: 0 6%;
}
.pira-bloque-1 {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.42);
}

.pira-bloque strong {
  display: block;
  font-size: 1rem;
  color: #FFFFFF;
}
.pira-bloque span {
  font-size: 0.88rem;
  color: #CBD5E1;
}

/* Metodología EC0566 */
.metodo-tabs-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 880px) {
  .metodo-tabs-container {
    grid-template-columns: 360px 1fr;
  }
}

.tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-btn {
  text-align: left;
  background: var(--bg-ficha);
  border: 1px solid var(--borde-ficha);
  color: #CBD5E1;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radio-sm);
  cursor: pointer;
  font-family: var(--fuente-titulos);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--cian-neon);
  color: #FFFFFF;
}

.tab-btn.active {
  background: var(--azul-iiced-vivo);
  border-color: var(--azul-brillante);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.55);
}

.tab-btn .tab-badge {
  font-family: var(--fuente-mono);
  font-size: 0.74rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radio-pill);
  background: rgba(255, 255, 255, 0.10);
  color: #E2E8F0;
}

.tab-panel {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
}
.tab-panel.active {
  display: flex;
}

.tab-entregables {
  background: rgba(9, 14, 24, 0.52);
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: var(--radio-sm);
  padding: 1.25rem;
}

.tab-entregables h4 {
  font-size: 0.85rem;
  font-family: var(--fuente-mono);
  text-transform: uppercase;
  color: var(--cian-neon);
  margin-bottom: 0.75rem;
}

.tab-entregables ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-entregables li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #F1F5F9;
}
.tab-entregables li::before {
  content: '✓';
  color: var(--verde-ok);
  font-weight: 800;
}

/* Grids 3 Columnas */
.tiempos-grid,
.ruta-compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .tiempos-grid,
  .ruta-compact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tiempo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.tiempo-romano {
  font-family: var(--fuente-titulos);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cian-neon);
}

.tiempo-etapas-badge {
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radio-pill);
  background: rgba(255, 255, 255, 0.09);
  color: #E2E8F0;
}

/* Portafolio Studio Browser */
.port-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filtro-btn {
  background: var(--bg-ficha);
  border: 1px solid var(--borde-ficha);
  color: #E2E8F0;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radio-pill);
  font-family: var(--fuente-titulos);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filtro-btn:hover,
.filtro-btn.active {
  background: var(--azul-iiced-vivo);
  color: #FFFFFF;
  border-color: var(--azul-brillante);
}

.casos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem;
}

@media (min-width: 768px) {
  .casos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .casos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.caso-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.studio-browser {
  background: #0B1120;
  border-bottom: 1px solid var(--borde-ficha);
  overflow: hidden;
}

.studio-browser__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: #1E293B;
  font-family: var(--fuente-mono);
  font-size: 0.74rem;
  color: #CBD5E1;
}

.studio-browser__dots {
  display: flex;
  gap: 5px;
}
.studio-browser__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.studio-browser__dots i:nth-child(1) { background: #FB7185; }
.studio-browser__dots i:nth-child(2) { background: #FBBF24; }
.studio-browser__dots i:nth-child(3) { background: #34D399; }

.studio-browser__img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.caso-card:hover .studio-browser__img {
  transform: scale(1.04);
}

.caso-body {
  padding: 1.45rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.caso-cat {
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cian-neon);
  margin-bottom: 0.4rem;
  display: block;
}

/* Modal de Caso */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 17, 32, 0.80);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: #111B2E;
  color: #F1F5F9;
  border: 1px solid rgba(148, 163, 184, 0.25);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radio-lg);
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Banner Destacado Curso dentro de Portada Principal */
.banner-capacitacion {
  background: linear-gradient(135deg, #0B1120 0%, #13223D 60%, #0B1120 100%);
  color: #F1F5F9;
  border: 1.5px solid rgba(245, 158, 11, 0.50);
  border-radius: var(--radio-lg);
  padding: 3rem;
  box-shadow: var(--sombra-panel);
}
.banner-capacitacion h2 {
  color: #FFFFFF;
}
.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 992px) {
  .banner-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Dirección, Formulario y Footer */
.dir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 860px) {
  .dir-grid {
    grid-template-columns: 330px 1fr;
  }
}

.dir-foto-box {
  background: var(--bg-ficha);
  backdrop-filter: blur(22px);
  border: 1px solid var(--borde-ficha);
  border-radius: var(--radio-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  box-shadow: var(--sombra-panel);
  color: var(--texto-principal);
}

.dir-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #0EA5E9);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fuente-titulos);
  font-size: 1.85rem;
  font-weight: 800;
}

.dir-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.dir-tag {
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radio-pill);
  color: #E0F2FE;
}

.form-box {
  background: var(--bg-ficha-elevada);
  backdrop-filter: blur(22px);
  border: 1px solid var(--borde-ficha);
  border-radius: var(--radio-lg);
  padding: 2.25rem;
  box-shadow: var(--sombra-panel);
  color: var(--texto-principal);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(7, 13, 24, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radio-sm);
  color: #F8FAFC;
  font-family: var(--fuente-cuerpo);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94A3B8;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cian-neon);
  background: rgba(7, 13, 24, 0.96);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #0B1120;
  color: #CBD5E1;
  padding: 3.75rem 0 2.25rem;
  margin-top: 3rem;
  font-size: 0.92rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr;
  }
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   LANDING DEL CURSO: HERO CON LAS 3 TARJETAS + DEMOSTRADOR TYPEWRITER 3D
   ========================================================================== */
.hero-curso-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero-curso-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 920px) {
  .hero-curso-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .hero-curso-top > div:first-child {
    max-width: 66%;
  }
}

.demo-shell {
  position: relative;
  background: rgba(13, 22, 39, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.30);
  border-radius: var(--radio-lg);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 30px 80px -18px rgba(0, 0, 0, 0.82);
}

/* Puntero de mouse virtual animado para hacer clic en Enviar */
.sim-mouse-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(120px, 220px, 0);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.65));
}
.sim-mouse-cursor.is-visible {
  opacity: 1;
}
.sim-mouse-cursor svg {
  width: 28px;
  height: 28px;
  transition: transform 0.14s ease;
}
.sim-mouse-cursor.is-clicking svg {
  transform: scale(0.80) translate(-2px, -2px);
}
.sim-click-ripple {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid #FBBF24;
  background: rgba(251, 191, 36, 0.32);
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
}
.sim-mouse-cursor.is-clicking .sim-click-ripple {
  animation: mouseRipple 0.52s ease-out forwards;
}
@keyframes mouseRipple {
  0% { opacity: 1; transform: scale(0.25); }
  100% { opacity: 0; transform: scale(2.2); }
}

.demo-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.demo-controls-mini {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mini-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #E2E8F0;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radio-pill);
  font-family: var(--fuente-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mini-pill-btn:hover {
  border-color: var(--oro-acento);
  color: #FDE68A;
}

.demo-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

@media (min-width: 768px) {
  .demo-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.demo-tab {
  text-align: left;
  padding: 0.68rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(148, 163, 184, 0.18);
  color: #CBD5E1;
  cursor: pointer;
  transition: all 0.22s ease;
}

.demo-tab:hover {
  border-color: rgba(56, 189, 248, 0.48);
}

.demo-tab__tag {
  font-family: var(--fuente-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.demo-tab__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--fuente-titulos);
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.demo-tab__out-type {
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.14rem 0.5rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.demo-tab.active[data-level="1"] {
  background: rgba(244, 63, 94, 0.14);
  border-color: #FB7185;
}
.demo-tab.active[data-level="1"] .demo-tab__out-type {
  background: rgba(244, 63, 94, 0.22);
  color: #FECDD3;
}

.demo-tab.active[data-level="2"] {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--cian-neon);
}
.demo-tab.active[data-level="2"] .demo-tab__out-type {
  background: rgba(56, 189, 248, 0.22);
  color: #BAE6FD;
}

.demo-tab.active[data-level="3"] {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(217, 119, 6, 0.10));
  border-color: var(--oro-acento);
  box-shadow: 0 0 28px -6px rgba(245, 158, 11, 0.45);
}
.demo-tab.active[data-level="3"] .demo-tab__out-type {
  background: rgba(245, 158, 11, 0.26);
  color: #FDE68A;
}

/* Panel compacto de UNA SOLA PANTALLA (cabe íntegro en 1366x768 y 1440x900) */
.demo-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

@media (min-width: 920px) {
  .demo-stage {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.demo-input-box {
  background: #070C16;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 345px;
}

.prompt-composer {
  background: #0F172A;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.prompt-text-live {
  font-size: 0.9rem;
  line-height: 1.44;
  color: #F8FAFC;
  min-height: 58px;
}

.prompt-placeholder {
  color: #64748B;
  font-style: italic;
}

.typing-cursor {
  display: inline-block;
  width: 2.5px;
  height: 1.05em;
  background: var(--oro-acento);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blinkCursor 0.75s steps(1) infinite;
}

@keyframes blinkCursor {
  50% { opacity: 0; }
}

.prompt-composer-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.attach-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--fuente-mono);
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #BAE6FD;
  animation: fadeUpOut 0.28s ease forwards;
}

.send-action-group {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.send-hint-pill {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--fuente-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  white-space: nowrap;
  animation: hintNudge 1.1s ease-in-out infinite;
}

.send-hint-pill.is-visible {
  display: inline-flex;
}

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

.send-sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--fuente-mono);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.44rem 1rem;
  border-radius: 8px;
  background: #1E293B;
  border: 1.5px solid rgba(148, 163, 184, 0.30);
  color: #94A3B8;
  cursor: not-allowed;
  transition: all 0.22s ease;
}

.send-sim-btn.is-ready {
  background: #F59E0B;
  color: #0B1120;
  border-color: #FDE68A;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65);
  animation: sendReadyPulse 1.5s infinite;
}

.send-sim-btn.is-ready:hover {
  background: #FBBF24;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

@keyframes sendReadyPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.62); }
  70% { box-shadow: 0 0 0 11px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.send-sim-btn.is-pressed {
  transform: scale(0.92);
  background: #D97706;
  color: #FFFFFF;
  border-color: #FDE68A;
  animation: none;
}

.send-sim-btn.is-sent {
  background: #10B981;
  color: #052E16;
  border-color: #34D399;
  cursor: default;
  animation: none;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}

.mini-pill-btn.is-next-pulse {
  animation: sendReadyPulse 1.8s infinite;
}

.waiting-ready-badge {
  display: none;
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.52);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
}

.output-waiting.is-ready-click .waiting-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.output-waiting.is-ready-click {
  color: #E2E8F0;
}

.demo-status-steps {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--fuente-mono);
  font-size: 0.8rem;
  min-height: 54px;
}

.demo-output-box {
  background: rgba(17, 27, 46, 0.90);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  position: relative;
  min-height: 345px;
}

.output-waiting {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  color: #64748B;
  font-family: var(--fuente-mono);
  font-size: 0.86rem;
}

.pulse-ring {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.22);
  border-top-color: var(--oro-acento);
  animation: spinRing 0.85s linear infinite;
}
.output-waiting.is-processing .pulse-ring {
  display: block;
}
.output-waiting.is-processing {
  color: #CBD5E1;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.output-reveal {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  flex: 1;
  animation: fadeUpOut 0.38s ease forwards;
}

.output-reveal.is-shown {
  display: flex;
}

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

/* Artefacto Nivel 1: Texto plano */
.plain-text-sheet {
  background: #070C16;
  border: 1px dashed rgba(251, 113, 133, 0.50);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-family: var(--fuente-mono);
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.55;
  min-height: 195px;
}

/* Artefacto Nivel 2: Documentos reales Word y Excel */
.docs-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
@media (min-width: 600px) {
  .docs-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-artifact-card {
  background: #F8FAFC;
  color: #0F172A;
  border-radius: 10px;
  padding: 0.95rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.40);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-artifact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.4rem;
}

.doc-badge {
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.14rem 0.45rem;
  border-radius: 5px;
}
.doc-badge--word { background: #DBEAFE; color: #1D4ED8; }
.doc-badge--excel { background: #D1FAE5; color: #047857; }

.excel-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 62px;
  padding: 6px 8px 0;
  background: #EEF2F7;
  border-radius: 6px;
}
.excel-bar {
  flex: 1;
  background: linear-gradient(180deg, #10B981, #059669);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}

/* Artefacto Nivel 3: Video Render 3D Blender en vivo (alto optimizado para 1 pantalla) */
.render3d-viewport {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--oro-acento);
  background: radial-gradient(ellipse at center, #061327 0%, #02060E 82%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.70), 0 0 26px -6px rgba(245, 158, 11, 0.35);
}

.render3d-video {
  width: 100%;
  height: 206px;
  object-fit: contain;
  background: transparent;
  display: block;
}

.render3d-overlay-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.sys-live-pill {
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.44);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  color: #FDE68A;
}
.sys-live-pill strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.84rem;
}

/* Caja Capítulo 1 Gratis */
.free-chapter-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(17, 27, 46, 0.94) 65%);
  border: 1.5px solid var(--oro-acento);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  box-shadow: 0 24px 60px -15px rgba(245, 158, 11, 0.24);
}

/* Prevención de desborde horizontal en Grids */
.hero-grid > *,
.criterio-grid > *,
.metodo-tabs-container > *,
.tiempos-grid > *,
.ruta-compact-grid > *,
.banner-grid > *,
.casos-grid > *,
.dir-grid > *,
.contacto-grid > *,
.demo-stage > * {
  min-width: 0;
}

@media (max-width: 640px) {
  .boton {
    white-space: normal;
    text-align: center;
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
  }
  .demo-shell,
  .free-chapter-box,
  .banner-capacitacion,
  .form-box,
  .cristal {
    padding: 1.35rem;
  }
  .render3d-overlay-badges {
    grid-template-columns: 1fr;
  }
}
