:root {
  color-scheme: dark;
  --bg: #0c1719;
  --panel: #132326;
  --line: #304144;
  --ink: #f1f7ef;
  --muted: #b5c6c5;
  --green: #a4f5ac;
  --deep: #0c2413;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1184px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--green);
  color: var(--deep);
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand img {
  border-radius: 24%;
}
.brand-dot {
  color: var(--green);
}
.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
}
.site-header nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
}
.site-header nav a:not(.header-contact, .header-signup):hover,
.footer a:hover {
  color: var(--green);
}
.site-header nav a:not(.header-contact, .header-signup):hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* «Entrar» es un enlace más: quien llega en frío no tiene cuenta. El botón destacado es el alta de escuela (MM-1082),
   y WhatsApp sigue a su lado como contacto, solo con su icono (MM-1074). */
.login {
  gap: 10px;
  white-space: nowrap;
}
.login svg {
  flex-shrink: 0;
}
.header-signup {
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green);
  color: var(--deep);
  font-weight: 700;
  white-space: nowrap;
}
.header-signup:hover {
  background: #c1fac6;
}
/* Un solo botón principal en la primera pantalla (MM-1319.2): el de la cabecera espera a que el de la portada salga de la
   vista (`contact-bar.js`). Se oculta sin quitarle el sitio, para que aparecer no mueva la cabecera. */
.header-signup.is-tucked {
  visibility: hidden;
  opacity: 0;
}
.header-signup {
  transition:
    opacity 180ms ease,
    visibility 180ms;
}
.header-contact {
  justify-content: center;
  width: 48px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: #a4f5ac1f;
}
.header-contact:hover {
  background: #a4f5ac40;
}
.header-contact img {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 64px;
  align-items: start;
  padding-block: 56px 90px;
}
/* Foto de una clase de piano en la portada (MM-1319.3), decorativa. En escritorio es un fondo tenue con el borde fundido
   para que se lea el texto y el vídeo; en el móvil, una imagen nítida recortada al piano y al alumno entre el alta y el
   vídeo. Es el elemento más grande de la primera pantalla: prioridad alta y sin precarga aparte. */
.hero-picture {
  display: contents;
}
/* Con `display: contents` el <source> pasaría a ser una celda más de la rejilla de la portada y descolocaría el titular
   y el vídeo; ocultarlo no cambia qué imagen elige el <picture>. */
.hero-picture source {
  display: none;
}
.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 -15px;
  width: calc(100% + 30px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  opacity: 0.4;
  pointer-events: none;
  mask-image:
    linear-gradient(transparent, #000 14%, #000 80%, transparent),
    linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}
@media (max-width: 700px) {
  .hero-picture {
    display: block;
    order: 6;
  }
  .hero-photo {
    position: static;
    display: block;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 190px;
    object-position: 50% 40%;
    opacity: 1;
    border-radius: 12px;
    mask-image: none;
  }
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.hero-audience {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: #1b352b;
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(36px, 3.45vw, 48px);
  font-weight: 750;
}
h1 span,
.closing h2 span {
  color: var(--green);
}
.intro {
  font-size: 18px;
  max-width: 440px;
  margin-top: 26px;
  line-height: 1.65;
}
.intro strong {
  color: var(--green);
  font-weight: 700;
}
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
.primary {
  background: linear-gradient(120deg, #d3ffd8 0%, #79ed98 55%, #4edb7a 100%);
  color: var(--deep);
  border: 2px solid #a9ffb9;
}
.primary:hover {
  background: linear-gradient(120deg, #e1ffe5, #68ea8c);
  border-color: #d0ffd7;
}
.instagram {
  background: linear-gradient(120deg, #332632, #211f2b);
  color: #ffe6f6;
  border: 1px solid #795568;
}
.instagram:hover {
  background: linear-gradient(120deg, #44303f, #302838);
  border-color: #dba7c6;
}
.contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: #ffffff66;
}
.instagram .contact-icon {
  background: linear-gradient(135deg, #fbd8b4, #edb3dd);
}
.email {
  background: linear-gradient(120deg, #1f3036, #19252a);
  color: #e3f3f6;
  border: 1px solid #4f6f78;
}
.email:hover {
  background: linear-gradient(120deg, #2a3f46, #213036);
  border-color: #a8d3de;
}
.email .contact-icon {
  background: linear-gradient(135deg, #e0f3f7, #b8dce5);
}
.whatsapp .contact-icon {
  background: #f0fff2cc;
  box-shadow: inset 0 0 0 1px #ffffffcc;
}
.button:has(.contact-copy) {
  justify-content: flex-start;
  min-height: 74px;
  padding: 12px 16px;
  border-radius: 16px;
  text-align: left;
  box-shadow:
    inset 0 1px 0 #ffffff18,
    0 6px 18px #0002;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.button:has(.contact-copy):hover {
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 8px 24px #0004;
}
.whatsapp.button:has(.contact-copy) {
  box-shadow:
    inset 0 1px 0 #ffffffaa,
    0 10px 28px #45d97535,
    0 3px 10px #0005;
}
.whatsapp.button:has(.contact-copy):hover {
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 34px #45d97555,
    0 4px 12px #0006;
}
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.contact-copy > span {
  font-size: 11px;
  font-weight: 400;
}
.contact-copy strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-arrow {
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
}
@media (prefers-reduced-motion: reduce) {
  .button:has(.contact-copy) {
    transition: none;
  }
}
.hero-visual {
  margin-top: 34px;
  background: transparent;
  border: 0;
  overflow: visible;
  filter: drop-shadow(0 28px 45px #0005);
}
.hero-signup {
  margin-top: 28px;
  gap: 10px;
  min-height: 52px;
  padding-block: 8px;
  padding-inline: 34px;
  border-radius: 14px;
  font-size: 21px;
  font-weight: 800;
}
/* Un solo botón principal en la portada (MM-1815): el alta, con la línea de precio debajo y «Prueba el juego» como enlace.
   Desde MM-1319.2 eran dos botones, con el juego encima; el prototipo del dueño (11-nov-2026) los reduce a uno. */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}
.hero-ctas .hero-signup {
  margin-top: 0;
}
.hero-quizlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-quizlink:hover {
  color: #c1fac6;
}
.hero-quizlink[hidden] {
  display: none;
}
/* La oferta repetida justo debajo del alta, con el precio de después de la prueba: a 15 px cabe en una línea en
   escritorio también con la frase más larga, la de dólares e impuestos. Se reserva el alto de la más larga (2 líneas
   en un móvil de 360 px y 3 por debajo, medido en los siete idiomas) para que cambiar de zona no empuje lo de debajo. */
.hero-offer-note {
  margin: 0;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  /* Dos líneas: «3 meses gratis» y, debajo, el precio de después (el texto lleva el salto). Si una no cabe se reparte
     por igual, y el «+ IVA» lleva un espacio duro para no quedarse suelto. */
  white-space: pre-line;
  text-wrap: balance;
}
/* El anuncio largo (MM-1082) detrás de «Ver el vídeo» (MM-1815): una ventana con el vídeo vertical, sin descargarse hasta
   abrirla. El ancho sale del alto de la pantalla para que entre entero. */
.hero-visual {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 0;
  filter: none;
}
.video-dialog {
  position: fixed;
  inset: 0;
  width: min(92vw, 420px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.video-dialog:not([open]) {
  display: none;
}
.video-dialog::backdrop {
  background: #000c;
}
.hero-video-frame {
  width: min(100%, calc((100svh - 96px) * 9 / 16));
  margin-inline: auto;
}
.hero-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 28px 45px #0005;
}
.video-close {
  position: absolute;
  top: -44px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.video-close:hover {
  color: var(--green);
}
.video-close:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border-block: 1px solid var(--line);
  padding-block: 40px;
}
.section-divider .statement-mark {
  color: var(--green);
  font:
    110px/0.8 Georgia,
    serif;
  align-self: flex-start;
}
.section-divider p {
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.section-divider strong {
  color: var(--green);
}
:is(.hero, .section-divider, .features, .testimonials, .start-section, .faq, .closing, .footer) {
  position: relative;
  isolation: isolate;
}
.testimonials {
  padding-top: 48px;
  padding-bottom: 92px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  align-items: start;
}
.testimonial {
  padding: 28px 32px;
  border: 1px solid #3a5148;
  border-radius: 24px 24px 24px 6px;
  background: linear-gradient(140deg, #192e26, #132326);
  box-shadow: 0 12px 30px #0002;
}
.testimonial:nth-child(2n) {
  background: linear-gradient(140deg, #262738, #17252a);
  border-color: #484859;
}
.testimonial-quote {
  display: block;
  height: 42px;
  color: var(--green);
  font:
    64px/1 Georgia,
    serif;
}
.testimonial blockquote {
  margin: 0;
}
.testimonial blockquote p {
  color: #e1eae4;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.testimonial blockquote p + p {
  margin-top: 12px;
}
#testimonials-title strong,
.testimonial blockquote strong {
  color: var(--green);
  font-weight: 800;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 15px;
}
.testimonial-avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #a4f5ac66;
  background: #132326;
}
.section-heading-offer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.section-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 190px;
  padding: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: 5px;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 15px 35px #0003;
  gap: 6px;
}
.section-badge strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.section-badge > span {
  font-size: 13px;
}
.section-badge .badge-spark {
  font-size: 28px;
}
.badge-updates {
  color: #a4f5ac;
  background: #162e24;
  transform: rotate(7deg);
  margin-right: 12px;
}
.badge-school {
  color: #21382b;
  background: #f1d496;
  width: 220px;
  min-height: 220px;
  transform: rotate(-6deg);
  margin-right: 12px;
}
@media (max-width: 700px) {
  .section-heading-offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-badge {
    align-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 14px 16px;
    border-width: 1px;
    border-radius: 14px;
    outline: 0;
    text-align: left;
    transform: none;
    box-shadow: none;
    gap: 8px;
  }
  .section-badge br {
    display: none;
  }
  .section-badge .badge-spark {
    font-size: 18px;
  }
  .section-badge strong {
    font-size: 16px;
  }
  .section-heading-offer .section-badge {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .section-heading-offer .badge-spark {
    grid-row: 1 / span 2;
  }
  .section-heading-offer .badge-updates {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    padding: 9px 13px;
    border-radius: 999px;
    gap: 7px;
  }
  .section-heading-offer .badge-updates .badge-spark {
    grid-row: auto;
    font-size: 14px;
  }
  .section-heading-offer .badge-updates strong {
    font-size: 14px;
    line-height: 1.2;
  }
}
.features {
  padding-block: 92px;
}
h2 {
  font-size: clamp(33px, 3.7vw, 48px);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
  gap: 24px;
}
.feature {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.teacher-feature {
  position: relative;
  background: var(--panel);
}
.teacher-feature .badge-updates {
  position: absolute;
  top: -24px;
  right: 24px;
  width: 178px;
  min-height: 72px;
  padding: 12px 18px;
  border-radius: 18px;
  flex-direction: row;
  gap: 8px;
  transform: rotate(3deg);
  box-shadow: 0 12px 28px #0005;
}
.teacher-feature .badge-updates .badge-spark {
  font-size: 18px;
}
.teacher-feature .badge-updates strong {
  font-size: 15px;
  line-height: 1.15;
}
.feature p strong,
.feature li strong {
  color: var(--green);
  font-weight: 700;
}
.student-feature {
  background: #1c2c24;
}
.feature-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--green);
  font-weight: 700;
}
.feature h3 {
  font-size: 29px;
  margin-block: 22px 18px;
}
.feature p {
  max-width: 440px;
}
.feature p + p {
  margin-top: 18px;
}
.feature .instrument-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: #a4f5ac12;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 26px);
  text-wrap: balance;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.feature .instrument-note strong {
  color: var(--green);
}
.feature ul {
  padding-left: 20px;
  color: #d3ded9;
  margin: 24px 0 0;
  font-size: 14px;
}
.feature li {
  margin-block: 8px;
  padding-left: 5px;
}
.feature li::marker {
  color: var(--green);
}
.start-section {
  background: #dce9d9;
  color: #112a20;
  padding-block: 82px;
}
.start-section .eyebrow {
  color: #32613d;
}
#start-title strong {
  color: #21723b;
  font-weight: 800;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
}
.step-number {
  font-size: 15px;
  display: block;
  border-top: 1px solid #9fb69e;
  padding-top: 20px;
  color: #345c3e;
  font-weight: bold;
}
.steps h3 {
  font-size: 25px;
  margin-block: 20px 16px;
}
.steps p {
  color: #37513e;
  font-size: 15px;
}
/* El primer paso es darse de alta (MM-1082): el enlace lleva al alta de escuela de la app. */
.step-signup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 10px;
  color: #1d6b35;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.step-signup:hover {
  color: #0f4a22;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  padding-block: 96px;
}
.questions details {
  border-bottom: 1px solid var(--line);
}
.questions details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  min-height: 72px;
  padding: 21px 30px 21px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.questions details p {
  padding: 0 20px 24px 0;
  font-size: 15px;
}
.closing {
  padding: 66px 32px 70px;
  text-align: center;
  border: 1px solid #41644a;
  border-radius: 15px;
  background: #152b21;
}
.closing h2 {
  font-size: clamp(44px, 5.5vw, 68px);
}
.closing p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 19px;
  color: #d2e5d2;
}
.closing-actions {
  width: 310px;
  max-width: 100%;
  margin: 28px auto 0;
}
.closing-actions .button {
  display: flex;
  width: 100%;
}
.closing-actions .whatsapp,
.closing-actions .instagram,
.closing-actions .email {
  margin-top: 10px;
}
/* En el cierre la acción principal es el alta (MM-1082); WhatsApp queda como contacto, con el tono de los otros dos. */
.closing-actions .whatsapp {
  background: linear-gradient(120deg, #1d3a2a, #16271f);
  color: #e3fbe7;
  border: 1px solid #4f8a62;
}
.closing-actions .whatsapp:hover {
  background: linear-gradient(120deg, #264a36, #1d3228);
  border-color: #9fe0b0;
}
.closing-actions .signup .contact-copy strong {
  font-size: 19px;
}
.footer {
  padding-block: 54px 124px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  font-size: 21px;
  font-weight: bold;
  letter-spacing: -0.6px;
}
.footer-brand p {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 8px;
}
.footer nav {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 530px;
  font-size: 12px;
}
.footer nav a {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
/* La barra de contacto se ve en cualquier ancho (MM-1074): en escritorio, una tarjeta abajo a la derecha; por debajo de
   700 px, la banda de siempre a todo lo ancho. `contact-bar.js` la esconde mientras se ve el cierre. */
.contact-bar {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #0c1719f5;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px #0006;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms;
}
.contact-bar.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(100% + 24px));
  pointer-events: none;
}
.contact-bar .button {
  min-height: 48px;
  padding: 8px 14px 8px 8px;
  font-size: 13px;
  gap: 8px;
  border-radius: 14px;
}
.contact-bar .contact-icon {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
}
.contact-bar .contact-copy strong {
  font-size: 14px;
}
.contact-bar .contact-arrow {
  display: none;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 32px;
    padding-block: 55px;
  }
  .hero-visual {
    margin-top: 80px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .faq {
    gap: 40px;
  }
  .steps {
    gap: 24px;
  }
  .site-header nav {
    gap: 22px;
  }
}
/* Entre 701 y 860 px la marca, los enlaces y los botones no caben con los huecos de escritorio: a 701 la marca se salía
   16 px de su caja (MM-1074), y con el alta, 32 (MM-1082). */
@media (max-width: 860px) {
  .site-header {
    gap: 16px;
  }
  .site-header nav {
    gap: 12px;
  }
  .header-signup {
    padding-inline: 10px;
  }
  /* Con el alta en la cabecera (MM-1082) no cabe todo: los dos enlaces a secciones de la página se quitan, como en el
     móvil; las secciones están al bajar. */
  .site-header nav a[href^='#'] {
    display: none;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 80px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 6px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .site-header nav > a:not(.login) {
    display: none;
  }
  .site-header nav {
    font-size: 13px;
  }
  .login {
    gap: 8px;
    padding-inline: 12px;
  }
  /* En el móvil (MM-1815): etiqueta, titular, frase, alta con su precio y el juego, la foto y la pieza 3D con «Ver el
     vídeo». Solo cambia el orden visual; en el documento el titular sigue siendo el primer encabezado, para buscadores y
     lectores de pantalla. */
  .hero {
    grid-template-columns: 1fr;
    padding-block: 18px 42px;
    gap: 14px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-audience {
    order: 1;
  }
  .hero h1 {
    order: 2;
  }
  .intro {
    order: 3;
  }
  .hero-ctas {
    order: 4;
    align-items: stretch;
    width: 100%;
    margin-top: 0;
    text-align: center;
  }
  /* Con dólares e impuestos la segunda línea no cabe en una y ocupa dos: se reserva su alto para que elegir zona no
     empuje lo de debajo. */
  .hero-offer-note {
    min-height: 48px;
    text-align: center;
    font-size: 14px;
  }
  .hero-offer-note:not([data-price-zone='europe']) {
    min-height: 68px;
  }
  .hero-visual {
    order: 7;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.11em;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  .hero-audience {
    margin-bottom: 0;
    padding: 7px 12px;
    font-size: 15px;
    line-height: 1.2;
  }
  .intro {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 0;
  }
  .hero-quizlink {
    justify-content: center;
  }
  /* La ventana del vídeo, algo más estrecha que en escritorio. */
  .video-dialog {
    width: min(92vw, 360px);
  }
  .section-divider {
    gap: 12px;
    padding-block: 28px;
  }
  .section-divider .statement-mark {
    font-size: 66px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .testimonial {
    padding: 24px;
  }
  .testimonials {
    padding-top: 30px;
    padding-bottom: 54px;
  }
  .features {
    padding: 54px 0 30px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .feature {
    padding: 27px 24px;
  }
  .teacher-feature {
    padding-top: 66px;
  }
  .teacher-feature .badge-updates {
    top: -18px;
    right: 12px;
    width: 154px;
    min-height: 62px;
    padding: 9px 12px;
    border-radius: 15px;
    flex-direction: row;
    align-self: auto;
    justify-content: center;
    text-align: left;
    transform: rotate(2deg);
    box-shadow: 0 10px 22px #0005;
  }
  .teacher-feature .badge-updates br {
    display: initial;
  }
  .teacher-feature .badge-updates .badge-spark {
    font-size: 15px;
  }
  .teacher-feature .badge-updates strong {
    font-size: 13px;
    line-height: 1.15;
  }
  .feature h3 {
    font-size: 28px;
  }
  .feature p {
    font-size: 15px;
  }
  .start-section {
    padding-block: 54px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 32px;
  }
  .steps h3 {
    margin-block: 14px 10px;
  }
  .faq {
    grid-template-columns: 1fr;
    padding-block: 56px;
    gap: 32px;
  }
  h2 {
    font-size: 32px;
  }
  summary {
    font-size: 15px;
  }
  .closing {
    padding: 43px 18px;
  }
  .closing-actions,
  .closing .button {
    font-size: 13px;
    width: 100%;
    max-width: 340px;
  }
  .closing .button {
    gap: 10px;
  }
  .footer {
    flex-direction: column;
    padding-block: 38px calc(100px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
    gap: 20px;
  }
  .footer nav {
    justify-content: flex-start;
    gap: 0 24px;
  }
  /* La barra de contacto es de pantalla ancha (MM-1815): en el móvil la sustituye la barra del alta (`.sticky-cta`); los
     tres contactos siguen en el cierre. */
  .contact-bar {
    display: none;
  }
  body {
    scroll-padding-bottom: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Cuatro bloques seguidos con los mensajes de la bienvenida de la app (MM-1319.4): foto, texto y captura de cada uno.
   En el móvil van en una columna; en escritorio, la foto a un lado y el texto con su captura al otro, y la foto cambia
   de lado en los pares. Sin deslizamiento horizontal: se lee bajando. */
.blocks {
  margin-top: 58px;
}
.blocks-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.blocks-heading h3 {
  font-size: 34px;
}
.blocks-heading > p {
  font-size: 12px;
}
.block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  grid-template-areas:
    'photo copy'
    'photo capture';
  align-items: center;
  gap: 24px 36px;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #111d23;
}
.block:nth-of-type(even) {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  grid-template-areas:
    'copy photo'
    'capture photo';
}
.block-photo {
  grid-area: photo;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
}
.block-copy {
  grid-area: copy;
}
.block-copy h4 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.block-copy p {
  font-size: 16px;
}
.block-cta {
  display: flex;
  justify-content: center;
  margin: 28px 0 46px;
}
.block-signup {
  min-height: 52px;
  padding-inline: 34px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 800;
}
.showcase-image {
  grid-area: capture;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.showcase-image img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
}
@media (max-width: 700px) {
  .blocks {
    margin-top: 40px;
  }
  .blocks-heading {
    display: block;
  }
  .blocks-heading h3 {
    font-size: 28px;
  }
  .blocks-heading > p {
    margin-top: 12px;
  }
  .block,
  .block:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'photo'
      'copy'
      'capture';
    gap: 16px;
    padding: 14px 14px 16px;
  }
  .block-photo {
    height: 210px;
    object-position: center 28%;
  }
  .block-copy h4 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .block-copy p {
    font-size: 15px;
  }
  .showcase-image img {
    max-height: 280px;
  }
  .block-cta {
    margin: 22px 0 34px;
  }
  .block-signup {
    width: 100%;
    font-size: 18px;
  }
}
/* El primer bloque no lleva foto (la del piano ya abre la portada): texto y captura, lado a lado en escritorio. */
.block-capture-only {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'copy capture';
}
@media (max-width: 700px) {
  .block-capture-only {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'copy'
      'capture';
  }
}

.hero h1 span {
  white-space: nowrap;
}

#features-title strong {
  color: var(--green);
  font-weight: 800;
}

/* Aviso de cookies (MM-944): barra fina fija abajo (MM-1815), sin atrapar el foco ni tapar la página. Los dos botones son
   iguales: decir que no cuesta lo mismo que decir que sí. */
.cookie-notice {
  position: fixed;
  inset: auto 0 0;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 20px;
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
  background: #0c1719f7;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.35;
}
.cookie-notice p {
  margin: 0;
  max-width: 600px;
}
.cookie-notice a {
  text-decoration: underline;
}
.cookie-notice-buttons {
  display: flex;
  gap: 8px;
}
/* El borde es lo que dibuja el botón sobre la banda: con `--line` no llegaba a 3:1 (WCAG 2.2 1.4.11). */
.cookie-notice-button {
  min-width: 96px;
  min-height: 44px;
  padding: 6px 16px;
  font-size: 13px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 7px;
  cursor: pointer;
}
.cookie-notice-button:hover {
  border-color: var(--green);
}
.cookie-notice-button:focus-visible,
.footer nav button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
/* El botón de cambiar cookies vive entre los enlaces del pie y se lee como uno de ellos. */
.footer nav button {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer nav button:hover {
  color: var(--green);
}
/* El selector de idioma del pie (MM-877): cada idioma con su nombre en ese idioma, y el de la página en verde. */
.footer .footer-languages {
  justify-content: flex-start;
  gap: 0 16px;
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0;
}
.footer-languages [aria-current='page'],
.footer-zones [aria-pressed='true'] {
  color: var(--green);
  font-weight: 700;
}
/* La zona de precio del pie (MM-1200), con su rótulo delante como un elemento más de la fila. */
.footer .footer-zones {
  margin-top: 0;
}
.footer-zones-label {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
/* Mientras se pregunta, la barra de contacto no compite con el aviso; vuelve al elegir. */
body.has-cookie-notice .contact-bar {
  display: none;
}
@media (max-width: 700px) {
  body.has-cookie-notice {
    scroll-padding-bottom: 120px;
  }
  .cookie-notice-buttons {
    width: 100%;
  }
  .cookie-notice-button {
    flex: 1;
  }
}



/* Por debajo de 360 px la marca y «Entrar» no caben con su hueco en los 280 px útiles: a 320 el texto se salía 10 px de
   su caja y quedaba a 2 px del botón (MM-985). Con la marca a 18 px y el botón más estrecho quedan 31 px. Va al final
   para mandar sobre la regla de 700 px. */
@media (max-width: 359px) {
  .hero-offer-note {
    min-height: 72px;
  }
  .brand {
    font-size: 18px;
  }
  .login {
    gap: 6px;
    padding-inline: 10px;
  }
}

/* La propuesta de idioma flota sobre la portada, bajo la cabecera, sin reservarle sitio: detectar el país no desplaza lo
   que ya se está leyendo, y sin propuesta (casi siempre) no queda un hueco arriba (MM-1319.2: eran 112 px en el móvil). */
.country-slot { position: relative; z-index: 4; }
.country-suggestion:not([hidden]) { position: absolute; inset: 8px 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #0c1719; box-shadow: 0 12px 32px #0008; }
.country-suggestion p { margin: 0; }
.country-suggestion > div { display: flex; flex-wrap: wrap; gap: 8px; }
.country-suggestion a, .country-suggestion button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 8px; color: inherit; background: transparent; font: inherit; text-decoration: none; cursor: pointer; }
.country-suggestion a { color: #101d20; background: #a5e6cc; border-color: #a5e6cc; }
.country-suggestion :focus-visible { outline: 3px solid #f5cb87; outline-offset: 3px; }
.country-attribution { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 12px; }
@media (max-width: 700px) { .country-suggestion { font-size: 14px; } }

/* La portada, los carruseles y los detalles de MM-1815 (prototipo aprobado por el dueño el 11-nov-2026). */
:root {
  --cyan: #2bd4f0;
  --ok: #35d07f;
  --cookie-h: 0px;
}
html,
body {
  overflow-x: clip;
}
.button.ghost {
  min-height: 48px;
  gap: 10px;
  padding: 10px 22px;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 14px;
  font-family: inherit;
  cursor: pointer;
}
.button.ghost:hover {
  background: #a4f5ac1f;
}
.button.ghost:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.play-tri {
  width: 12px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero .hero-signup {
  min-height: 60px;
  padding-inline: 38px;
  font-size: 22px;
}
.hero .hero-visual {
  width: 100%;
  margin-top: 0;
  justify-self: center;
}

/* Pieza 3D: un móvil en perspectiva con tres tarjetas a distinta profundidad. `portada.js` la gira un poco. */
.stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 560px;
  margin-inline: auto;
  perspective: 1300px;
  overflow-x: clip;
}
.stage-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 4deg));
}
.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  width: 250px;
  height: 510px;
  margin: -255px 0 0 -125px;
  border: 10px solid #223438;
  border-radius: 40px;
  background: #0b1428;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #3d575c,
    0 40px 60px #0008,
    0 0 70px #a4f5ac22;
}
.phone img {
  width: 100%;
  height: auto;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 70px;
  height: 18px;
  margin-left: -35px;
  border-radius: 10px;
  background: #050a10;
}
.chip {
  position: absolute;
  width: 156px;
  transform: translateZ(var(--z, 80px));
}
.chip-in {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #4c6a62;
  border-radius: 14px;
  background: linear-gradient(140deg, #1c3a30, #132326);
  box-shadow: 0 18px 34px #0007;
  font-size: 13px;
  line-height: 1.3;
  animation: bob 5s ease-in-out infinite;
}
.chip-title {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chip-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  white-space: nowrap;
}
.dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.dot.ok {
  background: var(--ok);
}
.dot.warn {
  background: #f5b82e;
}
.chip-a {
  left: 14px;
  top: 70px;
  --z: 90px;
}
.chip-b {
  right: 8px;
  top: 250px;
  --z: 140px;
}
.chip-b .chip-in {
  animation-delay: -1.7s;
  animation-duration: 6s;
}
.chip-c {
  left: 4%;
  bottom: 56px;
  --z: 60px;
}
.chip-c .chip-in {
  animation-delay: -3.2s;
  animation-duration: 5.5s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Barra fija del móvil (contactos y alta): solo hasta 700 px; se esconde en el cierre y mientras sale el aviso de cookies. */
.sticky-cta {
  display: none;
}

/* Carta «Campeón del curso»: gira al entrar en pantalla y brilla una vez. */
.gold {
  display: flex;
  justify-content: center;
  perspective: 900px;
}
.gold-tilt {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(var(--gy, 0deg)) rotateX(var(--gx, 0deg));
  transition: transform 160ms ease-out;
}
.gold.is-in .gold-tilt {
  animation: goldspin 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
@keyframes goldspin {
  from {
    transform: rotateY(-200deg);
  }
  to {
    transform: rotateY(0deg);
  }
}
.gold-tilt img {
  display: block;
}
/* El brillo solo se ve sobre la carta dorada (la mitad izquierda de la imagen) y sale cuando la carta ya está en pantalla: `portada.js`
   le pone `--shine-mask`, la imagen que la página ya cargó, cuya silueta recorta lo que se saldría de la carta y se veía como un panel
   blanco entre las dos (MM-2158). Sin esa máscara no hay brillo. */
.gold-shine {
  position: absolute;
  inset: 0 51.8% 0 0;
  background: linear-gradient(115deg, transparent 38%, #ffffff66 50%, transparent 62%) 130% 0 / 300% 100% no-repeat;
  pointer-events: none;
}
.gold.is-in .gold-shine.is-masked {
  -webkit-mask: var(--shine-mask) left / 207.7% 100% no-repeat;
  mask: var(--shine-mask) left / 207.7% 100% no-repeat;
  animation: shine 1.4s ease-out 1.1s both;
}
@keyframes shine {
  to {
    background-position: -30% 0;
  }
}

/* Detalles: las negritas de las dos tarjetas, solo la primera en verde; las dudas en dos columnas. */
.feature p strong,
.feature li strong {
  color: var(--ink);
}
.feature p strong:first-of-type,
.feature li strong:first-of-type {
  color: var(--green);
}
.faq {
  grid-template-columns: 1fr;
  gap: 28px;
}
.questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  align-items: start;
}
.q-col details:first-child {
  border-top: 1px solid var(--line);
}
.footer .footer-languages a {
  min-height: 44px;
}

/* Carruseles: en escritorio no existen (la pista no pinta caja y los puntos no se ven). */
.dots,
.block-cta-mobile {
  display: none;
}
.blocks-track {
  display: contents;
}
@media (max-width: 1000px) {
  .stage {
    height: 500px;
    max-width: 380px;
  }
}
@media (max-width: 860px) {
  .questions {
    gap: 0 32px;
  }
}
@media (max-width: 700px) {
  .hero .hero-signup {
    width: 100%;
    min-height: 56px;
    padding-inline: 16px;
    font-size: 19px;
  }
  .hero-photo {
    max-height: 200px;
  }
  .hero .hero-visual {
    max-width: 330px;
  }
  .stage {
    height: 400px;
    max-width: 330px;
  }
  .phone {
    width: 176px;
    height: 360px;
    margin: -180px 0 0 -88px;
    border-width: 8px;
    border-radius: 30px;
  }
  .phone-notch {
    top: 6px;
    width: 52px;
    height: 13px;
    margin-left: -26px;
  }
  .chip {
    width: 118px;
  }
  .chip-in {
    gap: 3px;
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 12px;
  }
  .chip-title {
    font-size: 10px;
  }
  .chip-a {
    left: 10px;
    top: 40px;
  }
  .chip-b {
    right: 6px;
    top: 190px;
  }
  .chip-c {
    bottom: 36px;
  }

  /* Barra fija: los tres contactos como iconos desde la primera pantalla y, tras pasar el alta de la portada, el alta ancha
     a su lado. Se esconde en el cierre y mientras se pregunta por las cookies. */
  .sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 44px);
    justify-content: center;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #0c1719f7;
    border-top: 1px solid var(--line);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms;
  }
  .sticky-cta.shows-signup {
    grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
    justify-content: stretch;
  }
  .sticky-cta.is-hidden {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }
  body.has-cookie-notice .sticky-cta {
    display: none;
  }
  .sticky-signup {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 4px 10px;
    border-radius: 10px;
    background: linear-gradient(120deg, #d3ffd8 0%, #79ed98 55%, #4edb7a 100%);
    color: var(--deep);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
  }
  .sticky-cta.shows-signup .sticky-signup {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    column-gap: 0.3em;
  }
  .sticky-trial {
    white-space: nowrap;
  }
  .sticky-signup:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: -4px;
  }
  .sticky-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #4f6f78;
    border-radius: 12px;
  }
  .sticky-contact img {
    width: 24px;
    height: 24px;
  }
  .sticky-whatsapp {
    background: #f0fff2cc;
    border-color: #ffffffcc;
  }
  .sticky-instagram {
    background: linear-gradient(135deg, #fbd8b4, #edb3dd);
    border-color: #795568;
  }
  .sticky-email {
    background: linear-gradient(135deg, #e0f3f7, #b8dce5);
  }

  /* «Así funciona» y las opiniones como carruseles con scroll-snap; la tarjeta siguiente asoma */
  .blocks-track,
  .testimonial-grid {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .blocks-track::-webkit-scrollbar,
  .testimonial-grid::-webkit-scrollbar {
    display: none;
  }
  .blocks-track:focus-visible,
  .testimonial-grid:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
  }
  .blocks-track > .block,
  .testimonial-grid > .testimonial {
    flex: 0 0 calc(100% - 36px);
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
  }
  .blocks-track .block,
  .blocks-track .block:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'copy'
      'capture'
      'photo';
    align-content: start;
    align-items: start;
    gap: 14px;
    padding: 18px 14px 16px;
  }
  .blocks-track .block.block-capture-only {
    grid-template-areas:
      'copy'
      'capture';
  }
  .blocks-track .block-photo {
    height: 150px;
    object-position: center 30%;
  }
  /* Las capturas de la app, a todo el ancho de la tarjeta */
  .blocks-track .showcase-image img {
    width: 100%;
    max-height: none;
  }
  .blocks-track .gold-tilt img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
  }
  .block-cta-desktop {
    display: none;
  }
  .block-cta-mobile {
    display: flex;
    margin: 6px 0 34px;
  }
  .dots {
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }
  .dot-btn {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .dot-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 5px;
    background: var(--muted);
    transition:
      width 200ms ease,
      margin 200ms ease,
      background 200ms ease;
  }
  .dot-btn[aria-current='true']::after {
    width: 24px;
    margin-left: -12px;
    background: var(--green);
  }
  .dot-btn:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: -6px;
    border-radius: 8px;
  }
  .testimonials .dots {
    margin-top: 6px;
  }

  /* Dudas en una columna */
  .questions {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .q-col + .q-col details:first-child {
    border-top: 0;
  }
}
/* Por debajo de 360 px la barra solo dice «Da de alta tu escuela»: con los tres iconos de 44 px no cabe más. */
@media (max-width: 359px) {
  .sticky-trial {
    display: none;
  }
}
/* A 17 px el alta cabe en una línea con el texto más largo de los siete idiomas en un móvil estrecho. */
@media (max-width: 380px) {
  .hero .hero-signup {
    padding-inline: 10px;
    font-size: 17px;
  }
  .stage {
    height: 380px;
  }
  .chip {
    width: 108px;
  }
}
