/* ============================================================
   Tokens de tema. Los valores de :root son el modo claro y
   reproducen el aspecto original; html.dark los reescribe.
   Paleta oscura derivada del navy de marca (#081a33).
   El tema se aplica con la clase `dark` en <html>, la misma
   convención que la app Inertia (resources/js/hooks/use-appearance.tsx).
   ============================================================ */
:root {
  /* Superficies */
  --bg: #ffffff;
  --surface-1: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eef4fb;
  --surface-alt: #f4f7fb;
  --surface-inverse: #081a33;
  --surface-inverse-2: #12335e;
  --footer-bg: var(--surface-alt);

  /* Texto */
  --text: #0b1930;
  --text-2: #33445d;
  --muted: #66758c;
  --text-inverse: #ffffff;
  --muted-inverse: #b7c5d8;
  --footer-text: var(--muted);
  --footer-accent: var(--green-ink);

  /* Bordes */
  --line: #dbe3ed;
  --line-strong: #c3d0e0;
  --line-inverse: rgba(255, 255, 255, .1);

  /* Marca */
  --green: #42d77d;
  --green-dark: #20ad5d;
  --green-ink: #0e7a41;
  --green-soft: #eafaf1;
  --green-border: #bcdccb;
  --green-hover: #55e58e;
  --green-on-inverse: #72e9a2;
  --on-green: #071b17;
  --cyan: #35c8df;
  --cyan-ink: #0f8fa8;
  --cyan-soft: #e4f6fa;
  --violet: #6d4bd8;
  --violet-soft: #eeeafc;
  --violet-border: #cfd6ff;
  /* Naranja: sólo lo usa la tarjeta de fin de semana, como badge suave */
  --orange-soft: #fef0c745;
  --orange-pill: #ffe0c7;
  --orange-ink: #d97706;
  --orange-muted: #121926;
  --orange-border: #f4a663;
  --star: #f5b301;
  --danger: #ff4e67;
  --footer-icon-bg: #dbe6f3;
  --footer-icon-fg: #33445d;
  --footer-institute-filter: none;
  /* marca-peru-white.png es blanco sobre transparente: invisible en claro */
  --marca-peru-filter: invert(1);
  /* Los SVG ISO son negros de origen: sólo hay que invertirlos sobre oscuro */
  --iso-filter: none;
  /* El configurador es un bloque con tinte, como .starts-section */
  --config-bg: var(--surface-2);
  --config-glow: none;
  /* Superficies translúcidas que se apoyan en el fondo de página */
  --header-bg: rgba(255, 255, 255, .92);
  --surface-1-a94: rgba(255, 255, 255, .94);
  --surface-1-a84: rgba(255, 255, 255, .84);
  --surface-1-a65: rgba(255, 255, 255, .65);

  /* Sombras: un solo color base con los alfas originales */
  --shadow-rgb: 8, 26, 51;

  /* Alias heredados (se van retirando) */
  --navy: var(--surface-inverse);
  --navy-3: var(--surface-inverse-2);
  --ink: var(--text);
  --surface: var(--surface-alt);

  --container: 1280px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(var(--shadow-rgb), .14);
}

html.dark {
  /* Rampa de superficies: el fondo se queda y suben las tarjetas, para que
     se lean como paneles. Contrastes medidos sobre --bg: tarjeta 1.40,
     tarjeta sobre sección alterna (caso peor) 1.31, borde sobre tarjeta 1.45. */
  --bg: #0b1424;
  --surface-1: #1e3050;
  --surface-2: #263c62;
  --surface-3: #2e4874;
  --surface-alt: #101b2c;
  --surface-inverse: #2a4470;
  --surface-inverse-2: #35558c;
  --footer-bg: #070f1c;

  --text: #e8eef7;
  --text-2: #c3d0e2;
  --muted: #92a4bf;
  --text-inverse: #e8eef7;
  --muted-inverse: #a8bad2;
  --footer-text: #8fa8c8;
  --footer-accent: var(--green-ink);

  --line: #33496b;
  --line-strong: #425d87;
  --line-inverse: rgba(255, 255, 255, .12);

  --green: #5cd685;
  --green-dark: #4ecb7a;
  --green-ink: #7ee6a5;
  --green-soft: rgba(92, 214, 133, .14);
  --green-border: rgba(92, 214, 133, .34);
  --green-hover: #6fe098;
  --green-on-inverse: #7ee6a5;
  --on-green: #052e16;
  --cyan: #56d3e8;
  --cyan-ink: #7adcee;
  --cyan-soft: rgba(86, 211, 232, .14);
  --violet: #a992f5;
  --violet-soft: rgba(169, 146, 245, .16);
  --violet-border: rgba(169, 146, 245, .34);
  /* Opacos, no translúcidos: un tinte naranja sobre el azul de la sección
     (--surface-2 #263c62) se compone como gris y pierde el color. */
  /* Espejo del claro: allí es un velo ámbar casi invisible y el borde es
     quien delimita la tarjeta. --orange-ink reutiliza el #f4a663 que en
     claro hace de borde; el #d97706 del claro no se lee sobre oscuro. */
  --orange-soft: #66492a;
  --orange-pill: #4d3a1e;
  --orange-ink: #f4a663;
  --orange-muted: #EEF2F6;
  --orange-border: #a3703a;
  --danger: #ff6b7f;
  --footer-icon-bg: #1d3050;
  --footer-icon-fg: #cfe0f2;
  --footer-institute-filter: url("#footer-black-to-white");
  --marca-peru-filter: none;
  --iso-filter: invert(1);
  /* Por debajo de --surface-1: el configurador contiene tarjetas y con el
     degradado anterior se fundían con él (1.00 de contraste). */
  --config-bg: linear-gradient(145deg, #091120, #0f1b2f 62%, #142440);
  --config-glow: radial-gradient(circle at 14% 18%, rgba(53, 200, 223, .12), transparent 28%), radial-gradient(circle at 84% 78%, rgba(66, 215, 125, .1), transparent 24%);
  --header-bg: rgba(11, 20, 36, .92);
  /* Derivados de --surface-1: han de seguir su valor o las tarjetas
     translúcidas quedarían más oscuras que las opacas. */
  --surface-1-a94: rgba(30, 48, 80, .94);
  --surface-1-a84: rgba(30, 48, 80, .84);
  --surface-1-a65: rgba(30, 48, 80, .65);

  --shadow-rgb: 0, 0, 0;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
  font-style: normal !important
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2px
}

body {
  margin: 0;
  background: var(--surface-1);
  color: var(--ink);
  font-family: "Nunito Sans", "Nunito", Arial, sans-serif;
  font-style: normal;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
  font: inherit;
  font-style: normal !important
}

a {
  color: inherit;
  text-decoration: none;
  font-style: normal !important
}

h1,
h2,
h3,
h4,
strong,
b,
.btn,
.nav-menu,
.section-kicker,
.eyebrow {
  font-family: "Montserrat", "Nunito Sans", sans-serif;
  font-style: normal !important
}

img {
  max-width: 100%
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto
}

main section[id] {
  scroll-margin-top: 110px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px)
}

.nav-shell {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  padding: 0;
  transition: background .18s ease, border-color .18s ease
}

.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  cursor: pointer;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.theme-toggle[aria-pressed="false"] .icon-sun,
.theme-toggle[aria-pressed="true"] .icon-moon {
  display: none
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink)
}

.brand-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  box-shadow: 0 9px 28px rgba(53, 200, 223, .22)
}

.brand-copy {
  display: grid;
  line-height: 1
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 800
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  letter-spacing: .02em;
  font-size: 11px;
  font-weight: 700
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700
}

.nav-menu>a:not(.btn):hover {
  color: var(--green-ink)
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 10px
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--green);
  color: var(--on-green);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--green-hover);
  box-shadow: 0 12px 28px rgba(66, 215, 125, .2)
}

.btn-sm {
  min-height: 42px;
  padding-inline: 19px
}

/* Botón secundario para fondos CLAROS. .btn-outline no sirve aquí: su color
   es --text-inverse (blanco), pensado para el navy del hero, y sólo se lee
   gracias al override contextual .hero .btn-outline. Éste reproduce el
   lenguaje visual del .theme-toggle contiguo (borde --line, hover a
   --surface-2) y por eso tampoco levanta ni proyecta sombra al pasar. */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line)
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  box-shadow: none;
  transform: none
}

.nav-login {
  min-height: 40px;
  gap: 8px
}

.nav-login svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, .3)
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  box-shadow: none
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
  color: var(--ink);
  border-bottom: 1px solid var(--line)
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 50px;
  padding: 72px 0
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(66, 215, 125, .4);
  border-radius: 999px;
  background: rgba(66, 215, 125, .12);
  color: var(--green-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(66, 215, 125, .16)
}

.hero h1 {
  max-width: 680px;
  margin: 24px 0 22px;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--ink)
}

.hero h1 em {
  color: var(--green)
}

.hero-lead {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px
}

.hero .btn-outline {
  gap: 10px;
  background: var(--surface-1);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .06)
}

.hero .btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(var(--shadow-rgb), .09)
}

.btn-play {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--text-inverse)
}

.btn-play svg {
  width: 17px;
  height: 17px;
  fill: currentColor
}

.hero-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 36px
}

.hero-students {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-1);
  box-shadow: 0 6px 18px rgba(var(--shadow-rgb), .05)
}

.hero-students>span {
  font-family: "Montserrat", "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700
}

.hero-avatars {
  display: flex
}

.hero-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-1);
  box-shadow: 0 2px 6px rgba(var(--shadow-rgb), .14)
}

.hero-avatars img+img {
  margin-left: -12px
}

.hero-rating {
  display: grid;
  gap: 2px
}

.hero-rating p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0
}

.hero-rating strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.03em
}

.hero-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star)
}

.hero-stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor
}

.hero-rating small {
  color: var(--muted);
  font-size: 12px
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--danger);
  font-size: 10px;
  font-weight: 800
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface-1)
}

.progress-bar {
  height: 7px;
  border-radius: 10px;
  background: var(--surface-3);
  overflow: hidden
}

.progress-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--green), var(--cyan))
}

.hero-showcase {
  --bleed: clamp(14px, (100vw - var(--container))/2 - 20px, 72px);
  position: relative;
  display: grid;
  gap: 16px;
  padding: 4px 44px 0 0
}

.showcase-main {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(var(--shadow-rgb), .20)
}

.showcase-main>img:first-child {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover
}

.showcase-main .live-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 13px;
  /* Pill "En vivo" sobre la foto: navy fijo en ambos temas. */
  background: rgba(8, 26, 51, .78);
  color: var(--text-inverse);
  font-size: 11px
}

.showcase-main .live-pill i {
  background: var(--green)
}

.showcase-pip {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 96px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .88);
  box-shadow: 0 10px 26px rgba(var(--shadow-rgb), .30)
}

.showcase-controls {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px
}

.showcase-controls span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  /* Los controles van sobre la foto: su contraste no depende del tema. */
  color: #0b1930;
  box-shadow: 0 8px 20px rgba(var(--shadow-rgb), .22)
}

.showcase-controls span.showcase-hangup {
  background: var(--danger);
  color: var(--text-inverse)
}

.showcase-controls svg {
  width: 20px;
  height: 20px;
  fill: currentColor
}

.showcase-controls svg[fill="none"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.showcase-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-1);
  box-shadow: 0 18px 44px rgba(var(--shadow-rgb), .13)
}

.showcase-card-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700
}

.showcase-tile {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px
}

.showcase-tile svg {
  width: 21px;
  height: 21px;
  fill: currentColor
}

.showcase-tile svg[fill="none"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.showcase-tile-navy {
  background: var(--navy);
  color: var(--text-inverse)
}

.showcase-tile-soft {
  background: var(--surface-3);
  color: var(--text)
}

.showcase-tile-cyan {
  background: var(--cyan-soft);
  color: var(--cyan-ink)
}

.showcase-tile-green {
  background: var(--green-soft);
  color: var(--green-ink)
}

.showcase-tile-violet {
  background: var(--violet-soft);
  color: var(--violet)
}

/* El número y la onda comparten fila: con el marco en 4:3 la tarjeta apilada no cabría junto al PIP. */
.showcase-score {
  position: absolute;
  top: 100px;
  right: calc(var(--bleed) * -0.45);
  z-index: 3;
  width: 244px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px
}

.showcase-score .showcase-card-label {
  grid-column: 1/-1
}

.showcase-score-value {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 2px 0 0
}

.showcase-score-value strong {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--green-ink)
}

.showcase-score-value span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700
}

.showcase-score small {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4
}

.showcase-wave {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  width: 100%;
  height: 30px;
  margin: 0;
  color: var(--green);
  fill: currentColor
}

.showcase-project {
  position: absolute;
  top: 222px;
  right: calc(var(--bleed) * -1);
  z-index: 4;
  width: 334px;
  display: grid;
  gap: 12px
}

.showcase-project header {
  display: flex;
  align-items: center;
  gap: 10px
}

.showcase-project header strong {
  font-size: 14px
}

.showcase-project-body {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2)
}

.showcase-project-body p {
  display: grid;
  gap: 2px;
  margin: 0
}

.showcase-project-body strong {
  font-size: 14px
}

.showcase-project-body small {
  color: var(--muted);
  font-size: 12px
}

.showcase-project-progress {
  display: flex;
  align-items: center;
  gap: 10px
}

.showcase-project-progress .progress-bar {
  flex: 1
}

.showcase-project-progress b {
  color: var(--muted);
  font-size: 12px
}

.showcase-project footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font-family: "Montserrat", "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700
}

.showcase-practice {
  padding: 24px
}

.showcase-practice-title {
  display: block;
  font-size: 16px
}

.showcase-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px
}

.showcase-practice-grid>div {
  display: flex;
  align-items: flex-start;
  gap: 9px
}

.showcase-practice-grid p {
  display: grid;
  gap: 2px;
  margin: 0
}

.showcase-practice-grid strong {
  font-size: 14px
}

.showcase-practice-grid small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4
}

@keyframes hero-float {
  from {
    transform: translateY(-7px)
  }

  to {
    transform: translateY(7px)
  }
}

.showcase-score,
.showcase-project {
  animation: hero-float 6s ease-in-out infinite alternate
}

.showcase-project {
  animation-duration: 7.5s;
  animation-delay: -2.5s
}

.section {
  padding: 96px 0
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center
}

.section-heading-left {
  text-align: left;
  margin: 0
}

.section-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0
}

.section-kicker-dark {
  background: rgba(66, 215, 125, .13);
  color: var(--green-on-inverse);
  border: 1px solid rgba(66, 215, 125, .24)
}

.section-heading h2 {
  margin: 17px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.level-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-1);
  box-shadow: 0 14px 38px rgba(var(--shadow-rgb), .06);
  display: flex;
  flex-direction: column;
  min-height: 100%
}

/* Marca del nivel seleccionado. El anillo va por box-shadow y no subiendo el
   borde a 2px porque la marca se MUEVE: un borde más grueso desplazaría 1px el
   contenido en cada cambio. Tampoco lleva transform: chocaría con el
   translateY(-5px) del :hover de más abajo y la tarjeta marcada bajaría al
   pasar el ratón.

   El :hover se repite porque su regla va MUCHO más abajo en la hoja y, con la
   misma especificidad, ganaba por orden: pasar el ratón por encima borraba el
   anillo justo de la tarjeta marcada. El transform del hover sí se conserva. */
.level-card.active,
.level-card.active:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 22px 55px rgba(32, 173, 93, .13)
}

.level-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px
}

.level-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px
}

.level-label strong {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--text-inverse);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1
}

.level-range-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text-2);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  border: 1px solid var(--line)
}

.level-card h3 {
  margin: 22px 0 12px;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: -.02em
}

.level-card p {
  color: var(--muted)
}

.level-card ul {
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--text-2)
}

.level-card li {
  margin: 8px 0
}

.level-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border: none;
  background: var(--green);
  color: var(--on-green);
  box-shadow: 0 10px 24px rgba(32, 173, 93, .18);
  cursor: pointer;
}

.level-cta:hover {
  transform: translateY(-2px);
  filter: brightness(.97)
}

.configurator {
  position: relative;
  overflow: hidden;
  background: var(--config-bg);
  color: var(--text)
}

/* Los halos sólo tienen sentido sobre el fondo oscuro; en claro dejarían manchas. */
.configurator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--config-glow)
}

.section-heading-light {
  position: relative;
  z-index: 1
}

.section-heading-light p {
  color: var(--muted)
}

.config-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start
}

.config-panel {
  display: grid;
  gap: 18px
}

.config-block {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: var(--surface-1);
  color: var(--ink)
}

.config-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px
}

.config-title>span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--green);
  color: var(--on-green)
}

.config-title .config-step-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.config-title h3 {
  margin: 0;
  font-size: 20px
}

.config-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px
}

.choice,
.schedule-option {
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-1);
  color: var(--ink);
  transition: .18s ease
}

.choice {
  min-height: 122px;
  padding: 16px
}

.choice strong,
.choice span,
.choice small {
  display: block
}

.choice strong {
  font-size: 17px
}

.choice span {
  margin-top: 5px;
  font-weight: 700;
  font-size: 13px
}

.choice small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px
}

.choice:hover,
.schedule-option:hover {
  transform: translateY(-1px);
  border-color: var(--green-border)
}

.choice.active,
.schedule-option.active {
  border: 2px solid var(--green-dark);
  background: var(--green-soft);
  box-shadow: 0 10px 28px rgba(32, 173, 93, .1)
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px
}

.schedule-option {
  padding: 14px
}

.schedule-option strong,
.schedule-option span {
  display: block
}

.schedule-option strong {
  font-size: 13px
}

.schedule-option span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px
}

.schedule-option .schedule-break {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35
}

/* Parrilla sin franjas para la combinación elegida. grid-column: 1 / -1 porque
   .schedule-grid son tres columnas y sin esto el aviso quedaría en la primera. */
.schedule-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5
}

.summary-card {
  position: sticky;
  top: 96px;
  padding: 27px;
  border-radius: 18px;
  background: var(--surface-1);
  color: var(--ink);
  box-shadow: var(--shadow)
}

.summary-label {
  color: var(--green-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 800
}

.summary-card h3 {
  margin: 12px 0 20px;
  font-size: 24px;
  line-height: 1.2
}

.summary-card dl {
  margin: 0
}

.summary-card dl>div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line)
}

.summary-card dt {
  color: var(--muted);
  font-size: 13px
}

.summary-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
  font-size: 13px
}

.summary-price {
  padding: 22px 0
}

.summary-price span,
.summary-price strong {
  display: block
}

.summary-price span {
  color: var(--muted);
  font-size: 12px
}

.summary-price strong {
  font-size: 39px;
  letter-spacing: -.04em
}

.summary-card>small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px
}

.btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: var(--on-green)
}

.btn-whatsapp:hover {
  background: #3be27a
}

.method-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 64px;
  align-items: start
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px
}

.method-grid article {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-1)
}

.method-grid article>span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--green)
}

.method-grid .method-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round
}

.method-grid h3 {
  margin: 0 0 6px;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--violet);
  border: 1px solid var(--violet-border);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em
}

.faq {
  background: var(--surface)
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 920px
}

.faq-heading {
  text-align: left;
  margin: 0
}

.faq-list {
  display: grid;
  gap: 11px
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-1)
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px
}

.faq-list summary::-webkit-details-marker {
  display: none
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  transition: all .18s ease
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--green-soft);
  border-color: var(--green-border);
  color: var(--green-ink)
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  padding-right: 44px;
  line-height: 1.65
}

.final-cta {
  padding: 80px 0;
  background: var(--surface-1)
}

.final-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 45px;
  padding: 42px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--text-inverse)
}

.final-cta-card h2 {
  max-width: 780px;
  margin: 15px 0 10px;
  font-size: 38px;
  line-height: 1.12
}

.final-cta-card p {
  margin: 0;
  color: var(--muted-inverse)
}

.final-cta-card .btn {
  min-width: 220px
}

#mayugoFooter>footer {
  padding: 27px 0;
  background: var(--footer-bg);
  color: var(--text-inverse)
}

/* El hero colapsa mucho antes que el resto: con el marco en 4:3 y las tarjetas a tamaño completo, sólo hay altura para apilarlas cuando el contenedor ya está topado en 1280px (viewport >1360). Por debajo taparían los ítems de "Aprendizaje práctico". El nav sigue en 1000px. */
@media(max-width:1280px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px
  }

  /* Apilado = una sola columna centrada. Sin esto el bloque se quedaba topado en 680px pegado al
     borde izquierdo de un .container de hasta 1240px, con medio hero vacío a la derecha. */
  .hero-content {
    max-width: 680px;
    margin-inline: auto
  }

  .hero-showcase {
    max-width: 680px;
    margin-inline: auto;
    padding: 0;
    grid-template-columns: repeat(2, 1fr)
  }

  /* Los topes de 680/600 ordenaban el texto contra la columna de dos columnas; dentro del bloque
     ya centrado sólo lo desalinean. */
  .hero h1,
  .hero-lead {
    max-width: none
  }

  .showcase-main,
  .showcase-practice {
    grid-column: 1/-1
  }

  .showcase-main>img:first-child {
    aspect-ratio: 16/10
  }

  .showcase-score,
  .showcase-project {
    position: static;
    width: auto;
    animation: none
  }
}

/* Entre 1024 y 1280 sí caben dos columnas, pero el marco queda en 448px (a 1024) y 570px (a 1280).
   Ahí las tarjetas en flujo del bloque de arriba pesaban más que la propia foto, así que aquí la
   imagen recupera el mando. Va DESPUÉS a propósito: misma especificidad, gana por orden. */
@media (min-width:1024px) and (max-width:1280px) {
  .hero-layout {
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    min-height: auto;
    padding: 64px 0
  }

  .hero-content,
  .hero-showcase {
    max-width: none;
    margin-inline: 0
  }

  .hero h1 {
    font-size: clamp(34px, 3.4vw, 46px)
  }

  /* Una sola columna y «Pronunciación» superpuesta EN SU MISMA celda de rejilla. Se usa la rejilla
     y no position:absolute a propósito: así el alto de la fila lo sigue fijando la imagen y el
     anclaje va en porcentajes del ancho de la columna, sin offsets en píxeles que se rompan entre
     448 y 570px. */
  .hero-showcase {
    grid-template-columns: 1fr
  }

  .showcase-main {
    grid-area: 1/1
  }

  .showcase-main>img:first-child {
    aspect-ratio: 4/3
  }

  /* «Entregable en progreso» se retira aquí: con el PIP arriba y la foto en 336px de alto no hay
     sitio para las dos tarjetas en cascada sin comprimirlas hasta volverlas ilegibles. */
  .showcase-project {
    display: none
  }

  .showcase-score {
    grid-area: 1/1;
    justify-self: end;
    align-self: start;
    width: 47%;
    /* 22% del ancho de la columna (98px a 1024, 125px a 1280): despeja el PIP, que acaba en y≈88. */
    margin: 22% -8px 0 0;
    z-index: 3
  }

  .showcase-practice {
    grid-row: 2;
    padding: 18px
  }

  .showcase-practice-grid {
    gap: 12px;
    margin-top: 12px
  }

  .showcase-practice .showcase-tile {
    width: 32px;
    height: 32px
  }

  .showcase-practice .showcase-tile svg {
    width: 18px;
    height: 18px
  }
}

/* El nav colapsa ANTES que el resto del layout (que sigue en 1000px). Anchos
   naturales medidos en Chrome: marca 130 + menú 763 + «Iniciar sesión» 164 +
   tema 40, con los huecos y los 40px del .container = 1203px mínimos. Por
   debajo se partían en dos líneas la marca, «Ver precios» y el propio botón.
   1240 deja margen para variaciones de fuente. Sin el botón hacían falta
   1029px, así que este nav ya venía justo con el breakpoint de 1000. */
@media(max-width:1240px) {
  .menu-toggle {
    display: block
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    padding: 22px;
    background: var(--surface-1);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .10);
    flex-direction: column;
    align-items: stretch
  }

  .nav-menu.open {
    display: flex
  }
}

@media(max-width:1000px) {
  .config-layout,
  .method-layout,
  .faq-layout {
    grid-template-columns: 1fr
  }

  .levels-grid {
    grid-template-columns: 1fr
  }

  .summary-card {
    position: static
  }

  .option-grid {
    grid-template-columns: 1fr
  }

  .schedule-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .section-heading-left {
    text-align: center;
    margin: 0 auto 38px
  }

  .final-cta-card {
    grid-template-columns: 1fr
  }

  .final-cta-card .btn {
    width: fit-content
  }
}@media(max-width:640px) {
  .container {
    width: min(calc(100% - 24px), var(--container))
  }

  .hero-layout {
    min-height: auto;
    padding: 62px 0
  }

  .hero h1 {
    font-size: 43px
  }

  .hero-lead {
    font-size: 17px
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch
  }

  .hero-social {
    gap: 16px
  }

  .hero-showcase {
    grid-template-columns: 1fr
  }

  .showcase-practice-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .showcase-pip {
    width: 88px;
    height: 68px
  }

  .section {
    padding: 68px 0
  }

  .section-heading h2 {
    font-size: 34px
  }

  .config-block {
    padding: 18px
  }

  .schedule-grid,
  .method-grid {
    grid-template-columns: 1fr
  }

  .final-cta {
    padding: 55px 0
  }

  .final-cta-card {
    padding: 28px
  }

  .final-cta-card h2 {
    font-size: 30px
  }
}

/* Próximos inicios y zonas horarias */
.starts-section {
  background: var(--surface-2)
}

/* Ajuste de ritmo vertical tras retirar encabezados y badges */
#programa {
  padding-top: 64px;
  padding-bottom: 64px
}

#inicios {
  padding-top: 72px;
  padding-bottom: 76px
}

#docentes {
  padding-bottom: 58px
}

#preguntas {
  padding-top: 58px;
  padding-bottom: 76px
}

#preguntas .faq-layout {
  gap: 18px
}

#preguntas .faq-heading {
  margin-bottom: 0
}

.starts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.start-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-1);
  box-shadow: 0 14px 35px rgba(var(--shadow-rgb), .06)
}

.start-card-weekend {
  background: var(--orange-soft);
  color: var(--orange-ink);
  border-color: var(--orange-border)
}

.start-level-block {
  display: block
}

.start-level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text-2);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center
}

.start-card-weekend .start-level-pill {
  background: var(--orange-pill);
  color: var(--orange-ink)
}

.start-card>strong {
  margin-top: 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.03em
}

.start-card p {
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 14px
}

.start-card-weekend p {
  color: var(--orange-muted)
}

.start-link {
  margin-top: auto;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: var(--on-green);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  cursor: pointer
}

.start-link:hover {
  filter: brightness(.97);
  transform: translateY(-1px)
}

.schedule-option small {
  display: block;
  margin-top: 6px;
  color: var(--green-ink);
  font-size: 10px;
  font-weight: 800
}@media(max-width:1100px) {
  .starts-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}@media(max-width:640px) {
  .starts-grid {
    grid-template-columns: 1fr
  }

  .start-card {
    min-height: auto
  }
}

.schedule-option small {
  display: block;
  margin-top: 6px;
  color: var(--green-ink);
  font-size: 10px;
  font-weight: 800
}

.summary-card dl>div:nth-child(4) dd {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 800
}


/* v13: selector compacto de zona horaria dentro del bloque de horarios */
.schedule-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

.schedule-heading-row .config-title {
  margin-bottom: 0;
  flex: 1;
}@media (max-width:760px) {
  .schedule-heading-row {
    display: grid;
    gap: 1rem;
  }
}

/* v15: selector horizontal compacto, nota de apertura y equipo docente */
.timezone-picker,
.timezone-popover {
  display: none !important
}

.group-opening-note {
  display: block;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.5
}

.group-opening-note strong {
  display: inline;
  color: var(--text-2);
  font-size: 11px
}

.instructors {
  background: var(--surface-2)
}

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

.instructor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-1);
  box-shadow: 0 14px 35px rgba(var(--shadow-rgb), .06)
}

.instructor-content {
  padding: 23px
}

.instructor-level {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text-2);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800
}

.instructor-content h3 {
  margin: 15px 0 10px;
  font-size: 19px;
  line-height: 1.25
}

.instructor-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6
}

.instructor-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px
}

.instructor-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 10px;
  font-weight: 800;
  background: var(--surface-2)
}@media(max-width:1000px) {
  .schedule-heading-row {
    display: grid;
    gap: 16px
  }

  .instructor-grid {
    grid-template-columns: 1fr
  }

  .instructor-card {
    display: grid;
    grid-template-columns: 220px 1fr
  }
}@media(max-width:640px) {

  .instructor-card {
    display: block
  }
}

.timezone-menu {
  position: relative;
  width: 310px;
  flex: 0 0 auto
}

.timezone-menu-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800
}

.timezone-menu-trigger {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-1);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(var(--shadow-rgb), .05);
  transition: border-color .18s, box-shadow .18s, transform .18s
}

.timezone-menu-trigger:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(var(--shadow-rgb), .08)
}

.timezone-menu.open .timezone-menu-trigger {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(32, 173, 93, .10), 0 12px 24px rgba(var(--shadow-rgb), .08)
}

.timezone-globe {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-ink)
}

.timezone-globe svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8
}

.timezone-trigger-text {
  display: grid;
  gap: 1px;
  min-width: 0
}

.timezone-trigger-text strong {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800
}

.timezone-trigger-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700
}

.timezone-menu-chevron {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 1.8;
  transition: transform .18s
}

.timezone-menu.open .timezone-menu-chevron {
  transform: rotate(180deg)
}

.timezone-menu-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  width: 330px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--surface-1);
  box-shadow: 0 22px 52px rgba(var(--shadow-rgb), .18)
}

.timezone-menu-popover[hidden] {
  display: none
}

.timezone-menu-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .16s
}

.timezone-menu-option:hover {
  background: var(--surface-2)
}

.timezone-menu-option.active {
  background: var(--green-soft)
}

.timezone-option-main {
  display: grid;
  gap: 2px;
  min-width: 0
}

.timezone-option-main strong {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800
}

.timezone-option-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700
}

.timezone-option-mark {
  width: 9px;
  height: 9px;
  border: 2px solid var(--muted-inverse);
  border-radius: 50%
}

.timezone-menu-option.active .timezone-option-mark {
  border-color: var(--green-dark);
  background: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(28, 168, 92, .12)
}@media(max-width:1000px) {
  .timezone-menu {
    width: 100%
  }

  .timezone-menu-popover {
    left: 0;
    right: auto;
    width: min(100%, 360px)
  }
}@media(max-width:560px) {
  .timezone-menu-popover {
    width: 100%
  }

  .timezone-menu-trigger {
    min-height: 52px
  }

  .timezone-menu-label {
    font-size: 11px
  }
}

.instructors {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-3) 100%)
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.instructor-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-1-a94);
  box-shadow: 0 18px 46px rgba(var(--shadow-rgb), .08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease
}

.instructor-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  opacity: .9
}

.instructor-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-border);
  box-shadow: 0 24px 58px rgba(var(--shadow-rgb), .12)
}

.instructor-profile-head {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 18px
}

.instructor-photo-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  padding: 4px;
  border-radius: 27px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 14px 30px rgba(32, 173, 93, .17)
}

.instructor-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--surface-1);
  border-radius: 23px;
  background: var(--navy)
}

.instructor-status {
  position: absolute;
  right: 3px;
  bottom: 7px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--surface-1);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 3px 10px rgba(32, 173, 93, .35)
}

.instructor-identity {
  min-width: 0
}

.instructor-level {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1
}

.instructor-identity h3 {
  margin: 12px 0 5px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em
}

.instructor-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35
}

.instructor-description {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65
}

.instructor-skills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px
}

.instructor-skills span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 10px;
  font-weight: 800
}

.instructor-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line)
}

.instructor-features span {
  position: relative;
  padding-left: 16px;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 800
}

.instructor-features span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green)
}@media(max-width:1050px) {
  .instructor-grid {
    grid-template-columns: 1fr
  }

  .instructor-card {
    display: block
  }

  .instructor-profile-head {
    grid-template-columns: 96px 1fr
  }

  .instructor-photo-wrap {
    width: 96px;
    height: 96px;
    border-radius: 24px
  }

  .instructor-photo {
    border-radius: 20px
  }
}@media(max-width:520px) {
  .instructor-card {
    padding: 20px
  }

  .instructor-profile-head {
    grid-template-columns: 78px 1fr;
    gap: 14px
  }

  .instructor-photo-wrap {
    width: 78px;
    height: 78px;
    border-radius: 20px
  }

  .instructor-photo {
    border-width: 3px;
    border-radius: 17px
  }

  .instructor-identity h3 {
    font-size: 17px
  }

  .instructor-identity p {
    font-size: 12px
  }

  .instructor-features {
    grid-template-columns: 1fr
  }

  .instructor-description {
    font-size: 13px
  }
}

/* Directorio docente escalable */
.instructor-directory {
  display: grid;
  gap: 22px
}

.instructor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-1-a84);
  box-shadow: 0 12px 32px rgba(var(--shadow-rgb), .05)
}

.instructor-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.instructor-filter {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--text-2);
  font: 800 12px/1 "Montserrat", sans-serif;
  cursor: pointer;
  transition: .18s ease
}

.instructor-filter:hover {
  border-color: var(--green-border);
  transform: translateY(-1px)
}

.instructor-filter.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--text-inverse);
  box-shadow: 0 8px 18px rgba(var(--shadow-rgb), .14)
}

.instructor-search {
  width: min(360px, 100%)
}

.instructor-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-1);
  color: var(--ink);
  font: 600 13px/1.2 "Inter", sans-serif;
  outline: none
}

.instructor-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(66, 215, 125, .14)
}

.instructor-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px
}

.instructor-results-meta p {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-weight: 800
}

.instructor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.instructor-card {
  display: flex;
  flex-direction: column;
  min-height: 100%
}

.instructor-description {
  flex: 1
}

.instructor-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px
}

.instructor-more {
  min-width: 220px;
  background: var(--surface-1)
}

.instructor-more[hidden] {
  display: none
}

.instructor-empty {
  grid-column: 1/-1;
  padding: 42px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: var(--surface-1-a65);
  text-align: center;
  color: var(--muted)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--surface-inverse);
  color: var(--text-inverse);
  font-family: "Montserrat", "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: top .18s ease
}

.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--green);
  outline-offset: 2px
}@media(max-width:1050px) {
  .instructor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}@media(max-width:760px) {
  .instructor-toolbar {
    align-items: stretch;
    flex-direction: column
  }

  .instructor-search {
    width: 100%
  }

  .instructor-results-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px
  }

  .instructor-grid {
    grid-template-columns: 1fr
  }
}


/* v20: directorio docente minimalista con fotografías */
.instructors {
  background: var(--surface-2)
}

.instructor-directory {
  gap: 20px
}

.instructor-toolbar {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none
}

.instructor-filters {
  gap: 8px
}

.instructor-filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  box-shadow: none
}

.instructor-filter:hover {
  border-color: var(--green-dark);
  transform: none;
  color: var(--text-2)
}

.instructor-filter.active {
  border-color: var(--green-dark);
  background: var(--surface-1);
  color: var(--green-ink);
  box-shadow: none
}

.instructor-search {
  position: relative
}

.instructor-search input {
  min-height: 40px;
  border-radius: 9px;
  background: var(--surface-1);
  font-weight: 500;
  box-shadow: none
}

.instructor-results-meta {
  display: none
}

.instructor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.instructor-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  min-height: 188px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: 0 3px 12px rgba(17, 39, 68, .04);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease
}

.instructor-card::before {
  display: none
}

.instructor-card:hover {
  transform: none;
  border-color: var(--line-strong);
  box-shadow: 0 8px 22px rgba(17, 39, 68, .07)
}

.instructor-photo {
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  align-self: start
}

.instructor-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column
}

.instructor-identity h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em
}

.instructor-level {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green-ink);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4
}

.instructor-role {
  margin: 2px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important
}

.instructor-description {
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.instructor-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto
}

.instructor-skills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0
}

.instructor-skills span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700
}

.instructor-experience {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap
}

.instructor-actions {
  position: relative;
  align-items: center;
  gap: 20px;
  padding-top: 10px
}

.instructor-actions::before,
.instructor-actions::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--surface-3)
}

.instructor-more {
  min-width: 0;
  padding: 0 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text-2) !important;
  box-shadow: none !important;
  font-size: 12px !important
}

.instructor-more:hover {
  transform: none !important;
  color: var(--green-ink) !important
}

.instructor-more[hidden] {
  display: none !important
}

.instructor-actions:has(.instructor-more[hidden]) {
  display: none
}@media(max-width:1100px) {
  .instructor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}@media(max-width:760px) {
  .instructor-toolbar {
    gap: 14px
  }

  .instructor-grid {
    grid-template-columns: 1fr
  }

  .instructor-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 0
  }

  .instructor-photo {
    width: 82px;
    height: 82px
  }

  .instructor-card-footer {
    align-items: flex-start;
    flex-direction: column
  }

  .instructor-experience {
    white-space: normal
  }
}@media(max-width:480px) {
  .instructor-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 13px;
    padding: 14px
  }

  .instructor-photo {
    width: 70px;
    height: 70px
  }

  .instructor-identity h3 {
    font-size: 16px
  }

  .instructor-description {
    -webkit-line-clamp: 3
  }
}

/* v21 — Instructor directory: minimal, photo-first cards */
.instructor-grid {
  gap: 16px
}

.instructor-card {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  min-height: 214px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: none;
  overflow: visible;
}

.instructor-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(17, 39, 68, .06);
}

.instructor-photo {
  width: 88px;
  height: 112px;
  border: 0;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-3);
  align-self: start;
}

.instructor-card-body {
  min-width: 0
}

.instructor-identity h3 {
  font-size: 18px;
  margin: 0 0 5px
}

.instructor-level {
  font-size: 10px;
  font-style: normal
}

.instructor-role {
  font-size: 11px !important
}

.instructor-description {
  margin: 13px 0 15px;
  min-height: 58px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  display: block;
  overflow: visible;
}

.instructor-card-footer {
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--surface-3);
}

.instructor-skills {
  gap: 5px
}

.instructor-skills span {
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 9px;
}

.instructor-experience {
  font-size: 9px;
  color: var(--muted)
}@media(max-width:760px) {
  .instructor-card {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 16px
  }

  .instructor-photo {
    width: 76px;
    height: 98px;
    border-radius: 9px
  }

  .instructor-description {
    min-height: 0
  }
}@media(max-width:480px) {
  .instructor-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 14px
  }

  .instructor-photo {
    width: 68px;
    height: 88px;
    border-radius: 8px
  }
}

/* v22 — perfiles docentes limpios y editoriales */
.instructors .container {
  max-width: 1220px
}

.instructor-directory {
  gap: 24px
}

.instructor-toolbar {
  align-items: center
}

.instructor-filters {
  gap: 6px
}

.instructor-filter {
  min-height: 40px;
  padding: 0 16px;
  border-color: var(--line);
  border-radius: 10px;
  background: var(--surface-1);
  color: var(--muted);
  font-size: 11px;
}

.instructor-filter.active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--text-inverse);
}

.instructor-search {
  width: min(340px, 100%)
}

.instructor-search input {
  min-height: 42px;
  padding: 0 16px;
  border-color: var(--line);
  border-radius: 10px;
  background: var(--surface-1);
}

.instructor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.instructor-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  min-height: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
  box-shadow: none;
  overflow: hidden;
}

.instructor-card:hover {
  transform: none;
  border-color: var(--line-strong);
  box-shadow: 0 10px 28px rgba(15, 36, 63, .07);
}

.instructor-photo {
  width: 132px;
  height: 100%;
  min-height: 192px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 72%;
  background: var(--surface-3);
}

.instructor-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 5px 6px 4px 0;
}

.instructor-identity h3 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.2;
}

.instructor-level {
  margin-bottom: 3px;
  color: var(--green-ink);
  font-size: 10px;
  letter-spacing: .01em;
}

.instructor-role {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
}

.instructor-description {
  margin: 15px 0 18px;
  min-height: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instructor-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--surface-3);
}

.instructor-skills {
  gap: 6px
}

.instructor-skills span {
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 9px;
}

.instructor-experience {
  max-width: 120px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
}

.instructor-actions {
  padding-top: 4px
}

.instructor-more {
  padding: 10px 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: var(--surface-1) !important;
  color: var(--text-2) !important;
}

.instructor-actions::before,
.instructor-actions::after {
  display: none
}@media(max-width:980px) {
  .instructor-grid {
    grid-template-columns: 1fr
  }

  .instructor-card {
    grid-template-columns: 124px minmax(0, 1fr)
  }

  .instructor-photo {
    width: 124px
  }
}@media(max-width:620px) {
  .instructor-toolbar {
    align-items: stretch;
    flex-direction: column
  }

  .instructor-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    min-height: 0
  }

  .instructor-photo {
    width: 92px;
    min-height: 150px;
    border-radius: 10px
  }

  .instructor-identity h3 {
    font-size: 17px
  }

  .instructor-description {
    margin: 10px 0 12px;
    -webkit-line-clamp: 4
  }

  .instructor-card-footer {
    align-items: flex-start;
    flex-direction: column
  }

  .instructor-experience {
    max-width: none;
    text-align: left
  }
}


/* v23: identificación de grupos por horario */
.schedule-option .schedule-group {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 131, 245, .1);
  color: var(--blue, var(--cyan-ink));
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.schedule-option.active .schedule-group {
  background: var(--surface-1);
  color: var(--green-dark);
  box-shadow: 0 3px 10px rgba(26, 36, 59, .07)
}@media(max-width:640px) {
  .start-level-pill {
    font-size: 14px;
    padding: 9px 12px
  }
}@media(max-width:640px) {
  .level-range-chip {
    font-size: 12px;
    padding: 7px 10px
  }
}@media(max-width:480px) {
  .config-title {
    gap: 11px
  }

  .config-title>span {
    width: 36px;
    height: 36px;
    flex-basis: 36px
  }

  .config-title .config-step-icon svg {
    width: 20px;
    height: 20px
  }

  .config-title h3 {
    font-size: 18px
  }
}

/* Estados de teclado y accesibilidad sin alterar el diseño */
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(51, 204, 102, .38);
  outline-offset: 3px
}@media(max-width:1000px) {
  .faq-heading {
    text-align: left;
    margin: 0
  }
}@media(max-width:640px) {
  #programa {
    padding-top: 44px;
    padding-bottom: 48px
  }

  #inicios {
    padding-top: 54px;
    padding-bottom: 58px
  }

  #docentes {
    padding-bottom: 44px
  }

  #preguntas {
    padding-top: 44px;
    padding-bottom: 56px
  }

  #preguntas .faq-layout {
    gap: 15px
  }
}


/* Evaluación de nivelación integrada sin alterar los datos comerciales */
.hero-level-check {
  margin-top: 22px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 13px;
  transition: color .18s ease, transform .18s ease
}

.hero-level-check:hover {
  color: var(--green-ink);
  transform: translateX(2px)
}

.hero-level-check>span:nth-child(2) {
  display: grid;
  gap: 1px
}

.hero-level-check strong {
  font-family: "Nunito Sans", "Nunito", sans-serif;
  font-size: 13px
}

.hero-level-check small {
  color: var(--muted);
  font-size: 11px
}

.hero-level-check-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66, 215, 125, .34);
  border-radius: 9px;
  background: rgba(66, 215, 125, .12);
  color: var(--green-ink)
}

.hero-level-check-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.hero-level-check-icon rect {
  fill: currentColor;
  stroke: none
}

.hero-level-check-arrow,
.vector-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto
}

.hero-level-check-arrow svg,
.vector-arrow svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.level-check-section {
  padding: 18px 0 88px;
  background: var(--surface-1)
}

.level-check-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  padding: 42px 46px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
  box-shadow: 0 20px 55px rgba(var(--shadow-rgb), .08)
}

.level-check-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -180px;
  top: -190px;
  border: 46px solid rgba(53, 200, 223, .08);
  border-radius: 50%;
  pointer-events: none
}

.level-check-copy {
  position: relative;
  z-index: 1
}

.level-check-copy h2 {
  margin: 15px 0 13px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em
}

.level-check-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65
}

.level-check-btn {
  margin-top: 25px;
  gap: 10px
}

.level-check-copy>small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px
}

.level-check-visual {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface-1);
  box-shadow: 0 16px 38px rgba(var(--shadow-rgb), .07)
}

.level-check-visual-head {
  display: grid;
  gap: 3px
}

.level-check-visual-head span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800
}

.level-check-visual-head strong {
  font-size: 18px
}

.level-scale {
  margin-top: 28px
}

.level-scale-track {
  height: 7px;
  margin: 0 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden
}

.level-scale-track span {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan))
}

.level-scale-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: -12px
}

.level-scale-points>div {
  display: grid;
  justify-items: center;
  text-align: center
}

.level-scale-points i {
  width: 17px;
  height: 17px;
  border: 4px solid var(--surface-1);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--line-strong)
}

.level-scale-points>div:nth-child(2) i {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(66, 215, 125, .17)
}

.level-scale-points strong {
  margin-top: 8px;
  font-size: 12px
}

.level-scale-points small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px
}

.level-check-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding: 14px;
  border-radius: 13px;
  background: var(--surface-2)
}

.level-check-feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--text-inverse)
}

.level-check-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.level-check-feature>div {
  display: grid;
  gap: 2px
}

.level-check-feature strong {
  font-size: 12px
}

.level-check-feature span {
  color: var(--muted);
  font-size: 11px
}

.config-level-help {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2)
}

.config-level-help-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green-dark)
}

.config-level-help-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.config-level-help-icon rect {
  fill: currentColor;
  stroke: none
}

.config-level-help>span:nth-child(2) {
  display: grid;
  gap: 1px
}

.config-level-help strong {
  font-family: "Nunito Sans", "Nunito", sans-serif;
  font-size: 12px
}

.config-level-help small {
  color: var(--muted);
  font-size: 10px
}

.config-level-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap
}

.config-level-help a:hover {
  color: var(--on-green)
}@media(max-width:1000px) {
  .level-check-card {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .level-check-visual {
    max-width: 700px
  }
}@media(max-width:640px) {
  .level-check-section {
    padding: 8px 0 62px
  }

  .level-check-card {
    padding: 25px 20px;
    border-radius: 19px
  }

  .level-check-copy h2 {
    font-size: 32px
  }

  .level-check-copy p {
    font-size: 15px
  }

  .level-check-btn {
    width: 100%;
    padding-inline: 16px
  }

  .level-check-visual {
    padding: 20px 16px
  }

  .config-level-help {
    grid-template-columns: auto 1fr
  }

  .config-level-help a {
    grid-column: 1/-1;
    justify-self: start;
    padding-left: 45px
  }

  .hero-level-check {
    width: 100%
  }
}

/* Footer corporativo reutilizable */
#mayugoFooter>footer {
  padding: 64px 0 0;
  background: var(--surface-inverse);
  color: var(--muted)
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(160px, 1fr));
  gap: 42px;
  padding-bottom: 42px
}

.footer-brand-col .brand {
  justify-content: flex-start;
  color: var(--text)
}

.footer-brand-col .brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain
}

.footer-brand-col .brand-copy small {
  color: var(--muted)
}

.footer-about {
  max-width: 310px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7
}

.footer-label {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.footer-social a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  transition: transform .18s ease
}

.footer-social a:hover {
  transform: translateY(-2px)
}

.footer-social a:focus-visible,
.footer-links a:focus-visible,
.footer-iso a:focus-visible,
.footer-libro:focus-visible,
.footer-badge-group>a:focus-visible,
.footer-accreditations a:focus-visible {
  outline: 3px solid var(--footer-accent);
  outline-offset: 3px;
  border-radius: 4px
}

.footer-social svg {
  width: 30px;
  height: 30px
}

.footer-social .ic-bg {
  fill: var(--footer-icon-bg)
}

.footer-social .ic-fg {
  fill: var(--text)
}

.footer-links h4,
.footer-badge-group h4 {
  margin: 0 0 17px;
  color: var(--text);
  font: 700 13px/1.4 "Montserrat", sans-serif
}

.footer-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none
}

.footer-links a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5
}

.footer-links a:hover {
  color: var(--text)
}

.footer-links p,
.footer-badge-group p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6
}

.footer-iso {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px
}

.footer-iso img {
  width: 48px;
  height: 48px;
  object-fit: contain
}

.footer-libro {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px
}

.footer-libro img {
  width: 42px;
  height: 42px;
  object-fit: contain
}

.footer-libro span {
  font-size: 10px;
  line-height: 1.25
}

.footer-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer-badge-group {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 20px
}

.footer-badge-group h4,
.footer-badge-group p {
  grid-column: 1
}

.footer-badge-group>a,
.footer-accreditations {
  grid-column: 2;
  grid-row: 1/3
}

.footer-marca-peru {
  width: 82px;
  max-height: 58px;
  object-fit: contain
}

.footer-accreditations {
  display: flex;
  align-items: center;
  gap: 15px
}

.footer-accreditations img {
  width: 74px;
  max-height: 54px;
  object-fit: contain
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  color: var(--muted);
  font-size: 11px
}

.footer-bottom strong {
  color: var(--text)
}@media(max-width:1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .footer-badges {
    grid-template-columns: 1fr
  }
}@media(max-width:640px) {
  #mayugoFooter>footer {
    padding-top: 48px
  }

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

  .footer-badges {
    gap: 30px
  }

  .footer-badge-group {
    grid-template-columns: 1fr
  }

  .footer-badge-group>a,
  .footer-accreditations {
    grid-column: 1;
    grid-row: auto;
    margin-top: 15px
  }

  .footer-about {
    max-width: none
  }
}

/* Ajuste visual del footer según la referencia corporativa */
#mayugoFooter>footer {
  padding: 60px 0 0;
  background: var(--footer-bg);
  color: var(--footer-text)
}

#mayugoFooter>footer>.container {
  width: min(var(--container), calc(100% - 48px));
  max-width: none
}

.footer-grid {
  grid-template-columns: 1.28fr .92fr .92fr .98fr;
  gap: 66px;
  padding-bottom: 50px
}

.footer-brand-col .brand {
  gap: 10px
}

.footer-brand-col .brand-logo {
  width: 40px;
  height: 40px
}

.footer-brand-col .brand-copy strong {
  font-size: 18px;
  line-height: 1
}

.footer-brand-col .brand-copy small {
  margin-top: 4px;
  color: var(--footer-text);
  font-size: 11px
}

.footer-about {
  max-width: 280px;
  margin: 20px 0 17px;
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.75
}

.footer-label {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 12px
}

.footer-social {
  gap: 10px
}

.footer-social a,
.footer-social svg {
  width: 28px;
  height: 28px
}

.footer-social .ic-bg {
  fill: var(--footer-icon-bg)
}

.footer-social .ic-fg {
  fill: var(--footer-icon-fg)
}

.footer-links h4,
.footer-badge-group h4 {
  margin-bottom: 17px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800
}

.footer-links ul {
  gap: 13px
}

.footer-links a {
  color: var(--footer-text);
  font-size: 13px
}

.footer-links p,
.footer-badge-group p {
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.7
}

.footer-iso {
  gap: 13px;
  margin-top: 17px
}

.footer-iso img {
  width: 58px;
  height: 58px;
  filter: var(--iso-filter)
}

.footer-libro {
  width: 145px;
  min-height: 48px;
  margin-top: 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-1);
  color: var(--text-2)
}

.footer-libro img {
  width: 35px;
  height: 35px;
  filter: var(--iso-filter)
}

.footer-libro span {
  color: var(--text-2);
  font-size: 10px;
  font-weight: 800
}

.footer-badges {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  min-height: 296px;
  padding: 38px 0 50px;
  border-top-color: var(--line)
}

.footer-badge-group {
  display: block
}

.footer-badge-group:nth-child(2) {
  width: 280px;
  justify-self: end
}

.footer-badge-group h4 {
  margin-bottom: 6px
}

.footer-badge-group p {
  max-width: 280px;
  margin-bottom: 17px
}

.footer-badge-group>a,
.footer-accreditations {
  display: flex;
  margin-top: 28px
}

.footer-marca-peru {
  width: 170px;
  max-height: 100px;
  object-position: left center;
  filter: var(--marca-peru-filter)
}

.footer-accreditations {
  align-items: center;
  gap: 20px
}

.footer-accreditations img {
  width: 120px;
  max-height: 120px
}

.footer-accreditations a:last-child img {
  filter: var(--footer-institute-filter)
}

.footer-bottom {
  padding: 25px 0 27px;
  border-top-color: var(--line);
  color: var(--footer-text);
  font-size: 11px
}

.footer-bottom strong {
  color: var(--footer-accent)
}@media(max-width:1000px) {
  #mayugoFooter>footer>.container {
    width: min(100% - 40px, 760px)
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 60px
  }

  .footer-badges {
    min-height: 0
  }

  .footer-badge-group:nth-child(2) {
    width: auto
  }
}@media(max-width:640px) {
  #mayugoFooter>footer>.container {
    width: calc(100% - 32px)
  }

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

  .footer-badges {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 38px
  }

  .footer-badge-group:nth-child(2) {
    justify-self: start
  }

  .footer-marca-peru {
    width: 140px
  }

  .footer-accreditations img {
    width: 100px
  }
}

/* Animaciones de entrada y microinteracciones */
.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .65, .3, 1), transform .7s cubic-bezier(.2, .65, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform
}

.motion-ready .reveal-item.reveal-visible {
  opacity: 1;
  transform: none;
  will-change: auto
}

.level-card,
.start-card,
.choice,
.schedule-option,
.method-card,
.value-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease
}

.level-card:hover,
.start-card:hover,
.method-card:hover,
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(var(--shadow-rgb), .11)
}

.faq-list details {
  overflow: hidden;
  transition: border-color .24s ease, box-shadow .24s ease
}

.faq-list details:hover {
  border-color: var(--line-strong)
}

.faq-list details[open] {
  border-color: var(--green-border);
  box-shadow: 0 12px 28px rgba(var(--shadow-rgb), .07)
}

.faq-list summary::after {
  transition: transform .28s ease, background-color .2s ease, border-color .2s ease, color .2s ease
}

.faq-list details[open] summary::after {
  transform: rotate(180deg)
}

.faq-list p {
  opacity: 1;
  transform: none
}@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto !important
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: none
  }

  .level-card,
  .start-card,
  .choice,
  .schedule-option,
  .method-card,
  .value-card,
  .faq-list details,
  .faq-list summary::after {
    transition: none !important
  }

  .showcase-score,
  .showcase-project {
    animation: none
  }
}

/* Móviles: ya con el nav plegado, la marca (130) + «Iniciar sesión» (164) +
   tema (40) + hamburguesa (42), huecos y .container piden 464px. Por debajo
   se parten en dos la marca y el botón, así que queda sólo el icono; el
   aria-label del enlace mantiene el nombre accesible. */
@media(max-width:480px) {
  .nav-login {
    width: 40px;
    padding-inline: 0
  }

  .nav-login span {
    display: none
  }
}
