/* Tumbao Latín Dance Academy — dirección de arte: papel crema, rojo tambor y tinta. Bricolage Grotesque + Shrikhand. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url(assets/fonts/bricolage-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url(assets/fonts/bricolage-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Shrikhand'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/shrikhand-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Shrikhand'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/shrikhand-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --papel: #f7f0e4;
  --papel-2: #efe3cf;
  --papel-3: #e3d1b4;
  --tinta: #1b1210;
  --tinta-2: #4a3a33;
  --tinta-3: #6e5b51;
  --rojo: #c8141f;
  --rojo-2: #e2232d;
  --rojo-osc: #8e0c14;
  --vino: #3a0a0d;
  --vino-2: #561017;
  --sol: #ffc01e;
  --crema-t: #f3e6d4;
  --wa: #25d366;
  --wa-tinta: #052e16;
  --f-txt: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-disp: 'Bricolage Grotesque', 'Arial Narrow', Impact, sans-serif;
  --f-script: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --ancho: 1240px;
  --cab-alto: 66px;
  --radio: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cab-alto) + 10px); }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--f-txt); font-size: 1.03rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ic .relleno, symbol .relleno { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sol); color: var(--tinta); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }
.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }

/* ---------- Tipos ---------- */
.titulo { font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 5.4rem); line-height: .88; letter-spacing: -.01em; }
.titulo em { font-family: var(--f-script); font-weight: 400; font-style: normal; text-transform: none; color: var(--rojo); letter-spacing: 0; font-size: .86em; line-height: 1; display: inline-block; transform: rotate(-3deg); }
.titulo--claro { color: var(--papel); }
.titulo--claro em { color: var(--sol); }
.conteo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); margin-bottom: 14px; }
.conteo b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rojo); color: var(--papel); font-family: var(--f-script); font-weight: 400; font-size: 1.05rem; letter-spacing: 0; }
.conteo--claro { color: var(--crema-t); }
.conteo--claro b { background: var(--sol); color: var(--tinta); }
.sec-cab { max-width: 760px; margin-bottom: 34px; }
.sec-cab__txt { margin-top: 18px; color: var(--tinta-2); max-width: 40rem; }
.sec-cab__txt b { color: var(--tinta); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .72em 1.3em; border-radius: 999px; border: 2px solid transparent; background: transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.15; text-align: center; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--rojo { background: var(--rojo); color: #fff; box-shadow: 0 4px 0 var(--rojo-osc); }
.btn--rojo:hover { background: var(--rojo-2); }
.btn--rojo:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--rojo-osc); }
.btn--linea { border-color: var(--tinta); color: var(--tinta); }
.btn--linea:hover { background: var(--tinta); color: var(--papel); }
.btn--wa { background: var(--wa); color: var(--wa-tinta); box-shadow: 0 4px 0 #128c4a; }
.btn--wa:hover { background: #45e07f; }
.btn--grande { min-height: 56px; font-size: 1.06rem; padding: .8em 1.5em; }
.btn--ancho { width: 100%; }

/* ---------- Cabecera ---------- */
.cab { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(247, 240, 228, .92); border-bottom: 1px solid rgba(27, 18, 16, .08); transition: box-shadow .25s ease; }
.cab--scroll { box-shadow: 0 8px 24px rgba(27, 18, 16, .08); }
.cab__in { max-width: 1360px; margin: 0 auto; height: var(--cab-alto); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.marca { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.marca__tumbao { font-family: var(--f-script); color: var(--rojo); font-size: 1.85rem; line-height: 1; transform: rotate(-4deg); display: inline-block; }
.marca__sub { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; line-height: 1.15; color: var(--tinta-2); border-left: 2px solid var(--rojo); padding-left: 8px; }
.nav { display: none; }
.cab__cta { display: none; }
.cab__menu { width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--tinta); background: transparent; display: grid; place-items: center; cursor: pointer; }
.cab__menu .ic { width: 22px; height: 22px; }
.cab--abierta { background: var(--papel); }
.cab--abierta .nav { display: flex; flex-direction: column; position: absolute; top: var(--cab-alto); left: 0; right: 0; background: var(--papel); padding: 4px 16px 18px; border-bottom: 3px solid var(--rojo); }
.cab--abierta .nav a { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid rgba(27, 18, 16, .12); text-decoration: none; font-weight: 800; font-stretch: 80%; font-size: 1.45rem; text-transform: uppercase; }
.nav a i { font-style: normal; font-family: var(--f-script); color: var(--rojo); font-size: .95em; min-width: 1ch; }

/* ---------- Héroe ---------- */
.heroe { position: relative; overflow: hidden; isolation: isolate; padding-top: var(--cab-alto); background:
  radial-gradient(60% 50% at 100% 0%, rgba(200, 20, 31, .12), transparent 70%),
  radial-gradient(50% 40% at 0% 100%, rgba(255, 192, 30, .16), transparent 70%), var(--papel); }
.heroe__in { max-width: 1360px; margin: 0 auto; padding: 18px 16px 40px; display: grid; gap: 26px; }
.heroe__video { position: relative; order: -1; margin: 0; }
.pantalla { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--tinta); box-shadow: 0 22px 50px rgba(58, 10, 13, .28), 10px 10px 0 var(--rojo); }
.pantalla__video { width: 100%; height: 100%; object-fit: cover; }
.pantalla__eti { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(27, 18, 16, .72); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--rojo-2); animation: titila 1.4s ease-in-out infinite; }
@keyframes titila { 50% { opacity: .25; } }
.pantalla__btn { position: absolute; right: 12px; top: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(247, 240, 228, .92); color: var(--tinta); display: grid; place-items: center; cursor: pointer; }
.pantalla__btn .ic { width: 20px; height: 20px; }
.pantalla__btn .ic-pausa { display: none; }
.pantalla__btn[aria-pressed='true'] .ic-play { display: none; }
.pantalla__btn[aria-pressed='true'] .ic-pausa { display: block; }
.heroe__video figcaption { margin-top: 10px; font-size: .78rem; color: var(--tinta-3); padding-right: 110px; }
.sello { position: absolute; right: -6px; bottom: -36px; width: 124px; height: 124px; display: grid; place-items: center; z-index: 2; }
.sello svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 22s linear infinite; }
.sello text { font-family: var(--f-txt); font-weight: 800; font-size: 14.5px; letter-spacing: .1em; text-transform: uppercase; fill: var(--tinta); }
.sello::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--sol); box-shadow: 0 8px 20px rgba(27, 18, 16, .2); z-index: -1; }
.sello span { font-family: var(--f-script); font-size: .92rem; line-height: 1.02; text-align: center; color: var(--rojo); transform: rotate(-8deg); }
@keyframes girar { to { transform: rotate(360deg); } }
.sobre { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo-osc); }
.punto { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--rojo); flex: none; }
.punto::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: rgba(200, 20, 31, .3); animation: latido 1.6s ease-out infinite; }
@keyframes latido { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.heroe__titulo { margin-top: 14px; font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .86; font-size: clamp(3rem, 14.5vw, 7.6rem); letter-spacing: -.015em; }
.heroe__titulo span { display: block; }
.heroe__titulo .t2 { font-family: var(--f-script); font-weight: 400; text-transform: none; color: var(--rojo); font-size: 1.08em; line-height: 1.05; transform: rotate(-4deg); transform-origin: 0 50%; margin: .16em 0 .02em .04em; letter-spacing: 0; }
.heroe__titulo .t4 { color: var(--rojo-osc); }
.heroe__bajada { margin-top: 22px; font-size: 1.12rem; color: var(--tinta-2); max-width: 34rem; }
.heroe__bajada b { color: var(--tinta); }
.heroe__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cuenta { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cuenta li { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-script); font-size: 1.05rem; color: var(--rojo); border: 2px solid var(--rojo); animation: golpe 2.4s steps(1) infinite; }
.cuenta li.cuenta__pausa { color: var(--tinta-3); border-style: dashed; border-color: rgba(27, 18, 16, .3); }
.cuenta li:nth-child(1) { animation-delay: 0s; } .cuenta li:nth-child(2) { animation-delay: .3s; } .cuenta li:nth-child(3) { animation-delay: .6s; } .cuenta li:nth-child(4) { animation-delay: .9s; }
.cuenta li:nth-child(5) { animation-delay: 1.2s; } .cuenta li:nth-child(6) { animation-delay: 1.5s; } .cuenta li:nth-child(7) { animation-delay: 1.8s; } .cuenta li:nth-child(8) { animation-delay: 2.1s; }
@keyframes golpe { 0% { background: var(--rojo); color: #fff; } 12.5% { background: transparent; color: var(--rojo); } }
.cuenta li.cuenta__pausa { animation-name: golpePausa; }
@keyframes golpePausa { 0% { background: rgba(27, 18, 16, .1); } 12.5% { background: transparent; } }

/* ---------- Ritmos ---------- */
.ritmos { overflow: hidden; background: var(--rojo); color: var(--papel); border-block: 3px solid var(--tinta); }
.ritmos__pista { display: flex; align-items: center; gap: 26px; width: max-content; padding: 14px 0 12px; animation: correr 34s linear infinite; }
.ritmos__pista span { font-family: var(--f-script); font-size: 1.7rem; line-height: 1; white-space: nowrap; }
.ritmos__pista i { width: 12px; height: 12px; background: var(--sol); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); flex: none; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- Muchos empezaron igual ---------- */
.igual { padding: 78px 0 70px; }
.igual__grid { display: grid; gap: 40px; align-items: center; }
.antes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.antes li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; }
.antes .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--tinta); color: var(--papel); stroke-width: 3; }
.antes span { position: relative; }
.antes span::after { content: ''; position: absolute; left: -2px; right: -2px; top: 54%; height: 3px; background: var(--rojo); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.6, 0, .2, 1); }
.antes--tachado span::after { transform: scaleX(1); }
.antes--tachado li:nth-child(2) span::after { transition-delay: .25s; }
.antes--tachado li:nth-child(3) span::after { transition-delay: .5s; }
.despues { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 20px 12px 14px; border-radius: 999px; background: var(--rojo); color: #fff; font-family: var(--f-script); font-size: 1.3rem; line-height: 1.15; box-shadow: 6px 6px 0 var(--tinta); transform: rotate(-1.5deg); }
.despues .ic { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--sol); color: var(--tinta); stroke-width: 3.2; }
.igual__nota { margin-top: 26px; color: var(--tinta-2); max-width: 32rem; }
.igual__foto img { width: 100%; border-radius: 20px; box-shadow: -10px 10px 0 var(--sol); aspect-ratio: 16 / 7.6; object-fit: cover; }
.igual__foto figcaption { margin-top: 12px; font-size: .82rem; color: var(--tinta-3); }

/* ---------- Sedes ---------- */
.sedes { padding: 80px 0; background: var(--tinta); color: var(--papel); }
.sedes .titulo em { color: var(--sol); }
.sedes .conteo { color: var(--crema-t); }
.sedes .sec-cab__txt { color: #d9c9b6; }
.sedes .sec-cab__txt b { color: var(--papel); }
.sedes__grid { display: grid; gap: 30px; }
.mapa { margin: 0; padding: 14px; border-radius: var(--radio); background: #261a17; border: 1px solid rgba(247, 240, 228, .12); color: var(--papel); }
.mapa svg { width: 100%; height: auto; display: block; }
.mapa__curva { fill: none; stroke: rgba(247, 240, 228, .1); stroke-width: 1.5; }
.mapa__ruta { fill: rgba(200, 20, 31, .1); stroke: var(--rojo-2); stroke-width: 2; stroke-dasharray: 5 6; }
.mapa__sede { cursor: pointer; }
.mapa__sede circle { fill: var(--rojo-2); }
.mapa__sede .mapa__halo { fill: rgba(226, 35, 45, .2); transform-box: fill-box; transform-origin: center; transition: transform .25s ease, fill .25s; }
.mapa__sede text { font-family: var(--f-txt); font-weight: 800; font-size: 15px; fill: var(--papel); }
.mapa__sede:hover .mapa__halo, .mapa__sede--activa .mapa__halo { transform: scale(1.5); fill: rgba(255, 192, 30, .35); }
.mapa__sede--activa circle:not(.mapa__halo) { fill: var(--sol); }
.mapa figcaption { font-size: .78rem; color: #b8a796; margin-top: 6px; }
.sedes__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sede { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: 'n nombre ir' 'n dato ir'; align-items: center; gap: 2px 12px; text-align: left; padding: 14px 16px 14px 12px; border-radius: 14px; border: 1.5px solid rgba(247, 240, 228, .16); background: rgba(247, 240, 228, .03); color: var(--papel); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.sede:hover, .sede--activa { border-color: var(--sol); background: rgba(255, 192, 30, .08); transform: translateX(4px); }
.sede__n { grid-area: n; font-family: var(--f-script); font-size: 1.3rem; color: var(--rojo-2); }
.sede__nombre { grid-area: nombre; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.sede__dato { grid-area: dato; font-size: .84rem; color: #cdbba7; }
.sede__ir { grid-area: ir; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .86rem; color: var(--sol); }
@media (max-width: 639px) {
  .sede { grid-template-columns: 40px 1fr; grid-template-areas: 'n nombre' 'n dato' 'n ir'; }
  .sede__ir { margin-top: 6px; }
}

/* ---------- Matrícula ---------- */
.matricula { position: relative; padding: 84px 0; background: radial-gradient(70% 60% at 100% 0%, rgba(226, 35, 45, .35), transparent 65%), linear-gradient(180deg, var(--vino-2), var(--vino)); color: var(--papel); overflow: hidden; }
.matricula::before { content: '1·2·3'; position: absolute; right: -2vw; bottom: -4vw; font-family: var(--f-script); font-size: 30vw; line-height: .8; color: rgba(247, 240, 228, .035); pointer-events: none; }
.matricula__grid { position: relative; display: grid; gap: 40px; }
.matricula__intro { margin-top: 18px; color: #ecd7c6; max-width: 33rem; }
#formMatricula { margin-top: 30px; display: grid; gap: 26px; }
.campo { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo legend, .campo label[for] { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-weight: 800; font-size: 1.04rem; padding: 0; color: var(--papel); }
.campo legend { margin-bottom: 10px; }
.paso { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sol); color: var(--tinta); font-family: var(--f-script); font-weight: 400; font-size: 1rem; flex: none; }
.opc { font-size: .8rem; font-weight: 600; color: #d6bfae; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: .5em 1.05em; border-radius: 999px; border: 2px solid rgba(247, 240, 228, .4); font-weight: 700; font-size: .96rem; color: var(--papel); transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.chip:hover span { border-color: var(--papel); }
.chip input:checked + span { background: var(--sol); border-color: var(--sol); color: var(--tinta); transform: rotate(-2deg); }
.chip input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 3px; }
.niveles { display: grid; gap: 10px; }
.nivel { position: relative; cursor: pointer; }
.nivel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nivel span { display: grid; gap: 2px; padding: 14px 16px 14px 50px; border-radius: 14px; border: 2px solid rgba(247, 240, 228, .3); position: relative; transition: border-color .15s, background-color .15s; }
.nivel span::before { content: ''; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--papel); }
.nivel input:checked + span { border-color: var(--sol); background: rgba(255, 192, 30, .1); }
.nivel input:checked + span::before { background: var(--sol); border-color: var(--sol); box-shadow: inset 0 0 0 4px var(--vino); }
.nivel input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 3px; }
.nivel b { font-size: 1.05rem; }
.nivel small { font-size: .88rem; color: #e2cbbb; line-height: 1.45; }
input[type=text] { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 2px solid rgba(247, 240, 228, .4); background: rgba(27, 18, 16, .35); color: var(--papel); font-size: 1.04rem; }
input::placeholder { color: #c2a998; }
input:focus { outline: none; border-color: var(--sol); box-shadow: 0 0 0 3px rgba(255, 192, 30, .3); }
input[aria-invalid='true'] { border-color: #ff9b8f; }
.error { color: #ffb4a8; font-size: .9rem; font-weight: 700; }
.ayuda { font-size: .86rem; color: #d9c2b2; }
.resumen-error { padding: 12px 14px; border-radius: 12px; background: rgba(255, 120, 100, .16); border: 1px solid rgba(255, 160, 140, .6); color: #ffd1c8; font-weight: 700; }
.envio-nota { font-size: .88rem; color: #dcc5b4; margin-top: -10px; }
.envio-nota b { color: var(--papel); }
.envio-ok { padding: 12px 14px; border-radius: 12px; background: rgba(37, 211, 102, .14); border: 1px solid rgba(37, 211, 102, .55); color: #c8f7da; font-size: .94rem; }
.envio-ok a { color: #fff; font-weight: 800; }
.envio-ok b { color: #fff; }
.envio-privacidad { font-size: .8rem; line-height: 1.45; color: #cfb8a7; margin-top: -14px; }
/* Cuántas personas */
.personas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.personas__b { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(247, 240, 228, .5); background: transparent; color: var(--papel); font-size: 1.6rem; font-weight: 800; line-height: 1; cursor: pointer; touch-action: manipulation; transition: background-color .15s, border-color .15s, transform .1s; }
.personas__b:hover:not(:disabled) { border-color: var(--sol); }
.personas__b:active:not(:disabled) { transform: scale(.92); background: rgba(255, 192, 30, .18); }
.personas__b:disabled { opacity: .35; cursor: default; }
.personas input { width: 74px; min-height: 54px; padding: 8px 4px; border-radius: 14px; border: 2px solid var(--sol); background: rgba(27, 18, 16, .35); color: var(--papel); font-family: var(--f-script); font-size: 1.6rem; text-align: center; -moz-appearance: textfield; }
.personas input::-webkit-outer-spin-button, .personas input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.personas__txt { font-weight: 700; color: #ecd7c6; font-size: .95rem; }
.total { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 192, 30, .1); border: 1.5px solid rgba(255, 192, 30, .55); }
.total__eti { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sol); }
.total__monto { font-family: var(--f-script); font-weight: 400; font-size: 2rem; line-height: 1.1; color: #fff; }
.total small { font-size: .86rem; color: #ecd7c6; }
.total--pend { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .5); color: #d4f8e2; font-weight: 700; }
/* Campo trampa para bots: fuera de la pantalla, nadie lo ve ni lo enfoca */
.trampa { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

.carnet-zona { position: relative; }
.carnet { position: relative; background: var(--papel); color: var(--tinta); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transform: rotate(-1.2deg); }
.carnet__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; background: var(--rojo); color: var(--papel); }
.carnet__tumbao { font-family: var(--f-script); font-size: 2.2rem; line-height: 1; transform: rotate(-4deg); }
.carnet__tipo { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: right; line-height: 1.2; }
.carnet__cuerpo { padding: 20px 22px 6px; position: relative; }
.carnet__eti { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); }
.carnet__sede { font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 2.6rem; line-height: .95; margin-top: 4px; color: var(--rojo); overflow-wrap: anywhere; }
.carnet__datos { margin: 16px 0 0; }
.carnet__datos div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 9px 0; border-top: 1.5px dashed rgba(27, 18, 16, .2); }
.carnet__datos dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-3); padding-top: 3px; }
.carnet__datos dd { margin: 0; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.carnet__pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 22px; border-top: 3px dotted rgba(27, 18, 16, .3); background: var(--papel-2); }
.carnet__cupo { font-size: .84rem; font-weight: 800; color: var(--rojo-osc); }
.carnet__cuenta { font-family: var(--f-script); color: var(--tinta-3); font-size: .9rem; white-space: nowrap; }
.carnet__sello { display: none; position: absolute; right: 18px; top: 86px; width: 120px; height: 120px; border-radius: 50%; border: 4px double var(--rojo); color: var(--rojo); place-items: center; text-align: center; font-family: var(--f-script); font-size: 1rem; line-height: 1.05; transform: rotate(-14deg); background: rgba(247, 240, 228, .6); pointer-events: none; }
.carnet--sellado .carnet__sello { display: grid; animation: sellar .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes sellar { from { transform: rotate(-14deg) scale(1.9); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: 1; } }
.carnet--latido { animation: latidoCarnet .6s ease; }
@keyframes latidoCarnet { 40% { transform: rotate(1deg) scale(1.02); } }
.carnet__msj { padding: 10px 22px 18px; background: var(--papel-2); }
.carnet__msj summary { cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--rojo-osc); min-height: 32px; display: flex; align-items: center; }
.carnet__msj pre { white-space: pre-wrap; font-family: var(--f-txt); font-size: .88rem; line-height: 1.5; margin: 8px 0 0; padding: 10px 12px; background: var(--papel); border-radius: 10px; overflow-wrap: anywhere; }

/* ---------- El básico ---------- */
.basico { padding: 84px 0 90px; background: var(--papel-2); overflow: hidden; }
.basico__grid { display: grid; gap: 34px; }
.basico__texto > p:not(.conteo) { margin-top: 18px; color: var(--tinta-2); max-width: 34rem; }
.basico__texto b { color: var(--rojo-osc); }
.basico__nota { font-size: .92rem; }
.controles { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.controles .btn .ic-pausa { display: none; }
.controles .btn[aria-pressed='true'] .ic-play { display: none; }
.controles .btn[aria-pressed='true'] .ic-pausa { display: inline; }
.tempo { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--papel); border: 2px solid var(--tinta); }
.tempo__b { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .9rem; cursor: pointer; }
.tempo__b[aria-pressed='true'] { background: var(--tinta); color: var(--papel); }
.sonido { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px dashed var(--tinta-3); background: transparent; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--tinta-2); }
.sonido .ic-on { display: none; }
.sonido[aria-pressed='true'] { border-style: solid; border-color: var(--rojo); color: var(--rojo); }
.sonido[aria-pressed='true'] .ic-on { display: inline; }
.sonido[aria-pressed='true'] .ic-off { display: none; }
.pista-zona { position: relative; display: grid; justify-items: center; }
.pista__numero { font-family: var(--f-script); font-size: 6.5rem; line-height: 1; color: var(--rojo); height: 1.1em; transition: color .15s; }
.pista__numero--pausa { color: var(--tinta-3); }
.pista__numero--golpe { animation: numGolpe .25s ease-out; }
@keyframes numGolpe { from { transform: scale(1.25) rotate(-6deg); } to { transform: none; } }
.pista { position: relative; width: min(330px, 78vw); aspect-ratio: 1; perspective: 900px; margin-top: -10px; }
.pista__piso, .pista .huella { transform-style: preserve-3d; }
.pista__piso { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--tinta); transform: rotateX(58deg) rotateZ(-8deg); box-shadow: 0 40px 50px rgba(27, 18, 16, .25); }
.pista__piso i { border-radius: 6px; background: #2c201c; transition: background-color .18s; }
.pista__piso i:nth-child(odd):nth-child(-n+4), .pista__piso i:nth-child(even):nth-child(n+5):nth-child(-n+8), .pista__piso i:nth-child(odd):nth-child(n+9):nth-child(-n+12), .pista__piso i:nth-child(even):nth-child(n+13) { background: #3a2a24; }
.pista__piso i.encendida { background: rgba(255, 192, 30, .5) !important; box-shadow: 0 0 18px rgba(255, 192, 30, .5); }
.pista__piso i.encendida--sol { background: var(--sol) !important; box-shadow: 0 0 22px rgba(255, 192, 30, .8); }
.huella { position: absolute; width: 17%; top: 31%; color: var(--papel); fill: currentColor; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); transition: transform .16s cubic-bezier(.3, .7, .3, 1), color .16s; transform: rotateX(58deg) rotateZ(-8deg) translate3d(0, 0, 2px); }
.huella--izq { left: 31%; }
.huella--der { left: 52%; }
.huella--izq use { transform: scaleX(-1); transform-origin: center; transform-box: fill-box; }
.huella.activo { color: var(--rojo-2); filter: drop-shadow(0 0 0 #fff) drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); }
.pasos-txt { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; width: 100%; max-width: 440px; font-size: .92rem; color: var(--tinta-2); }
.pasos-txt li { display: flex; gap: 8px; align-items: baseline; padding: 4px 8px; border-radius: 8px; transition: background-color .15s, color .15s; }
.pasos-txt b { font-family: var(--f-script); font-weight: 400; color: var(--rojo); min-width: 1.1ch; }
.pasos-txt li.ahora { background: var(--tinta); color: var(--papel); }
.pasos-txt li.ahora b { color: var(--sol); }
.pasos-txt__pausa { color: var(--tinta-3); }

/* ---------- Pausa ---------- */
.pausa { background: var(--tinta); }
.pausa__foto { position: relative; margin: 0; }
.pausa__foto img { width: 100%; height: clamp(260px, 52vw, 640px); object-fit: cover; }
.pausa__foto figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; color: var(--papel); font-size: .86rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.pausa__4 { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; border: 2px dashed var(--papel); font-family: var(--f-script); font-size: 1.6rem; text-shadow: none; background: rgba(27, 18, 16, .55); }

/* ---------- Para todos ---------- */
.todos { padding: 84px 0; }
.todos__grid { display: grid; gap: 36px; align-items: center; }
.todos__foto img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3.3; object-fit: cover; box-shadow: 10px 10px 0 var(--rojo); }
.todos__foto figcaption { margin-top: 12px; font-size: .82rem; color: var(--tinta-3); }
.cita { margin: 44px 0 0; padding: 22px 22px 20px; border-radius: 18px; background: var(--tinta); color: var(--papel); position: relative; }
.cita::before { content: '“'; position: absolute; top: -26px; left: 14px; font-family: var(--f-script); font-size: 5rem; line-height: 1; color: var(--rojo-2); }
.cita p { font-family: var(--f-script); font-size: 1.32rem; line-height: 1.3; }
.cita footer { margin-top: 12px; font-size: .82rem; color: #cdbba7; }
.razones { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.razones li { padding-left: 28px; position: relative; color: var(--tinta-2); }
.razones li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--rojo); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.razones b { color: var(--tinta); }

/* ---------- Profe ---------- */
.profe { padding: 80px 0; background: var(--rojo); color: var(--papel); position: relative; overflow: hidden; }
.profe::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -200px; border: 60px solid rgba(255, 255, 255, .06); }
.profe__grid { position: relative; display: grid; gap: 34px; align-items: center; }
.profe__eti { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sol); }
.profe__titulo { font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2.8rem, 12vw, 5rem); line-height: .88; margin-top: 10px; }
.profe__titulo span { display: block; font-family: var(--f-script); font-weight: 400; text-transform: none; color: var(--sol); font-size: .78em; line-height: 1.1; margin-top: .12em; transform: rotate(-3deg); transform-origin: 0 50%; }
.profe__texto > p:not(.profe__eti) { margin-top: 16px; color: #ffe3dc; max-width: 34rem; }
.profe__texto b { color: #fff; }
.profe__texto .btn { margin-top: 24px; }
.profe__foto { justify-self: center; width: min(460px, 100%); }
.profe__foto img { width: 100%; border-radius: 22px; background: #fff; transform: rotate(2deg); box-shadow: -12px 12px 0 var(--tinta); }
.profe__foto figcaption { margin-top: 16px; font-size: .82rem; color: #ffd6cd; text-align: center; }

/* ---------- Clases ---------- */
.clases { padding: 84px 0 70px; background: var(--tinta); color: var(--papel); }
.clases .titulo em { color: var(--sol); }
.clases .conteo { color: var(--crema-t); }
.clases .sec-cab__txt { color: #cdbba7; }
.tira { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--rojo) transparent; }
.tira__i { position: relative; flex: none; width: 78vw; max-width: 430px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: #2c201c; text-decoration: none; }
.tira__i--ancha { width: 88vw; max-width: 580px; }
.tira__i img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.tira__i:hover img { transform: scale(1.04); }
.tira__i span { position: absolute; left: 10px; bottom: 10px; right: 10px; display: inline-block; width: fit-content; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 8px; background: rgba(27, 18, 16, .78); color: var(--papel); font-size: .78rem; font-weight: 700; }
.tira__nav { display: flex; gap: 10px; margin-top: 16px; }
.tira__b { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(247, 240, 228, .5); background: transparent; color: var(--papel); display: grid; place-items: center; cursor: pointer; }
.tira__b:hover { border-color: var(--sol); color: var(--sol); }
.tira__b[data-dir='-1'] .ic { transform: scaleX(-1); }

/* ---------- Preguntas ---------- */
.preguntas { padding: 84px 0; }
.preguntas__grid { display: grid; gap: 30px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 2px solid var(--tinta); border-radius: 16px; background: #fffaf2; overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 800; font-size: 1.08rem; cursor: pointer; list-style: none; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--rojo); width: 22px; height: 22px; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details[open] summary { background: var(--sol); }
.faq details p { padding: 14px 18px 18px; color: var(--tinta-2); }

/* ---------- Pie ---------- */
.pie { padding: 70px 0 96px; background: var(--rojo); color: var(--papel); border-top: 4px solid var(--tinta); }
.pie__lema { font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2.4rem, 10vw, 5.4rem); line-height: .9; }
.pie__lema em { font-family: var(--f-script); font-weight: 400; font-style: normal; text-transform: none; color: var(--sol); display: inline-block; transform: rotate(-3deg); }
.pie__grid { display: grid; gap: 28px; margin-top: 44px; padding-top: 30px; border-top: 2px solid rgba(255, 255, 255, .25); }
.pie__marca .marca__tumbao { color: var(--papel); font-size: 2.6rem; }
.pie__sub { display: block; margin-top: 12px; font-size: .9rem; color: #ffd6cd; max-width: 22rem; }
.contactos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contactos li { display: flex; gap: 12px; align-items: flex-start; }
.contactos .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--sol); }
.contactos span { display: grid; }
.contactos b { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd6cd; }
.contactos a { font-weight: 800; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pie__legal { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, .25); font-size: .84rem; color: #ffe3dc; }
.pie__8 { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .6); font-family: var(--f-script); }

.wa-flota { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); visibility: hidden; opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.wa-flota .ic { width: 30px; height: 30px; }
.wa-flota--ver { visibility: visible; opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .heroe__in { padding-top: 26px; }
  .sello { width: 150px; height: 150px; right: 6px; bottom: -44px; }
  .sello span { font-size: 1.1rem; }
  .sedes__lista { grid-template-columns: 1fr 1fr; }
  .niveles { grid-template-columns: 1fr 1fr; }
  .tira__i { width: 52vw; }
  .tira__i--ancha { width: 70vw; }
  .contactos { grid-template-columns: 1fr 1fr; }
}

/* ---------- Computadora ---------- */
@media (min-width: 960px) {
  :root { --cab-alto: 74px; }
  .cab__menu { display: none; }
  .nav { display: flex; gap: 2px; }
  .nav a { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 11px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background-color .2s; }
  .nav a:hover { background: rgba(200, 20, 31, .1); }
  .cab__cta { display: inline-flex; margin-left: 10px; }
  .marca__tumbao { font-size: 2.1rem; }

  .heroe { min-height: max(720px, 100vh); }
  .heroe__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px 56px; padding: 40px 32px 90px; min-height: calc(max(720px, 100vh) - var(--cab-alto)); }
  .heroe__video { order: 0; }
  .heroe__video::before { content: ''; position: absolute; left: 50%; top: 46%; width: 128%; aspect-ratio: 1.55; border-radius: 50%; background: var(--rojo); transform: translate(-50%, -50%) rotate(-10deg); z-index: -1; box-shadow: inset 0 -28px 0 var(--rojo-osc); }
  .pantalla { aspect-ratio: 4 / 5; transform: rotate(2.5deg); box-shadow: 0 30px 60px rgba(58, 10, 13, .35), 14px 14px 0 var(--tinta); }
  .heroe__video figcaption { padding-right: 0; text-align: right; margin-top: 16px; }
  .sello { right: auto; left: -60px; bottom: 40px; width: 168px; height: 168px; }
  .sello span { font-size: 1.22rem; }
  .heroe__titulo { font-size: clamp(5rem, 8.2vw, 8.4rem); }

  .igual { padding: 120px 0 110px; }
  .igual__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; }
  .igual__foto img { aspect-ratio: 16 / 9.4; }

  .sedes { padding: 120px 0; }
  .sedes__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px; align-items: start; }
  .mapa { position: sticky; top: calc(var(--cab-alto) + 24px); }
  .sedes__lista { grid-template-columns: 1fr; }

  .matricula { padding: 120px 0; }
  .matricula__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 70px; align-items: start; }
  .carnet-zona { position: sticky; top: calc(var(--cab-alto) + 30px); }
  .carnet { max-width: 460px; margin-left: auto; }

  .basico { padding: 120px 0; }
  .basico__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 60px; }
  .pista__numero { font-size: 8rem; }
  .pista { width: 380px; }

  .todos { padding: 120px 0; }
  .todos__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; }

  .profe { padding: 110px 0; }
  .profe__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 70px; }

  .clases { padding: 120px 0 100px; }
  .sec-cab--fila { max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .tira { margin: 0; padding: 4px 0 14px; }
  .tira__i { width: 420px; }
  .tira__i--ancha { width: 580px; }

  .preguntas { padding: 120px 0; }
  .preguntas__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }

  .pie__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .pie { padding-bottom: 40px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .nav a { padding: 10px 7px; font-size: .9rem; }
  .marca__sub { display: none; }
  .preguntas .titulo, .basico .titulo { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
}
@media (min-width: 1280px) {
  .heroe__in { padding-left: 48px; padding-right: 48px; }
}

/* ---------- Logo real (calco de Codex del rótulo de los dos tambores) ---------- */
.marca__logo { height: 50px; width: auto; display: block; }
@media (min-width: 960px) { .marca__logo { height: 58px; } }
.nav__alumnos { border: 2px solid var(--tinta); }
.cab--abierta .nav a.nav__alumnos { border: 0; color: var(--rojo); }

/* ---------- Avisos, ofertas y próximos eventos ---------- */
.avisos { padding: 64px 0 70px; background: var(--sol); border-bottom: 3px solid var(--tinta); position: relative; overflow: hidden; }
.avisos::before { content: ''; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(200, 20, 31, .09); }
.avisos__cab { position: relative; margin-bottom: 28px; }
.avisos .sobre { color: var(--tinta); }
.avisos .titulo { margin-top: 12px; }
.avisos .titulo em { color: var(--rojo-osc); }
.avisos__lista { position: relative; display: grid; gap: 18px; }
.aviso { display: grid; background: var(--papel); border: 3px solid var(--tinta); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--tinta); }
.aviso:nth-child(odd) { transform: rotate(-.6deg); }
.aviso:nth-child(even) { transform: rotate(.5deg); }
.aviso__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--tinta); }
.aviso__cuerpo { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.aviso__tipo { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--rojo); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.aviso--evento .aviso__tipo { background: var(--tinta); }
.aviso--oferta .aviso__tipo { background: var(--rojo-osc); }
.aviso__titulo { font-family: var(--f-disp); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.6rem, 6.5vw, 2.2rem); line-height: .98; overflow-wrap: anywhere; }
.aviso__texto { color: var(--tinta-2); white-space: pre-line; overflow-wrap: anywhere; }
.aviso__hasta { font-family: var(--f-script); color: var(--rojo); font-size: 1.05rem; margin-top: 2px; }
@media (min-width: 640px) {
  .avisos__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aviso--sin-foto:only-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .avisos { padding: 96px 0; }
  .avisos__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}

/* ---------- Sedes: tarjeta con enlace a su página ---------- */
.sede-tarjeta { display: grid; gap: 6px; }
.sede__dato--pend { color: var(--sol); font-weight: 700; }
.sede__pagina { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px 0 56px; font-size: .86rem; font-weight: 700; color: #e9d9c5; text-underline-offset: 3px; }
.sede__pagina:hover { color: var(--sol); }
@media (max-width: 639px) { .sede__pagina { padding-left: 52px; } }

/* ---------- Matrícula: grupos de la sede ---------- */
.grupos-elegir { display: grid; gap: 10px; }
.grupos-elegir:empty { display: none; }
.grupo-op { position: relative; cursor: pointer; }
.grupo-op input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.grupo-op > span { display: grid; gap: 2px; padding: 13px 16px 13px 50px; border-radius: 14px; border: 2px solid rgba(247, 240, 228, .3); position: relative; transition: border-color .15s, background-color .15s; }
.grupo-op > span::before { content: ''; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--papel); }
.grupo-op input:checked + span { border-color: var(--sol); background: rgba(255, 192, 30, .1); }
.grupo-op input:checked + span::before { background: var(--sol); border-color: var(--sol); box-shadow: inset 0 0 0 4px var(--vino); }
.grupo-op input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 3px; }
.grupo-op b { font-size: 1.04rem; }
.grupo-op small { font-size: .9rem; color: #f0dccd; }
.grupo-op__estado { font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9ff0bd; }
.grupo-op--lleno .grupo-op__estado { color: #ffb4a8; }
.grupo-op--pocos .grupo-op__estado { color: var(--sol); }
.grupo-op__precio { font-size: .9rem; font-weight: 800; color: #fff; }
.grupo-op__precio--pend { font-weight: 700; color: #bfe9cf; }
.grupo-op--otro > span { border-style: dashed; }
.por-confirmar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .5); color: #d4f8e2; font-weight: 700; }
.por-confirmar .ic { color: var(--wa); width: 22px; height: 22px; }
.carnet--espera .carnet__cupo { color: #fff; background: var(--rojo); padding: 3px 10px; border-radius: 999px; }

/* ---------- Pie: alumnos y privacidad ---------- */
.pie__alumnos { margin-top: 30px; }
.pie__alumnos a { font-weight: 800; color: #fff; text-underline-offset: 3px; }
.pie__privacidad { margin-top: 14px; font-size: .84rem; color: #ffe3dc; max-width: 46rem; }

.sede__zona { grid-column: 2; font-size: .82rem; color: #e9d9c5; font-weight: 600; }
.sede { grid-template-areas: 'n nombre ir' 'n zona ir' 'n dato ir'; }
.sede__zona { grid-area: zona; }
@media (max-width: 639px) { .sede { grid-template-areas: 'n nombre' 'n zona' 'n dato' 'n ir'; } }
.sedes__cargando { padding: 16px; border-radius: 14px; border: 1.5px dashed rgba(247, 240, 228, .3); color: #e9d9c5; }
.sedes__cargando a { color: var(--sol); font-weight: 800; }
.mapa__sede:focus-visible { outline: none; }
.mapa__sede:focus-visible .mapa__halo { transform: scale(1.5); fill: rgba(255, 192, 30, .45); }

/* ---------- Página de una sede ---------- */
.sede-heroe__zona { margin-top: 14px; font-weight: 700; color: var(--rojo-osc); }
.sede-heroe__zona:empty { display: none; }
.horarios__cargando { margin-top: 26px; color: #cdbba7; }
.otras-sedes__titulo { margin-top: 44px; }
.sede-heroe { position: relative; padding: calc(var(--cab-alto) + 30px) 0 50px; background: radial-gradient(60% 50% at 100% 0%, rgba(200, 20, 31, .14), transparent 70%), var(--papel); overflow: hidden; }
.sede-heroe__grid { display: grid; gap: 30px; align-items: center; }
.sede-heroe__titulo { margin-top: 14px; font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .86; font-size: clamp(3rem, 15vw, 7rem); letter-spacing: -.015em; }
.sede-heroe__titulo span { display: block; font-family: var(--f-script); font-weight: 400; text-transform: none; color: var(--rojo); font-size: .62em; line-height: 1.1; transform: rotate(-4deg); transform-origin: 0 50%; }
.sede-heroe__bajada { margin-top: 20px; font-size: 1.1rem; color: var(--tinta-2); max-width: 34rem; }
.sede-heroe__pie { margin-top: 24px; font-size: .82rem; color: var(--tinta-3); }
.sede-heroe__foto img { width: 100%; border-radius: 22px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 10px 10px 0 var(--rojo); transform: rotate(1.5deg); }
.horarios { padding: 64px 0 74px; background: var(--tinta); color: var(--papel); }
.horarios .titulo em { color: var(--sol); }
.horarios .conteo { color: var(--crema-t); }
.horarios__lista { display: grid; gap: 14px; margin-top: 26px; }
.horario { display: grid; gap: 4px; text-align: left; padding: 18px 18px 16px; border-radius: 18px; border: 2px solid rgba(247, 240, 228, .2); background: rgba(247, 240, 228, .04); color: var(--papel); cursor: pointer; transition: border-color .2s, transform .2s; }
.horario:hover { border-color: var(--sol); transform: translateY(-2px); }
.horario__nivel { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sol); }
.horario__dias { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.horario__hora { font-family: var(--f-script); font-size: 1.4rem; color: #ffd6cd; }
.horario__inicio { font-size: .92rem; color: #d9c9b6; }
.horario__estado { justify-self: start; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(37, 211, 102, .18); color: #9ff0bd; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.horario--lleno .horario__estado { background: rgba(226, 35, 45, .3); color: #ffd1c8; }
.horario--pocos .horario__estado { background: rgba(255, 192, 30, .2); color: var(--sol); }
.horario__precio { margin-top: 6px; font-weight: 800; font-size: 1.02rem; color: #fff; }
.horario__precio--pend { font-weight: 700; font-size: .92rem; color: #bfe9cf; }
.horario__mens { font-size: .9rem; color: #d9c9b6; }
.horario__ir { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; font-size: .92rem; color: var(--sol); }
.horarios__vacio { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 18px; border-radius: 16px; background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .5); font-weight: 700; font-size: 1.08rem; }
.horarios__vacio .ic { color: var(--wa); width: 26px; height: 26px; }
.salon { margin: 0; }
.salon__video { display: block; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; height: auto; margin-top: 18px; border-radius: 18px; border: 2px solid rgba(247, 240, 228, .2); background: #000; object-fit: cover; }
.salon__pie { margin-top: 10px; font-size: .9rem; color: rgba(247, 240, 228, .7); }
.otras-sedes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.otras-sedes a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(247, 240, 228, .35); font-weight: 700; text-decoration: none; }
.otras-sedes a:hover { border-color: var(--sol); color: var(--sol); }
@media (min-width: 640px) { .horarios__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .sede-heroe { padding: calc(var(--cab-alto) + 60px) 0 90px; }
  .sede-heroe__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; }
  .horarios { padding: 100px 0; }
  .horarios__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Zona de alumnos ---------- */
.cab--simple .marca { margin-right: auto; }
.cab__volver { min-height: 42px; padding: .4em 1em; font-size: .92rem; }
.alumnos { padding: calc(var(--cab-alto) + 34px) 0 70px; min-height: 100vh; background: radial-gradient(60% 40% at 100% 0%, rgba(200, 20, 31, .13), transparent 70%), var(--papel); }
.alumnos .titulo { margin-top: 12px; }
.alumnos__txt { margin-top: 18px; color: var(--tinta-2); max-width: 32rem; }
.alumnos__form { margin-top: 28px; max-width: 560px; display: grid; gap: 10px; }
.alumnos__form label { font-weight: 800; }
.alumnos__fila { display: grid; gap: 10px; }
.alumnos__form input { width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--tinta); background: #fffaf2; color: var(--tinta); font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.alumnos__form input::placeholder { color: #a8968a; text-transform: none; letter-spacing: 0; font-weight: 500; }
.alumnos__form input:focus { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(200, 20, 31, .2); }
.alumnos__msj { padding: 12px 14px; border-radius: 12px; background: #ffe1db; border: 1px solid #f19b8d; color: #7a1010; font-weight: 700; }
.alumnos__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.alumnos__cab .sobre { color: var(--rojo-osc); }
.alumnos__nota { margin-top: 14px; color: var(--tinta-2); font-size: .94rem; }
.alumnos__vacio { margin-top: 24px; padding: 18px; border-radius: 16px; border: 2px dashed var(--tinta-3); color: var(--tinta-2); }
.videos { margin-top: 26px; display: grid; gap: 20px; }
.video { background: #fffaf2; border: 2px solid var(--tinta); border-radius: 18px; overflow: hidden; box-shadow: 6px 6px 0 var(--rojo); }
.video__pantalla { position: relative; aspect-ratio: 16 / 9; background: var(--tinta); display: grid; place-items: center; }
.video__pantalla img, .video__pantalla video, .video__pantalla iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__pantalla video { object-fit: contain; background: #000; }
.video__pantalla img { opacity: .75; }
.video__play { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--rojo); color: #fff; font-weight: 800; font-size: 1.02rem; cursor: pointer; box-shadow: 0 4px 0 var(--rojo-osc); }
.video__play:disabled { opacity: .7; cursor: wait; }
.video__error { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 10px; border-radius: 10px; background: #ffe1db; color: #7a1010; font-weight: 700; font-size: .9rem; }
.video__datos { padding: 14px 16px 16px; }
.video__titulo { font-weight: 800; font-size: 1.15rem; line-height: 1.25; overflow-wrap: anywhere; }
.video__fecha { margin-top: 4px; color: var(--tinta-2); font-size: .92rem; }
.video__tipo { margin-top: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rojo-osc); }
@media (min-width: 640px) {
  .alumnos__fila { grid-template-columns: 1fr auto; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ritmos__pista { animation: none; }
  .sello svg { animation: none; }
}
