/* NAV DASHBOARD */
.dash-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 0;
}

/* =========================================================
   PRÁCTICA Y FLUIDEZ
   ========================================================= */
.pf-section {
  --pf-border: rgba(27, 198, 221, 0.24);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 38px 0;
  padding: 42px 40px 40px;
  border: 1px solid var(--pf-border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(4, 28, 39, 0.98), rgba(2, 18, 29, 0.98) 55%, rgba(9, 35, 48, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.pf-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 211, 238, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.pf-glow {
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.22;
  pointer-events: none;
}

.pf-glow-one {
  top: -260px;
  right: -90px;
  background: radial-gradient(circle, #00d9f5 0, transparent 68%);
}

.pf-glow-two {
  bottom: -310px;
  left: -120px;
  background: radial-gradient(circle, #6a5cff 0, transparent 68%);
}

.pf-header {
  position: relative;
  max-width: 900px;
  margin-bottom: 34px;
}

.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 211, 238, 0.28);
  border-radius: 999px;
  color: #45e7fa;
  background: rgba(0, 211, 238, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pf-title {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pf-title span {
  color: transparent;
  background: linear-gradient(135deg, #03d5ee, #087cba);
  -webkit-background-clip: text;
  background-clip: text;
}

.pf-subtitle {
  max-width: 820px;
  margin: 18px 0 0;
  color: #aebdca;
  font-size: 1.06rem;
  line-height: 1.65;
}

.pf-highlight {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin-top: 18px;
  padding: 11px 15px;
  border-left: 3px solid #06d4ed;
  border-radius: 0 10px 10px 0;
  color: #dffbff;
  background: rgba(0, 211, 238, 0.075);
  font-weight: 700;
}

.pf-highlight i {
  color: #06d4ed;
}

.pf-group + .pf-group {
  margin-top: 32px;
}

.pf-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: #dceaf2;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pf-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(46, 207, 229, 0.28), transparent);
}

.pf-group-title i {
  color: #20d7ec;
  font-size: 1rem;
}

.pf-grid {
  display: grid;
  gap: 16px;
}

.pf-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pf-card {
  --pf-accent: #00d4ea;
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 5px 14px;
  min-height: 126px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(129, 189, 207, 0.17);
  border-radius: 16px;
  color: #eefaff;
  background: linear-gradient(145deg, rgba(11, 43, 55, 0.94), rgba(5, 27, 38, 0.94));
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--pf-accent), transparent);
  opacity: 0.8;
}

.pf-card-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.08) brightness(1.05);
  transition: transform 260ms ease, opacity 180ms ease;
}

.pf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 23, 33, 0.82) 0%, rgba(3, 23, 33, 0.57) 58%, rgba(3, 23, 33, 0.28) 100%),
    linear-gradient(0deg, rgba(1, 16, 24, 0.24), transparent 70%);
}

.pf-card:hover .pf-card-cover,
.pf-card:focus-visible .pf-card-cover {
  transform: scale(1.045);
  opacity: 0.88;
}

.pf-card-icon,
.pf-card-version,
.pf-card strong,
.pf-card small,
.pf-card-action {
  position: relative;
  z-index: 2;
}

.pf-card:hover,
.pf-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pf-accent);
  box-shadow: 0 17px 36px rgba(0, 0, 0, 0.28), 0 0 24px rgba(0, 211, 238, 0.08);
  outline: none;
}

.pf-card-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  align-self: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--pf-accent);
  background: rgba(255, 255, 255, 0.045);
  font-size: 1.35rem;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.14);
}

.pf-card-version {
  align-self: end;
  color: var(--pf-accent);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pf-card strong {
  grid-column: 2;
  color: #f5fcff;
  font-size: 1.02rem;
  line-height: 1.25;
}

.pf-card small {
  grid-column: 2 / span 2;
  color: #93a9b7;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pf-card-action {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  align-self: center;
  width: auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--pf-accent);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.pf-card-action i {
  margin-left: 6px;
}

.pf-card:hover .pf-card-action,
.pf-card:focus-visible .pf-card-action {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.09);
}

.pf-card-cyan { --pf-accent: #00d8ed; }
.pf-card-blue { --pf-accent: #3898ff; }
.pf-card-violet { --pf-accent: #9676ff; }
.pf-card-green { --pf-accent: #41dda3; }
.pf-card-orange { --pf-accent: #ffab51; }
.pf-card-pink { --pf-accent: #ff70b5; }
.pf-card-gold { --pf-accent: #ffd45d; }
.pf-card-teal { --pf-accent: #32e6d1; }

.pf-card-wide {
  min-height: 136px;
}

@media (max-width: 900px) {
  .pf-section {
    padding: 34px 26px;
  }

  .pf-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pf-section {
    margin: 26px 0;
    padding: 28px 17px 24px;
    border-radius: 18px;
  }

  .pf-title {
    font-size: clamp(2.25rem, 14vw, 3.25rem);
  }

  .pf-subtitle {
    font-size: 0.94rem;
  }

  .pf-highlight {
    align-items: flex-start;
    font-size: 0.88rem;
  }

  .pf-grid-three,
  .pf-grid-two {
    grid-template-columns: 1fr;
  }

  .pf-card {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    min-height: 116px;
    padding: 17px 15px;
    gap: 5px 12px;
  }

  .pf-card-action {
    width: 30px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }

  .pf-card-action i {
    margin-left: 0;
    color: var(--pf-accent);
  }

  .pf-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-card,
  .pf-card-action {
    transition: none;
  }
}

/* =========================================================
   FRASES PROFESIONALES 2.9 — PORTADAS VISUALES RESPONSIVAS
   ========================================================= */
body .fs-hero-section {
    isolation: isolate;
    background-image:
        linear-gradient(90deg, rgba(2, 14, 20, .98) 0%, rgba(2, 14, 20, .91) 42%, rgba(2, 14, 20, .42) 72%, rgba(2, 14, 20, .72) 100%),
        linear-gradient(0deg, rgba(2, 14, 20, .98) 0%, transparent 52%),
        url('../images/dashboard/professional-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body .fs-hero-header { max-width: 650px; }

body .fs-areas-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body .fs-area-card {
    min-height: 178px;
    align-items: flex-end;
    padding: 18px;
    border-color: rgba(103, 211, 234, .22);
    background-color: #071821;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

body .fs-area-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(2,11,17,.05) 5%, rgba(2,11,17,.38) 46%, rgba(2,11,17,.97) 100%);
    transition: background .25s ease;
}

body .fs-area-card:hover {
    transform: translateY(-4px);
    border-color: #11c5e4;
    box-shadow: 0 14px 32px rgba(0,0,0,.36);
}

body .fs-area-card:hover::before {
    background: linear-gradient(180deg, rgba(2,11,17,0) 0%, rgba(2,11,17,.25) 40%, rgba(2,11,17,.94) 100%);
}

body .fs-area-card > * { position: relative; z-index: 2; }
body .fs-area-glow { position: absolute; z-index: 1; }
body .fs-area-featured { grid-column: span 3; min-height: 230px; }
body .fs-area-emoji {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(3,18,26,.78);
    border: 1px solid rgba(95,215,236,.25);
    backdrop-filter: blur(7px);
}
body .fs-area-name { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
body .fs-area-meta { color: #a7c1cc; }
body .fs-area-arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #021016;
    background: #13c6e5;
}

/* Una portada distinta para cada profesión visible. */
body .fs-area-card:nth-child(1)  { background-image: url('../images/dashboard/profesiones/ingles-general.webp'); }
body .fs-area-card:nth-child(2)  { background-image: url('../images/dashboard/profesiones/programacion.webp'); }
body .fs-area-card:nth-child(3)  { background-image: url('../images/dashboard/profesiones/bases-datos.webp'); }
body .fs-area-card:nth-child(4)  { background-image: url('../images/dashboard/profesiones/qa-testing.webp'); }
body .fs-area-card:nth-child(5)  { background-image: url('../images/dashboard/profesiones/devops.webp'); }
body .fs-area-card:nth-child(6)  { background-image: url('../images/dashboard/profesiones/administracion.webp'); }
body .fs-area-card:nth-child(7)  { background-image: url('../images/dashboard/profesiones/contabilidad.webp'); }
body .fs-area-card:nth-child(8)  { background-image: url('../images/dashboard/profesiones/marketing.webp'); }
body .fs-area-card:nth-child(9)  { background-image: url('../images/dashboard/profesiones/ventas.webp'); }
body .fs-area-card:nth-child(10) { background-image: url('../images/dashboard/profesiones/medicina.webp'); }
body .fs-area-card:nth-child(11) { background-image: url('../images/dashboard/profesiones/enfermeria.webp'); }
body .fs-area-card:nth-child(12) { background-image: url('../images/dashboard/profesiones/farmacia.webp'); }
body .fs-area-card:nth-child(13) { background-image: url('../images/dashboard/profesiones/odontologia.webp'); }
body .fs-area-card:nth-child(14) { background-image: url('../images/dashboard/profesiones/derecho-corporativo.webp'); }
body .fs-area-card:nth-child(15) { background-image: url('../images/dashboard/profesiones/derecho-laboral.webp'); }
body .fs-area-card:nth-child(16) { background-image: url('../images/dashboard/profesiones/investigacion.webp'); }

@media (max-width: 900px) {
    body .fs-areas-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .fs-area-featured { grid-column: span 2; }
}

@media (max-width: 600px) {
    body .fs-hero-section {
        padding: 24px 14px 20px;
        background-position: 63% center;
    }
    body .fs-hero-section::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: rgba(2,14,20,.25);
    }
    body .fs-hero-title { font-size: clamp(1.75rem, 10vw, 2.35rem); }
    body .fs-hero-desc { font-size: .88rem; line-height: 1.58; }
    body .fs-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .fs-stat-chip { min-width: 0; padding: 10px 6px; }
    body .fs-stat-divider { display: none; }
    body .fs-hero-cta[style] { align-items: stretch !important; margin-bottom: 22px !important; }
    body .fs-areas-showcase { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    body .fs-area-featured { grid-column: span 1; min-height: 190px; }
    body .fs-area-card { min-height: 162px; padding: 15px; }
    body .fs-area-emoji { width: 38px; height: 38px; font-size: 1.45rem; }
    body .fs-area-badge-free { position: absolute; top: 12px; right: 12px; }
}

/* ================================================================
   DASHBOARD STREAMING — portadas de módulos (v2.4)
   ================================================================ */
.module-row-controls {
    display: flex;
    gap: 8px;
}

.module-row-controls button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg-dark) 88%, transparent);
    color: var(--text-primary);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.module-row-controls button:hover {
    transform: scale(1.08);
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

body .modules-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 28px;
    margin: -8px -4px 34px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--border-hover) transparent;
    -webkit-overflow-scrolling: touch;
}

body .modules-grid::-webkit-scrollbar { height: 6px; }
body .modules-grid::-webkit-scrollbar-track { background: transparent; }
body .modules-grid::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 99px; }

body .mod-card {
    isolation: isolate;
    min-width: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: #07121d;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transform-origin: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body .mod-card:hover:not(.locked),
body .mod-card:focus-visible {
    z-index: 2;
    transform: translateY(-5px) scale(1.015);
    border-color: var(--primary-light);
    box-shadow: 0 16px 38px rgba(0,0,0,.42), 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent);
    outline: none;
}

body .mod-card.locked { opacity: .62; filter: grayscale(.45); }

body .mod-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .3s ease;
}

body .mod-card:hover .mod-cover { transform: scale(1.06); }

body .mod-cover-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2,8,14,.05) 22%, rgba(2,8,14,.56) 62%, rgba(2,8,14,.98) 100%),
        linear-gradient(90deg, rgba(2,8,14,.32), transparent 58%);
    pointer-events: none;
}

body .mod-info {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 13px;
    min-width: 0;
}

body .mod-name {
    color: #fff;
    font-size: clamp(.95rem, 1.4vw, 1.12rem);
    line-height: 1.2;
    font-weight: 750;
    margin: 0 0 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

body .mod-desc {
    color: rgba(225,236,247,.78);
    font-size: .72rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .mod-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    color: #d9e9f8;
    font-size: .66rem;
    font-weight: 700;
}

body .mod-meta span {
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(11,31,48,.76);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

body .mod-meta i {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
}

body .mod-status {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    margin: 0;
}

body .mod-status-new {
    color: #09131d;
    background: linear-gradient(135deg, #ffd84d, #ffad00);
    box-shadow: 0 4px 12px rgba(0,0,0,.28);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

@media (max-width: 768px) {
    .module-row-controls { display: none; }
    body .modules-grid {
        grid-template-rows: 1fr;
        grid-auto-columns: min(82vw, 330px);
        gap: 12px;
        margin-right: calc(var(--container-padding, 20px) * -1);
        padding-right: 20px;
    }
    body .mod-info { left: 14px; right: 14px; bottom: 11px; }
    body .mod-card:hover:not(.locked) { transform: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    body .modules-grid {
        grid-template-rows: repeat(2, minmax(0, 1fr));
        grid-auto-columns: calc((100% - 12px) / 2);
    }
}

@media (max-width: 420px) {
    body .modules-grid { grid-auto-columns: 84vw; }
    body .mod-name { font-size: .92rem; }
    body .mod-desc { font-size: .66rem; }
    body .mod-status { top: 9px; right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    body .modules-grid { scroll-behavior: auto; }
    body .mod-card, body .mod-cover, .module-row-controls button { transition: none; }
}

/* CABECERA CINEMATOGRÁFICA — v2.5 */
.streaming-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Plan Free/Premium oculto temporalmente en escritorio y móvil. */
.streaming-hero .plan-card {
    display: none !important;
}

.streaming-hero .welcome-bar {
    min-height: 286px;
    margin: 0;
    padding: 34px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(2,9,15,.96) 0%, rgba(2,9,15,.74) 48%, rgba(2,9,15,.16) 100%),
        linear-gradient(0deg, rgba(2,9,15,.68), transparent 66%),
        url('../images/dashboard/master-classes.webp') center 32% / cover no-repeat;
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

.welcome-content { position: relative; z-index: 1; max-width: 520px; }

.welcome-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--primary-light);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.welcome-kicker i { font-size: .58rem; }

.streaming-hero .welcome-title {
    font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    line-height: 1.08;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 3px 16px rgba(0,0,0,.65);
}

.streaming-hero .welcome-sub {
    color: rgba(226,238,249,.82);
    font-size: clamp(.86rem, 1.4vw, 1rem);
}

.welcome-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 11px 17px;
    border-radius: 10px;
    background: #f4f8fc;
    color: #09131d;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    transition: transform .2s ease, background .2s ease;
}

.welcome-cta:hover { transform: translateY(-2px); background: #fff; color: #09131d; }
.welcome-cta i { font-size: .65rem; }

.streaming-hero .plan-card {
    min-height: 286px;
    margin: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255,207,55,.16), transparent 34%),
        linear-gradient(145deg, rgba(15,35,48,.98), rgba(5,17,27,.98));
    box-shadow: 0 18px 45px rgba(0,0,0,.24);
}

.streaming-hero .plan-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -80px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 52px rgba(255,255,255,.018);
    pointer-events: none;
}

.streaming-hero .plan-icon {
    position: absolute;
    top: 24px;
    left: 26px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 15px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 1.55rem;
}

.streaming-hero .plan-info { position: relative; z-index: 1; }
.streaming-hero .plan-info h2 { font-size: 1.42rem; margin: 10px 0 5px; }
.streaming-hero .plan-info p { line-height: 1.5; }
.streaming-hero .btn-upgrade { position: relative; z-index: 1; width: 100%; justify-content: center; }

body .stats-grid {
    gap: 10px;
    margin: 0 0 18px;
}

body .stat-card {
    min-height: 92px;
    padding: 15px 17px;
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    border-color: rgba(255,255,255,.075);
    background: linear-gradient(145deg, rgba(13,34,47,.88), rgba(7,23,34,.92));
}

body .stat-icon {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
}

body .stat-value { align-self: end; margin: 0; font-size: 1.5rem; }
body .stat-label { align-self: start; line-height: 1.25; }

.tutorial-feature-wrap { margin-bottom: 28px; }

.tutorial-feature {
    min-height: 142px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 17px;
    background: #081722;
    color: #fff;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tutorial-feature > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transition: transform .45s ease;
}

.tutorial-feature-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,10,17,.98) 0%, rgba(2,10,17,.86) 42%, rgba(2,10,17,.24) 100%);
}

.tutorial-feature:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px rgba(0,0,0,.32);
    color: #fff;
}

.tutorial-feature:hover > img { transform: scale(1.035); }

.tutorial-play {
    z-index: 1;
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,.38);
}

.tutorial-content { z-index: 1; min-width: 0; }
.tutorial-kicker { color: var(--primary-light); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.tutorial-title { margin: 4px 0 3px; color: #fff; font-size: 1.15rem; font-weight: 800; }
.tutorial-desc { color: rgba(219,233,245,.75); font-size: .78rem; }
.tutorial-arrow { position: relative; z-index: 1; margin-left: auto; }

@media (max-width: 900px) {
    .streaming-hero { grid-template-columns: 1fr; }
    .streaming-hero .welcome-bar { min-height: 250px; }
    .streaming-hero .plan-card { min-height: 190px; padding-left: 96px; }
    .streaming-hero .plan-icon { top: 28px; }
}

@media (max-width: 600px) {
    .streaming-hero { gap: 10px; }
    .streaming-hero .welcome-bar { min-height: 230px; padding: 24px 20px; border-radius: 16px; }
    .streaming-hero .plan-card { min-height: 210px; padding: 78px 20px 20px; border-radius: 16px; }
    .streaming-hero .plan-icon { top: 18px; left: 20px; }
    body .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    body .stat-card { min-height: 82px; padding: 12px; grid-template-columns: 36px 1fr; column-gap: 9px; }
    body .stat-icon { width: 36px; height: 36px; font-size: .92rem; }
    body .stat-value { font-size: 1.18rem; }
    .tutorial-feature { min-height: 126px; padding: 18px; }
    .tutorial-play { width: 42px; height: 42px; }
    .tutorial-desc { white-space: normal; }
}

.dash-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.dash-logo {
    font-size: 1.125rem;
    font-weight: 800;
}

.dash-logo span {
    color: var(--primary-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--primary-glow);
    border: 1px solid var(--border);
    border-radius: 99px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.user-chip:hover {
    background: var(--border);
    border-color: var(--border-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
}

.user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #B0C4D8;
    border: 1px solid var(--border);
    transition: 0.3s;
    cursor: pointer;
    background: none;
}

.btn-logout:hover {
    background: rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.3);
    color: #ff7070;
}

/* MAIN */
.dash-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* WELCOME */
.welcome-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.welcome-title {
    font-size: 26px;
    font-weight: 800;
}

.welcome-title span {
    color: var(--primary-light);
}

.welcome-sub {
    color: #B0C4D8;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* PLAN CARD */
.plan-card {
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.plan-card.free {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.plan-card.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, var(--bg-dark) 60%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(16px);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.plan-card.free::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.plan-card.premium::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.plan-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.plan-info h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-info p {
    color: #B0C4D8;
    font-size: 0.875rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-badge.free {
    background: var(--border);
    color: var(--primary-light);
    border: 1px solid var(--border);
}

.plan-badge.premium {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.btn-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0f1923;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
    transition: 0.3s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.4);
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(16px);
    transition: 0.3s;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    color: #6B8299;
    font-size: 0.75rem;
}

/* SECCIÓN MÓDULOS */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.section-sub {
    color: #6B8299;
    font-size: 0.8125rem;
    margin-top: 2px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.mod-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: 0.3s;
    cursor: pointer;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.mod-card:hover:not(.locked) {
    border-color: var(--border-hover);
    transform: translateX(4px);
    background: var(--bg-dark);
}

.mod-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.mod-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.mod-info {
    flex: 1;
    min-width: 0;
}

.mod-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.mod-desc {
    font-size: 0.75rem;
    color: #6B8299;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mod-status {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 99px;
    flex-shrink: 0;
}

.mod-status.free {
    background: var(--border);
    color: var(--primary-light);
}

.mod-status.premium {
    background: rgba(255, 215, 0, 0.12);
    color: #FFD700;
}

.mod-lock {
    margin-left: auto;
    color: #6B8299;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* NIVELES CEFR */
.cefr-section {
    margin-bottom: 40px;
}

.cefr-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cefr-card {
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
    cursor: pointer;
}

.cefr-card:hover {
    transform: translateY(-3px);
}

.cefr-label {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cefr-name {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════
   FRASES SUPER — SECCIÓN HERO DESTACADA
══════════════════════════════════════════════ */

.fs-hero-section {
    position: relative;
    margin: 48px 0;
    border-radius: 28px;
    padding: 48px 40px 40px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%, var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.fs-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--primary-light) 50%, var(--primary) 80%, transparent 100%);
    border-radius: 28px 28px 0 0;
}

.fs-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: fsFloat 6s ease-in-out infinite;
}
.fs-p1 { width:180px; height:180px; top:-60px; right:-40px; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:0s; }
.fs-p2 { width:120px; height:120px; bottom:-30px; left:10%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:2s; }
.fs-p3 { width:80px;  height:80px;  top:30%;    right:15%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:4s; }
.fs-p4 { width:60px;  height:60px;  bottom:20%; right:5%;  background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:1s; }

@keyframes fsFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-16px) scale(1.05); }
}

.fs-hero-header {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-bottom: 36px;
}

.fs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border: 1px solid var(--border-hover);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.fs-hero-badge i {
    color: var(--primary);
    font-size: 0.625rem;
}

.fs-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.fs-hero-title-accent {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fs-hero-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.fs-hero-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

.fs-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.fs-stat-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.fs-stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
}

.fs-areas-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.fs-areas-label i { color: var(--primary); }

.fs-areas-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.fs-area-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.fs-area-featured {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border-color: var(--border-hover);
    padding: 20px 24px;
}

.fs-area-featured:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-primary);
}

.fs-area-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 0% 50%, var(--primary-glow), transparent 60%);
    pointer-events: none;
}

.fs-area-locked {
    opacity: 0.55;
    pointer-events: none;
}

.fs-area-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.fs-area-featured .fs-area-emoji { font-size: 2.25rem; }

.fs-area-info { flex: 1; min-width: 0; }

.fs-area-name {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.fs-area-featured .fs-area-name { font-size: 1.0625rem; }

.fs-area-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fs-area-badge-free {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 99px;
    background: linear-gradient(135deg, rgba(76,175,80,0.25), rgba(76,175,80,0.12));
    border: 1px solid rgba(76,175,80,0.4);
    color: #4ade80;
    flex-shrink: 0;
}

.fs-area-lock {
    color: var(--text-muted);
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.fs-area-arrow {
    color: var(--primary-light);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.fs-area-featured:hover .fs-area-arrow { transform: translateX(4px); }

.fs-hero-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fs-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px var(--shadow-primary);
    transition: all 0.25s ease;
}

.fs-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-primary);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.fs-btn-explore i:last-child { transition: transform 0.2s; }
.fs-btn-explore:hover i:last-child { transform: translateX(4px); }

.fs-cta-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.fs-cta-note i {
    color: #4ade80;
    font-size: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .cefr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .fs-hero-section { padding: 36px 28px 32px; }
    .fs-areas-showcase { grid-template-columns: repeat(2, 1fr); }
    .fs-area-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
    .dash-nav-inner { padding: 0 16px; }
    .dash-main { padding: 24px 16px; }
    .plan-card { flex-direction: column; text-align: center; padding: 24px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: 1fr; }
    .cefr-grid { grid-template-columns: repeat(3, 1fr); }
    .welcome-bar { flex-direction: column; align-items: flex-start; }
    .user-name { display: none; }
}

@media (max-width: 600px) {
    .fs-hero-section { padding: 28px 20px 24px; border-radius: 20px; margin: 32px 0; }
    .fs-areas-showcase { grid-template-columns: 1fr; }
    .fs-area-featured { grid-column: span 1; }
    .fs-hero-stats { gap: 6px; }
    .fs-stat-chip { padding: 8px 14px; }
    .fs-hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fs-btn-explore { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cefr-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-logo { font-size: 0.9375rem; }
}

/* ══════════════════════════════════════════════
   EDUCACIÓN PRIMARIA Y SECUNDARIA — SECCIÓN HERO
══════════════════════════════════════════════ */

.edu-hero-section {
    position: relative;
    margin: 48px 0;
    border-radius: 28px;
    padding: 48px 40px 40px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%, var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.edu-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary), var(--primary-light));
    background-size: 200% 100%;
    border-radius: 28px 28px 0 0;
    animation: eduShimmer 4s linear infinite;
}

@keyframes eduShimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Partículas */
.edu-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: eduFloat 6s ease-in-out infinite;
}
.edu-p1 { width:180px; height:180px; top:-60px; right:-40px; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:0s; }
.edu-p2 { width:120px; height:120px; bottom:-30px; left:10%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:2s; }
.edu-p3 { width:80px;  height:80px;  top:30%;    right:15%; background:radial-gradient(circle, rgba(240,160,80,0.07), transparent 70%); animation-delay:4s; }
.edu-p4 { width:60px;  height:60px;  bottom:20%; left:5%;   background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:1s; }

@keyframes eduFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-16px) scale(1.05); }
}

/* Header */
.edu-hero-header {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-bottom: 36px;
}

.edu-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border: 1px solid var(--border-hover);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.edu-hero-badge i {
    color: var(--primary);
    font-size: 0.625rem;
}

.edu-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.edu-hero-title-accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edu-hero-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.edu-hero-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Stats */
.edu-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.edu-stat-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.edu-stat-chip:nth-child(2) .edu-stat-num { color: #e8c84a; }
.edu-stat-chip:nth-child(3) .edu-stat-num { color: #f0a050; }
.edu-stat-chip:nth-child(4) .edu-stat-num { color: #5bb8d4; }

.edu-stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
}

/* CTA */
.edu-hero-cta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    gap: 10px;
}

.edu-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #0f1923;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px var(--primary-glow);
    transition: all 0.25s ease;
}

.edu-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-primary);
    background: linear-gradient(135deg, #8fd4af, #4db87e);
}

.edu-btn-explore i:last-child { transition: transform 0.2s; }
.edu-btn-explore:hover i:last-child { transform: translateX(4px); }

.edu-cta-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.edu-cta-note i {
    color: #e8c84a;
    font-size: 0.75rem;
}

/* Labels */
.edu-areas-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.edu-areas-label i { color: #e8c84a; }

.edu-level-label {
    position: relative;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edu-level-primaria { color: var(--primary-light); }
.edu-level-primaria i { color: var(--primary-light); font-size: 0.5625rem; }

.edu-level-secundaria { color: #e8c84a; }
.edu-level-secundaria i { color: #e8c84a; font-size: 0.625rem; }

/* Grid de grados */
.edu-areas-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.edu-area-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.edu-area-card:hover {
    border-color: var(--border-hover);
    background: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--primary-glow);
}

/* Primaria cards - borde verde suave */
.edu-area-primaria {
    border-color: var(--border);
    background: var(--bg-dark);
}

/* Secundaria cards - borde amarillo suave */
.edu-area-secundaria {
    border-color: rgba(232,200,74,0.12);
    background: rgba(232,200,74,0.03);
}

.edu-area-secundaria:hover {
    border-color: rgba(232,200,74,0.35);
    background: rgba(232,200,74,0.06);
    box-shadow: 0 6px 24px rgba(232,200,74,0.12);
}

.edu-area-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.edu-area-info { flex: 1; min-width: 0; }

.edu-area-name {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.edu-area-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.edu-area-arrow {
    color: var(--primary-light);
    font-size: 0.875rem;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.edu-area-card:hover .edu-area-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Divider entre primaria y secundaria */
.edu-divider {
    position: relative;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,200,74,0.25), transparent);
    margin: 16px 0;
}

/* Locked cards */
.edu-area-locked {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.edu-area-lock {
    color: var(--text-muted);
    font-size: 0.8125rem;
    flex-shrink: 0;
}

/* Botón deshabilitado */
.edu-btn-disabled {
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid var(--border);
}

.edu-btn-disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .edu-hero-section { padding: 36px 28px 32px; }
    .edu-areas-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .edu-hero-section { padding: 28px 20px 24px; border-radius: 20px; margin: 32px 0; }
    .edu-areas-showcase { grid-template-columns: 1fr; }
    .edu-hero-stats { gap: 6px; }
    .edu-stat-chip { padding: 8px 14px; }
    .edu-hero-cta { gap: 12px; }
    .edu-btn-explore { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   BACHILLERATO — Sección independiente
   Colores: azul-violeta (var(--primary) / var(--primary-light))
══════════════════════════════════════════ */
.edu-bach-section {
    background:
        radial-gradient(ellipse at 0% 0%, var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.edu-bach-section::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary-light), var(--primary));
    background-size: 200% 100%;
}

/* Partículas bach */
.edu-bach-p1 { width:180px; height:180px; top:-60px; right:-40px; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:0s; }
.edu-bach-p2 { width:120px; height:120px; bottom:-30px; left:10%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:2s; }
.edu-bach-p3 { width:80px;  height:80px;  top:30%;    right:15%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:4s; }
.edu-bach-p4 { width:60px;  height:60px;  bottom:20%; left:5%;   background:radial-gradient(circle, var(--border), transparent 70%); animation-delay:1s; }

/* Badge bach */
.edu-bach-badge {
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border: 1px solid var(--shadow-primary);
    color: var(--primary-light);
}
.edu-bach-badge i { color: var(--primary-light); }

/* Título accent bach */
.edu-bach-title-accent {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats bach */
.edu-bach-num   { color: var(--primary-light); }
.edu-bach-num-2 { color: var(--primary-light); }
.edu-bach-num-3 { color: #a78bfa; }
.edu-bach-num-4 { color: var(--primary); }

/* Botón bach */
.edu-bach-btn {
    background: linear-gradient(135deg, var(--primary), #5a4abf);
    color: #ffffff;
    box-shadow: 0 4px 24px var(--primary-glow);
}
.edu-bach-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 8px 32px var(--border-hover);
}

/* Level label bach */
.edu-level-bachillerato { color: var(--primary-light); }
.edu-level-bachillerato i { color: var(--primary-light); font-size: 0.625rem; }

/* Cards bach */
.edu-area-bachillerato {
    border-color: var(--border);
    background: var(--bg-dark);
}
.edu-area-bachillerato:hover {
    border-color: var(--border-hover);
    background: var(--border);
    box-shadow: 0 6px 24px var(--border);
}

/* ══════════════════════════════════════════════
   INGLÉS A1–C2 — SECCIÓN DESTACADA
   Mismo patrón visual que edu-hero y fs-hero
══════════════════════════════════════════════ */

.ingles-niveles-section {
    position: relative;
    margin: 48px 0;
    border-radius: 28px;
    padding: 48px 40px 40px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%,   var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.ingles-niveles-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #00BCD4 20%,
        #4A90D9 50%,
        #00BCD4 80%,
        transparent 100%);
    background-size: 200% 100%;
    border-radius: 28px 28px 0 0;
    animation: inShimmer 4s linear infinite;
}

@keyframes inShimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Partículas */
.in-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: inFloat 6s ease-in-out infinite;
}
.in-p1 { width:180px; height:180px; top:-60px; right:-40px;  background:radial-gradient(circle, rgba(0,188,212,0.12), transparent 70%); animation-delay:0s; }
.in-p2 { width:120px; height:120px; bottom:-30px; left:10%;  background:radial-gradient(circle, rgba(74,144,217,0.10), transparent 70%); animation-delay:2s; }
.in-p3 { width:80px;  height:80px;  top:30%;  right:15%;     background:radial-gradient(circle, rgba(127,119,221,0.10), transparent 70%); animation-delay:4s; }
.in-p4 { width:60px;  height:60px;  bottom:20%; left:5%;     background:radial-gradient(circle, rgba(0,188,212,0.08), transparent 70%); animation-delay:1s; }

@keyframes inFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-16px) scale(1.05); }
}

/* Header */
.in-hero-header {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-bottom: 36px;
}

.in-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    background: rgba(0,188,212,0.10);
    border: 1px solid rgba(0,188,212,0.30);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #00BCD4;
    margin-bottom: 16px;
}

.in-hero-badge i {
    color: #00BCD4;
    font-size: 0.625rem;
}

.in-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.in-hero-title-accent {
    background: linear-gradient(135deg, #00BCD4, #4A90D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.in-hero-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.in-hero-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Stats */
.in-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.in-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.in-stat-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: #00BCD4;
    line-height: 1;
}

.in-stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
}

.in-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.08);
}

/* CTA */
.in-hero-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.in-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00BCD4, #0097a7);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0,188,212,0.35);
    transition: all 0.25s ease;
}

.in-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,188,212,0.5);
    color: #fff;
    background: linear-gradient(135deg, #26C6DA, #00BCD4);
}

.in-btn-explore i:last-child { transition: transform 0.2s; }
.in-btn-explore:hover i:last-child { transform: translateX(4px); }

.in-cta-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.in-cta-note i { color: #00BCD4; font-size: 0.75rem; }

/* Label */
.in-areas-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.in-areas-label i { color: #00BCD4; }

/* Grid de tarjetas */
.in-cards-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

/* Tarjeta individual */
.in-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.in-card:hover {
    border-color: rgba(0,188,212,0.45);
    background: rgba(0,188,212,0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,188,212,0.15);
}

.in-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.in-card-emoji {
    font-size: 1.875rem;
    line-height: 1;
}

.in-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.in-card-free-badge {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(0,188,212,0.12);
    color: #00BCD4;
    border: 1px solid rgba(0,188,212,0.28);
    white-space: nowrap;
}

.in-card-nuevo-badge {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0f1923;
    white-space: nowrap;
}

.in-card-name {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.in-card-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.in-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.in-card-nivel {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #00BCD4;
}

.in-card-frases {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .ingles-niveles-section { padding: 36px 28px 32px; }
    .in-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .ingles-niveles-section { padding: 28px 20px 24px; border-radius: 20px; margin: 32px 0; }
    .in-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .in-hero-stats { gap: 6px; }
    .in-stat-chip { padding: 8px 12px; }
    .in-stat-divider { display: none; }
    .in-hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .in-btn-explore { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
    .in-cards-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE MÓVIL DEFINITIVO — v2.5.1
   Estas reglas permanecen al final para evitar conflictos heredados.
   ================================================================ */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

*, *::before, *::after { box-sizing: border-box; }

@media (max-width: 768px) {
    body .dash-nav { width: 100%; }

    body .dash-nav-inner {
        width: 100%;
        max-width: 100%;
        height: 60px;
        padding: 0 12px;
        gap: 8px;
    }

    body .dash-logo {
        min-width: 52px;
        flex: 0 0 auto;
        font-size: 0;
        line-height: 1;
        white-space: nowrap;
    }

    body .dash-logo::before {
        content: '🎓';
        margin-right: 5px;
        font-size: 1rem;
    }

    body .dash-logo span { font-size: 1rem; }

    body .nav-right {
        min-width: 0;
        margin-left: auto;
        gap: 5px;
    }

    body .user-chip {
        flex: 0 0 auto;
        padding: 4px;
        border-radius: 50%;
    }

    body .user-avatar { width: 34px; height: 34px; }
    body .user-name { display: none; }

    body #themeFabNavBtn,
    body .cast-btn-nav {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        padding: 0 !important;
        display: grid;
        place-items: center;
    }

    body .btn-logout {
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        padding: 0;
        display: grid;
        place-items: center;
        font-size: 0;
    }

    body .btn-logout i { margin: 0; font-size: .9rem; }

    body .dash-main {
        width: 100%;
        max-width: 100%;
        padding: 18px 14px 34px;
    }

    body .streaming-hero,
    body .stats-grid,
    body .tutorial-feature-wrap,
    body .section-header,
    body .modules-grid {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    body .streaming-hero .welcome-bar {
        width: 100%;
        min-height: 218px;
        background-position: 58% center;
    }

    body .streaming-hero .plan-card { width: 100%; }

    body .tutorial-feature-wrap { margin-bottom: 24px; }

    body .tutorial-feature {
        width: 100%;
        min-height: 168px;
        padding: 18px;
        align-items: flex-end;
    }

    body .tutorial-feature-shade {
        background: linear-gradient(0deg, rgba(2,10,17,.98) 0%, rgba(2,10,17,.72) 62%, rgba(2,10,17,.18) 100%);
    }

    body .tutorial-play {
        position: absolute;
        top: 16px;
        left: 16px;
        width: 42px;
        height: 42px;
    }

    body .tutorial-content {
        width: 100%;
        padding-right: 28px;
    }

    body .tutorial-title { font-size: 1rem; }
    body .tutorial-desc { max-width: 290px; font-size: .72rem; line-height: 1.45; }

    body .tutorial-arrow {
        position: absolute;
        top: 29px;
        right: 18px;
        margin: 0;
    }

    body .section-header { margin-bottom: 14px; }
    body .section-title { font-size: 1.22rem; }

    body .modules-grid {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-auto-columns: auto;
        gap: 12px;
        width: 100%;
        margin: 0 0 30px;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    body .mod-card {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        scroll-snap-align: none;
    }
}

@media (max-width: 380px) {
    body .dash-main { padding-inline: 10px; }
    body .dash-nav-inner { padding-inline: 8px; }
    body .nav-right { gap: 3px; }
    body #themeFabNavBtn,
    body .cast-btn-nav { width: 31px; height: 31px; }
    body .btn-logout { width: 34px; height: 34px; }
}

/* ================================================================
   SPEAKFLOW + CATÁLOGO CEFR CINEMATOGRÁFICO — v2.6
   ================================================================ */
body .sf-cta-banner {
    min-height: 430px;
    margin: 20px 0 34px;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 25px;
    background: #07131d;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(0,0,0,.26);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body .sf-cta-cover {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transition: transform .5s ease;
}

body .sf-cta-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2,9,15,.98) 0%, rgba(2,9,15,.85) 47%, rgba(2,9,15,.18) 100%),
        linear-gradient(0deg, rgba(2,9,15,.72), transparent 70%);
}

body .sf-cta-banner:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 22px 48px rgba(0,0,0,.38), 0 0 0 1px var(--primary-glow);
    color: #fff;
}

body .sf-cta-banner:hover .sf-cta-cover { transform: scale(1.035); }

body .sf-cta-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.34);
}

body .sf-cta-text { flex: 1; min-width: 0; max-width: 580px; }

body .sf-cta-badge {
    display: inline-flex;
    padding: 4px 10px;
    margin-bottom: 8px;
    border: 1px solid color-mix(in srgb, var(--primary) 55%, transparent);
    border-radius: 99px;
    background: color-mix(in srgb, var(--primary) 16%, transparent);
    color: var(--primary-light);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .05em;
}

body .sf-cta-title {
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.05;
    font-weight: 800;
    text-shadow: 0 3px 14px rgba(0,0,0,.7);
}

body .sf-cta-desc {
    max-width: 560px;
    margin-top: 7px;
    color: rgba(225,238,248,.8);
    font-size: .92rem;
    line-height: 1.55;
}

body .sf-cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 11px;
    background: #f5f9fc;
    color: #07131d;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

body .ingles-niveles-section {
    margin: 42px 0;
    padding: 46px 40px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.095);
    border-radius: 24px;
    background:
        linear-gradient(180deg, transparent 0, rgba(3,14,22,.18) 280px, rgba(3,14,22,.96) 520px),
        linear-gradient(90deg, rgba(3,14,22,.98) 0%, rgba(3,14,22,.84) 45%, rgba(3,14,22,.2) 100%),
        url('../images/dashboard/cefr-hero.webp') top right / 100% auto no-repeat,
        #03101a;
    box-shadow: 0 24px 60px rgba(0,0,0,.34);
}

body .ingles-niveles-section::before {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), #65dbea, var(--primary), transparent);
}

body .in-particle { display: none; }

body .in-hero-header {
    max-width: 610px;
    min-height: 390px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

body .in-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-shadow: 0 3px 18px rgba(0,0,0,.72);
}

body .in-hero-desc {
    max-width: 560px;
    color: rgba(224,237,248,.8);
}

body .professional-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 620px;
    margin: 16px 0 4px;
}

body .professional-area-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(103,232,249,.2);
    border-radius: 9px;
    background: rgba(3,24,35,.72);
    color: #d7f5f7;
    font-size: .7rem;
    font-weight: 750;
    backdrop-filter: blur(7px);
}

body .legacy-duplicate-section { display: none !important; }

body .in-hero-stats { gap: 7px; }

body .in-stat-chip {
    padding: 9px 15px;
    background: rgba(4,20,31,.72);
    border-color: rgba(255,255,255,.13);
}

body .in-hero-cta {
    margin: -4px 0 34px;
}

body .in-areas-label { margin-bottom: 16px; }

body .in-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body .in-card {
    min-width: 0;
    aspect-ratio: 16 / 10;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: #07131d;
    box-shadow: 0 10px 25px rgba(0,0,0,.24);
}

body .in-card-cover {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .42s ease;
}

body .in-card-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,9,15,.06) 20%, rgba(2,9,15,.62) 58%, rgba(2,9,15,.98) 100%);
}

body .in-card:hover,
body .in-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 16px 34px rgba(0,0,0,.38);
    outline: none;
}

body .in-card:hover .in-card-cover { transform: scale(1.06); }

body .in-card-top {
    position: absolute;
    z-index: 2;
    top: 11px;
    left: 11px;
    right: 11px;
    margin: 0;
}

body .in-card-emoji {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(2,13,21,.68);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    font-size: 1.18rem;
}

body .in-card-name {
    margin-bottom: 3px;
    color: #fff;
    font-size: .9rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

body .in-card-desc {
    margin-bottom: 8px;
    color: rgba(220,233,244,.72);
    -webkit-line-clamp: 1;
}

body .in-card-footer {
    min-height: 28px;
    gap: 8px;
    padding-top: 7px;
}

body .in-card-play {
    width: 25px;
    height: 25px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .55rem;
}

@media (max-width: 1000px) {
    body .in-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    body .sf-cta-banner {
        min-height: 310px;
        padding: 22px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        text-align: left;
    }

    body .sf-cta-cover { object-position: 62% center; }
    body .sf-cta-shade { background: linear-gradient(0deg, rgba(2,9,15,.98) 0%, rgba(2,9,15,.76) 56%, rgba(2,9,15,.18) 100%); }
    body .sf-cta-icon { width: 48px; height: 48px; font-size: 1.05rem; }
    body .sf-cta-btn { width: 100%; justify-content: center; }

    body .ingles-niveles-section {
        margin: 30px 0;
        padding: 28px 18px 24px;
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(3,14,22,.18), rgba(3,14,22,.97) 390px),
            url('../images/dashboard/cefr-hero.webp') top center / auto 390px no-repeat,
            #03101a;
    }

    body .in-hero-header {
        min-height: 360px;
        max-width: 100%;
        justify-content: flex-end;
    }

    body .in-hero-title { font-size: clamp(1.8rem, 9vw, 2.45rem); }
    body .in-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
    body .in-stat-divider { display: none; }
    body .in-stat-chip { width: 100%; }
    body .in-hero-cta { align-items: stretch; gap: 10px; }
    body .in-btn-explore { width: 100%; justify-content: center; }
    body .in-cta-note { line-height: 1.4; }
    body .in-cards-grid { grid-template-columns: minmax(0, 1fr); }
    body .in-card { width: 100%; aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
    body .sf-cta-cover,
    body .in-card-cover { transition: none; }
}

/* ================================================================
   PRIMARIA Y SECUNDARIA CINEMATOGRÁFICO — v2.7
   ================================================================ */
body .edu-primary-section {
    margin: 42px 0;
    padding: 46px 40px 40px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background:
        linear-gradient(180deg, transparent 0, rgba(3,14,22,.15) 280px, rgba(3,14,22,.97) 520px),
        linear-gradient(90deg, rgba(3,14,22,.98) 0%, rgba(3,14,22,.84) 45%, rgba(3,14,22,.2) 100%),
        url('../images/dashboard/primaria.webp') top right / 100% auto no-repeat,
        #03101a;
    box-shadow: 0 24px 60px rgba(0,0,0,.34);
}

body .edu-primary-section::before {
    height: 3px;
    background: linear-gradient(90deg, transparent, #15bed8, #66deec, #15bed8, transparent);
}

body .edu-primary-section .edu-particle { display: none; }

body .edu-primary-section .edu-hero-header {
    max-width: 620px;
    min-height: 330px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

body .edu-primary-section .edu-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-shadow: 0 3px 18px rgba(0,0,0,.72);
}

body .edu-primary-section .edu-hero-desc {
    max-width: 575px;
    color: rgba(224,237,248,.82);
}

body .edu-primary-section .edu-stat-chip {
    padding: 9px 15px;
    background: rgba(4,20,31,.74);
    border-color: rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
}

body .edu-primary-section .edu-hero-cta {
    margin: -2px 0 34px;
}

body .edu-primary-section .edu-areas-label { margin-bottom: 14px; }

body .edu-primary-section .edu-level-label {
    margin: 18px 0 12px;
    font-size: .7rem;
    letter-spacing: .13em;
}

body .edu-primary-section .edu-areas-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body .edu-primary-section .edu-area-card {
    min-width: 0;
    aspect-ratio: 16 / 9;
    padding: 14px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: #07131d;
    box-shadow: 0 10px 25px rgba(0,0,0,.24);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body .edu-primary-section .edu-area-cover {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .42s ease;
}

body .edu-primary-section .edu-area-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2,9,15,.06) 18%, rgba(2,9,15,.6) 58%, rgba(2,9,15,.98) 100%),
        linear-gradient(90deg, rgba(2,9,15,.4), transparent 70%);
}

body .edu-primary-section .edu-area-card:hover,
body .edu-primary-section .edu-area-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 16px 34px rgba(0,0,0,.38);
    outline: none;
}

body .edu-primary-section .edu-area-card:hover .edu-area-cover { transform: scale(1.06); }

body .edu-primary-section .edu-area-emoji {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(2,13,21,.7);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    font-size: 1.18rem;
}

body .edu-primary-section .edu-area-info {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body .edu-primary-section .edu-area-name {
    margin-bottom: 2px;
    color: #fff;
    font-size: .88rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.82);
}

body .edu-primary-section .edu-area-meta {
    color: rgba(218,232,243,.7);
    font-size: .68rem;
}

body .edu-primary-section .edu-area-arrow,
body .edu-primary-section .edu-area-card > .fa-arrow-right {
    position: absolute;
    z-index: 2;
    right: 13px;
    bottom: 15px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff !important;
    font-size: .66rem;
}

body .edu-primary-section .edu-divider {
    margin: 26px 0 10px;
    opacity: .65;
}

@media (max-width: 950px) {
    body .edu-primary-section .edu-areas-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body .edu-primary-section {
        width: 100%;
        max-width: 100%;
        margin: 30px 0;
        padding: 28px 16px 24px;
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(3,14,22,.12), rgba(3,14,22,.97) 400px),
            url('../images/dashboard/primaria.webp') top center / auto 400px no-repeat,
            #03101a;
    }

    body .edu-primary-section .edu-hero-header {
        min-height: 375px;
        max-width: 100%;
        justify-content: flex-end;
    }

    body .edu-primary-section .edu-hero-title {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    body .edu-primary-section .edu-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
    }

    body .edu-primary-section .edu-stat-chip { width: 100%; }
    body .edu-primary-section .edu-hero-cta { align-items: stretch; gap: 10px; }
    body .edu-primary-section .edu-btn-explore { width: 100%; justify-content: center; text-align: center; }
    body .edu-primary-section .edu-cta-note { line-height: 1.4; }
    body .edu-primary-section .edu-areas-showcase { grid-template-columns: minmax(0, 1fr); }
    body .edu-primary-section .edu-area-card { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
    body .edu-primary-section .edu-area-cover { transition: none; }
}

/* ================================================================
   BACHILLERATO CINEMATOGRÁFICO — v2.8
   ================================================================ */
body .edu-bach-section {
    margin: 42px 0;
    padding: 46px 40px 40px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background:
        linear-gradient(180deg, transparent 0, rgba(3,12,24,.16) 280px, rgba(3,12,24,.97) 520px),
        linear-gradient(90deg, rgba(3,12,24,.98) 0%, rgba(3,12,24,.84) 45%, rgba(3,12,24,.18) 100%),
        url('../images/dashboard/bachillerato.webp') top right / 100% auto no-repeat,
        #030d18;
    box-shadow: 0 24px 60px rgba(0,0,0,.34);
}

body .edu-bach-section::before {
    height: 3px;
    background: linear-gradient(90deg, transparent, #25cbe5, #7c6ee6, #25cbe5, transparent);
}

body .edu-bach-section .edu-particle { display: none; }

body .edu-bach-section .edu-hero-header {
    max-width: 620px;
    min-height: 330px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

body .edu-bach-section .edu-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-shadow: 0 3px 18px rgba(0,0,0,.75);
}

body .edu-bach-section .edu-hero-desc {
    max-width: 575px;
    color: rgba(224,237,248,.82);
}

body .edu-bach-section .edu-stat-chip {
    padding: 9px 15px;
    background: rgba(4,18,34,.76);
    border-color: rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
}

body .edu-bach-section .edu-hero-cta { margin: -2px 0 34px; }
body .edu-bach-section .edu-areas-label { margin-bottom: 14px; }
body .edu-bach-section .edu-level-label { margin: 18px 0 12px; font-size: .7rem; letter-spacing: .13em; }

body .edu-bach-section .edu-areas-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body .edu-bach-section .edu-area-card {
    min-width: 0;
    aspect-ratio: 16 / 9;
    padding: 14px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: #07131d;
    box-shadow: 0 10px 25px rgba(0,0,0,.24);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body .edu-bach-section .edu-area-cover {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .42s ease;
}

body .edu-bach-section .edu-area-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2,8,17,.05) 18%, rgba(2,8,17,.58) 58%, rgba(2,8,17,.98) 100%),
        linear-gradient(90deg, rgba(2,8,17,.4), transparent 70%);
}

body .edu-bach-section .edu-area-card:hover,
body .edu-bach-section .edu-area-card:focus-visible {
    transform: translateY(-4px);
    border-color: #7c6ee6;
    box-shadow: 0 16px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(124,110,230,.2);
    outline: none;
}

body .edu-bach-section .edu-area-card:hover .edu-area-cover { transform: scale(1.06); }

body .edu-bach-section .edu-area-emoji {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(2,12,24,.72);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    font-size: 1.18rem;
}

body .edu-bach-section .edu-area-info { position: relative; z-index: 1; min-width: 0; }

body .edu-bach-section .edu-area-name {
    margin-bottom: 2px;
    color: #fff;
    font-size: .9rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.82);
}

body .edu-bach-section .edu-area-meta { color: rgba(218,232,243,.72); font-size: .68rem; }

body .edu-bach-section .edu-area-card > .fa-arrow-right {
    position: absolute;
    z-index: 2;
    right: 13px;
    bottom: 15px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #24c7e3, #7869df);
    color: #fff !important;
    font-size: .66rem;
}

@media (max-width: 950px) {
    body .edu-bach-section .edu-areas-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    body .edu-bach-section {
        width: 100%;
        max-width: 100%;
        margin: 30px 0;
        padding: 28px 16px 24px;
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(3,12,24,.12), rgba(3,12,24,.97) 400px),
            url('../images/dashboard/bachillerato.webp') top center / auto 400px no-repeat,
            #030d18;
    }

    body .edu-bach-section .edu-hero-header {
        min-height: 375px;
        max-width: 100%;
        justify-content: flex-end;
    }

    body .edu-bach-section .edu-hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }

    body .edu-bach-section .edu-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
    }

    body .edu-bach-section .edu-stat-chip { width: 100%; }
    body .edu-bach-section .edu-hero-cta { align-items: stretch; gap: 10px; }
    body .edu-bach-section .edu-btn-explore { width: 100%; justify-content: center; text-align: center; }
    body .edu-bach-section .edu-cta-note { line-height: 1.4; }
    body .edu-bach-section .edu-areas-showcase { grid-template-columns: minmax(0, 1fr); }
    body .edu-bach-section .edu-area-card { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
    body .edu-bach-section .edu-area-cover { transition: none; }
}

/* =========================================================
   EXAM SIMULATOR 3.0 — PORTADAS CINEMATOGRÁFICAS RESPONSIVAS
   ========================================================= */
body .exam-sim-hero {
    isolation: isolate;
    padding: 46px 40px 38px;
    background:
        linear-gradient(90deg, rgba(2,12,23,.98) 0%, rgba(2,12,23,.92) 43%, rgba(2,12,23,.35) 73%, rgba(2,12,23,.68) 100%),
        linear-gradient(0deg, rgba(2,12,23,.98) 0%, transparent 55%),
        url('../images/dashboard/exam-hero.webp') center / cover no-repeat;
    border-color: rgba(71,155,239,.5);
    box-shadow: 0 28px 70px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.05);
}

body .exam-sim-header { position: relative; z-index: 2; max-width: 640px; }
body .exam-sim-cta,
body .exam-sim-groups-label,
body .exam-sim-org-label,
body .exam-sim-cards-row,
body .exam-sim-divider { position: relative; z-index: 2; }

body .exam-sim-cards-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

body #examGridToefl { grid-template-columns: repeat(3, minmax(0, 1fr)); }

body .exam-sim-card {
    isolation: isolate;
    min-width: 0;
    min-height: 172px;
    padding: 14px;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    overflow: hidden;
    background-color: #071525;
    background-position: center;
    background-size: cover;
    border-color: rgba(98,178,244,.28);
    box-shadow: 0 10px 25px rgba(0,0,0,.22);
}

body .exam-sim-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2,10,20,.03) 6%, rgba(2,10,20,.3) 47%, rgba(2,10,20,.98) 100%);
    transition: background .25s ease;
}

body .exam-sim-card:hover {
    transform: translateY(-5px);
    border-color: #38a8f5;
    background-color: #071525;
    box-shadow: 0 16px 34px rgba(0,0,0,.42), 0 0 0 1px rgba(56,168,245,.25);
}

body .exam-sim-card:hover::before {
    background: linear-gradient(180deg, transparent 0%, rgba(2,10,20,.18) 42%, rgba(2,10,20,.94) 100%);
}

body .exam-sim-card > * { position: relative; z-index: 2; }
body .exam-sim-card-level { order: 1; backdrop-filter: blur(8px); }
body .exam-sim-card-name { order: 2; color: #fff; font-size: 1.08rem; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
body .exam-sim-card-meta { order: 3; color: #a9c2d2; }
body .exam-sim-card-popular,
body .exam-sim-card-soon { order: 0; top: 10px; left: auto; right: 10px; transform: none; }
body .exam-sim-card-featured { box-shadow: 0 0 0 1px rgba(56,168,245,.35), 0 12px 30px rgba(0,0,0,.3); }

body .exam-sim-card[data-exam="ket"]           { background-image: url('../images/dashboard/examenes/ket.webp'); }
body .exam-sim-card[data-exam="pet"]           { background-image: url('../images/dashboard/examenes/pet.webp'); }
body .exam-sim-card[data-exam="fce"]           { background-image: url('../images/dashboard/examenes/fce.webp'); }
body .exam-sim-card[data-exam="cae"]           { background-image: url('../images/dashboard/examenes/cae.webp'); }
body .exam-sim-card[data-exam="cpe"]           { background-image: url('../images/dashboard/examenes/cpe.webp'); }
body .exam-sim-card[data-exam="toefl_primary"] { background-image: url('../images/dashboard/examenes/toefl_primary.webp'); }
body .exam-sim-card[data-exam="toefl_junior"]  { background-image: url('../images/dashboard/examenes/toefl_junior.webp'); }
body .exam-sim-card[data-exam="toefl_ibt"]     { background-image: url('../images/dashboard/examenes/toefl_ibt.webp'); }

@media (max-width: 980px) {
    body .exam-sim-cards-row,
    body #examGridToefl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    body .exam-sim-hero {
        width: 100%;
        max-width: 100%;
        padding: 27px 15px 22px;
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(2,12,23,.16) 0%, rgba(2,12,23,.92) 340px, rgba(2,12,23,.99) 500px),
            url('../images/dashboard/exam-hero.webp') 65% top / auto 390px no-repeat,
            #020c17;
    }
    body .exam-sim-header { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
    body .exam-sim-title { font-size: clamp(1.72rem, 9vw, 2.25rem); }
    body .exam-sim-desc { font-size: .86rem; line-height: 1.55; }
    body .exam-sim-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    body .exam-sim-stat-chip { width: 100%; padding: 9px 5px; }
    body .exam-sim-stat-divider { display: none; }
    body .exam-sim-btn { width: 100%; justify-content: center; text-align: center; }
    body .exam-sim-cards-row,
    body #examGridToefl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    body .exam-sim-card { width: 100%; min-height: 0; aspect-ratio: 16 / 9; padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    body .exam-sim-card { transition: none; }
}
/* Paquete Primaria: la configuración del servidor reduce el dashboard a tres módulos. */
.primary-package-hero { display: none; }

/* Acceso educativo prioritario — Primaria */
.education-primary-entry {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: stretch;
    min-height: 285px;
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid rgba(34,211,238,.38);
    border-radius: 25px;
    background: #071c27;
    color: #f7fdff;
    text-decoration: none;
    box-shadow: 0 22px 58px rgba(0,0,0,.3);
    transition: transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.education-primary-entry:hover { transform: translateY(-4px); border-color: #67e8f9; box-shadow: 0 28px 68px rgba(0,0,0,.38),0 0 0 1px rgba(34,211,238,.12); }
.education-primary-entry>img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.education-primary-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(2,16,24,.98) 0%,rgba(3,27,38,.91) 45%,rgba(3,20,30,.38) 76%,rgba(2,14,23,.62) 100%); }
.education-primary-copy { display: flex; flex-direction: column; justify-content: center; max-width: 770px; padding: 35px 40px; }
.education-primary-copy>small { color: #67e8f9; font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.education-primary-copy>strong { max-width: 680px; margin: 11px 0 9px; font-size: clamp(1.75rem,3.3vw,3rem); line-height: 1.06; letter-spacing: -.035em; }
.education-primary-copy>span:not(.education-primary-pills):not(.education-primary-button) { max-width: 660px; color: #b0cbd5; font-size: .9rem; line-height: 1.6; }
.education-primary-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.education-primary-pills b { padding: 6px 9px; border: 1px solid rgba(125,211,252,.2); border-radius: 8px; background: rgba(4,28,39,.65); color: #d9f6fb; font-size: .68rem; }
.education-primary-button { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; margin-top: 18px; padding: 10px 15px; border-radius: 10px; background: #22d3ee; color: #031820; font-size: .76rem; font-weight: 900; }
.education-primary-side { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 150px; padding: 24px; border-left: 1px solid rgba(125,211,252,.15); background: rgba(2,18,28,.45); writing-mode: vertical-rl; transform: rotate(180deg); }
.education-primary-side b { color: rgba(139,243,255,.82); font-size: 1.2rem; letter-spacing: .2em; }
.education-primary-side small { margin-top: 12px; color: #739aa8; font-size: .64rem; letter-spacing: .12em; }
.education-secondary-entry { border-color: rgba(168,85,247,.4); }
.education-secondary-entry:hover { border-color: #c084fc; box-shadow: 0 28px 68px rgba(0,0,0,.38),0 0 0 1px rgba(168,85,247,.16); }
.education-secondary-entry>img { object-position: center 48%; filter: hue-rotate(16deg) saturate(.9); }
.education-secondary-entry .education-primary-shade { background: linear-gradient(90deg,rgba(13,9,30,.98),rgba(30,18,49,.91) 46%,rgba(13,18,35,.38) 76%,rgba(7,12,25,.68)); }
.education-secondary-entry .education-primary-copy>small { color: #d8b4fe; }
.education-secondary-entry .education-primary-button { background: #a855f7; color: #fff; }
.education-secondary-entry .education-primary-side { border-left-color: rgba(192,132,252,.18); }
.education-secondary-entry .education-primary-side b { color: #d8b4fe; }
.education-bach-entry { border-color: rgba(250,204,21,.38); }
.education-bach-entry:hover { border-color: #fde047; box-shadow: 0 28px 68px rgba(0,0,0,.38),0 0 0 1px rgba(250,204,21,.14); }
.education-bach-entry>img { object-position: center 58%; filter: saturate(.82) contrast(1.06); }
.education-bach-entry .education-primary-shade { background: linear-gradient(90deg,rgba(20,15,3,.98),rgba(40,29,8,.91) 46%,rgba(25,23,14,.4) 76%,rgba(13,14,10,.68)); }
.education-bach-entry .education-primary-copy>small { color: #fde047; }
.education-bach-entry .education-primary-button { background: #facc15; color: #241a02; }
.education-bach-entry .education-primary-side { border-left-color: rgba(250,204,21,.18); }
.education-bach-entry .education-primary-side b { color: #fde68a; }
.education-library-entry { border-color: rgba(52,211,153,.42); }
.education-library-entry:hover { border-color: #6ee7b7; box-shadow: 0 28px 68px rgba(0,0,0,.38),0 0 0 1px rgba(52,211,153,.16); }
.education-library-entry>img { object-position: center 51%; filter: hue-rotate(118deg) saturate(.9) contrast(1.08); }
.education-library-entry .education-primary-shade { background: linear-gradient(90deg,rgba(2,22,22,.98),rgba(5,43,39,.92) 47%,rgba(4,36,36,.42) 76%,rgba(2,18,22,.72)); }
.education-library-entry .education-primary-copy>small { color: #6ee7b7; }
.education-library-entry .education-primary-button { background: #34d399; color: #02251c; }
.education-library-entry .education-primary-side { border-left-color: rgba(110,231,183,.2); }
.education-library-entry .education-primary-side b { color: #a7f3d0; }
body.package-primary-active .education-primary-entry { display: none; }
@media(max-width:700px){.education-primary-entry{grid-template-columns:1fr;min-height:350px;border-radius:20px}.education-primary-shade{background:linear-gradient(180deg,rgba(2,15,23,.32),rgba(2,18,27,.97) 58%)}.education-primary-copy{align-self:end;padding:28px 22px}.education-primary-copy>strong{font-size:1.8rem}.education-primary-copy>span:not(.education-primary-pills):not(.education-primary-button){font-size:.82rem}.education-primary-side{display:none}.education-primary-button{width:100%;justify-content:center}}

body.package-primary-active {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 22%, rgba(34,211,238,.14), transparent 26rem),
        radial-gradient(circle at 88% 18%, rgba(250,204,21,.10), transparent 24rem),
        radial-gradient(circle at 65% 85%, rgba(168,85,247,.10), transparent 28rem),
        var(--bg-darker);
}

body.package-primary-active .dash-main {
    position: relative;
    max-width: 1240px;
    padding-top: 34px;
}

body.package-primary-active .dash-main::before {
    content: "A+   123   ABC   ★   ✎";
    position: fixed;
    inset: 145px 0 auto;
    z-index: -1;
    color: var(--primary);
    opacity: .045;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    letter-spacing: .18em;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

body.package-primary-active .primary-package-hero {
    display: flex;
    min-height: 275px;
    margin: 0 0 28px;
    padding: 38px 42px;
    position: relative;
    overflow: hidden;
    align-items: center;
    border: 1px solid rgba(34,211,238,.35);
    border-radius: 26px;
    background:
        linear-gradient(90deg, rgba(4,24,36,.96) 0%, rgba(5,35,48,.90) 48%, rgba(5,29,42,.50) 100%),
        url('../images/dashboard/primaria.webp') center right / cover no-repeat;
    box-shadow: 0 22px 70px rgba(0,0,0,.32), inset 0 0 70px rgba(34,211,238,.06);
}

body.package-primary-active .primary-package-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -60% 38%;
    height: 230px;
    background: radial-gradient(ellipse, rgba(34,211,238,.25), transparent 68%);
    pointer-events: none;
}

.primary-package-copy { position: relative; z-index: 2; max-width: 680px; }
.primary-package-kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
    border: 1px solid rgba(250,204,21,.38); border-radius: 99px;
    background: rgba(250,204,21,.12); color: #fde047;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
}
.primary-package-copy h1 { margin: 15px 0 10px; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.12; }
.primary-package-copy h1 strong { color: #67e8f9; font-weight: 800; }
.primary-package-copy p { max-width: 620px; margin: 0; color: #b8cfda; font-size: .94rem; line-height: 1.65; }
.primary-package-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.primary-package-pills span {
    padding: 7px 11px; border: 1px solid rgba(125,211,252,.22); border-radius: 10px;
    background: rgba(7,35,49,.72); color: #d9f5ff; font-size: .75rem; font-weight: 700;
}
.primary-package-art { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.primary-art-card {
    position: absolute; display: grid; place-items: center; width: 56px; height: 56px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 16px; color: #08202d;
    font-weight: 900; box-shadow: 0 12px 28px rgba(0,0,0,.28); transform: rotate(7deg);
}
.primary-art-abc { right: 5%; top: 16%; background: #fde047; }
.primary-art-book { right: 17%; bottom: 14%; background: #67e8f9; transform: rotate(-8deg); }
.primary-art-star { right: 2%; bottom: 9%; width: 43px; height: 43px; background: #c4b5fd; transform: rotate(12deg); }

body.package-primary-active .streaming-hero,
body.package-primary-active .stats-grid,
body.package-primary-active .tutorial-feature-wrap,
body.package-primary-active .sf-cta-banner,
body.package-primary-active .ingles-niveles-section,
body.package-primary-active .immersive-entry,
body.package-primary-active .pf-section,
body.package-primary-active .edu-hero-section,
body.package-primary-active .fs-hero-section,
body.package-primary-active .exam-sim-hero,
body.package-primary-active .cefr-section {
    display: none !important;
}

/* ══════════════════════════════════════════════════════
   PORTADA — APRENDE INGLÉS INMERSIVO
══════════════════════════════════════════════════════ */
.pf-catalog-entry {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto auto;
    gap: 18px;
    align-items: center;
    margin: 25px 0 30px;
    padding: 20px 22px;
    overflow: hidden;
    border: 1px solid rgba(34,211,238,.34);
    border-radius: 19px;
    background: linear-gradient(120deg,rgba(6,42,53,.94),rgba(8,25,42,.94));
    color: #f4fbfd;
    text-decoration: none;
    box-shadow: 0 15px 38px rgba(0,0,0,.24);
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.pf-catalog-entry:hover { transform: translateY(-3px); border-color: #22d3ee; box-shadow: 0 20px 44px rgba(0,0,0,.31); }
.pf-catalog-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(103,232,249,.32); border-radius: 17px; background: linear-gradient(145deg,#0e7490,#164e63); font-size: 1.55rem; }
.pf-catalog-copy small,.pf-catalog-copy strong,.pf-catalog-copy > span { display: block; }
.pf-catalog-copy small { margin-bottom: 4px; color: #67e8f9; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.pf-catalog-copy strong { margin-bottom: 5px; font-size: 1.08rem; }
.pf-catalog-copy > span { color: #91b5c2; font-size: .78rem; line-height: 1.45; }
.pf-catalog-stats { min-width: 65px; text-align: center; }
.pf-catalog-stats b,.pf-catalog-stats small { display: block; }
.pf-catalog-stats b { color: #22d3ee; font-size: 1.55rem; }
.pf-catalog-stats small { color: #719aa9; font-size: .55rem; font-weight: 900; letter-spacing: .08em; }
.pf-catalog-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #22d3ee; color: #031820; font-weight: 900; }
.pf-catalog-speaking { border-color: rgba(74,222,128,.34); background: linear-gradient(120deg,rgba(5,48,40,.94),rgba(7,28,39,.94)); }
.pf-catalog-speaking:hover { border-color: #4ade80; }
.pf-catalog-speaking .pf-catalog-icon { border-color: rgba(74,222,128,.35); background: linear-gradient(145deg,#15803d,#166534); }
.pf-catalog-speaking .pf-catalog-copy small,.pf-catalog-speaking .pf-catalog-stats b { color: #86efac; }
.pf-catalog-speaking .pf-catalog-arrow { background: #4ade80; }
@media(max-width:600px){.pf-catalog-entry{grid-template-columns:auto 1fr;padding:17px}.pf-catalog-stats{display:none}.pf-catalog-arrow{grid-column:1/-1;width:100%;height:35px}.pf-catalog-icon{width:50px;height:50px}.pf-catalog-copy strong{font-size:.96rem}}

.immersive-entry {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(290px, .82fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
    min-height: 360px;
    margin: 28px 0 34px;
    padding: clamp(30px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, .34);
    border-radius: 26px;
    background:
        radial-gradient(circle at 82% 18%, rgba(34,211,238,.17), transparent 27%),
        radial-gradient(circle at 18% 92%, rgba(168,85,247,.17), transparent 30%),
        linear-gradient(125deg, #031822 0%, #062936 52%, #071827 100%);
    box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
}
.immersive-entry::before {
    content: "LISTEN   SPEAK   READ   WRITE";
    position: absolute;
    right: -30px;
    bottom: 12px;
    z-index: -1;
    color: rgba(103,232,249,.035);
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    font-weight: 900;
    letter-spacing: .09em;
    white-space: nowrap;
}
.immersive-orbit { position: absolute; z-index: -1; border: 1px solid rgba(103,232,249,.12); border-radius: 50%; }
.immersive-orbit-one { width: 310px; height: 310px; right: -90px; top: -130px; }
.immersive-orbit-two { width: 170px; height: 170px; right: 18%; bottom: -105px; border-color: rgba(192,132,252,.14); }
.immersive-copy { position: relative; z-index: 2; }
.immersive-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
    border: 1px solid rgba(34,211,238,.4); border-radius: 99px;
    background: rgba(8,145,178,.13); color: #67e8f9;
    font-size: .7rem; font-weight: 900; letter-spacing: .09em;
}
.immersive-copy h2 { max-width: 680px; margin: 16px 0 13px; color: #f8fdff; font-size: clamp(2rem, 4.3vw, 3.65rem); line-height: 1.04; letter-spacing: -.035em; }
.immersive-copy h2 span { color: #22d3ee; text-shadow: 0 0 28px rgba(34,211,238,.2); }
.immersive-copy > p { max-width: 670px; margin: 0; color: #aac8d4; font-size: .96rem; line-height: 1.7; }
.immersive-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0; }
.immersive-features span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(125,211,252,.18); border-radius: 10px; background: rgba(3,20,30,.58); color: #d8f5fb; font-size: .74rem; font-weight: 750; }
.immersive-features i { color: #22d3ee; }
.immersive-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 45px; padding: 0 18px; border-radius: 12px;
    background: linear-gradient(135deg, #22d3ee, #0891b2); color: #02141d;
    font-size: .86rem; font-weight: 900; text-decoration: none;
    box-shadow: 0 12px 28px rgba(6,182,212,.22); transition: transform .22s ease, box-shadow .22s ease;
}
.immersive-button:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(6,182,212,.32); }
.immersive-note { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; color: #779eae; font-size: .7rem; }
.immersive-note i { color: #4ade80; }
.immersive-roadmap {
    position: relative; padding: 23px; border: 1px solid rgba(125,211,252,.24); border-radius: 22px;
    background: linear-gradient(160deg, rgba(8,39,52,.94), rgba(3,20,31,.9));
    box-shadow: 0 20px 45px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
}
.immersive-roadmap-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.immersive-roadmap-head span { color: #6f9cad; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.immersive-roadmap-head strong { color: #facc15; font-size: .83rem; }
.immersive-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.immersive-levels span { position: relative; display: grid; place-items: center; min-height: 55px; border: 1px solid rgba(125,211,252,.15); border-radius: 12px; background: #061d28; color: #658c9c; }
.immersive-levels b { font-size: .87rem; }
.immersive-levels small { position: absolute; top: calc(100% + 5px); color: #71a2b3; font-size: .54rem; font-weight: 700; }
.immersive-levels .is-active { border-color: #22d3ee; background: linear-gradient(145deg, #0e7490, #155e75); color: #fff; box-shadow: 0 0 20px rgba(34,211,238,.22); }
.immersive-levels .is-goal { border-color: rgba(250,204,21,.55); color: #fde047; }
.immersive-progress { height: 5px; margin: 28px 0 17px; overflow: hidden; border-radius: 99px; background: #0b3543; }
.immersive-progress i { display: block; width: 10%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#22d3ee,#a855f7); box-shadow: 0 0 12px #22d3ee; }
.immersive-roadmap p { margin: 0; color: #91b4c1; font-size: .75rem; text-align: center; }
.immersive-roadmap p i { margin-right: 6px; color: #22d3ee; }

@media (max-width: 840px) {
    .immersive-entry { grid-template-columns: 1fr; }
    .immersive-roadmap { max-width: 560px; }
}
@media (max-width: 560px) {
    .immersive-entry { margin: 20px 0 26px; padding: 25px 18px; border-radius: 19px; }
    .immersive-copy h2 { font-size: 2.05rem; }
    .immersive-copy > p { font-size: .86rem; }
    .immersive-button { width: 100%; }
    .immersive-note { width: 100%; justify-content: center; margin: 11px 0 0; }
    .immersive-roadmap { padding: 18px 14px; }
    .immersive-levels { gap: 6px; }
    .immersive-levels span { min-height: 47px; border-radius: 9px; }
}

body.package-primary-active .modules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    overflow: visible;
    padding: 18px;
    border: 1px solid rgba(125,211,252,.15);
    border-radius: 22px;
    background: rgba(8,25,36,.58);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

body.package-primary-active .section-header { margin: 0 4px 16px; }
body.package-primary-active .section-title { font-size: 1.35rem; }
body.package-primary-active .section-sub { color: #88aebe; }
body.package-primary-active .mod-card { box-shadow: 0 12px 30px rgba(0,0,0,.24); }

body.package-primary-active .module-row-controls {
    display: none;
}

@media (max-width: 900px) {
    body.package-primary-active .primary-package-hero { padding: 32px; }
    .primary-package-art { opacity: .55; }
    body.package-primary-active .modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.package-primary-active .dash-main { padding-top: 20px; }
    body.package-primary-active .primary-package-hero { min-height: 310px; padding: 28px 22px; border-radius: 20px; }
    body.package-primary-active .primary-package-copy { align-self: flex-end; }
    body.package-primary-active .primary-package-copy h1 { font-size: 1.75rem; }
    .primary-package-art { opacity: .38; }
    .primary-art-book { right: 24%; bottom: auto; top: 12%; }
    body.package-primary-active .modules-grid { padding: 12px; border-radius: 18px; }
    body.package-primary-active .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   VERBOS INMERSOS — acceso directo al motor combinatorio
   ================================================================ */
.verbs-immersive-entry {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: 34px;
    align-items: center;
    margin: 20px 0;
    padding: 34px 38px;
    overflow: hidden;
    border: 1px solid rgba(14, 205, 255, .42);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 15%, rgba(0, 174, 255, .18), transparent 32%),
        linear-gradient(135deg, rgba(2, 27, 45, .98), rgba(3, 48, 59, .92));
    box-shadow: 0 20px 55px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255,255,255,.05);
}

.verbs-immersive-entry::before {
    content: "TO BE  ·  HAVE  ·  GO  ·  MAKE  ·  TAKE";
    position: absolute;
    left: 28px;
    bottom: -8px;
    z-index: -1;
    color: rgba(44, 210, 255, .045);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: .08em;
    white-space: nowrap;
}

.verbs-immersive-copy { min-width: 0; }

.verbs-immersive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 11px;
    border: 1px solid rgba(29, 219, 255, .4);
    border-radius: 999px;
    background: rgba(0, 176, 217, .12);
    color: #43e7ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.verbs-immersive-copy h2 {
    max-width: 750px;
    margin: 0;
    color: #f5fbff;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.verbs-immersive-copy h2 span { color: #09ccea; }

.verbs-immersive-copy > p {
    max-width: 730px;
    margin: 16px 0 18px;
    color: #b8d6e7;
    font-size: .96rem;
    line-height: 1.7;
}

.verbs-immersive-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.verbs-immersive-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(31, 190, 229, .24);
    border-radius: 7px;
    background: rgba(0, 89, 113, .22);
    color: #d9f5ff;
    font-size: .76rem;
    font-weight: 600;
}

.verbs-immersive-points i { color: #18daf4; }

.verbs-immersive-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #33e5ff;
    border-radius: 10px;
    background: linear-gradient(135deg, #00abc9, #0876e8);
    box-shadow: 0 10px 28px rgba(0, 162, 225, .24);
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.verbs-immersive-button:hover,
.verbs-immersive-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 185, 237, .34);
}

.verbs-immersive-preview {
    padding: 20px;
    border: 1px solid rgba(55, 203, 255, .35);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(7, 31, 51, .96), rgba(3, 20, 35, .96));
    box-shadow: 0 18px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
}

.verbs-preview-head { display: flex; justify-content: space-between; gap: 10px; color: #52dfff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.verbs-preview-head small { color: #93b6ca; font-weight: 600; letter-spacing: 0; }
.verbs-immersive-preview > strong { display: block; margin-top: 10px; color: #fff; font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; }
.verbs-preview-translation { display: block; margin-top: 5px; color: #acd2e8; }
.verbs-preview-forms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 15px 0; }
.verbs-preview-forms b { display: grid; place-items: center; min-height: 38px; border: 1px solid rgba(37, 159, 207, .35); border-radius: 8px; background: rgba(6, 49, 76, .68); color: #e9f9ff; font-size: .84rem; }
.verbs-preview-example { padding: 13px; border-left: 3px solid #09d4ed; border-radius: 0 8px 8px 0; background: rgba(0, 122, 157, .12); }
.verbs-preview-example small { color: #4cdff5; font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.verbs-preview-example p { margin: 7px 0 4px; color: #fff; font-size: 1rem; font-weight: 700; }
.verbs-preview-example mark { padding: 1px 5px; border-radius: 5px; background: #087ced; color: #fff; }
.verbs-preview-example span { color: #a9cadc; font-size: .74rem; }
.verbs-preview-total { display: grid; grid-template-columns: 28px auto 1fr; align-items: center; gap: 6px; margin-top: 13px; color: #79daf0; }
.verbs-preview-total b { color: #fff; font-size: 1rem; }
.verbs-preview-total span { color: #9ab9ca; font-size: .68rem; }

@media (max-width: 860px) {
    .verbs-immersive-entry { grid-template-columns: 1fr; padding: 30px; }
    .verbs-immersive-preview { max-width: 620px; }
}

@media (max-width: 560px) {
    .verbs-immersive-entry { gap: 23px; margin: 15px 0; padding: 25px 19px; border-radius: 18px; }
    .verbs-immersive-copy h2 { font-size: 2rem; }
    .verbs-immersive-copy > p { font-size: .87rem; line-height: 1.58; }
    .verbs-immersive-points { display: grid; }
    .verbs-immersive-button { width: 100%; }
    .verbs-immersive-preview { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .verbs-immersive-button { transition: none; }
}

/* Phrasal Verbs: entrada debajo de Práctica y Fluidez */
.phrasal-dashboard-entry{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:26px 0 44px;padding:36px clamp(22px,4vw,44px);border:1px solid rgba(33,209,235,.35);border-radius:22px;background:radial-gradient(circle at 90% 0%,rgba(33,209,235,.13),transparent 35%),linear-gradient(120deg,#0a2230,#0b2b39);box-shadow:0 20px 60px rgba(0,0,0,.22)}
.phrasal-dashboard-copy{max-width:750px}.phrasal-dashboard-kicker{color:#82eeff;font-size:.68rem;font-weight:800;letter-spacing:.1em}.phrasal-dashboard-copy h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.045em;line-height:1.12;margin:12px 0}.phrasal-dashboard-copy h2 span{color:#21d1eb}.phrasal-dashboard-copy p{color:#b6cdd8;line-height:1.65;font-size:.92rem;margin:0 0 18px}.phrasal-dashboard-pills{display:flex;flex-wrap:wrap;gap:8px}.phrasal-dashboard-pills span{border:1px solid rgba(33,209,235,.24);background:rgba(33,209,235,.08);color:#bce9f0;padding:6px 10px;border-radius:9px;font-size:.71rem;font-weight:700}.phrasal-dashboard-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;border-radius:13px;background:#21d1eb;color:#06202a;padding:14px 20px;font-weight:800;font-size:.84rem;transition:transform .2s,box-shadow .2s}.phrasal-dashboard-button:hover,.phrasal-dashboard-button:focus-visible{transform:translateY(-2px);box-shadow:0 10px 26px rgba(33,209,235,.25);color:#06202a}
@media(max-width:760px){.phrasal-dashboard-entry{flex-direction:column;align-items:stretch;padding:26px 21px}.phrasal-dashboard-button{width:100%}}
