/* Letras de casa (elegidas para no parecer la típica web de plantilla):
   Bodoni Moda, de revista de moda, para títulos, servicios, precios y cursivas;
   Albert Sans, una sans suiza sobria, para todo lo práctico. */
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda.woff2") format("woff2"); font-style: normal; font-weight: 400 900; font-display: swap; unicode-range: U+0000-20AB, U+20AD-FFFF; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda-italic.woff2") format("woff2"); font-style: italic; font-weight: 400 900; font-display: swap; unicode-range: U+0000-20AB, U+20AD-FFFF; }
:root {
  --ink: #171717;
  --bg: #f5f4f0;
  --line: #dcdad3;
  --soft: #efeee8;
  --muted: #64645e;
  --accent: #f3cf8a; /* dorado NOVA */
  --accent-deep: #c2701a;
  --ok: #34c759;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Albert Sans", Georgia, serif; /* el € sale de Albert Sans: el de Bodoni parecía una C */
  --gold-ink: #8a6a2e; /* dorado legible sobre fondo claro */
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: var(--display);
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── cabecera y contenido ─────────────────────────────────────────── */
/* La cabecera flota a todo lo ancho: transparente arriba y de cristal al bajar. */
:root { --sat: 0px; --hdr: calc(64px + var(--sat)); }
html, body { overflow-x: clip; }
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9; height: var(--hdr); padding-top: var(--sat);
  transition: background-color .45s var(--ease), backdrop-filter .45s, -webkit-backdrop-filter .45s;
}
header::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(#0b0b0b99, #0b0b0b00); opacity: 0; transition: opacity .45s; }
header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .45s; }
body.scrolled header { background-color: #f5f4f0c7; backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
body.scrolled header::after { opacity: 1; }
.hdr-in { height: 64px; max-width: 1180px; margin: auto; padding: 0 16px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hdr-logo { display: block; padding: 6px 0; }
.hdr-logo img { width: 112px; height: auto; display: block; transform-origin: left center; transition: transform .45s var(--ease), filter .45s; }
body.scrolled .hdr-logo img { transform: scale(.86); }
.hdr-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 20px -14px #0007; transition: transform .25s var(--ease), background-color .45s, color .45s, border-color .45s;
}
.hdr-btn svg { width: 18px; height: 18px; flex: none; }
.hdr-btn:hover { transform: translateY(-1px); }
.hdr-btn:active { transform: scale(.96); }
.hdr-btn:has(.hdr-av) { padding-left: 6px; }
.hdr-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 800; }
/* En la portada va encima de la foto */
body[data-page="home"]:not(.scrolled) header::before { opacity: 1; }
body[data-page="home"]:not(.scrolled) .hdr-logo img { filter: brightness(0) invert(1); }
/* La foto de portada ya lleva el logo: el de la cabecera aparece al bajar */
.hdr-logo { transition: opacity .45s var(--ease); }
body[data-page="home"]:not(.scrolled) .hdr-logo { opacity: 0; pointer-events: none; }
body[data-page="home"]:not(.scrolled) .hdr-btn { color: #fff; background: #ffffff1a; border-color: #ffffff3d; box-shadow: none; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body[data-page="home"]:not(.scrolled) .hdr-btn:hover { background: #ffffff2e; }
main { max-width: 720px; margin: auto; padding: calc(var(--hdr) + 22px) 20px 120px; outline: none; transition: opacity .2s; }
h1, .h1 { font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -.015em; line-height: 1.04; margin: 12px 0 14px; }
.serif, h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 24px 0 12px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
b, strong { font-weight: 600; }
.eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: 10px; font-weight: 600; color: var(--muted); margin: 4px 0; }
.muted, .sub { color: var(--muted); }
.heading .sub { margin-top: -4px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.back-link { display: inline-block; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 12px 0; min-width: 0; }
.card p:last-child { margin-bottom: 0; }
.empty { padding: 26px 20px; border: 1px dashed #ccc9c0; border-radius: 18px; margin: 18px 0; color: var(--muted); line-height: 1.5; }
.error { color: #a62a29; background: #fff0ee; padding: 12px; border-radius: 12px; margin: 16px 0; }
.warning { background: #fff5de; border: 1px solid #e2d0a1; padding: 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; margin: 14px 0; }

/* ── botones y formularios ────────────────────────────────────────── */
.btn, button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 50px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: 13px; padding: 13px 18px; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
}
.btn:active, button:active { transform: scale(.985); }
button:disabled { background: #e5e4de; color: #777; border-color: #ddd; cursor: not-allowed; transform: none; }
.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.wide { width: 100%; }
.small { font-size: 13px; min-height: 44px; padding: 10px 14px; }
.danger { color: #9e2c2c; background: #fff; border-color: #cfa7a7; }
.btn svg, button svg { width: 18px; height: 18px; flex: none; }
label { display: block; font-size: 13px; font-weight: 700; margin: 18px 0 7px; }
input, select, textarea {
  display: block; width: 100%; border: 1px solid #ccc9c0; border-radius: 12px; padding: 14px;
  background: #fff; color: var(--ink); font-size: 16px; min-height: 50px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input[type="checkbox"] { width: 21px; min-height: 21px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--ink); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; font-size: 14px; margin-top: 22px; }
.phone-field { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.form-actions { display: flex; gap: 10px; margin-top: 24px; }
.form-actions > * { flex: 1; }
.stack { display: grid; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

/* ── barra de abajo ───────────────────────────────────────────────── */
/* Dock flotante: una pastilla dorada se desliza hasta la sección activa. */
nav {
  position: fixed; z-index: 10; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(calc(100% - 24px), calc(var(--n, 4) * 92px)); display: flex; padding: 6px; border-radius: 24px;
  background: #141311e8; backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 20px 44px -18px #000b, 0 0 0 1px #ffffff12 inset;
  animation: dock-in .8s .2s var(--ease) backwards;
}
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 30px); } }
nav::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / var(--n, 4)); border-radius: 18px;
  background: linear-gradient(160deg, #f8dda6, var(--accent) 55%, #e2b366); box-shadow: 0 8px 22px -8px #f3cf8aa0;
  transform: translateX(calc(100% * var(--i, 0))); transition: transform .55s cubic-bezier(.3, 1.35, .45, 1), opacity .3s;
}
nav.no-active::before { opacity: 0; }
nav a {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex: 1;
  min-height: 50px; border-radius: 18px; text-decoration: none; color: #ffffff8c; transition: color .35s;
}
nav a:hover { color: #fff; }
nav a.active { color: var(--ink); }
nav a svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
nav a.active svg { transform: scale(1.08); }
nav a:active svg { transform: scale(.85); }
.nav-initial { width: 28px; height: 28px; object-fit: cover; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #ffffff26; color: #fff; transition: transform .35s; }
nav a.active .nav-initial { background: var(--ink); color: var(--accent); }

#notice {
  position: fixed; left: 16px; right: 16px; bottom: 92px; max-width: 560px; margin: auto; z-index: 30;
  border-radius: 14px; background: var(--ink); color: #fff; padding: 14px 16px; font-size: 14px; line-height: 1.4;
  box-shadow: 0 14px 40px -14px #000a; transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}
#notice.visible { transform: none; opacity: 1; }
#app.is-loading { opacity: .55; pointer-events: none; }
#app.is-loading::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 40%; background: var(--ink); z-index: 40; animation: bar 1s ease-in-out infinite; }
@keyframes bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ── servicios ────────────────────────────────────────────────────── */
.svc-list { display: grid; gap: 10px; margin-top: 20px; }
.svc {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 30px; align-items: center; gap: 14px;
  padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: 0 10px 26px -22px #000a; animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; transition: transform .15s, border-color .15s;
}
.svc:nth-child(2) { animation-delay: .04s; } .svc:nth-child(3) { animation-delay: .08s; } .svc:nth-child(4) { animation-delay: .12s; } .svc:nth-child(5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.svc:hover { border-color: #bdbab0; }
.svc:active { transform: scale(.98); border-color: var(--ink); }
.svc-ic {
  position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--accent);
  background: radial-gradient(120% 120% at 30% 12%, #342e24 0%, #15130f 62%, #0d0c0a 100%);
  box-shadow: inset 0 0 0 1px #f3cf8a2e, inset 0 1px 0 #ffffff14, 0 10px 20px -12px #000c;
}
.svc-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* Dibujos de los servicios (svcIcon en app.js) */
.svc-ic svg.si { width: 32px; height: 32px; stroke: url(#nova-gold); stroke-width: 1.35; overflow: visible; filter: drop-shadow(0 0 6px #f3cf8a26); }
.si .si-f { fill: url(#nova-gold); stroke: none; }
.si .si-thin { stroke-width: 1.05; }
.si g, .si ellipse, .si path, .si circle { transform-box: view-box; }
.si-scissors .si-a, .si-scissors .si-b { transform-origin: 16px 14.5px; }
.svc:hover .si-scissors .si-a { animation: snip-a .7s ease-in-out 2; }
.svc:hover .si-scissors .si-b { animation: snip-b .7s ease-in-out 2; }
@keyframes snip-a { 50% { transform: rotate(-11deg); } }
@keyframes snip-b { 50% { transform: rotate(11deg); } }
.si-stache { transform-origin: 16px 15.5px; }
.svc:hover .si-stache { animation: stache .8s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes stache { 40% { transform: scale(1.12, .92) translateY(-.4px); } }
.si .si-spark { transform-origin: center; transform-box: fill-box; animation: twinkle 3.2s ease-in-out infinite; }
.si .si-late { animation-delay: 1.1s; }
@keyframes twinkle { 0%, 70%, 100% { transform: scale(1); opacity: 1; } 82% { transform: scale(.4) rotate(45deg); opacity: .5; } }
.si-moon { transform-origin: 16px 16px; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.svc:hover .si-moon { transform: rotate(-16deg); }
.si-crown { transform-origin: 16px 23px; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.svc:hover .si-crown { transform: translateY(-1.6px) rotate(-4deg); }
.si-gem { transform-origin: 16px 18px; }
.svc:hover .si-gem { animation: gem 1s ease-in-out; fill: url(#nova-gold); }
@keyframes gem { 50% { transform: scale(1.3); } }
.si-star path:first-child { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.svc:hover .si-star { animation: float 1.6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-1.5px); } }
.con-hero .svc-ic svg.si { width: 46px; height: 46px; }
.svc-txt { display: grid; gap: 5px; min-width: 0; }
.svc-txt strong { font-size: 16px; line-height: 1.2; letter-spacing: -.2px; }
.svc-dur { display: inline-flex; align-items: center; gap: 5px; justify-self: start; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); padding: 3px 9px 3px 7px; border-radius: 20px; }
.svc-dur svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.svc-price { font-size: 20px; font-weight: 900; letter-spacing: -.6px; white-space: nowrap; text-align: right; }
.svc-price small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.svc-go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-size: 20px; line-height: 1; padding-bottom: 2px; }
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 26px 2px 0; }
.svc-head .section-label { margin: 0; }
.svc-head small { font-size: 12px; color: var(--muted); }
.svc.svc-wa { background: radial-gradient(130% 140% at 100% 0%, #3d3220 0%, #1b1915 55%, #111 100%); color: #fff; border-color: #1b1915; box-shadow: 0 18px 34px -24px #3d3220; }
.svc.svc-wa .svc-ic { background: radial-gradient(120% 120% at 30% 12%, #4a3e29 0%, #1d1a14 70%); box-shadow: inset 0 0 0 1px #f3cf8a55, inset 0 1px 0 #ffffff1c, 0 10px 20px -12px #000; }
.svc.svc-wa .svc-dur { background: #ffffff14; color: #ddd6c6; }
.svc.svc-wa .svc-price { color: var(--accent); }
.svc.svc-wa .svc-price small { color: #b9b2a3; }
.svc.svc-wa .svc-go { background: var(--accent); color: var(--ink); }
.only-tag { justify-self: start; font-size: 11px; font-weight: 800; color: var(--ink); background: var(--accent); padding: 3px 9px; border-radius: 20px; }
@media (max-width: 420px) {
  .svc { grid-template-columns: 48px minmax(0, 1fr) auto 26px; gap: 11px; padding: 13px 12px; }
  .svc-ic { width: 48px; height: 48px; } .svc-ic svg.si { width: 29px; height: 29px; }
  .svc-price { font-size: 18px; }
  .svc-go { width: 26px; height: 26px; font-size: 18px; }
}
@media (max-width: 340px) { .svc { grid-template-columns: 42px minmax(0, 1fr) auto; } .svc-go { display: none; } }

/* ── barberos en cromos ───────────────────────────────────────────── */
.cromos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.cromo {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: #f5f4f0;
  background: linear-gradient(160deg, #2b2822 0%, #12110f 70%); border-radius: 22px; padding: 7px;
  box-shadow: 0 1px 0 #ffffff10 inset, 0 14px 30px -18px #000c; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
  isolation: isolate; overflow: hidden;
}
.cromo::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, #ffffff55, #ffffff08 35%, #f3cf8a77 70%, #ffffff22);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.cromo::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, #ffffff26 50%, transparent 60%); transform: translateX(-60%); transition: transform .7s ease; z-index: 2; pointer-events: none; }
.cromo:hover::before { transform: translateX(60%); }
.cromo-photo { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, #3a3328 0%, #1a1814 70%); }
.cromo-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cromo:hover .cromo-photo img { transform: scale(1.04); }
.cromo-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(transparent, #0008); }
.cromo-mono { position: absolute; inset: 0; display: grid; place-items: center; }
.cromo-mono img { width: 46%; height: auto; opacity: .16; filter: invert(1); }
.cromo-mono b { position: absolute; font-size: 64px; font-weight: 900; letter-spacing: -3px; color: var(--accent); text-shadow: 0 10px 30px #000; }
.cromo-num { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; background: #0006; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #ffffff30; border-radius: 20px; padding: 4px 8px; }
.cromo-foot { display: grid; gap: 3px; padding: 11px 8px 8px; text-align: center; }
.cromo-name { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.25; }
.cromo-role { font-size: 10px; letter-spacing: 1px; color: #b9b5a8; text-transform: uppercase; }
.cromo:active { transform: scale(.97); }
.cromo.picked { transform: scale(.97); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.cromo.picked::before { transform: translateX(60%); }
.cromos.solo { grid-template-columns: minmax(0, 260px); }
/* Con un número impar, la última tarjeta va centrada debajo. */
.cromos:not(.solo) > .cromo:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
img.face, img.na-face { object-position: 50% 18%; }

/* ── día y hora ───────────────────────────────────────────────────── */
.pick-summary { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; margin: 14px 0 16px; }
.pick-summary .face { flex: none; }
.pick-summary div { display: grid; gap: 2px; min-width: 0; }
.pick-summary strong { font-size: 15px; }
.pick-summary span { font-size: 13px; color: var(--muted); }
.face { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.cal-card, .times, .continue-bar, .phone-field select, .phone-field input { font-family: var(--sys); }
.cal-card { background: #fff; border-radius: 22px; padding: 16px 14px 12px; box-shadow: 0 1px 2px #0000000d, 0 8px 30px -12px #0000001f; border: 1px solid #ecebe6; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.cal-head strong { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.cal-nav { min-height: 36px; width: 36px; padding: 0; border-radius: 50%; background: transparent; color: var(--ink); border: 0; font-size: 24px; font-weight: 400; line-height: 1; }
.cal-nav:hover:not(:disabled) { background: var(--soft); }
.cal-nav:disabled { background: transparent; color: #c9c8c1; border: 0; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.cal-week span { font-size: 11px; font-weight: 600; color: #8e8e93; padding: 6px 0; }
.cal-grid { row-gap: 4px; }
.cal-cell { position: relative; justify-self: center; width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: transparent; color: #c7c7cc; font-size: 17px; font-weight: 400; font-variant-numeric: tabular-nums; }
.cal-cell.blank { pointer-events: none; }
.cal-cell:disabled { background: transparent; color: #c7c7cc; cursor: default; }
.cal-cell.open { color: var(--ink); font-weight: 600; }
.cal-cell.open:hover { background: #f2f2f2; }
.cal-cell.today { color: var(--accent-deep); }
.cal-cell.selected, .cal-cell.selected:hover { background: var(--ink); color: #fff; }
.cal-cell.open::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ok); }
.cal-cell.selected::after { background: #fff; }
.times { margin-top: 22px; }
.times-title { font-size: 20px; font-weight: 600; letter-spacing: -.3px; margin: 0 0 4px; }
.times-label { font-size: 12px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .6px; margin: 16px 0 8px; }
.time-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.time-pill { min-height: 44px; padding: 0; border-radius: 12px; background: #fff; color: var(--ink); border: 1px solid #e5e5ea; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background .15s, transform .1s; }
.time-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.time-pill.selected, .time-pill.selected:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 6px 16px -8px #000a; }
.continue-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 20; max-width: 560px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px;
  background: #fffffff2; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid #e5e5ea; box-shadow: 0 12px 40px -12px #0004;
  transform: translateY(20px); opacity: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}
.continue-bar.visible { transform: none; opacity: 1; }
.continue-info { display: grid; gap: 2px; min-width: 0; }
.continue-info span { font-size: 11px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .6px; }
.continue-info strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.continue-bar .btn { flex: 0 0 auto; min-width: 130px; border-radius: 14px; }

/* ── tus datos y Club ─────────────────────────────────────────────── */
.club-card { position: relative; margin: 26px 0 6px; padding: 22px 20px; border-radius: 22px; color: #f5f4f0; background: radial-gradient(120% 140% at 100% 0%, #463820 0%, #1b1915 55%, #111 100%); overflow: hidden; }
.club-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(#f3cf8a33, transparent 70%); pointer-events: none; }
.club-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--accent); border: 1px solid #f3cf8a55; border-radius: 20px; padding: 5px 10px; }
.club-card h2 { color: #fff; margin: 12px 0 6px; font-size: 22px; }
.club-card p { color: #cfc8b8; font-size: 14px; margin-bottom: 0; }
.club-perks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: #ddd6c6; font-size: 14px; }
.club-perks li::before { content: "✦"; color: var(--accent); margin-right: 10px; }
.club-joined { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; padding: 14px 16px; border-radius: 14px; background: #f7ecd6; border: 1px solid #e5cf9f; font-size: 14px; font-weight: 700; color: #4a3712; }
.club-joined div { display: grid; gap: 2px; }
.club-joined span:not(.club-check) { font-weight: 400; font-size: 13px; }
.club-check { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #6b4f17; color: #fff; font-size: 16px; }
.pay-note svg { width: 16px; height: 16px; flex: none; }
.pick-summary .face { color: var(--accent); font-size: 18px; }
.face svg { width: 55%; height: 55%; }
.pay-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.book-btn { margin-top: 22px; }

/* ── mis citas ────────────────────────────────────────────────────── */
.appts { display: grid; gap: 10px; }
.appt { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px -18px #0006; transition: transform .15s; }
.appt:active { transform: scale(.985); }
.appt-date { flex: 0 0 58px; display: grid; justify-items: center; padding: 8px 0; border-radius: 14px; background: var(--ink); color: #fff; line-height: 1.05; }
.appt-date small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: .75; }
.appt-date strong { font-size: 24px; margin: 2px 0; }
.appt-body { flex: 1; display: grid; gap: 3px; min-width: 0; }
.appt-body strong { font-size: 16px; }
.appt-body > span { font-size: 13px; color: var(--muted); }
.appt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.appt-state { justify-self: start; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 3px 9px; margin-top: 3px; background: var(--soft); color: var(--muted); }
.st-ok { background: #e3f5e8; color: #1f6b35; }
.st-done { background: var(--soft); color: var(--muted); }
.st-cancel { background: #fbe9e7; color: #9e2c2c; }
.appt.is-active { border-color: #bfe5cd; box-shadow: 0 10px 24px -18px #1f9d55; }
.appt.is-past { box-shadow: none; background: #faf9f6; }
.appt.is-past .appt-date { background: #e5e4de; color: var(--muted); }
.appt-empty { display: grid; gap: 4px; padding: 22px; border: 1px dashed #ccc9c0; border-radius: 20px; text-decoration: none; color: var(--ink); }
.appt-empty span { color: var(--muted); font-size: 14px; }
.live-dot, .na-live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #34d27a; box-shadow: 0 0 0 0 #34d27a99; animation: pulse 1.4s infinite; display: inline-block; margin-right: 6px; vertical-align: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #34d27a00; } 100% { box-shadow: 0 0 0 0 #34d27a00; } }
.next-appt { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; padding: 18px; border-radius: 24px; text-decoration: none; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #2f6b3d 0%, #16301c 45%, #0d1a10 100%); box-shadow: 0 22px 44px -24px #1f9d55aa; margin: 4px 0 14px; }
.next-appt::before { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px; background: linear-gradient(135deg, #7dffb0, #1f9d55 40%, #ffffff30 60%, #7dffb0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.na-top { display: flex; justify-content: space-between; align-items: center; }
.na-live { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #9ff0bf; }
.na-when { font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 20px; background: #34d27a; color: #06240f; }
.na-main { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; }
.na-date { display: grid; justify-items: center; padding: 8px 0; border-radius: 16px; background: #ffffff14; border: 1px solid #ffffff22; line-height: 1.05; }
.na-date small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #ffffffb0; }
.na-date strong { font-size: 30px; margin: 2px 0; }
.na-info { display: grid; gap: 2px; min-width: 0; }
.na-time { font-size: 30px; letter-spacing: -1px; line-height: 1; }
.na-info span { font-size: 14px; color: #ffffffc8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.na-face { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-weight: 900; font-size: 22px; box-shadow: 0 0 0 2px #0d1a10, 0 0 0 4px #34d27a; }
.na-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #ffffff1a; font-size: 13px; color: #ffffffb8; }
.na-foot b { color: var(--ink); background: var(--accent); padding: 9px 14px; border-radius: 12px; font-size: 14px; }
.booked-hero { text-align: center; padding: 20px 0 6px; }
.booked-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-weight: 700; font-size: 28px; margin: 0 auto 6px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.detail-list { display: grid; gap: 0; margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--soft); font-size: 15px; }
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 700; text-align: right; }

/* ── inicio: reseñas, mapa, sobre NOVA ────────────────────────────── */
.home-block { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.home-block h2 { font-size: 28px; letter-spacing: -1px; line-height: 1.08; margin: 8px 0 14px; }
.rating-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; margin-top: 18px; }
.rating-src { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.rating-number { font-size: 52px; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.rating-number small { font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 4px; font-weight: 400; }
.stars { color: #e0a100; font-size: 22px; letter-spacing: 2px; }
.rating-count { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.home-actions { display: grid; gap: 10px; margin-top: 12px; }
.map-frame { position: relative; height: 260px; border-radius: 18px; overflow: hidden; background: #e9e8e2; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit { display: grid; gap: 16px; margin-top: 12px; }
.visit address { font-style: normal; display: grid; gap: 3px; }
.visit address strong { font-size: 18px; }
.visit address span, .hours span { color: var(--muted); font-size: 14px; }
.hours { display: grid; gap: 3px; }
.hours div { display: flex; justify-content: space-between; gap: 10px; }
.hours strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.hours .closed { color: #9e2c2c; font-size: 13px; }
.about-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 18px 0 16px; }
.about-photos figure { margin: 0; }
.about-photos img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #e9e8e2; }
.about-photos figcaption { font-size: 11px; color: var(--muted); margin-top: 5px; text-align: center; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0; }
.about-tags li { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.home-footer { margin-top: 56px; padding: 28px 0 8px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.home-footer strong { letter-spacing: 1px; }
.socials { display: flex; gap: 14px; font-size: 14px; font-weight: 700; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin: 26px 0 8px; font-size: 12px; color: var(--muted); }
.legal-links a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 2px; }
.legal-links a:hover { text-decoration: underline; }
.legal-page p, .legal-page li { font-size: 14px; line-height: 1.6; }
@media (max-width: 540px) { .about-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) {
  .visit { grid-template-columns: 1fr 1fr; align-items: center; }
  .visit .btn { grid-column: 1 / -1; }
  .home-block h2 { font-size: 34px; }
  .home-actions { grid-template-columns: 1fr 1fr; }
}

/* ── consulta por WhatsApp ────────────────────────────────────────── */
.con-hero { display: flex; align-items: center; gap: 16px; margin: 10px 0 18px; }
.con-hero .face { width: 72px; height: 72px; border-radius: 20px; font-size: 30px; color: var(--accent); }
.con-hero small { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.con-hero h1 { margin: 2px 0; font-size: 30px; }
.con-hero span { color: var(--muted); font-size: 14px; }
.cs-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.cs-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.cs-steps b { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-size: 14px; }
.cs-steps div { display: grid; gap: 3px; }
.cs-steps span { color: var(--muted); font-size: 14px; }
.wa-btn { background: #1f9d55; border-color: #1f9d55; }

/* ── perfil y Club ────────────────────────────────────────────────── */
/* Tarjeta del perfil: oscura, con el logo en mosaico y un brillo del color de la liga. */
.ph {
  --c1: #e2a46b; --c2: #8a4f22;
  position: relative; overflow: hidden; isolation: isolate; margin: 4px 0 14px; padding: 20px 20px 18px; border-radius: 26px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c2) 55%, #1a1610) 0%, #17140f 55%, #0d0c0a 100%);
  box-shadow: 0 30px 60px -34px #000, 0 0 0 1px #ffffff10 inset;
  animation: rise .5s cubic-bezier(.2, .8, .2, 1) both;
}
.ph::before { content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1.5px; pointer-events: none; background: linear-gradient(135deg, var(--c1), #ffffff14 35%, #ffffff08 60%, var(--c1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; }
.ph::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/assets/icon-512.png) 0 0 / 54px 54px repeat; filter: invert(1); opacity: .035; -webkit-mask-image: linear-gradient(200deg, #000, transparent 75%); mask-image: linear-gradient(200deg, #000, transparent 75%); }
.ph-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ph-brand { font-size: 11px; font-weight: 700; letter-spacing: 2.6px; color: #ffffffc0; }
.ph-brand b { color: var(--accent); }
.ph-league { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--c1); border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); background: #0005; border-radius: 30px; padding: 4px 12px 4px 6px; }
.ph-league .lg-art { width: 22px; height: 22px; }
.ph-id { display: flex; align-items: center; gap: 16px; margin: 20px 0 16px; }
.ph-avatar { position: relative; flex: 0 0 80px; height: 80px; margin: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle at 35% 30%, #3a3328, #15130f); box-shadow: 0 0 0 2px #0d0c0a, 0 0 0 4px var(--c1), 0 14px 30px -12px #000; }
.ph-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ph-avatar b { font-size: 34px; color: var(--accent); }
.ph-cam { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 4px 12px #0006; }
.ph-cam svg { width: 16px; height: 16px; }
.ph-name { min-width: 0; display: grid; gap: 4px; }
.ph-name h1 { margin: 0; font-size: 28px; color: #fff; letter-spacing: -.4px; overflow-wrap: anywhere; }
.ph-name span { font-size: 13px; color: #ffffffa8; }
.ph-count { display: flex; align-items: center; gap: 10px; }
.ph-count strong { font-size: 64px; line-height: .9; letter-spacing: -3px; background: linear-gradient(180deg, #fff 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-count span { font-size: 14px; line-height: 1.3; color: #ffffffcc; }
.ph-bar { height: 7px; border-radius: 8px; background: #ffffff1a; overflow: hidden; margin: 18px 0 10px; }
.ph-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--c2), var(--c1)); box-shadow: 0 0 12px var(--c1); }
.ph-next { font-size: 13px; color: #ffffffb8; }
.ph-next b { color: var(--accent); }
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.stat3 > * { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; min-height: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; font-weight: 400; }
.stat3 strong { font-size: 26px; letter-spacing: -1px; line-height: 1; }
.stat3 span { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

/* Ligas */
.lg-art { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 5px #0003); }
.lg-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 6px 10px; }
.lg-step { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.lg-step .lg-art { width: 32px; transition: transform .2s; }
.lg-step span { font-size: 8.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #aeaca4; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: clip; }
@media (max-width: 440px) { .lg-strip { padding: 12px 4px 10px; gap: 0; } .lg-step .lg-art { width: 28px; } .lg-step span { font-size: 7px; letter-spacing: 0; } }
.lg-step.past span { color: var(--muted); }
.lg-step.on .lg-art { transform: scale(1.18); filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--c2) 70%, transparent)); }
.lg-step.on span { color: var(--ink); }
.lg-list { display: grid; gap: 8px; }
.lg-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px 10px 10px; }
.lg-row .lg-art { width: 44px; }
.lg-row div { display: grid; gap: 3px; min-width: 0; }
.lg-row strong { font-size: 15px; }
.lg-row span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lg-row span svg { width: 14px; height: 14px; flex: none; }
.lg-row em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.lg-row.on { border-color: var(--c2); box-shadow: 0 10px 24px -16px var(--c2); background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 22%, #fff), #fff 60%); }
.lg-row.on em { color: #fff; background: var(--ink); padding: 4px 9px; border-radius: 20px; }
.lg-row.locked { background: #faf9f6; }

/* Medallas */
.md-head { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 2px 10px; }
.md-head p { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.md-head span { font-size: 12px; font-weight: 700; color: var(--muted); }
.md-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .md-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.md { display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 10px 14px; min-width: 0; }
.md-art { position: relative; width: 82px; height: 82px; margin-bottom: 6px; }
.md-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 8px #0000001a); }
.md:not(.got) .md-svg { opacity: .9; }
.md.got .md-svg { filter: drop-shadow(0 8px 14px #a8701c40); animation: shine 3.5s ease-in-out infinite; }
@keyframes shine { 50% { filter: drop-shadow(0 8px 18px #f3cf8a99); } }
.md-lock { position: absolute; right: -2px; bottom: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 3px #fff; }
.md-lock svg { width: 13px; height: 13px; }
.md strong { font-size: 14px; line-height: 1.2; }
.md-sub { font-size: 12px; color: var(--muted); line-height: 1.3; min-height: 16px; }
.md.got .md-sub { color: #1f6b35; font-weight: 700; }
.md-bar { width: 80%; height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin: 2px 0; }
.md-bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.md-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 10.5px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 20px; padding: 3px 9px; }
.md-chip svg { width: 11px; height: 11px; }
.md.got .md-chip { background: #f7ecd6; color: #6b4a12; }

/* Invitar amigos */
.invite { position: relative; overflow: hidden; margin: 26px 0 8px; padding: 22px 20px; border-radius: 24px; color: #f5f4f0; background: radial-gradient(120% 140% at 100% 0%, #463820 0%, #1b1915 55%, #111 100%); }
.invite h2 { color: #fff; margin: 12px 0 6px; font-size: 22px; }
.invite p { color: #cfc8b8; font-size: 14px; }
.inv-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; padding: 10px 10px 10px 18px; border-radius: 16px; border: 1px dashed #f3cf8a77; background: #ffffff0c; }
.inv-code strong { font-size: 24px; letter-spacing: 3px; color: var(--accent); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.inv-code button { width: 44px; min-height: 44px; padding: 0; border-radius: 12px; background: #ffffff14; border-color: #ffffff22; }
.club-btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.inv-friends { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.inv-friends span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 20px; background: #ffffff12; color: #cfc8b8; }
.inv-friends span.ok { background: #34d27a26; color: #9ff0bf; }
.ref-box { margin-top: 16px; }
.ref-toggle { width: 100%; justify-content: flex-start; gap: 8px; min-height: 46px; background: #ffffff0f; border-color: #ffffff22; color: #ddd6c6; font-weight: 400; font-size: 14px; }
.ref-toggle b { margin-left: auto; color: var(--accent); }
.ref-field { display: none; margin-top: 10px; }
.ref-box.open .ref-toggle { display: none; }
.ref-box.open .ref-field { display: block; }
.ref-field input { background: #ffffff10; border-color: #ffffff33; color: #fff; letter-spacing: 3px; text-transform: uppercase; }
.ref-state { font-size: 13px; margin: 8px 0 0 !important; color: #cfc8b8 !important; }
.ref-state.ok { color: #9ff0bf !important; }
.ref-state.bad { color: #ffb4a8 !important; }

/* Tus puntos */
.pts { --c1: #f3cf8a; --c2: #8a5a1c; position: relative; overflow: hidden; text-align: center; margin: 4px 0 18px; padding: 26px 20px 22px; border-radius: 26px; color: #fff; background: radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--c2) 70%, #3a2a10) 0%, #17140f 62%, #0d0c0a 100%); box-shadow: 0 30px 60px -34px #000; }
.pts::after { content: ""; position: absolute; inset: 0; background: url(/assets/icon-512.png) 0 0 / 54px 54px repeat; filter: invert(1); opacity: .03; pointer-events: none; }
.pts-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 2.4px; color: var(--accent); border: 1px solid #f3cf8a66; border-radius: 20px; padding: 5px 12px; }
.pts-num { display: block; font-size: 84px; line-height: 1; letter-spacing: -4px; margin: 12px 0 8px; background: linear-gradient(180deg, #fff 20%, var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pts p { color: #ffffffc8; font-size: 13px; margin: 0 0 16px; }
.pts-league { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 30px; background: #ffffff10; border: 1px solid #ffffff1c; font-size: 13px; color: #ffffffcc; }
.pts-league .lg-art { width: 26px; }
.pts-league b { color: var(--c1); }
.rw-list { display: grid; gap: 10px; }
.rw { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; }
.rw-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--soft); color: var(--muted); }
.rw-ic svg { width: 22px; height: 22px; }
.rw div { display: grid; gap: 3px; min-width: 0; }
.rw strong { font-size: 15px; }
.rw span { font-size: 12.5px; color: var(--muted); }
.rw .md-bar { width: 100%; margin-top: 4px; }
.rw.can { border-color: #e5cf9f; box-shadow: 0 12px 26px -20px #a8701c; }
.rw.can .rw-ic { background: var(--ink); color: var(--accent); }
.rw-btn { flex-direction: column; gap: 0; min-height: 48px; padding: 6px 14px; border-radius: 13px; font-size: 13px; line-height: 1.2; }
.rw-btn small { font-size: 10px; font-weight: 700; color: var(--accent); }
.rw-cost { display: grid; justify-items: center; font-size: 18px; font-weight: 900; color: var(--muted) !important; line-height: 1; padding: 0 6px; }
.rw-cost small { font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.rw.ticket { border-color: var(--ink); background: repeating-linear-gradient(135deg, #fff, #fff 10px, #faf7f0 10px, #faf7f0 20px); }
.rw.ticket .rw-ic { background: var(--accent); color: var(--ink); }
.tk-code { font-size: 15px; letter-spacing: 2px; background: var(--ink); color: var(--accent); padding: 8px 10px; border-radius: 10px; }
.tk-big { display: grid; justify-items: center; gap: 4px; margin: 6px 0 18px; padding: 18px; border-radius: 18px; border: 2px dashed var(--ink); background: #fff; text-align: center; }
.tk-big small { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tk-big strong { font-size: 34px; letter-spacing: 6px; }
.tk-big span { font-size: 13px; color: var(--muted); }
.mv-list { padding: 4px 16px; }
.mv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.mv:last-child { border-bottom: 0; }
.mv span { display: grid; gap: 2px; }
.mv small { font-size: 12px; color: var(--muted); }
.mv b { font-variant-numeric: tabular-nums; }
.mv b.plus { color: #1f7a3c; }
.mv b.minus { color: #9e2c2c; }
.rd-item { grid-template-columns: 74px minmax(0, 1fr) auto; border-color: #e5cf9f; }
.rd-item time { font-size: 11px; letter-spacing: .5px; overflow-wrap: anywhere; }

/* ── equipo ───────────────────────────────────────────────────────── */
.day-strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day-chip { flex: 0 0 56px; min-height: 64px; padding: 6px 0; flex-direction: column; gap: 2px; background: #fff; color: var(--ink); border-color: var(--line); border-radius: 14px; font-size: 18px; }
.day-chip small { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.day-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.day-chip.active small { color: var(--accent); }
.day-chip.closed { opacity: .45; }
.ag-col { margin-top: 18px; }
.ag-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ag-head h2 { margin: 0; font-size: 19px; }
.ag-head span { font-size: 12px; color: var(--muted); }
.ag-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 8px; text-align: left; width: 100%; color: var(--ink); min-height: 0; font-weight: 400; }
.ag-item time { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.ag-item time small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.ag-item div { display: grid; gap: 2px; min-width: 0; }
.ag-item strong { font-size: 15px; }
.ag-item span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-item.block { background: repeating-linear-gradient(135deg, #f3f2ed, #f3f2ed 8px, #ebe9e2 8px, #ebe9e2 16px); }
.ag-item.canceled { opacity: .5; }
.ag-item.canceled strong { text-decoration: line-through; }
.ag-item.done { border-color: #bfe5cd; }
.ag-item.absent { border-color: #e6b8b3; }
.ag-free { font-size: 13px; color: var(--muted); padding: 12px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }
.staff-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 4px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; min-height: 44px; font-size: 13px; }

/* ── hoja que sube desde abajo ────────────────────────────────────── */
.sheet-back { position: fixed; inset: 0; z-index: 50; background: #0007; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); animation: up .28s cubic-bezier(.2, .8, .2, 1); position: relative; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet h2 { margin-top: 4px; font-size: 24px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 38px; min-height: 38px; padding: 0; border-radius: 50%; background: #fff; color: var(--ink); border-color: var(--line); font-size: 20px; }
@media (min-width: 640px) { .sheet-back { align-items: center; } .sheet { border-radius: 26px; } }

/* ── app instalada en la pantalla de inicio ───────────────────────── */
@media (display-mode: standalone) {
  :root { --sat: env(safe-area-inset-top); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ══ Capa premium ════════════════════════════════════════════════════ */

/* Intro con el logo */
#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 45%, #1d1a14 0%, #0b0b0b 70%); transition: opacity .6s var(--ease), visibility .6s; }
#splash.out { opacity: 0; visibility: hidden; }
.no-splash #splash { display: none; }
.sp-in { display: grid; justify-items: center; gap: 16px; }
.sp-in img { width: 205px; height: auto; filter: brightness(0) invert(1); animation: sp-logo 1s var(--ease) both; }
.sp-in i { display: block; width: 160px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform-origin: center; animation: sp-line 1s .25s var(--ease) both; }
.sp-in span { font-size: 10px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #bdb6a6; animation: sp-fade .8s .5s both; }
@keyframes sp-logo { from { opacity: 0; transform: translateY(10px) scale(.94); filter: brightness(0) invert(1) blur(6px); } }
@keyframes sp-line { from { transform: scaleX(0); opacity: 0; } }
@keyframes sp-fade { from { opacity: 0; letter-spacing: 8px; } }

/* Entrada de cada pantalla */
#app.enter > :not(.continue-bar) { animation: page-in .55s var(--ease) both; }
#app.enter > :nth-child(2) { animation-delay: .05s; }
#app.enter > :nth-child(3) { animation-delay: .1s; }
#app.enter > :nth-child(4) { animation-delay: .15s; }
#app.enter > :nth-child(n + 5) { animation-delay: .2s; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* Portada */
/* Portada a sangre: ocupa toda la pantalla y se mete bajo la cabecera. */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; color: #fff; background: #0b0b0b;
  width: 100vw; margin: calc(-1 * (var(--hdr) + 22px)) 0 34px calc(50% - 50vw);
  min-height: max(620px, calc(100svh - 74px - env(safe-area-inset-bottom)));
}
.hero-media { position: absolute; inset: 0 0 -12%; z-index: -2; will-change: transform; }
/* Portada: foto vertical con el logo rosa (assets/hero-nova.jpg, de foto_nova.jpeg).
   Llena la pantalla en vertical; en horizontal se cambia por la apaisada (ver abajo). */
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo { animation: kenburns 18s cubic-bezier(.2, .6, .3, 1) both; }
.hero-media picture { display: block; width: 100%; height: 100%; }
/* Móviles bajitos: sin las caras del equipo, para que nada tape el logo de la foto */
@media (max-width: 760px) and (max-height: 740px) {
  .hero .hero-team { display: none; }
}
@media (max-width: 420px) {
  .hero .hs-txt strong { font-size: 19px; }
  .hero .hs-txt small { letter-spacing: 1.2px; }
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b0b0b80 0%, #0b0b0b00 16%, #0b0b0b00 56%, #0b0b0bb8 70%, #0b0b0b 86%); }
/* Pantallas horizontales (ordenador, tablet tumbada): foto apaisada (hero-nova-wide.jpg, de foto_nova1.jpeg) */
@media (orientation: landscape) {
  .hero-media img { object-position: 50% 50%; }
  .hero-photo { animation-name: kenburns-soft; }
  .hero-media { inset: 0; } /* sin margen extra: la foto apaisada entra casi entera */
  .hero-media::after { background: linear-gradient(180deg, #0b0b0b80 0%, #0b0b0b00 14%, #0b0b0b00 70%, #0b0b0bb0 86%, #0b0b0b 100%); }
}
@keyframes kenburns { from { transform: scale(1.14); } }
@keyframes kenburns-soft { from { transform: scale(1.05); } }
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-in { position: relative; flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: calc(var(--hdr) + 24px) 20px 24px; will-change: transform, opacity; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; text-decoration: none; background: #ffffff17; border: 1px solid #ffffff2b; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); white-space: nowrap; transition: background-color .3s; }
a.hero-chip:hover { background: #ffffff2b; }
.hero-chip i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b5e; }
.hero-chip.is-open i { background: #34d27a; box-shadow: 0 0 0 0 #34d27a99; animation: pulse 1.8s infinite; }
.hero-rate b { color: var(--accent); }
.hero-copy { margin-top: auto; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.hero-eyebrow::before { content: ""; flex: none; width: 34px; height: 1px; background: var(--accent); transform-origin: left; }
.hero h1 { font-family: var(--serif); font-size: clamp(52px, 14.5vw, 120px); font-weight: 500; letter-spacing: -.012em; line-height: .92; margin: 0; text-shadow: 0 2px 40px #0007; }
.hero h1 .ln { display: block; overflow: hidden; padding: 0 .14em .12em 0; margin-bottom: -.12em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 em { font-size: 1em; font-weight: 400; letter-spacing: -.005em; color: #f3dcae; margin-top: .02em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; }
.hero-team { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.hero-team > span:last-child { display: grid; line-height: 1.25; }
.hero-team small { font-size: 12px; font-weight: 500; color: #ffffffa8; }
.hero-faces { display: flex; }
.hf { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid #0b0b0b; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 0 1px #f3cf8a66; }
.hf + .hf { margin-left: -12px; }
.hero-slot { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px; text-decoration: none; color: #fff; background: #ffffff14; border: 1px solid #ffffff2e; backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 24px 50px -22px #000; transition: transform .3s var(--ease), border-color .3s; }
.hero-slot:hover { transform: translateY(-2px); border-color: #f3cf8a66; }
.hero-slot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, -300px) var(--my, -300px), #f3cf8a2e, transparent 70%); }
.hs-go span { display: inline-block; transition: transform .3s var(--ease); }
.hero-slot:hover .hs-go span { transform: translateX(4px); }
.hero-slot:active { transform: scale(.98); }
.hs-face { flex: none; width: 50px; height: 50px; border-radius: 15px; object-fit: cover; object-position: 50% 15%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 800; animation: pop .45s var(--ease); }
.hs-txt { flex: 1; display: grid; gap: 1px; min-width: 0; }
.hs-txt small { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.hs-txt strong { font-size: 21px; font-weight: 800; letter-spacing: -.6px; }
.hs-txt span { font-size: 13px; color: #ffffffb8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-go { flex: none; padding: 14px 16px; border-radius: 15px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 800; position: relative; overflow: hidden; }
.hs-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffffa0 50%, transparent 70%); transform: translateX(-120%); animation: shimmer 3.2s 1.4s infinite; }
@keyframes shimmer { 30%, 100% { transform: translateX(120%); } }
.hero-slot.is-loading strong { color: transparent; background: linear-gradient(90deg, #ffffff22, #ffffff55, #ffffff22); background-size: 200% 100%; border-radius: 8px; animation: skel 1.2s infinite linear; justify-self: start; }
@keyframes skel { to { background-position: -200% 0; } }
.hs-txt, .hs-go, .hs-face { position: relative; }
.hs-txt small, .hs-txt strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
  .hs-txt strong { font-size: 19px; }
  .hs-go { padding: 13px 13px; font-size: 14px; }
  .hs-face { width: 46px; height: 46px; }
}

/* Entrada de la portada (al irse la intro) */
.ready .hero-eyebrow::before { animation: grow .9s .15s var(--ease) backwards; }
.ready .hero-eyebrow span { animation: fade-up .8s .2s var(--ease) backwards; }
.ready .hero h1 .ln > span { animation: line-up 1.1s .25s cubic-bezier(.16, 1, .3, 1) backwards; }
.ready .hero h1 .ln + .ln > span, .ready .hero h1 em.ln > span { animation-delay: .38s; }
.ready .hero-meta { animation: fade-up .9s .2s var(--ease) backwards; }
.ready .hero-team { animation: fade-up .9s .3s var(--ease) backwards; }
.ready .hero-slot { animation: fade-up .9s .42s var(--ease) backwards; }
@keyframes line-up { from { transform: translateY(115%) rotate(4deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes grow { from { transform: scaleX(0); } }

@media (min-width: 761px) {
  .hero { min-height: max(640px, min(calc(100svh - 74px), 940px)); }
  .hero h1 { font-size: clamp(66px, 6vw, 98px); }
  .hero-in { padding: calc(var(--hdr) + 40px) 40px 44px; }
  .hdr-in { padding: 0 32px 0 40px; }
  .hdr-logo img { width: 124px; }
}
@media (min-width: 980px) {
  .hero-in { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .hero-copy { max-width: 840px; }
  .hero-slot { flex: none; width: 390px; }
}

/* Equipo en portada */
.team-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.mate { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.mate-photo { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--ink); margin-bottom: 8px; box-shadow: 0 16px 30px -22px #000; transition: transform .2s var(--ease); }
.mate-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mate-photo b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: var(--accent); }
.mate-photo::after { content: "Reservar ›"; position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 7px 0; border-radius: 11px; text-align: center; font-size: 12px; font-weight: 800; color: var(--ink); background: #f5f4f0e6; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mate:hover .mate-photo img { transform: scale(1.05); }
.mate:active .mate-photo { transform: scale(.97); }
.mate-name { font-size: 16px; font-weight: 800; letter-spacing: -.3px; padding-left: 2px; }
.mate-role { font-size: 12px; color: var(--muted); padding-left: 2px; }
.home-block h2 em { color: #6b5a3a; }

/* Pie de marca */
/* Pie: sobrio, centrado, con el logo como firma */
.home-footer {
  position: relative; display: grid; justify-items: center; justify-content: stretch; gap: 0; text-align: center;
  width: 100vw; margin: 80px 0 0 calc(50% - 50vw); padding: 72px max(24px, calc(50vw - 380px)) 40px; border: 0;
  background: radial-gradient(70% 90% at 50% 0%, #1f1b14 0%, #0b0b0b 70%); color: #fff;
}
.hf-logo { width: 190px; height: auto; display: block; }
.hf-tag { margin: 18px 0 0; font-size: 10.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #ffffff8c; }
.hf-rule { display: block; width: 56px; height: 1px; margin: 36px 0; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hf-cols { display: grid; gap: 30px; width: 100%; }
.hf-cols > div { display: grid; gap: 6px; justify-items: center; align-content: start; font-size: 14px; line-height: 1.6; color: #ffffffd0; }
.hf-cols small { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--accent); margin-bottom: 4px; }
.hf-cols a { color: #ffffffd0; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 0 1px no-repeat; transition: color .3s, background-size .4s var(--ease); }
.hf-cols a:hover { color: #fff; background-size: 100% 1px; }
.hf-muted { color: #ffffff70; font-size: 13px; }
.hf-copy { margin: 48px 0 0; padding-top: 22px; width: 100%; border-top: 1px solid #ffffff14; font-size: 12px; letter-spacing: .04em; color: #ffffff70; }
.hf-copy em { font-size: 13px; color: #ffffffa8; }
@media (min-width: 640px) { .hf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hf-logo { width: 220px; } }

/* Cita confirmada: billete */
.booked-hero { padding: 10px 0 2px; }
.booked-hero h1 { margin: 10px 0 4px; }
.booked-hero .sub { font-size: 17px; }
.booked-hero .sub em { color: var(--ink); font-size: 1.2em; }
svg.booked-check { width: 70px; height: 70px; display: block; margin: 0 auto; background: none; border-radius: 0; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.booked-check circle { fill: var(--ok); stroke: none; }
.booked-check path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket { position: relative; margin: 22px 0 16px; border-radius: 26px; color: #fff; background: radial-gradient(120% 80% at 100% 0%, #3a3122 0%, #15130f 55%, #0b0b0b 100%); box-shadow: 0 30px 50px -30px #000c; animation: ticket-in .7s .15s var(--ease) both; }
.ticket::before { content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1px; background: linear-gradient(140deg, #f3cf8a99, #ffffff10 40%, #f3cf8a55); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(26px) rotate(-1.5deg) scale(.97); } }
.tix-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.tix-top img { width: 92px; filter: brightness(0) invert(1); }
.tix-ok { font-size: 12px; font-weight: 800; color: #06240f; background: #34d27a; padding: 6px 11px; border-radius: 999px; }
.tix-who { display: flex; align-items: center; gap: 14px; padding: 20px 20px 4px; }
.tix-who small, .tix-grid small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #ffffff80; margin-bottom: 3px; }
.tix-who strong { font-size: 22px; letter-spacing: -.5px; }
.tix-face { width: 62px; height: 62px; border-radius: 18px; object-fit: cover; object-position: 50% 15%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 24px; box-shadow: 0 0 0 2px #0b0b0b, 0 0 0 3px #f3cf8a88; }
.tix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 18px 20px 22px; }
.tix-grid strong { font-size: 17px; letter-spacing: -.2px; }
.tix-grid div:nth-child(2) strong { font-size: 26px; letter-spacing: -1px; color: var(--accent); line-height: 1; }
.tix-cut { position: relative; height: 0; border-top: 2px dashed #ffffff26; margin: 0 22px; }
.tix-cut::before, .tix-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.tix-cut::before { left: -34px; } .tix-cut::after { right: -34px; }
.tix-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px 18px; font-size: 13px; color: #ffffffa0; }
.tix-foot b { color: #fff; letter-spacing: 1px; }
.tix-pts { color: var(--ink); background: var(--accent); font-weight: 800; padding: 6px 11px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ══ Movimiento ══════════════════════════════════════════════════════ */
/* Aparecer al entrar en pantalla (las clases las pone y quita app.js) */
.rv { opacity: 0; transform: translateY(28px); }
.rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0s), transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.svc.rv { animation: none; }
.about-photos figure.rv { transform: translateY(28px) scale(.96); }
.about-photos figure.rv.in { transform: none; }

/* Rótulos con una raya dorada */
.home-block .eyebrow, .heading .eyebrow { display: flex; align-items: center; gap: 10px; color: #8a6a2e; letter-spacing: 2.2px; }
.home-block .eyebrow::before, .heading .eyebrow::before { content: ""; flex: none; width: 22px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }

/* Servicios: se levantan y un brillo dorado sigue al ratón */
.svc { overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx, -300px) var(--my, -300px), #f3cf8a3d, transparent 70%); opacity: 0; transition: opacity .35s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px #000b; }
.svc:hover::before { opacity: 1; }
.svc-ic { transition: box-shadow .4s; }
.svc:hover .svc-ic { box-shadow: inset 0 0 0 1px #f3cf8a80, inset 0 1px 0 #ffffff1c, 0 0 22px -4px #f3cf8a55; }
.svc-go { transition: transform .35s var(--ease); }
.svc:hover .svc-go { transform: translateX(3px); }
.svc:active { transform: scale(.98); }

/* Reseñas */
.rating-card { position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.rating-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, -300px) var(--my, -300px), #f3cf8a40, transparent 70%); }
.rating-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px #000a; }
.rating-count b { font-variant-numeric: tabular-nums; color: var(--ink); }
.rating-card .stars { background: linear-gradient(90deg, #e0a100 40%, #ffe7a3 50%, #e0a100 60%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: stars 4s ease-in-out infinite; }
@keyframes stars { 0%, 40% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* Equipo y cromos: se inclinan en 3D con el ratón y llevan un reflejo */
.mate-photo, .cromo { transform-style: preserve-3d; will-change: transform; }
.mate-photo { transition: transform .35s var(--ease), box-shadow .35s; }
.mate:hover .mate-photo { box-shadow: 0 26px 40px -24px #000c; }
.mate-photo::before, .cromo-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), #ffffff47, transparent 55%); opacity: 0; transition: opacity .35s; }
.mate:hover .mate-photo::before, .cromo:hover .cromo-photo::before { opacity: 1; }
.cromo { transition: transform .35s var(--ease), box-shadow .35s; animation: cromo-in .8s var(--ease) backwards; }
.cromo:nth-child(2) { animation-delay: .08s; } .cromo:nth-child(3) { animation-delay: .16s; } .cromo:nth-child(4) { animation-delay: .24s; }
.cromo:hover { box-shadow: 0 1px 0 #ffffff10 inset, 0 30px 44px -22px #000d; }
@keyframes cromo-in { from { opacity: 0; transform: perspective(800px) translateY(34px) rotateX(18deg) scale(.94); } }

/* ══ Tipografía de casa ══════════════════════════════════════════════
   Serif Bodoni Moda para lo que se lee como marca (títulos, servicios, precios,
   nombres); sans fina para lo práctico. Nada de negritas gruesas. */
.nova-logo { display: inline-block; height: auto; }
.nova-logo.inv { filter: brightness(0) invert(1); }

.home-block h2, .heading .h1 { font-size: 31px; line-height: 1.06; letter-spacing: -.018em; }
.home-block h2 em, .heading .h1 em { color: var(--gold-ink); }
.heading .sub { font-size: 15px; }
.section-label { font-weight: 600; letter-spacing: .2em; font-size: 10.5px; }
.back-link { font-weight: 600; }
.btn, button { font-weight: 600; letter-spacing: .01em; }
.hdr-btn { font-weight: 600; }
.hero-chip { font-weight: 500; }
.hero-team { font-weight: 500; }

.svc-txt strong { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.12; }
.svc-price { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.svc-price small { font-family: var(--display); font-weight: 600; letter-spacing: .14em; }
.svc-dur, .only-tag { font-weight: 500; }
.hs-txt strong { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.hs-go { font-weight: 600; letter-spacing: .02em; }

.rating-number { font-family: var(--serif); font-size: 58px; font-weight: 500; letter-spacing: -.02em; }
.rating-number small { font-family: var(--display); font-size: 15px; }
.mate-name { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.mate-photo::after { font-weight: 600; letter-spacing: .04em; }
.about-tags li { font-weight: 500; }
.visit address strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }

.ph-name h1 { font-weight: 500; font-size: 26px; letter-spacing: -.01em; }
.ph-count strong, .pts-num { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.pts-num { font-size: 84px; }
.na-time, .tix-who strong { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.na-time { font-size: 30px; }
.tix-who strong { font-size: 22px; }
.tix-grid div:nth-child(2) strong { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.01em; }
.club-card h2, .invite h2 { font-size: 23px; }

/* Cifras rectas en la serif (por si la letra trae números antiguos) */
h1, h2, .h1, .serif, .hs-txt strong, .svc-price, .rating-number, .pts-num, .ph-count strong, .na-time, .tix-who strong, .tix-grid strong, .hf-cols small { font-variant-numeric: lining-nums; }

@media (min-width: 640px) {
  .home-block h2, .heading .h1 { font-size: 38px; }
  h1, .h1 { font-size: 40px; }
}

/* Huecos y días: pequeño rebote al elegir */
.time-pill { transition: background-color .15s, color .15s, border-color .15s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.time-pill:hover { transform: translateY(-2px); }
.time-pill.selected { animation: pick .4s cubic-bezier(.3, 1.6, .5, 1); }
.cal-cell.selected { animation: pick .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pick { 40% { transform: scale(1.12); } }

/* Botón principal con barrido de luz al pasar */
.btn:not(.secondary):not(.danger), button.book-btn { position: relative; overflow: hidden; }
.btn:not(.secondary):not(.danger)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, #ffffff40 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:not(.secondary):not(.danger):hover::after { transform: translateX(120%); }

/* El premio por recoger comparte la clase .ticket con el billete de la cita: sin heredar su color blanco ni sus márgenes */
.rw.ticket { color: var(--ink); margin: 0; box-shadow: 0 12px 26px -20px #0006; animation: rise .45s var(--ease) both; }
.rw.ticket::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}

/* ── panel del equipo ─────────────────────────────────────────────── */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 4px; }
.who-item { position: relative; display: grid; justify-items: center; gap: 8px; margin: 0; padding: 14px 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.who-item input { position: absolute; opacity: 0; pointer-events: none; }
.who-item:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.who-item:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.who-face { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; object-position: top; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 22px; flex: none; }
.staff-top { display: flex; align-items: center; gap: 14px; }
.staff-top h1 { margin: 2px 0 0; font-size: 30px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 20px 0 16px; background: var(--soft); border-radius: 14px; }
.tabs a { display: grid; place-items: center; min-height: 42px; border-radius: 11px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); text-align: center; padding: 0 8px; }
.tabs a.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #0000001a; }
.ag-day { font-weight: 700; margin: 0 0 8px; }
.ag-other .ag-item { background: #faf9f6; }
.month-nav { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px; margin-bottom: 4px; }
.month-nav strong { font-size: 16px; }
.stat3.money strong { font-size: clamp(17px, 5.4vw, 24px); white-space: nowrap; }
.caja-meta { font-size: 13px; color: var(--muted); margin: 6px 2px 10px; }
.caja-svc { padding: 4px 18px; }
.caja-svc dt small { color: var(--muted); font-weight: 400; }
.caja-more { margin: 10px 0 0; }
.caja-more summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 10px 2px; list-style-position: inside; }
.caja-rows { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.caja-rows li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.caja-rows time { font-weight: 700; font-size: 13px; }
.caja-rows time small, .caja-rows b small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.caja-rows span { display: grid; gap: 1px; min-width: 0; font-size: 13px; color: var(--muted); }
.caja-rows span strong { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caja-rows b { text-align: right; white-space: nowrap; }
.caja-hero { margin-top: 14px; }
.caja-big { font-size: 44px !important; font-weight: 900; letter-spacing: -2px; color: #fff !important; margin: 10px 0 12px !important; line-height: 1; }
.caja-split { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; position: relative; z-index: 1; }
.caja-split li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #cfc8b8; padding-bottom: 8px; border-bottom: 1px solid #ffffff14; }
.caja-split b { color: #fff; }
.caja-hero > p:last-child { color: var(--accent); font-weight: 700; }
.worker { padding: 16px; }
.worker-head { display: flex; align-items: center; gap: 12px; }
.worker-head .who-face { width: 48px; height: 48px; border-radius: 14px; }
.worker-head div { display: grid; gap: 2px; min-width: 0; }
.worker-head strong { font-size: 17px; }
.worker-head span { font-size: 13px; color: var(--muted); }
.comm-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 6px; }
.comm-box div { display: grid; gap: 3px; padding: 10px; background: var(--soft); border-radius: 12px; min-width: 0; }
.comm-box span { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.comm-box strong { font-size: 17px; white-space: nowrap; }
.comm-box div:nth-child(2) { background: var(--ink); }
.comm-box div:nth-child(2) span { color: #b9b2a3; }
.comm-box div:nth-child(2) strong { color: var(--accent); }
.worker .seg { margin-top: 10px; }
.seg button.paid { background: #e3f5e8; color: #1f6b35; border-color: #bfe5cd; }
.pct-field { display: flex; align-items: center; gap: 10px; }
.pct-field input { flex: 1; font-size: 22px; font-weight: 700; }
.pct-field span { font-size: 22px; font-weight: 700; }
.rd-item time { font-size: 10px; letter-spacing: 0; overflow-wrap: normal; }

/* ── tarjeta en garantía y faltas ─────────────────────────────────── */
.guarantee { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: start; gap: 12px; margin: 22px 0 4px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.guarantee.has { background: #f2faf4; border-color: #cfe9d7; }
.g-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
.guarantee.has .g-ic { background: #1f9d55; color: #fff; }
.g-ic svg { width: 21px; height: 21px; }
.guarantee strong { display: block; font-size: 15px; margin-bottom: 3px; }
.guarantee span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.guarantee span b { color: var(--ink); }
.g-link { min-height: 0; padding: 6px 10px; font-size: 13px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
.check b { font-weight: 700; }
.pay-mount { min-height: 120px; margin: 14px 0 8px; }
.pay-err { color: #a62a29; font-size: 14px; min-height: 0; margin: 0 0 10px; }
.pay-err:empty { display: none; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.secure-note svg { width: 14px; height: 14px; flex: none; }
.fake-card { padding: 14px; border-radius: 16px; border: 1px dashed #c9a85c; background: #fffaf0; }
.fake-card label:first-of-type { margin-top: 8px; }
.fake-tag { display: inline-block; margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #7a5a14; background: #f3cf8a66; padding: 4px 9px; border-radius: 999px; }
.fake-help { font-size: 12px; margin: 12px 0 0; }
.owe { display: grid; gap: 3px; margin: 4px 0 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: #6d1f1f; background: #fff0ee; border: 1px solid #f0c6c0; }
.owe strong { font-size: 15px; }
.owe span { font-size: 13px; line-height: 1.4; }
.charge-note { font-size: 14px; background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.charge-note.ok { background: #e3f5e8; color: #1f6b35; }
.my-card .mc-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.mc-chip { flex: none; display: grid; place-items: center; width: 64px; height: 42px; border-radius: 9px; font-size: 9px; font-weight: 900; letter-spacing: .6px; color: var(--accent); background: linear-gradient(135deg, #2b2822, #0b0b0b); box-shadow: inset 0 0 0 1px #f3cf8a55; }
.my-card strong { display: block; font-size: 18px; letter-spacing: 1px; }
.my-card .mc-row span { font-size: 13px; color: var(--muted); }
.strike-warn { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff5de; border: 1px solid #e2d0a1; font-size: 13px; font-weight: 700; color: #6b4b0f; }
.ag-item em.strike { font-style: normal; font-size: 11px; font-weight: 800; color: #8a5a00; background: #ffe9b8; padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.chg { display: grid; gap: 4px; margin: 12px 0 0; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.chg strong { font-size: 15px; }
.chg span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.chg .btn { margin-top: 10px; }
.chg.ok { background: #f2faf4; border-color: #cfe9d7; }
.chg.ok strong { color: #1f6b35; }
.chg.wait { background: #fffaf0; border-color: #ead7a8; }
.chg.bad { background: #fff6f4; border-color: #f0c6c0; }
.chg.bad strong { color: #9e2c2c; }
.chg-hint { font-size: 13px; margin: 12px 0 0; }
.st-wait { background: #fff1cc; color: #7a5a14; }
.faltas { display: grid; gap: 8px; margin-top: 14px; }
.ag-item.falta { grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; }
.ag-item.falta .appt-state { margin: 0; white-space: nowrap; }
.tabs:has(> a:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tabs:has(> a:nth-child(3)) a { font-size: 13px; padding: 0 4px; }
.my-card .mc-row .mc-chip { color: var(--accent); font-size: 10px; }

/* ── formación ────────────────────────────────────────────────────── */
.train-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: stretch; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.train-card:hover { border-color: #c9b98f; }
.tc-photo { display: block; border-radius: 15px; overflow: hidden; background: var(--ink); min-height: 140px; }
.tc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-txt { display: grid; align-content: center; gap: 6px; padding: 6px 6px 6px 0; }
.tc-txt small { font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.tc-txt strong { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.05; }
.tc-txt > span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tc-txt b { font-size: 13px; font-weight: 600; color: var(--ink); border-top: 1px solid #e6d9b8; padding-top: 8px; margin-top: 2px; }

.tr-hero { position: relative; overflow: hidden; display: grid; border-radius: 26px; background: #0b0b0b; color: #fff; margin: 6px 0 8px; min-height: 460px; }
.tr-photo { position: absolute; inset: 0; }
.tr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .62; }
.tr-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b0b0b10 0%, #0b0b0b55 45%, #0b0b0bf0 100%); }
.tr-hero-in { position: relative; align-self: end; padding: 24px 22px 24px; }
.tr-hero .eyebrow { color: var(--accent); margin-top: 14px; }
.tr-hero h1 { color: #fff; margin: 6px 0 10px; }
.tr-hero h1 em { color: #f3dfb6; }
.tr-hero .sub { color: #ffffffc2; max-width: 34ch; }
.tr-hero .btn { background: var(--accent); color: var(--ink); border-color: var(--accent); margin-top: 6px; }
.tr-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid #ffffff33; background: #ffffff14; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tr-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tr-block { margin-top: 44px; }
.tr-block > h2 { margin-top: 6px; }
.tr-topics { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.tr-topics li { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tr-topics li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 12px; }
.tr-topics li:nth-child(even) { padding-left: 14px; }
.tr-levels { display: grid; gap: 10px; margin-top: 16px; }
.tr-level { display: grid; gap: 3px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tr-level small { font-family: var(--serif); font-size: 15px; color: #a8894b; }
.tr-level strong { font-size: 16px; font-weight: 600; }
.tr-level span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.tr-steps { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.tr-steps li { counter-increment: s; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.tr-steps li:last-child { border-bottom: 1px solid var(--line); }
.tr-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--serif); font-size: 20px; color: #a8894b; }
.tr-steps strong { color: var(--ink); font-weight: 600; }

.tr-form { padding: 22px 18px; }
.tr-form h2 { margin: 6px 0 4px; }
.tr-form label small, .tr-field legend small { font-weight: 400; color: var(--muted); }
.tr-form textarea { resize: vertical; min-height: 90px; }
.tr-field { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.tr-field legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 9px; }
.tr-levels.pick { margin-top: 0; gap: 8px; }
.tr-levels.pick .tr-level { position: relative; cursor: pointer; margin: 0; font-weight: 400; padding: 14px 16px 14px 46px; transition: border-color .15s, background .15s; }
.tr-levels.pick input { position: absolute; left: 16px; top: 17px; width: 18px; min-height: 18px; margin: 0; accent-color: var(--ink); }
.tr-levels.pick .tr-level:has(input:checked) { border-color: var(--ink); background: #fbf8f1; box-shadow: inset 0 0 0 1px var(--ink); }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { margin: 0; font-weight: 400; cursor: pointer; }
.tchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tchip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; transition: background .15s, border-color .15s, color .15s; }
.tchip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.tchip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.tr-done { text-align: center; padding: 30px 20px; }
.tr-check { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 4px; border-radius: 50%; border: 1px solid #c9b98f; color: #a8894b; font-size: 22px; }
.tr-done h2 { margin: 10px 0 8px; }
.tr-done p { color: var(--muted); }
.tr-wa { text-align: center; margin-top: 18px; }

/* panel del dueño */
.tabs:has(> a:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabs:has(> a:nth-child(4)) a { font-size: 12px; padding: 0 2px; }
.tr-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tr-share strong { display: block; font-size: 14px; }
.tr-share span { font-size: 13px; color: var(--muted); word-break: break-all; }
.tr-bars { margin: 6px 0 4px; }
.tr-bars .section-label { margin: 14px 0 8px; }
.tr-bar { display: grid; grid-template-columns: minmax(0, 1fr) 90px 26px; align-items: center; gap: 10px; font-size: 13px; padding: 4px 0; }
.tr-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-bar i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #c9a85c var(--w), #ebe8df var(--w)); }
.tr-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.tr-filter { display: flex; gap: 6px; overflow-x: auto; margin: 18px 0 12px; padding-bottom: 2px; scrollbar-width: none; }
.tr-filter button { flex: none; min-height: 36px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tr-filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tr-filter small { opacity: .6; margin-left: 2px; }
.tr-item { padding: 16px; }
.tr-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tr-item-top strong { display: block; font-size: 16px; }
.tr-item-top span { font-size: 13px; color: var(--muted); }
.tr-item-top .appt-state { margin: 0; flex: none; }
.tr-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; }
.tr-tags span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--soft); }
.tr-line { font-size: 13px; margin: 8px 0 0; }
.tr-msg { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; margin: 10px 0 0; color: #3b3a35; }
.tr-st { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.tr-del { display: block; margin: 10px 0 0 auto; min-height: 0; padding: 4px 0; background: none; border: 0; color: #9e2c2c; font-size: 12px; font-weight: 500; text-decoration: underline; }
@media (min-width: 640px) { .train-card { grid-template-columns: 180px minmax(0, 1fr); } .tr-levels:not(.pick) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tr-hero { min-height: 520px; } }

/* ── Club v2: ligas estelares, «Lo próximo», celebración y NOVA Supply ── */
.lg-strip { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
.lg-step span { font-size: 9px; }
@media (max-width: 440px) { .lg-step span { font-size: 8px; } }
.lg-art.lg-top { filter: drop-shadow(0 0 8px #ff8fb380) drop-shadow(0 3px 5px #0003); }
.lg-row { align-items: start; padding: 12px 14px 12px 10px; }
.lg-row strong { display: grid; gap: 1px; }
.lg-row strong small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.lg-perks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; font-size: 13px; color: #3b3a35; }
.lg-perks li { display: flex; gap: 7px; }
.lg-perks li::before { content: "✦"; color: var(--c2); font-size: 10px; line-height: 19px; flex: none; }
.lg-row.locked .lg-perks { color: var(--muted); }
.lg-row.locked .lg-perks li::before { color: #bdbab0; }
.lg-row em { margin-top: 2px; }
.lg-left { margin-top: 6px; font-size: 12px !important; font-weight: 700; color: var(--gold-ink) !important; }
.lg-row.top:not(.locked) { background: radial-gradient(120% 140% at 100% 0%, #5a2238, #1b1015 60%); border-color: #3a1526; color: #fff; }
.lg-row.top:not(.locked) .lg-perks { color: #f2dbe3; }
.lg-row.top:not(.locked) strong small { color: #e9b6c8; }
.lg-row.top.locked { background: linear-gradient(90deg, #fbf4f6, #faf9f6 55%); border-color: #ead7de; }

.nx-list { display: grid; gap: 8px; }
.nx { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px 10px 10px; }
.nx > div { display: grid; gap: 3px; min-width: 0; }
.nx strong { font-size: 15px; }
.nx span { font-size: 12.5px; color: var(--muted); }
.nx > b { font-size: 13px; font-weight: 700; color: var(--gold-ink); background: #f7ecd6; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.nx .md-bar { width: 100%; margin-top: 4px; }
.nx-art { width: 50px; height: 50px; display: block; }
.nx-art .md-svg { filter: none; }
.nx-league { border-color: color-mix(in srgb, var(--c2) 45%, var(--line)); background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 30%, #fff), #fff 70%); }
.nx-league .lg-art { width: 46px; justify-self: center; }
.nx-league .md-bar i { background: linear-gradient(90deg, var(--c2), var(--c1)); }

.cel { text-align: center; padding: 6px 0 4px; }
.cel-art { width: 120px; margin: 0 auto 6px; animation: celpop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.cel-art .lg-art { filter: drop-shadow(0 10px 22px color-mix(in srgb, var(--c2) 60%, transparent)); }
.cel h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 2px 0 4px; }
.cel-motto { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0 0 12px; }
.cel-perks { text-align: left; max-width: 320px; margin: 0 auto 8px; background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.cel-medals { margin: 8px 0 16px; display: grid; gap: 8px; }
.cel-medals .eyebrow { text-align: center; }
.cel-medals .nx-art { animation: celpop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes celpop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cel-art, .cel-medals .nx-art { animation: none; } }

/* NOVA Supply en el Club */
.supply { display: grid; grid-template-columns: 38% minmax(0, 1fr); overflow: hidden; margin: 26px 0 8px; border-radius: 24px; color: #f5f4f0; background: #141210; box-shadow: 0 30px 60px -40px #000; }
.sp-photo { margin: 0; position: relative; }
.sp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #141210); }
.sp-txt { padding: 20px 18px 18px 6px; display: grid; align-content: start; gap: 0; min-width: 0; }
.sp-txt .club-tag { justify-self: start; color: #f4a9c2; border-color: #f4a9c255; }
.sp-txt h2 { color: #fff; margin: 12px 0 6px; font-size: 23px; }
.sp-txt p { color: #cfc8b8; font-size: 13.5px; margin: 0 0 12px; }
.sp-txt p b { color: #fff; font-weight: 600; }
.sp-disc { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #ffffff0d; border: 1px solid #ffffff1a; }
.sp-disc .lg-art { width: 26px; flex: none; }
.sp-disc b { color: var(--c1) !important; }
.sp-soon { font-size: 12.5px !important; }
.supply .btn { margin-top: 2px; font-size: 14px; }
@media (max-width: 420px) { .supply { grid-template-columns: 1fr; } .sp-photo { height: 210px; } .sp-photo::after { background: linear-gradient(180deg, transparent 55%, #141210); } .sp-txt { padding: 4px 18px 18px; } }

/* NOVA Supply en la portada */
.shop-pics { display: grid; align-items: start; grid-template-columns: 1.15fr 1fr; gap: 8px; margin: 18px 0 16px; }
.shop-pics figure { margin: 0; position: relative; }
.shop-pics img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #ebebeb; }
.shop-main img { object-position: 50% 35%; }
.shop-item img { object-fit: contain; padding: 10%; }
.shop-item figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: #ffffffd9; padding: 4px 9px; border-radius: 20px; }
@media (min-width: 640px) { .shop-home .home-actions { grid-template-columns: auto auto; justify-content: start; } }

/* Panel: venta de ropa */
.staff-bar:has(> :nth-child(3)) { grid-template-columns: 1fr 1fr; }
.staff-bar > :nth-child(3) { grid-column: 1 / -1; }
.staff-bar svg, .sp-staff-btn svg { width: 18px; height: 18px; }
.sp-staff-btn { margin-top: 12px; gap: 8px; }
.sp-who .lg-art { width: 40px; flex: none; }
.sp-who b { color: var(--gold-ink); }
.form-row2 { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; }
.sp-preview { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.sp-preview b { color: #1f7a3c; }
