/* Landing de FOCUS · misma familia que el campus y las lecciones (campus-focus/DESIGN.md) */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("../marca/fuentes/Archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("../marca/fuentes/Archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("../marca/fuentes/Archivo-800.woff2") format("woff2"); }

:root {
  --bg: #080705;
  --banda: #0E0C08;
  --panel: #12100B;
  --panel-2: #1B1810;
  --line: #2E2A1B;
  --line-soft: #1F1C13;
  --borde-control: #45402B;
  --text: #FFFFFF;
  --text-2: #D2CBB7;
  --text-3: #9C947D;
  --gold: #F7C536;
  --gold-deep: #B98F14;
  --gold-ink: #0B0903;
  --gold-wash: rgba(247, 197, 54, .10);
  --sl: #E2553F;
  --be: #5E5742;
  --error: #FF9C8F;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --margen: 20px;
  --entre: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; position: relative; background-color: var(--bg); color: var(--text);
  font: 400 16px/1.5 "Archivo", system-ui, sans-serif; font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* El resplandor dorado de la apertura de las lecciones, en lo alto de la página */
body::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 760px; pointer-events: none;
  background-image: radial-gradient(75% 520px at 50% -160px, rgba(247, 197, 54, .20), transparent 72%);
}
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sprite { display: none; }
[hidden] { display: none !important; }

h1 {
  font-weight: 800; font-size: clamp(42px, 10.5vw, 78px); line-height: .98; letter-spacing: -.035em; text-wrap: balance;
}
h1 em, h2 em, .h2-grande em, .directo__grande em { font-style: normal; color: var(--gold); }
h2 { font-weight: 800; font-size: clamp(28px, 6.6vw, 44px); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; }
.h2-grande { font-size: clamp(34px, 8vw, 56px); line-height: 1; letter-spacing: -.03em; }
h3 { font-weight: 600; font-size: 16px; line-height: 1.3; }
.lead { color: var(--text-2); font-size: 17.5px; line-height: 1.5; max-width: 54ch; margin-top: 14px; }
.meta { color: var(--text-3); font-size: 13.5px; line-height: 1.45; }
.link { color: var(--gold); font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.link:hover { text-decoration: underline; }
.etiqueta { color: var(--gold); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Armazón */
.envoltura { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--margen); }
main { display: grid; gap: var(--entre); padding-bottom: var(--entre); }
.seccion { display: grid; gap: 28px; }
.seccion__cab { display: grid; }
.seccion--estrecha { max-width: 820px; }

/* Cabecera: fondo plano, sin cristal */
.cabecera { position: sticky; top: 0; z-index: 10; background: rgba(8, 7, 5, .96); border-bottom: 1px solid var(--line-soft); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.cabecera__logo img { height: 26px; width: auto; }

/* Botones, con el canto de los rótulos de los vídeos */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 12px; border: 0;
  font: 800 16px/1 "Archivo", sans-serif; letter-spacing: -.005em; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn--oro { background: var(--gold); color: var(--gold-ink); border-bottom: 3px solid var(--gold-deep); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .8); }
.btn--oro:hover { background: #FFD456; }
.btn--oro:hover svg { transform: translateX(3px); }
.btn--oro:active { transform: translateY(2px); border-bottom-width: 1px; }
.btn--linea { background: transparent; color: var(--text); border: 1px solid var(--borde-control); }
.btn--linea:hover { border-color: var(--gold); }
.btn--s { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

/* Rótulo del nivel */
.rotulo {
  display: inline-flex; align-items: center; justify-self: start; padding: 4px 9px; border-radius: 7px;
  font-weight: 800; font-size: 11.5px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase;
  background: #211E15; color: var(--text); box-shadow: inset 0 -2px 0 #4A4430; white-space: nowrap;
}
.rotulo--oro { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -2px 0 var(--gold-deep); }

.tarjeta { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }

/* Lo que aún no existe: línea discontinua, como en el campus */
.hueco {
  display: grid; place-items: center; text-align: center; padding: 12px;
  border: 1px dashed var(--borde-control); border-radius: 12px; background: rgba(18, 16, 11, .6);
  color: var(--text-3); font-size: 13.5px; font-weight: 600;
}
.pendiente-chapa {
  position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 7px;
  background: rgba(8, 7, 5, .8); border: 1px dashed var(--borde-control); color: var(--text-3);
  font-size: 12px; font-weight: 600;
}

/* Listas con icono */
.lista { display: grid; gap: 12px; }
.lista li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.lista b { color: var(--text); font-weight: 600; }
.lista svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Las citas de Lozano: comillas doradas y su nombre debajo */
.cita p { font-weight: 800; font-size: clamp(21px, 5vw, 30px); line-height: 1.3; letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }
.cita footer { margin-top: 12px; color: var(--text-3); font-size: 14px; font-weight: 600; }
.cita--suelta { position: relative; padding-left: 18px; border-left: 2px solid var(--gold); }
.cita--suelta p { font-size: clamp(19px, 4.6vw, 26px); color: var(--text); }

/* 1 · Portada */
.portada { position: relative; padding-top: 32px; isolation: isolate; }
.portada__rejilla { display: grid; gap: 24px; grid-template-areas: "texto" "video" "resto"; }
.portada__texto { grid-area: texto; display: grid; }
.portada__video { grid-area: video; }
.portada__resto { grid-area: resto; display: grid; align-content: start; }
.portada__resto .lead { margin-top: 0; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.portada__resto > .meta { margin-top: 14px; max-width: 44ch; }
/* La curva dorada que sube detrás de la portada */
.portada__curva {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: -40px; width: 100%; height: 62%;
  opacity: .5; pointer-events: none;
}
.portada__curva path { fill: none; stroke: url(#g-curva); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.js .portada__curva path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dibujar 2.4s var(--ease) .2s forwards; }
@keyframes dibujar { to { stroke-dashoffset: 0; } }

.metodo {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-bottom: 18px;
  color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.metodo img { width: 28px; height: auto; }

/* Tarjeta del vídeo, de la familia de las lecciones */
.titulo-video {
  position: relative; display: grid; align-content: end; justify-items: center; gap: 14px; text-align: center;
  aspect-ratio: 16 / 9; padding: 0 7% 8%; border-radius: 18px; overflow: hidden;
  background: radial-gradient(46% 62% at 50% 22%, rgba(247, 197, 54, .32), transparent 72%), #000;
  border: 1px solid var(--line); container-type: inline-size;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(247, 197, 54, .06);
}
.titulo-video > img { position: absolute; top: 9%; left: 50%; width: 24%; transform: translateX(-50%); }
.titulo-video strong { position: relative; font-weight: 800; font-size: clamp(17px, 6.4cqw, 34px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.titulo-video em { font-style: normal; color: var(--gold); }
.titulo-video__dura { font-weight: 600; color: var(--text-3); white-space: nowrap; }
/* Con el vídeo de verdad: su portada (la cara de Lozano, en el centro) y encima, abajo a la izquierda, el play y el título,
   para no taparle la cara. La tapa es un botón: al tocarla se quita y arranca el vídeo (js/landing.js) */
.titulo-video--video { display: block; padding: 0; background: #000; }
.titulo-video--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.titulo-video__tapa {
  position: absolute; inset: 0; display: flex; align-items: flex-end; gap: clamp(10px, 3cqw, 18px);
  padding: 0 5cqw 5cqw; border: 0; border-radius: inherit; color: var(--text); font: inherit; text-align: left; cursor: pointer;
  background: linear-gradient(to top, rgba(8, 7, 5, .9), rgba(8, 7, 5, .55) 22%, rgba(8, 7, 5, 0) 44%);
}
.titulo-video__tapa[hidden] { display: none; }
.titulo-video__tapa:focus-visible { outline-offset: -4px; }
.titulo-video__tapa .play { flex: none; width: clamp(40px, 10cqw, 58px); height: clamp(40px, 10cqw, 58px); box-shadow: inset 0 -3px 0 var(--gold-deep), 0 0 0 6px rgba(28, 24, 12, .75); transition: transform .2s var(--ease); }
.titulo-video__tapa:hover .play { transform: translateY(-1px); }
.titulo-video__tapa strong { font-size: clamp(15px, 4.4cqw, 28px); }
.titulo-video__tapa .titulo-video__dura { color: var(--text-2); }
.play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.play--oro { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -3px 0 var(--gold-deep), 0 0 0 10px #1C180C; }
.play svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; stroke: none; }

/* Las tres cifras */
.cifras {
  display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 197, 54, .05), transparent 60%), var(--panel); overflow: hidden;
}
.cifras li { display: grid; gap: 4px; padding: 20px 22px; }
.cifras li + li { border-top: 1px solid var(--line-soft); }
.cifras strong { font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.cifras li > span { color: var(--text-2); font-size: 15px; }

/* 2 · Un año en directo: una banda de lado a lado */
.banda {
  background: radial-gradient(60% 300px at 50% 0%, rgba(247, 197, 54, .10), transparent 75%), var(--banda);
  border-block: 1px solid var(--line-soft); padding-block: 64px;
}
.directo { display: grid; gap: 30px; }
.directo__texto { display: grid; gap: 10px; }
.directo__texto .lead { margin-top: 4px; }
.directo__panel { display: grid; gap: 16px; padding: 18px; border-radius: 18px; background: rgba(8, 7, 5, .6); border: 1px solid var(--line); }
.puntos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 7px; }
.puntos button {
  aspect-ratio: 1; width: 100%; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--be); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.puntos .tp { background: var(--gold); }
.puntos .sl { background: var(--sl); }
.puntos .be { background: var(--be); }
.puntos button:hover, .puntos button[aria-pressed="true"] { transform: scale(1.35); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.js .puntos button { transform: scale(0); }
.js .puntos.visible button { transform: scale(1); transition: transform .45s var(--ease) calc(var(--i) * 14ms), box-shadow .2s var(--ease); }
.js .puntos.visible button:hover, .js .puntos.visible button[aria-pressed="true"] { transform: scale(1.35); transition-delay: 0s; }
.leyenda { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: 15px; }
.leyenda li { display: inline-flex; align-items: center; gap: 8px; }
.leyenda b { color: var(--text); font-weight: 800; }
.punto { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.punto--tp { background: var(--gold); }
.punto--sl { background: var(--sl); }
.punto--be { background: var(--be); }
.directo__sesion { min-height: 1.45em; }
.directo__remate { display: grid; gap: 22px; }
.directo__grande { font-weight: 800; font-size: clamp(26px, 6.4vw, 44px); line-height: 1.3; letter-spacing: -.028em; text-wrap: balance; max-width: 22ch; }

/* 3 · El método */
.rotulos { display: grid; justify-items: start; gap: 8px; }
.rotulo-video {
  display: inline-block; padding: 10px 16px 11px; border-radius: 10px;
  background: #1A1712; color: var(--text); box-shadow: inset 0 -3px 0 #000, 0 0 0 1px #2B2719;
  font-weight: 800; font-size: clamp(19px, 5.4vw, 46px); line-height: 1.05; letter-spacing: -.015em; text-transform: uppercase;
}
.rotulo-video--oro { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -3px 0 var(--gold-deep); }
.pilares { display: grid; gap: 12px; }
.pilar { position: relative; display: grid; gap: 12px; padding: 22px; overflow: hidden; }
.pilar::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 197, 54, .08), transparent); pointer-events: none;
}
.pilar__num {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -3px 0 var(--gold-deep);
  font-weight: 800; font-size: 18px;
}
.pilar h3 { font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.015em; }
.pilar p { color: var(--text-2); font-size: 16px; line-height: 1.5; }

/* 4 · Pruebas */
.pruebas { display: grid; gap: 14px; }
.prueba { display: grid; gap: 14px; padding: 16px; align-content: start; }
.prueba img { border-radius: 12px; }
.prueba figcaption { display: grid; gap: 6px; padding: 0 4px 4px; }
.prueba strong { font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.prueba figcaption span, .prueba--futuros p { color: var(--text-2); font-size: 15px; }
.prueba--futuros { padding: 26px; gap: 4px; align-content: center; background: radial-gradient(90% 60% at 100% 0%, rgba(247, 197, 54, .09), transparent 70%), var(--panel); }
.prueba--futuros .etiqueta { margin-bottom: 14px; }
.prueba--futuros .prueba__cifra { font-weight: 800; font-size: clamp(44px, 11vw, 68px); line-height: 1; letter-spacing: -.035em; color: var(--text); }
.prueba--futuros .prueba__cifra--neta { margin-top: 22px; color: var(--gold); }
.alumnos { display: grid; gap: 16px; }
.alumnos__cab { display: grid; gap: 6px; }
.alumnos__cab strong { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; }
.alumnos__cab span { color: var(--text-2); font-size: 15px; }
.alumnos__pie { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; color: var(--text); font-weight: 800; font-size: 17px; }
/* El carrusel de certificados: se pasa con el dedo (o con la rueda en el ordenador), uno detrás de otro */
.carrusel {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--margen) * -1);
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel__fila { display: flex; gap: 12px; width: max-content; padding: 6px var(--margen); }
.carrusel__fila li { height: 190px; flex: none; scroll-snap-align: start; scroll-margin-left: var(--margen); border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.carrusel__fila img { height: 100%; width: auto; }

/* 5 · El camino: la escalera que solo sube */
.camino { display: grid; gap: 30px; }
.ruta { max-width: 560px; }
.ruta svg { width: 100%; height: auto; overflow: visible; }
.ruta .tramo { fill: none; stroke: #3B3625; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ruta .tramo--oro { stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ruta .estaciones circle { fill: var(--gold); stroke: var(--gold); stroke-width: 1.5; }
.ruta .numeros text { font: 800 11.5px "Archivo", sans-serif; fill: var(--text-2); text-anchor: middle; }
.js .ruta .tramo--oro { stroke-dashoffset: 1; }
.js .ruta .estaciones circle { fill: var(--bg); stroke: #57503A; }
.js .ruta .cima { opacity: .35; }
.js .ruta.dibujada .tramo--oro { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.js .ruta.dibujada .estaciones circle { fill: var(--gold); stroke: var(--gold); transition: fill .3s ease, stroke .3s ease; }
.js .ruta.dibujada .cima { opacity: 1; transition: opacity .6s ease 1.3s; }
.js .ruta.dibujada .estaciones circle:nth-child(2) { transition-delay: .25s; }
.js .ruta.dibujada .estaciones circle:nth-child(3) { transition-delay: .45s; }
.js .ruta.dibujada .estaciones circle:nth-child(4) { transition-delay: .65s; }
.js .ruta.dibujada .estaciones circle:nth-child(5) { transition-delay: .85s; }
.js .ruta.dibujada .estaciones circle:nth-child(6) { transition-delay: 1.05s; }
.js .ruta.dibujada .estaciones circle:nth-child(7) { transition-delay: 1.25s; }
.fases > li + li, .pasos > li + li { border-top: 1px solid var(--line-soft); }
.fase, .pasos > li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 2px; align-items: start; }
.fase h3, .pasos h3 { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.fase p, .pasos p { margin-top: 4px; color: var(--text-2); font-size: 15px; max-width: 56ch; }
.circulo {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--borde-control); font-weight: 800; font-size: 14px; color: var(--text);
}
.nota { color: var(--text-2); font-size: 15px; padding: 14px 16px; border-radius: 12px; background: var(--panel-2); max-width: 680px; }

/* 6 · El precio: una sola oferta, FOCUS Advanced */
.oferta {
  display: grid; gap: 22px; max-width: 760px; padding: 26px;
  border-color: rgba(247, 197, 54, .45);
  background: radial-gradient(80% 50% at 50% 0%, rgba(247, 197, 54, .10), transparent 70%), var(--panel);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}
.oferta__cab { display: grid; justify-items: start; gap: 6px; }
.oferta__precio { margin-top: 12px; font-weight: 800; font-size: clamp(54px, 14vw, 72px); line-height: 1; letter-spacing: -.035em; }
.oferta__plazos { font-size: 19px; color: var(--text-2); }
.oferta__plazos b { color: var(--gold); font-weight: 800; }
.oferta__lista { gap: 14px; }
.oferta__nota { margin-top: -6px; }
.oferta__vip { padding: 14px 16px; border-radius: 12px; background: var(--panel-2); color: var(--text-2); font-size: 15.5px; }
.oferta .btn { justify-self: start; }

/* 8 · Quién soy */
.joan { display: grid; gap: 26px; }
.joan__foto { aspect-ratio: 4 / 5; max-width: 380px; width: 100%; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.joan__texto { display: grid; align-content: start; gap: 14px; }
.joan__texto p { color: var(--text-2); font-size: 17px; max-width: 58ch; }
.joan__texto b { color: var(--text); font-weight: 600; }
.redes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; }
.redes a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--text); }
.redes a:hover { color: var(--gold); }
.redes svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* 9 · Preguntas */
.dudas details { border-top: 1px solid var(--line-soft); }
.dudas details:last-child { border-bottom: 1px solid var(--line-soft); }
.dudas summary {
  display: grid; grid-template-columns: 1fr 20px; gap: 16px; align-items: center;
  padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; line-height: 1.3;
}
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary:hover { color: var(--gold); }
.dudas summary svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; transition: transform .25s var(--ease); }
.dudas details[open] summary svg { transform: rotate(45deg); }
.dudas details p { padding: 0 34px 20px 2px; color: var(--text-2); max-width: 64ch; }

/* 10 · La solicitud */
.solicitud { scroll-margin-top: 80px; }
.form {
  display: grid; gap: 18px; padding: 20px; border-color: rgba(247, 197, 54, .45);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}
.form__barra { height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.form__barra span { display: block; height: 100%; width: 16%; border-radius: 6px; background: var(--gold); transition: width .35s var(--ease); }
.form__paso { margin-top: -8px; }
.paso { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 14px; }
.paso legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.paso__ayuda { margin-top: -6px; }
.opciones { display: grid; gap: 10px; }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcion span {
  display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 50px; border-radius: 12px;
  border: 1px solid var(--borde-control); background: var(--bg); color: var(--text); font-weight: 600; font-size: 16px; line-height: 1.3;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.opcion span::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--borde-control); transform: translateY(-50%); transition: border-color .15s, box-shadow .15s;
}
.opcion:hover span { border-color: #6B6346; }
.opcion input:checked + span { border-color: var(--gold); background: var(--gold-wash); }
.opcion input:checked + span::before { border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--gold); }
.opcion input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.campos { display: grid; gap: 14px; }
.campo { display: grid; gap: 7px; }
.campo span { font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.campo input {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--borde-control);
  background: #0F0D09; color: var(--text); font: 400 16px/1.2 "Archivo", system-ui, sans-serif;
}
.campo input::placeholder { color: #6E6754; }
.campo input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.campo input[aria-invalid="true"] { border-color: var(--error); }
.casilla { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text-2); font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.casilla input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.casilla .link { font-size: inherit; text-decoration: underline; }
.form__capa { padding-left: 34px; }  /* alineada con el texto de las casillas (22px + 12px) */
.form__capa .link { font-size: inherit; font-weight: 400; text-decoration: underline; overflow-wrap: anywhere; }
.form__error { color: var(--error); font-weight: 600; font-size: 15px; }
.form__botones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form__botones [data-siguiente] { flex: 1 1 auto; }
/* En el móvil, «Atrás» se queda en la flecha (el texto lo sigue leyendo el lector de pantalla) y los dos caben en una fila:
   con «Elegir día y hora», el botón bajaba a la siguiente (18/11) */
@media (max-width: 599px) {
  .form__botones { flex-wrap: nowrap; }
  .form__botones [data-atras] { flex: none; gap: 0; padding-inline: 16px; font-size: 0; }
}
.resultado { display: grid; gap: 14px; padding: 22px; border-color: rgba(247, 197, 54, .45); }
.resultado:focus { outline: none; }
.resultado h3 { font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.resultado p { color: var(--text-2); }
.resultado .btn { justify-self: start; }
/* La trampa para robots: fuera de la vista (no con display: none, que algunos robots se saltan) */
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Las horas libres para la llamada, por días: se reserva con un toque */
.huecos { display: grid; gap: 22px; margin-top: 4px; }
.huecos[aria-busy="true"] { cursor: progress; }
.huecos__zona { margin-bottom: -8px; }
.huecos__dia { display: grid; gap: 10px; }
.huecos__dia h4 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.huecos__dia h4 span { color: var(--gold); font-weight: 600; font-size: 13.5px; letter-spacing: 0; }
.huecos__horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.hora {
  min-height: 52px; padding: 0 10px; border-radius: 11px; border: 1px solid var(--borde-control); background: var(--bg);
  color: var(--text); font: 600 16px/1 "Archivo", system-ui, sans-serif; cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), opacity .15s var(--ease);
}
.hora:hover { border-color: var(--gold); }
.hora:disabled { cursor: default; opacity: .45; }
.hora:disabled:hover { border-color: var(--borde-control); }
.hora[aria-busy="true"], .hora[aria-pressed="true"] { opacity: 1; border-color: var(--gold); background: var(--gold-wash); color: var(--gold); }
.huecos__vacio { padding: 14px 16px; border-radius: 12px; background: var(--panel-2); color: var(--text-2); }

/* El calendario, como el de Calendly (Joan, 18/11): el mes con los días que se pueden reservar y, al tocar uno, sus horas.
   En el ordenador, el mes a la izquierda y las horas a la derecha */
.huecos--calendario { gap: 18px; }
.calendario { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.calendario__cab { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 4px; }
.calendario .calendario__mes { margin: 0; text-align: center; color: var(--text); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.calendario__flecha {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--borde-control);
  border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; transition: border-color .15s var(--ease);
}
.calendario__flecha svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.calendario__flecha:hover { border-color: var(--gold); }
.calendario__flecha:disabled { visibility: hidden; }
.calendario__semana, .calendario__dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendario__semana span { color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.dia {
  position: relative; display: grid; place-items: center; width: 100%; max-width: 42px; aspect-ratio: 1; justify-self: center;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-3); opacity: .5;
  font: 600 15px/1 "Archivo", system-ui, sans-serif;
}
.dia--fuera { visibility: hidden; }
.dia--libre { opacity: 1; background: var(--gold-wash); color: var(--gold); font-weight: 800; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.dia--libre:hover { background: rgba(247, 197, 54, .22); }
.dia--libre[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.huecos__pista { margin: 0; }
.dia--hoy::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
@media (min-width: 760px) {
  .huecos--calendario { grid-template-columns: minmax(280px, 340px) 1fr; align-items: start; column-gap: 28px; }
  .huecos--calendario > .huecos__zona { grid-column: 1 / -1; }
  /* En reserva.html la tarjeta es más estrecha: el mes encima de las horas, como en el móvil */
  .mi-llamada .huecos--calendario { grid-template-columns: minmax(0, 420px); }
}

/* La pantalla de gracias */
.gracias__cuando { font-size: clamp(24px, 6vw, 32px); line-height: 1.1; letter-spacing: -.025em; margin-top: -6px; }
.gracias__zona { margin-top: -8px; }
.gracias__video { margin-block: 6px; }
.resultado .etiqueta { margin-bottom: -4px; }

/* Cambiar la hora (reserva.html) */
.mi-llamada { display: grid; gap: 18px; max-width: 680px; padding-top: 40px; padding-bottom: 64px; }
.mi-llamada .resultado { gap: 16px; }
.mi-llamada h1 { font-size: clamp(32px, 8vw, 46px); line-height: 1.02; }
.mi-llamada h2 { font-size: 20px; letter-spacing: -.015em; }
.mi-llamada .mi-llamada__actual { font-weight: 800; font-size: clamp(20px, 5vw, 26px); line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
.mi-llamada__elegir { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.mi-llamada__avisar { justify-self: start; }  /* con llamada: si le surge algo, al WhatsApp (Joan, 18/11) */
.cierre__firma { margin-top: 12px; text-align: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--text-3); }

/* Aparecer al bajar (solo con JavaScript y sin «reducir movimiento») */
.js [data-aparece] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-aparece].visible { opacity: 1; transform: none; }

/* Páginas legales */
.legal { display: grid; gap: 14px; max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 4px; }
.legal h2 { font-size: 20px; margin-top: 18px; }
.legal p, .legal li { color: var(--text-2); }
.legal b { color: var(--text); font-weight: 600; }
.legal .link { font-size: inherit; text-decoration: underline; }
.legal__lista { display: grid; gap: 10px; padding-left: 18px; list-style: disc; }

/* Botón fijo en el móvil */
.barra-cta {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  padding: 12px var(--margen) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 62%, rgba(8, 7, 5, 0));
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.barra-cta .btn { width: 100%; }
.barra-cta.visible { transform: translateY(0); }

/* Pie */
.pie { border-top: 1px solid var(--line-soft); padding: 36px 0 calc(40px + env(safe-area-inset-bottom)); }
.pie .envoltura { display: grid; gap: 16px; }
.pie__logo { height: 22px; width: auto; opacity: .8; }
.pie__riesgo { color: var(--text-3); font-size: 13.5px; line-height: 1.5; max-width: 70ch; }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.pie__enlaces a:hover { color: var(--gold); }

/* Ordenador */
@media (min-width: 900px) {
  :root { --margen: clamp(28px, 4vw, 60px); --entre: 128px; }
  .barra-cta { display: none; }
  .cabecera__fila { min-height: 72px; }
  .portada { padding-top: 76px; padding-bottom: 24px; }
  .portada__rejilla { grid-template-columns: 1.08fr 1fr; grid-template-areas: "texto video" "resto video"; column-gap: 56px; row-gap: 24px; align-items: start; }
  .portada h1 { font-size: clamp(52px, 5.2vw, 70px); }
  .portada__video { align-self: center; }
  .portada__curva { height: 48%; bottom: -30px; opacity: .4; }
  .cifras { grid-template-columns: repeat(3, 1fr); }
  .cifras li { padding: 26px 30px; }
  .cifras li + li { border-top: 0; border-left: 1px solid var(--line-soft); }
  .cifras strong { font-size: 46px; }
  .banda { padding-block: 104px; }
  .directo { grid-template-columns: 1fr 1.2fr; grid-template-areas: "texto panel" "remate panel"; column-gap: 64px; row-gap: 40px; align-items: start; }
  .directo__texto { grid-area: texto; }
  .directo__panel { grid-area: panel; padding: 26px; }
  .directo__remate { grid-area: remate; }
  .puntos { grid-template-columns: repeat(16, 1fr); gap: 9px; }
  .seccion__cab { max-width: 760px; }
  .pilares { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pilar { padding: 28px; }
  .pruebas { grid-template-columns: 1.1fr .9fr; gap: 16px; }
  .prueba { padding: 20px; }
  .carrusel__fila li { height: 240px; }
  .camino { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
  .ruta { position: sticky; top: 120px; padding-top: 24px; }
  .oferta { padding: 40px; }
  .joan { grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
  .pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .pasos > li { grid-template-columns: 1fr; gap: 14px; padding: 12px 0 0; }
  .pasos > li + li { border-top: 0; }
  .form { padding: 32px; }
  .form__botones [data-siguiente] { flex: 0 0 auto; }
  .resultado { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-aparece] { opacity: 1; transform: none; }
  .js .puntos button { transform: none; }
  .js .portada__curva path { stroke-dashoffset: 0; }
}
