:root{--font-literata:"Literata";--font-figtree:"Figtree"}
:root {
  --bg: #f4f8f9;
  --surface: #ffffff;
  --ink: #0b3a5c;
  --muted: #4d6474;
  --line: #d6e3e8;
  --accent: #01738d;
  --accent-ink: #ffffff;
  --accent-soft: #dcf0f2;
  --sand: #e6f2f4;
  --clay: #13808c;
  --clay-soft: #dcf3f3;
  --ok: #217a4b;
  --ok-soft: #dcefe2;
  --warn: #9a5a0e;
  --warn-soft: #f8ead3;
  --danger: #a33a2c;
  --shadow: 0 1px 2px rgb(5 40 64 / 0.06), 0 8px 24px -12px rgb(5 40 64 / 0.2);
  --radius: 16px;
  --display: var(--font-literata), Georgia, serif;
  --body: var(--font-figtree), system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo-fondo: transparent;
  --logo-aire: 0px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1822;
    --surface: #10232e;
    --ink: #e6f1f5;
    --muted: #9cb3bf;
    --line: #1f3746;
    --accent: #3fc0c9;
    --accent-ink: #04202b;
    --accent-soft: #12323d;
    --sand: #0f202a;
    --clay: #5fd0d6;
    --clay-soft: #123540;
    --ok: #6fd39c;
    --ok-soft: #173326;
    --warn: #f0b060;
    --warn-soft: #3a2c18;
    --danger: #f08a7c;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -12px rgb(0 0 0 / 0.6);
    --logo-fondo: #f4f8f9;
    --logo-aire: 4px;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1822;
  --surface: #10232e;
  --ink: #e6f1f5;
  --muted: #9cb3bf;
  --line: #1f3746;
  --accent: #3fc0c9;
  --accent-ink: #04202b;
  --accent-soft: #12323d;
  --sand: #0f202a;
  --clay: #5fd0d6;
  --clay-soft: #123540;
  --ok: #6fd39c;
  --ok-soft: #173326;
  --warn: #f0b060;
  --warn-soft: #3a2c18;
  --danger: #f08a7c;
  color-scheme: dark;
  --logo-fondo: #f4f8f9;
  --logo-aire: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.muted { color: var(--muted); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Web pública ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-family: var(--body); font-size: 0.72rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.2rem); max-width: 15ch; letter-spacing: -0.01em; }
.hero .lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 0.92rem; color: var(--muted); }
.hero .facts span::before { content: "\25CF"; color: var(--accent); margin-right: 8px; font-size: 0.6rem; vertical-align: middle; }
.ondas { position: absolute; inset: auto -10% -20px -10%; height: 220px; pointer-events: none; opacity: 0.55; }
.ondas path { fill: none; stroke: var(--accent); stroke-width: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .ondas g { animation: temblor 6s ease-in-out infinite; transform-origin: center; }
  .ondas g:nth-child(2) { animation-duration: 7.5s; animation-delay: -2s; }
  .ondas g:nth-child(3) { animation-duration: 9s; animation-delay: -4s; }
}
@keyframes temblor { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-6px) scaleY(1.12); } }

.section { padding: 84px 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 40px; display: grid; gap: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.prose { display: grid; gap: 16px; font-size: 1.05rem; }
.quote { font-family: var(--display); font-size: 1.45rem; line-height: 1.35; padding: 28px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); }
.quote small { display: block; margin-top: 12px; font-family: var(--body); font-size: 0.9rem; color: var(--muted); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.icono { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icono svg { width: 24px; height: 24px; }

.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: paso; }
.paso { counter-increment: paso; display: grid; gap: 8px; }
.paso::before { content: counter(paso); font-family: var(--display); font-size: 2.4rem; color: var(--clay); line-height: 1; }
.paso h3 { font-size: 1.15rem; }
.paso p { color: var(--muted); font-size: 0.98rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.95rem; }

/* Clases disponibles */
.en-vivo { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.en-vivo i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: latido 2s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.clases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.clase { display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s ease; }
.clase.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: var(--shadow); } }
.clase-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.tag.prueba { background: var(--clay-soft); color: var(--clay); }
.clase h3 { margin: 0; font-size: 1.3rem; }
.clase .cuando { font-weight: 600; }
.clase .detalle { color: var(--muted); font-size: 0.95rem; }
.precio { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.plazas { display: grid; gap: 6px; }
.barra { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.barra > div { height: 100%; background: var(--accent); border-radius: 99px; transition: width 0.6s ease; }
.barra.casi > div { background: var(--clay); }
.plazas-txt { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.plazas-txt b { color: var(--ink); }
.clase .btn { margin-top: auto; }
.vacio { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Formulario de reserva */
.modal-fondo { position: fixed; inset: 0; z-index: 50; background: rgb(15 22 20 / 0.5); display: grid; place-items: end center; }
@media (min-width: 640px) { .modal-fondo { place-items: center; } }
.modal { width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 26px 22px 28px; animation: subir 0.25s ease; }
@media (min-width: 640px) { .modal { border-radius: 22px; } }
@keyframes subir { from { transform: translateY(30px); opacity: 0; } }
.modal h3 { font-size: 1.4rem; }
.modal .resumen { margin: 8px 0 20px; color: var(--muted); font-size: 0.95rem; }
.form { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: 0.9rem; font-weight: 600; }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 16px;
}
.campo textarea { min-height: 84px; resize: vertical; }
.campo .ayuda { font-size: 0.82rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.error { padding: 10px 14px; border-radius: 10px; background: var(--clay-soft); color: var(--danger); font-size: 0.92rem; }
.exito { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 10px 0; }
.exito .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 1.6rem; }

details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "\2013"; }
details.faq p { margin-top: 10px; color: var(--muted); }

.footer { padding: 48px 0 60px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.nota-legal { font-size: 0.82rem; margin-top: 8px; max-width: 60ch; }

.demo-banner { background: var(--warn-soft); color: var(--warn); font-size: 0.85rem; text-align: center; padding: 8px 16px; }
.demo-banner a { color: inherit; font-weight: 600; }

/* ---------- Panel (app de Claudio) ---------- */
.app { min-height: 100dvh; max-width: 560px; margin: 0 auto; padding: 0 16px calc(100px + env(safe-area-inset-bottom)); }
.app-top { position: sticky; top: 0; z-index: 10; background: var(--bg); padding: calc(14px + env(safe-area-inset-top)) 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-top h1 { font-size: 1.6rem; }
.app-top .atras { text-decoration: none; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; text-decoration: none; color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.tabs { display: flex; background: var(--sand); border-radius: 12px; padding: 4px; margin: 4px 0 16px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 0.92rem; cursor: pointer; color: var(--muted); }
.tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.lista { display: grid; gap: 12px; }
.p-clase { display: grid; gap: 10px; text-decoration: none; color: inherit; padding: 18px; }
.p-clase .fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-clase h2 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; }
.badge { font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge.pend { background: var(--warn-soft); color: var(--warn); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.off { background: var(--sand); color: var(--muted); }
.badge.cancel { background: var(--clay-soft); color: var(--danger); }
.fab { position: fixed; right: max(20px, calc(50% - 260px)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 15; box-shadow: 0 10px 30px -8px rgb(13 117 99 / 0.6); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.78rem; color: var(--muted); }
.persona { display: grid; gap: 10px; padding: 16px; }
.persona.nueva { animation: flash 2s ease; }
.persona .nombre { font-weight: 700; font-size: 1.05rem; }
.persona .contacto { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.9rem; }
.persona .contacto a { text-decoration: none; }
.persona .coment { font-size: 0.9rem; color: var(--muted); background: var(--bg); border-radius: 10px; padding: 8px 12px; }
.persona .acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.toast { position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow); animation: bajar 0.3s ease; max-width: calc(100% - 32px); }
@keyframes bajar { from { transform: translate(-50%, -20px); opacity: 0; } }
.info-clase { display: grid; gap: 6px; padding: 18px; margin-bottom: 14px; }
.info-clase h2 { font-size: 1.3rem; }
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login .card { width: 100%; max-width: 380px; display: grid; gap: 18px; }
.fila-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.switch input { width: 22px; height: 22px; accent-color: var(--accent); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { text-align: center; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.peligro { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.btn svg { width: 20px; height: 20px; }
section[id] { scroll-margin-top: 64px; }
.bloque { display: grid; gap: 12px; padding: 18px; margin-bottom: 14px; }
.bloque-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.apartado { font-family: var(--body); font-size: 1rem; font-weight: 700; margin: 0; }
h3.apartado:not(.bloque h3) { margin: 20px 0 10px; }
.enlace { display: flex; gap: 8px; align-items: center; }
.enlace input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 0.92rem; color: var(--accent); font-weight: 600; }
.fila-campos > * { min-width: 0; } .campo input { min-width: 0; }


/* ---------- Diseño con fotos y animaciones ---------- */
.barra-progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: linear-gradient(90deg, var(--accent), var(--clay)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.nav { transition: box-shadow 0.3s ease, background 0.3s ease; }
.nav.bajado { box-shadow: 0 10px 30px -18px rgb(5 40 64 / 0.3); }

.recorte { overflow: hidden; border-radius: 28px; position: relative; box-shadow: var(--shadow); background: var(--sand); }
.recorte img, .recorte video { display: block; width: 100%; height: 118%; margin-top: -9%; object-fit: cover; will-change: transform; }
.recorte.alto { aspect-ratio: 4 / 5; max-height: 600px; }
.recorte.medio { aspect-ratio: 4 / 3; margin-top: 28px; }
.recorte.medio img { object-position: 45% center; }
.recorte.apaisado { aspect-ratio: 5 / 4; }
.recorte.apaisado img { object-position: 75% 0%; }
.recorte.ancho { aspect-ratio: 3 / 2; }
.recorte.ancho img { object-position: right center; }

.hero { padding: 64px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.titular { font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.04; max-width: 14ch; letter-spacing: -0.02em; text-wrap: balance; }
.titular span, .titular em { display: inline-block; }
.titular em { font-style: italic; color: var(--accent); }
.hero .lede { margin-top: 24px; }
.hero-foto { margin: 0; position: relative; }
.hero-foto .recorte { aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; }
.hero-foto img, .hero-foto video { object-position: 50% 30%; }
.sello { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.sello-abajo { left: -20px; bottom: 32px; }
.sello-arriba { right: -16px; top: 22%; border-radius: 18px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 18px; max-width: 170px; font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.sello-arriba b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--clay); }
.punto-vivo { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); animation: latido 2s infinite; }
.btn-flecha span { transition: transform 0.25s ease; }
.btn-flecha:hover span { transform: translateX(4px); }

@media (prefers-reduced-motion: no-preference) {
  .entra { opacity: 0; animation: entrar 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
  .entra-foto .recorte { animation: descubrir 1.4s cubic-bezier(0.6, 0, 0.2, 1) both 0.15s; }
  .entra-foto .recorte img, .entra-foto .recorte video { animation: acercar 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s; }
  .entra-foto .sello { opacity: 0; animation: entrar 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .entra-foto .sello-abajo { animation-delay: 0.9s; }
  .entra-foto .sello-arriba { animation-delay: 1.1s; }
  .sello-arriba { animation: entrar 0.8s 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards, flotar 6s 2s ease-in-out infinite !important; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes descubrir { from { clip-path: inset(100% 0 0 0 round 200px 200px 28px 28px); } to { clip-path: inset(0 0 0 0 round 200px 200px 28px 28px); } }
@keyframes acercar { from { scale: 1.18; } to { scale: 1; } }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Aparición al hacer scroll (solo si el navegador puede animar) */
.con-animacion [data-revela] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), clip-path 1.2s cubic-bezier(0.6, 0, 0.2, 1); }
.con-animacion [data-revela="foto"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round 28px); }
.con-animacion [data-revela="zoom"] { transform: scale(0.94); }
.con-animacion [data-revela].visto { opacity: 1; transform: none; }
.con-animacion [data-revela="foto"].visto { clip-path: inset(0 0 0 0 round 28px); }

/* Cinta en movimiento */
.cinta { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 18px; }
.cinta-pista { display: flex; width: max-content; animation: deslizar 40s linear infinite; }
.cinta-pista > span { display: flex; }
.cinta-item { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; padding-inline: 28px; color: var(--ink); display: inline-flex; align-items: center; gap: 28px; }
.cinta-item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); margin-left: 28px; }
@keyframes deslizar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cinta-pista { animation: none; } }

.h-seccion { font-size: clamp(1.9rem, 4.2vw, 2.8rem); text-wrap: balance; }
.two-col.centrado { align-items: center; }
.foto-marco { margin: 0; position: relative; }
.foto-marco .sello-abajo { left: auto; right: -14px; bottom: 28px; }

/* Beneficios: columna fija a la izquierda, tarjetas a la derecha */
.beneficios { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.beneficios-fijo { position: sticky; top: 96px; display: grid; gap: 12px; }
.beneficios-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.beneficios-lista .card:nth-child(even) { margin-top: 36px; }
.card-viva { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, opacity 0.9s, border-color 0.3s; }
.card-viva:hover { transform: translateY(-6px) !important; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 20px 40px -24px rgb(5 40 64 / 0.4); }
.card-viva .icono { transition: transform 0.35s ease; }
.card-viva:hover .icono { transform: rotate(-8deg) scale(1.08); }

/* Banda a pantalla completa con parallax */
.banda { position: relative; overflow: hidden; min-height: 70vh; display: grid; align-items: center; isolation: isolate; }
.banda-fondo { position: absolute; inset: -20% 0; width: 100%; height: 140%; object-fit: cover; object-position: 70% center; z-index: -2; will-change: transform; }
.banda::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(5 40 64 / 0.15), rgb(5 40 64 / 0.62)); }
.banda-texto p { font-family: var(--display); color: #fffdf8; font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.15; max-width: 22ch; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }

/* Pasos unidos por una línea */
.pasos-linea { position: relative; }
.pasos-linea .paso { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Cierre */
.cierre { padding: 24px 0 88px; }
.cierre-caja { background: var(--accent); color: var(--accent-ink); border-radius: 32px; padding-block: 56px; text-align: center; display: grid; justify-items: center; gap: 14px; position: relative; overflow: hidden; }
.cierre-caja h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); color: inherit; }
.cierre-caja p { opacity: 0.85; font-size: 1.1rem; }
.btn-claro { background: var(--accent-ink); color: var(--accent); margin-top: 8px; }

@media (max-width: 860px) {
  .hero-grid, .beneficios { grid-template-columns: 1fr; gap: 40px; }
  .hero-foto .recorte { aspect-ratio: 4 / 3.4; border-radius: 160px 160px 24px 24px; }
  .sello-abajo { left: 12px; bottom: 14px; }
  .sello-arriba { right: 12px; top: 14px; }
  .foto-marco .sello-abajo { right: 12px; }
  .beneficios-fijo { position: static; }
  .banda { min-height: 52vh; }
}
@media (max-width: 560px) {
  .beneficios-lista { grid-template-columns: 1fr; }
  .beneficios-lista .card:nth-child(even) { margin-top: 0; }
  .cierre-caja { border-radius: 24px; padding-inline: 20px; }
}

/* Logo en la cabecera: símbolo a color y el nombre como máscara, para que siga el color del tema */
.brand-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo img { width: 46px; height: auto; display: block; border-radius: 50%; background: var(--logo-fondo); padding: var(--logo-aire); box-sizing: content-box; }
.brand-nombre { display: grid; gap: 3px; }
.brand-nombre b { display: block; width: 104px; aspect-ratio: 440 / 90; background: var(--ink); -webkit-mask: left center / contain no-repeat; mask: left center / contain no-repeat; font-size: 0; }
.brand-nombre small { font-size: 0.68rem; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 420px) { .brand-nombre small { display: none; } }

/* Formularios de inscripción */
.form-reserva { gap: 22px; }
.form-reserva fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.form-reserva legend { padding: 0; margin-bottom: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.form-reserva .fila-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-reserva .fila-campos { grid-template-columns: 1fr; } }
.campo .etiqueta { font-size: 0.9rem; font-weight: 600; }
.campo [aria-invalid="true"], .opciones[aria-invalid="true"] .opcion span { border-color: var(--danger) !important; }
.campo input:focus-visible, .campo textarea:focus-visible, .campo select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.campo-error { font-size: 0.84rem; color: var(--danger); font-weight: 500; }
.campo-error::before { content: "! "; font-weight: 700; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { position: relative; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 0.92rem; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.opcion:hover span { border-color: var(--accent); }
.opcion input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opcion input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.clase-elegida, .exito-resumen { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.clase-elegida b, .exito-resumen b { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.clase-elegida span, .exito-resumen span { font-size: 0.92rem; color: var(--muted); }
.exito-resumen { text-align: left; width: 100%; }
.modal { max-width: 560px; }

.apuntate { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.apuntate-texto { display: grid; gap: 14px; position: sticky; top: 96px; }
.apuntate-texto p { color: var(--muted); font-size: 1.05rem; }
.apuntate-lista { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.apuntate-lista li { display: flex; gap: 10px; align-items: flex-start; }
.apuntate-lista li::before { content: "\2713"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; margin-top: 2px; }
.tarjeta-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .apuntate { grid-template-columns: 1fr; gap: 28px; } .apuntate-texto { position: static; } }
@media (max-width: 560px) { .tarjeta-form { padding: 20px 16px; border-radius: 18px; } }
.coment { white-space: pre-line; }

/* Enlace bajo las clases hacia el formulario de aviso */
.otro-horario { margin: 28px 0 0; text-align: center; color: var(--muted); }
.otro-horario a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* App: interesados */
.aviso-interesados { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; text-decoration: none; color: inherit; }
.aviso-interesados b { font-family: var(--display); font-size: 1.05rem; }
.aviso-interesados .flecha { color: var(--accent); font-size: 1.4rem; line-height: 1; }
.solicitud .motivo { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.solicitud .datos { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.85rem; color: var(--muted); }

/* Han confiado en Claudio */
.confian { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 860px; }
.cliente { margin: 0; display: grid; gap: 14px; }
.cliente-foto { overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow); }
.cliente-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.cliente:hover .cliente-foto img { transform: scale(1.04); }
.cliente figcaption { display: grid; gap: 2px; }
.cliente figcaption b { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.cliente figcaption span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 560px) { .confian { grid-template-columns: 1fr; gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .cliente-foto img { transition: none; } }

/* Programa de 8 semanas */
.programa { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.semana { display: grid; align-content: start; gap: 10px; padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; transition: border-color 0.3s, box-shadow 0.3s; }
.semana:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.semana-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.semana-icono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background 0.3s, color 0.3s, transform 0.3s; }
.semana-icono svg { width: 26px; height: 26px; }
.semana:hover .semana-icono { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg); }
.semana-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.semana h3 { font-size: 1.12rem; line-height: 1.25; }
.semana p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.semana::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); opacity: 0.55; }
.semana:nth-child(1) { --paso: 0; } .semana:nth-child(2) { --paso: 1; } .semana:nth-child(3) { --paso: 2; } .semana:nth-child(4) { --paso: 3; }
.semana:nth-child(5) { --paso: 4; } .semana:nth-child(6) { --paso: 5; } .semana:nth-child(7) { --paso: 6; } .semana:nth-child(8) { --paso: 7.5; }
.programa-pie { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 32px; color: var(--muted); }
.programa-pie b { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-right: 6px; vertical-align: -2px; }
@media (max-width: 960px) { .programa { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .programa { grid-template-columns: 1fr; } .programa-pie { justify-content: flex-start; flex-direction: column; } }
/* Aparecen una a una: la tarjeta sube y crece, y después el icono hace un pequeño rebote. */
.con-animacion [data-revela="semana"] { opacity: 0; transform: translateY(40px) scale(0.92); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s; }
.con-animacion [data-revela="semana"].visto { opacity: 1; transform: none; }
.con-animacion [data-revela="semana"]:not(.visto) .semana-icono { transform: scale(0); }
.con-animacion [data-revela="semana"].visto .semana-icono { animation: icono-pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) backwards; animation-delay: calc(var(--retardo, 0ms) + 350ms); }
@keyframes icono-pop { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .semana, .semana-icono { transition: none !important; } }

/* Foto de Claudio en "Sobre mí" */
.claudio-foto { width: min(260px, 70%); aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--sand); margin: 6px 0 10px; }
.claudio-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Preguntas frecuentes centradas en altura junto a "Sobre mí" */
#claudio .faqs { align-self: center; }

/* Programa: botón a las clases junto al título */
.programa-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.programa-cabecera .section-head { margin-bottom: 0; }
.programa-cabecera > .btn { flex-shrink: 0; }
@media (max-width: 760px) { .programa-cabecera { flex-direction: column; align-items: flex-start; } }
