/* Ocre Barber Club · Opción D «Club con reserva integrada»
   Paleta y tipografías según docs/02-diseno.md (opción D). Fuentes servidas desde la propia web. */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #110F0D;
  --surface: #1B1815;
  --surface-2: #231F1B;
  --text: #F5EFE6;
  --soft: #DCD3C5;
  --muted: #A8A096;
  --accent: #D4A657;
  --accent-press: #C29343;
  --ok: #5FB37A;
  --line: #2C2722;
  --line-strong: #3D362F;
  --cream: #F5EFE6;
  --cream-2: #EBE2D3;
  --ink: #1B1612;
  --ink-muted: #5E554B;
  --gold-ink: #8A6421; /* oro oscuro para texto sobre crema (AA) */

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --mb-h: 0px;
  --r-lg: 18px;
  --r-md: 12px;
  --arch: 999px 999px var(--r-md) var(--r-md);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 899px) { :root { --mb-h: 72px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  padding-bottom: var(--mb-h); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
/* Grano fotográfico muy sutil */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: .75rem 1rem; font-weight: 700; transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font: 600 .98rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--accent); color: var(--ink); }
.btn-gold:hover { background: #E2B869; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #2C241D; }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.site-header.is-solid, .site-header.is-static, body.nav-open .site-header { background: rgba(17, 15, 13, .97); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none; white-space: nowrap; }
.logo-word { font: 400 2.1rem/1 var(--font-display); letter-spacing: -.01em; }
.logo-sub { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: .93rem; color: var(--soft); padding: .5rem 0; }
.main-nav a:hover { color: var(--accent); }
.lang { display: flex; gap: 2px; font-size: .82rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; padding: .3rem .6rem; border-radius: 999px; color: var(--muted); min-width: 34px; text-align: center; }
.lang a[aria-current="true"] { background: var(--surface-2); color: var(--text); }
.lang a:hover { color: var(--text); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; place-items: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .2s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .header-inner { gap: .6rem; }
  .logo-sub { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; margin: 0; background: var(--bg); padding: 1.5rem var(--gutter) calc(var(--mb-h) + 2rem); display: none; overflow-y: auto; }
  body.nav-open .main-nav { display: block; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1rem 0; font: 400 2.2rem/1.1 var(--font-display); color: var(--text); }
  .header-inner > .lang { display: none; }
  .main-nav .lang { display: inline-flex; margin-top: 1.5rem; }
  .main-nav .lang a { font: 500 .9rem/1.2 var(--font-body); padding: .5rem .9rem; color: var(--muted); }
  .main-nav .lang a[aria-current="true"] { color: var(--text); }
}
@media (min-width: 1024px) { .main-nav .lang { display: none; } }
@media (max-width: 420px) { .header-cta { padding-inline: .9rem; } .logo-word { font-size: 1.85rem; } }

/* ---------- Portada con reserva ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem); }
.hero-media { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 22% 38%, rgba(212, 166, 87, .16), rgba(212, 166, 87, 0) 70%),
    linear-gradient(180deg, rgba(17,15,13,.74) 0%, rgba(17,15,13,.55) 40%, var(--bg) 100%),
    linear-gradient(90deg, rgba(17,15,13,.86) 0%, rgba(17,15,13,.2) 70%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr minmax(440px, 500px); gap: 4rem; min-height: calc(100svh - var(--header-h) - 6rem); } }
@media (min-width: 1024px) and (max-height: 860px) { .hero { padding-top: calc(var(--header-h) + 1.25rem); } }
.hero-title { margin: 0 0 1.25rem; font: 400 clamp(3.1rem, 8.6vw, 6.4rem)/.95 var(--font-display); letter-spacing: -.015em; }
.hero-lead { margin: 0 0 1.75rem; max-width: 40ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #E4DCCF; }
.hero-rating { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .95rem; color: #E4DCCF; }
.hero-rating strong { font: 400 2rem/1 var(--font-display); color: var(--text); }
.hero-rating:hover span:last-child { text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .icon { width: 16px; height: 16px; }
.hero-sedes { list-style: none; margin: 1.6rem 0 0; padding: .5rem 0 0; max-width: 27rem; border-top: 1px solid rgba(245, 239, 230, .18); }
.hero-sedes a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem 0; text-decoration: none; border-bottom: 1px solid rgba(245, 239, 230, .1); }
.hero-sedes b { font: 400 1.35rem/1 var(--font-display); }
.hero-sedes a:hover b { color: var(--accent); }
.live { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--soft); }
.live::before, .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.live.is-open::before, .status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 179, 122, .2); }
.live.is-closed::before, .status.is-closed::before { background: #C9785F; }

/* Asistente de reserva */
.booking { background: rgba(27, 24, 21, .94); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(245, 239, 230, .06); overflow: hidden; overflow: clip; scroll-margin-top: calc(var(--header-h) + 12px); }
@supports (backdrop-filter: blur(10px)) { .booking { background: rgba(27, 24, 21, .86); backdrop-filter: blur(14px); } }
.bk-head { padding: 1.2rem 1.4rem .9rem; border-bottom: 1px solid var(--line); }
.bk-title { margin: 0 0 .85rem; font: 400 1.65rem/1.1 var(--font-display); }
.bk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.bk-steps button { width: 100%; padding: .55rem 0 0; background: none; border: 0; border-top: 3px solid var(--line-strong); text-align: left; font-size: .78rem; color: var(--muted); cursor: default; }
.bk-steps li.is-current button { border-top-color: var(--accent); color: var(--text); font-weight: 600; }
.bk-steps li.is-done button { border-top-color: var(--accent); color: #D9CFBF; cursor: pointer; }
.bk-steps li.is-done button:hover { color: var(--accent); }
.bk-body { padding: 1rem 1.4rem 1.1rem; }
@media (min-width: 1024px) { .bk-body { min-height: 452px; } }
.bk-step legend { padding: 0; margin-bottom: .7rem; font-weight: 600; font-size: 1rem; }
.bk-step legend:focus { outline: none; }
.bk-hint { margin: -.35rem 0 .9rem; font-size: .88rem; color: var(--muted); }
.bk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .8rem; }
.bk-options { display: grid; gap: .4rem; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .1rem .85rem; padding: .58rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; background: rgba(17, 15, 13, .35); transition: border-color .15s, background-color .15s; }
.opt:hover { border-color: #5A5047; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--accent); background: rgba(212, 166, 87, .09); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-mark { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #6B6157; display: grid; place-items: center; }
.opt:has(input:checked) .opt-mark { border-color: var(--accent); }
.opt:has(input:checked) .opt-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.opt-name { font-weight: 600; font-size: .98rem; }
.opt-meta { grid-column: 2; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.opt-price { grid-row: 1 / span 2; grid-column: 3; font: 400 1.5rem/1 var(--font-display); }
.opt-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; grid-row: 1 / span 2; }
.opt.is-barber .opt-mark { grid-row: 1 / span 2; grid-column: 3; }
.opt.is-barber .opt-name, .opt.is-barber .opt-meta { grid-column: 2; }
.opt-any { width: 44px; height: 44px; border-radius: 50%; border: 1px dashed #6B6157; grid-row: 1 / span 2; display: grid; place-items: center; color: var(--accent); }
.opt-any .icon { width: 18px; height: 18px; }
.opt-off { font-size: .74rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: .05rem .45rem; margin-left: .4rem; font-weight: 500; white-space: nowrap; }

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: .45rem 1rem; border-radius: 999px; font-size: .9rem; color: var(--muted); min-height: 36px; white-space: nowrap; }
.seg input:checked + span { background: var(--accent); color: var(--ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: .1rem; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; }
.stepper button:hover:not([disabled]) { background: #332D27; }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper .icon { width: 16px; height: 16px; }
.stepper output { min-width: 5.6rem; text-align: center; font-size: .9rem; }

.bk-extras { margin-top: .8rem; padding-top: .75rem; border-top: 1px dashed var(--line-strong); }
.bk-extras-label { margin: 0 0 .5rem; font-size: .84rem; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .35rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; }
.pill span i { font-style: normal; color: var(--accent); }
.pill:hover span { border-color: #5A5047; }
.pill input:checked + span { border-color: var(--accent); background: rgba(212, 166, 87, .12); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.days { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1.4rem 1rem; padding: 0 1.4rem .2rem; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; cursor: pointer; scroll-snap-align: start; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--line-strong); border-radius: 12px; font-size: .86rem; line-height: 1.2; text-align: center; }
.chip span small { display: block; color: var(--muted); font-size: .74rem; }
.chip:hover span { border-color: #5A5047; }
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.chip input:checked + span small { color: rgba(27, 22, 18, .75); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .45rem; max-height: 214px; overflow-y: auto; padding: 2px; }
.times .chip span { min-width: 0; }
.times-group { margin: .2rem 0 .1rem; font-size: .8rem; color: var(--muted); grid-column: 1 / -1; }
.bk-empty { padding: 1rem; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--muted); font-size: .92rem; }

.field { display: grid; gap: .35rem; margin-bottom: .85rem; }
.field label, .field .label { font-size: .88rem; font-weight: 600; }
.input { width: 100%; min-height: 48px; padding: .7rem .9rem; font-size: 16px; background: rgba(17, 15, 13, .6); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); }
.input::placeholder { color: #7D756B; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.input[aria-invalid="true"] { border-color: #C9785F; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .84rem; color: #CFC6B8; margin: .2rem 0 .4rem; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--accent); }
.check a { color: var(--accent); }
.field-error { color: #F0A58F; font-size: .84rem; margin: .1rem 0 0; }
.bk-two { display: grid; gap: 0 .75rem; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 420px) { .bk-two { grid-template-columns: 1fr; } }

.bk-receipt { margin: 0 0 .9rem; padding: .75rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: rgba(17, 15, 13, .4); font-size: .88rem; }
.bk-receipt div { display: flex; justify-content: space-between; gap: 1rem; padding: .16rem 0; }
.bk-receipt dt { color: var(--muted); }
.bk-receipt dd { margin: 0; text-align: right; }
.bk-receipt .total { margin-top: .35rem; padding-top: .5rem; border-top: 1px dashed var(--line-strong); align-items: baseline; }
.bk-receipt .total dt { color: var(--text); font-weight: 600; }
.bk-receipt .total dd { font: 400 1.7rem/1 var(--font-display); color: var(--accent); }

.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.4rem; border-top: 1px solid var(--line); background: #231F1B; }
/* En el móvil, el resumen y «Continuar» se quedan a la vista mientras se elige */
@media (max-width: 1023px) { .bk-foot { position: sticky; bottom: var(--mb-h); z-index: 2; } }
.bk-summary { min-width: 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.bk-summary strong { display: block; color: var(--text); font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-summary span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-actions { display: flex; gap: .5rem; flex: none; }
.bk-back { background: none; border: 0; color: var(--muted); padding: .5rem .4rem; cursor: pointer; font-size: .92rem; min-height: 44px; }
.bk-back:hover { color: var(--text); }
.bk-final { display: grid; gap: .55rem; margin-top: .8rem; }
.bk-final .btn { width: 100%; }
.bk-final .btn[aria-disabled="true"] { opacity: .45; }
.bk-note { font-size: .8rem; color: var(--muted); margin: .5rem 0 0; }
.bk-fallback { padding: 1.4rem; display: grid; gap: .75rem; }
.bk-fallback p { margin: 0; }

.bk-done { padding: 1.2rem .4rem .6rem; text-align: center; }
.bk-done-mark { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(212, 166, 87, .14); border: 1px solid var(--accent); color: var(--accent); }
.bk-done-mark .icon { width: 30px; height: 30px; }
.bk-done h3 { margin: 0 0 .5rem; font: 400 2.1rem/1.05 var(--font-display); }
.bk-done > p { margin: 0 auto 1.1rem; max-width: 34ch; color: var(--soft); font-size: .95rem; }
.bk-done .bk-receipt { text-align: left; }
.bk-done .bk-final { margin-top: 0; }

/* ---------- Cifras ---------- */
.figures { border-block: 1px solid var(--line); background: var(--bg); }
.figures ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.figures li { padding: 1.4rem var(--gutter); border-bottom: 1px solid var(--line); }
.figures li:nth-child(odd) { border-right: 1px solid var(--line); }
@media (min-width: 900px) {
  .figures ul { grid-template-columns: repeat(4, 1fr); }
  .figures li { border-bottom: 0; border-right: 1px solid var(--line); padding-block: 1.8rem; }
  .figures li:last-child { border-right: 0; }
}
.fig-num { display: block; font: 400 clamp(2.3rem, 4.5vw, 3.2rem)/1 var(--font-display); color: var(--text); }
.fig-label { display: block; margin-top: .35rem; font-size: .9rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-alt { background: var(--surface); }
.section-head { display: grid; gap: .9rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.section-title { margin: 0; font: 400 clamp(2.6rem, 6.2vw, 4.6rem)/1 var(--font-display); letter-spacing: -.012em; }
.section-intro { margin: 0; max-width: 46ch; color: var(--muted); }

/* ---------- Precios por niveles ---------- */
.tiers { display: grid; gap: 1rem; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.tier { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.6rem 1.6rem; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
.tier.is-featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(212,166,87,.12), rgba(212,166,87,0) 60%), var(--surface); box-shadow: 0 30px 60px -40px rgba(212, 166, 87, .45); }
@media (min-width: 900px) { .tier.is-featured { margin-block: -.75rem; padding-block: 2.5rem 2.35rem; } }
.tier-flag { position: absolute; top: -12px; left: 1.6rem; padding: .2rem .7rem; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .78rem; font-weight: 700; }
.tier h3 { margin: 0; font: 400 2rem/1.05 var(--font-display); }
.tier-desc { margin: .35rem 0 1.2rem; color: var(--muted); font-size: .95rem; }
.tier-price { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 1.25rem; }
.tier-price strong { font: 400 3.6rem/1 var(--font-display); }
.tier-price span { color: var(--muted); font-size: .9rem; }
.tier ul { list-style: none; margin: 0 0 1.6rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .95rem; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; align-items: start; }
.tier li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: .15rem; }
.tier .btn { margin-top: auto; }
.menu-more { margin-top: 2.5rem; border-block: 1px solid var(--line); }
.menu-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 600; }
.menu-more summary::-webkit-details-marker { display: none; }
.menu-more summary::after { content: "+"; font: 400 1.8rem/1 var(--font-display); color: var(--accent); transition: transform .2s; }
.menu-more[open] summary::after { transform: rotate(45deg); }
.menu-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; column-gap: 4rem; }
@media (min-width: 900px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-list li { display: flex; align-items: baseline; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.menu-list .m-name { font-weight: 500; }
.menu-list .m-min { color: var(--muted); font-size: .85rem; }
.menu-list .m-price { margin-left: auto; font: 400 1.35rem/1 var(--font-display); white-space: nowrap; }
.menu-note { color: var(--muted); font-size: .9rem; margin: 0 0 1.2rem; }

/* ---------- La casa (fotos en arco) ---------- */
.house { display: grid; gap: 2.5rem; }
.house > * { min-width: 0; }
@media (min-width: 960px) { .house { grid-template-columns: .9fr 1.6fr; gap: 4rem; align-items: center; } }
.house-copy p { color: var(--soft); max-width: 44ch; }
.house-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .9rem; }
.house-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; align-items: baseline; padding-top: .9rem; border-top: 1px solid var(--line-strong); }
.house-list b { font: 400 1.45rem/1.1 var(--font-display); color: var(--accent); font-weight: 400; }
.house-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.house-photos figure { margin: 0; }
.house-photos img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: var(--arch); }
.house-photos figure:nth-child(2) { margin-top: 3.5rem; }
.house-photos figcaption { margin-top: .7rem; font: italic 400 1.15rem/1.2 var(--font-display); color: var(--soft); text-align: center; }
@media (max-width: 599px) {
  .house-photos { grid-template-columns: repeat(3, 62%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .house-photos figure { scroll-snap-align: start; }
  .house-photos figure:nth-child(2) { margin-top: 0; }
}

/* ---------- Galería ---------- */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: .75rem; } }
.g-item { display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 5; background: var(--surface); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.85); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); filter: saturate(1); }

/* ---------- Equipo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; }
.filters button { min-height: 40px; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: .9rem; color: var(--soft); }
.filters button:hover { border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.filters-label { align-self: center; color: var(--muted); font-size: .9rem; margin-right: .25rem; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.barber { display: flex; flex-direction: column; padding: .8rem .8rem 0; border: 1px solid var(--line-strong); border-radius: 150px 150px var(--r-lg) var(--r-lg); background: var(--bg); }
.barber-photo { position: relative; margin: 0; }
.barber-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.today { position: absolute; left: 50%; bottom: -.7rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-strong); font-size: .78rem; white-space: nowrap; }
.today::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.today.is-in::before { background: var(--ok); }
.barber-body { padding: 1.5rem .5rem 1.25rem; display: flex; flex-direction: column; flex: 1; text-align: center; }
.barber h3 { margin: 0; font: 400 2.1rem/1 var(--font-display); }
.barber-role { margin: .3rem 0 1rem; color: var(--accent); font-size: .95rem; }
.barber dl { margin: 0 0 1.2rem; display: grid; gap: .3rem; font-size: .9rem; text-align: left; padding-top: .9rem; border-top: 1px solid var(--line); }
.barber dl div { display: flex; gap: .5rem; }
.barber dt { color: var(--muted); min-width: 5.5rem; flex: none; }
.barber dd { margin: 0; }
.barber .btn { margin-top: auto; }

/* ---------- Opiniones ---------- */
.reviews-top { display: grid; gap: 1rem; margin-bottom: 2.25rem; }
@media (min-width: 900px) { .reviews-top { grid-template-columns: repeat(2, 1fr) auto; align-items: center; } }
.rating-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.rating-card strong { font: 400 3rem/1 var(--font-display); }
.rating-card span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.rating-card span b { display: block; color: var(--text); font-weight: 600; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .review-list { grid-template-columns: repeat(2, 1fr); } }
.review { position: relative; padding: 1.6rem 1.7rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.review::before { content: "“"; position: absolute; right: 1.2rem; top: .2rem; font: 400 5.5rem/1 var(--font-display); color: rgba(212, 166, 87, .22); }
.review blockquote { margin: .8rem 0 1.1rem; }
.review blockquote p { margin: 0; font: 400 1.45rem/1.3 var(--font-display); color: var(--text); }
.review-by { margin: 0; font-size: .9rem; font-weight: 600; }
.review-by span { color: var(--muted); font-weight: 400; }
.reviews-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .85rem; }

/* ---------- Club (banda crema) ---------- */
.club { background: var(--cream); color: var(--ink); background-image: radial-gradient(80% 60% at 85% 0%, rgba(212, 166, 87, .28), rgba(212, 166, 87, 0) 70%); }
.club .section-intro { color: var(--ink-muted); }
.club-grid { display: grid; gap: 1.25rem; }
.club-grid > * { min-width: 0; }
@media (min-width: 1000px) { .club-grid { grid-template-columns: 1fr 1fr 1.15fr; } }
.plan { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid #D9CDB9; background: #FBF7F0; }
.plan h3 { margin: 0; font: 400 2rem/1 var(--font-display); }
.plan-price { margin: 1rem 0 .3rem; display: flex; align-items: baseline; gap: .4rem; }
.plan-price strong { font: 400 3.6rem/1 var(--font-display); }
.plan-price span { color: var(--ink-muted); }
.plan-save { display: inline-block; align-self: flex-start; margin: .3rem 0 1.1rem; padding: .25rem .7rem; border-radius: 999px; background: #E3F1E6; color: #24603A; font-size: .85rem; font-weight: 600; }
.plan ul { margin: 0 0 1.5rem; padding-left: 1.1rem; color: #3F372F; font-size: .95rem; display: grid; gap: .35rem; }
.plan .btn { margin-top: auto; }
.calc { padding: 1.75rem; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); box-shadow: 0 30px 60px -30px rgba(27, 22, 18, .6); }
.calc h3 { margin: 0 0 1rem; font: 400 2rem/1.1 var(--font-display); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc-row label { font-size: .95rem; color: #CFC6B8; }
.calc-n { font: 400 2.6rem/1 var(--font-display); color: var(--accent); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: .2rem 0 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: #4A4138; }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: #4A4138; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--accent); border: 4px solid var(--ink); box-shadow: 0 0 0 1.5px var(--accent); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--ink); box-shadow: 0 0 0 1.5px var(--accent); }
.range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.switch { position: relative; display: flex; align-items: center; gap: .7rem; margin: .7rem 0 1.1rem; font-size: .95rem; cursor: pointer; color: #E4DCCF; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #4A4138; transition: background-color .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); transition: transform .2s var(--ease); }
.switch input:checked + .switch-ui { background: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 3px; }
.bars { display: grid; gap: .8rem; padding-top: 1.1rem; border-top: 1px solid #3D362F; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; align-items: baseline; }
.bar-label { font-size: .88rem; color: #CFC6B8; }
.bar-val { font: 400 1.5rem/1 var(--font-display); }
.bar-track { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: #2C2722; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w, 0%); border-radius: 999px; background: #6B6157; transition: width .45s var(--ease); }
.bar-row.is-best .bar-fill { background: var(--accent); }
.bar-row.is-best .bar-val { color: var(--accent); }
.calc-verdict { margin: 1.2rem 0 0; font-size: .95rem; color: #CFC6B8; }
.calc-verdict strong { display: block; font: 400 1.9rem/1.1 var(--font-display); color: var(--cream); margin-bottom: .2rem; }
.club-terms { margin: 1.5rem 0 0; font-size: .88rem; color: var(--ink-muted); }

/* ---------- Tarjeta regalo ---------- */
.gift { display: grid; gap: 2.5rem; align-items: center; }
.gift > * { min-width: 0; }
@media (min-width: 960px) { .gift { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.gift-stage { perspective: 1200px; display: grid; place-items: center; padding: 1rem 0; }
.gift-card {
  --gc-fg: #F5EFE6; --gc-muted: #A8A096; --gc-accent: var(--accent); --gc-line: #4A3D2E;
  --gc-bg: radial-gradient(120% 140% at 100% 0%, #3A2E22 0%, #1E1813 55%, #120F0C 100%);
  position: relative; aspect-ratio: 1.586; max-width: 520px; width: 100%;
  border-radius: 22px; padding: clamp(1.25rem, 3.5vw, 2rem); overflow: hidden; isolation: isolate;
  background: var(--gc-bg); color: var(--gc-fg); border: 1px solid var(--gc-line);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
  display: grid; grid-template-rows: auto 1fr auto auto;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .35s ease-out; will-change: transform;
}
.gift-card[data-design="crema"] { --gc-fg: #1B1612; --gc-muted: #5E554B; --gc-accent: #8A6421; --gc-line: #D9CDB9; --gc-bg: radial-gradient(120% 140% at 100% 0%, #FFFDF8 0%, #F5EFE6 50%, #E6DAC6 100%); }
.gift-card[data-design="oro"] { --gc-fg: #1B1612; --gc-muted: #4C3A14; --gc-accent: #1B1612; --gc-line: #B98F45; --gc-bg: linear-gradient(135deg, #E9C987 0%, #D4A657 45%, #B58434 100%); }
.gift-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../../img/regalo.webp") center / cover; opacity: .14; mix-blend-mode: luminosity; }
.gift-card[data-design="crema"]::before, .gift-card[data-design="oro"]::before { opacity: .08; }
.gift-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at var(--mx, 25%) var(--my, 10%), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%); }
.gc-top { display: flex; justify-content: space-between; align-items: baseline; }
.gc-brand { font: 400 2rem/1 var(--font-display); }
.gc-kind { font-size: .8rem; color: var(--gc-accent); }
.gc-amount { align-self: center; }
.gc-amount > span { display: block; font: 400 clamp(3.2rem, 9vw, 4.8rem)/1 var(--font-display); color: var(--gc-accent); }
.gc-amount small { display: block; font: 400 .92rem/1.3 var(--font-body); color: var(--gc-muted); margin-top: .3rem; }
.gc-msg { margin: 0 0 .7rem; font: italic 400 1.25rem/1.15 var(--font-display); }
.gc-bottom { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding-top: .7rem; border-top: 1px solid var(--gc-line); }
.gc-bottom span b { display: block; font-weight: 400; font-size: .74rem; color: var(--gc-muted); }
.gift-form fieldset { margin-bottom: 1.1rem; }
.gift-form legend { padding: 0; margin-bottom: .55rem; font-size: .88rem; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .3rem .95rem .3rem .35rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; }
.swatch:has(input:checked) { border-color: var(--accent); background: rgba(212, 166, 87, .1); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); }
.sw-noche { background: linear-gradient(135deg, #3A2E22, #120F0C); }
.sw-crema { background: linear-gradient(135deg, #FFFDF8, #E6DAC6); }
.sw-oro { background: linear-gradient(135deg, #E9C987, #B58434); }
.gift-form .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.gift-form .chip span { min-width: 74px; }
.gift-form .row { display: grid; gap: 0 .75rem; grid-template-columns: 1fr 1fr; }
.gift-note { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 1rem; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.5fr; gap: 4rem; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq-list { border-bottom: 1px solid var(--line-strong); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; padding: 1.3rem 0; font: 400 1.6rem/1.2 var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 400 1.9rem/1 var(--font-display); color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { margin: -.2rem 0 1.4rem; color: #CFC6B8; max-width: 66ch; }

/* ---------- Sedes ---------- */
.sedes { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .sedes { grid-template-columns: 1fr 1fr; } }
.sede { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.sede > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sede-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sede h3 { margin: 0; font: 400 2.3rem/1 var(--font-display); }
.sede-rating { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin: 1rem 0 .9rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 600; align-self: flex-start; }
.notice { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 10px; background: rgba(212, 166, 87, .1); border: 1px solid rgba(212, 166, 87, .35); font-size: .9rem; }
.notice p { margin: 0; }
.sede address { font-style: normal; margin-bottom: .2rem; }
.sede-how { color: var(--muted); font-size: .92rem; margin: 0; }
.hours { width: 100%; border-collapse: collapse; margin: 1.1rem 0 1.4rem; font-size: .92rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .42rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { text-align: left; color: var(--soft); }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); font-weight: 600; }
.hours tr.is-today th::after { content: attr(data-today-label); color: var(--accent); font-weight: 500; margin-left: .45rem; }
.sede-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }

.map-box { margin-top: 1.25rem; position: relative; min-height: 420px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #171411; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art .park { fill: #1D2319; }
.map-art .streets path { fill: none; stroke: #2B2620; stroke-width: 12; stroke-linecap: round; }
.map-art .route { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.map-art .map-label { font: 500 13px var(--font-body); fill: #8A8277; letter-spacing: .3px; }
.map-art .map-time { font: italic 400 21px var(--font-display); fill: var(--accent); }
.map-art .map-pin circle { fill: var(--accent); }
.map-art .map-pin .halo { fill: rgba(212, 166, 87, .18); }
.map-art .map-pin text { font: 400 25px var(--font-display); fill: var(--text); }
.map-cover { position: absolute; left: 1.1rem; bottom: 1.1rem; display: grid; gap: .7rem; justify-items: start; max-width: 350px; padding: 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: rgba(17, 15, 13, .92); }
.map-cover p { margin: 0; color: #CFC6B8; font-size: .86rem; }
/* En el móvil, el plano (encuadrado por JS en las dos sedes) va arriba y el aviso debajo */
@media (max-width: 699px) {
  .map-box { min-height: 0; }
  .map-art { position: static; display: block; height: auto; aspect-ratio: 500 / 290; }
  .map-cover { position: static; max-width: none; padding: 1rem 1.1rem 1.2rem; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: var(--bg); }
  .map-box.is-loaded { min-height: 420px; }
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.88) hue-rotate(180deg) sepia(.25) contrast(.9); }
.map-box.is-loaded .map-cover, .map-box.is-loaded .map-art { display: none; }

/* ---------- Llamada final + Te llamamos ---------- */
.final { display: grid; gap: 2.5rem; }
.final > * { min-width: 0; }
@media (min-width: 960px) { .final { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; } }
.final-title { margin: 0 0 1rem; font: 400 clamp(3rem, 8vw, 6rem)/.95 var(--font-display); letter-spacing: -.015em; }
.final p { color: var(--soft); max-width: 40ch; }
.final-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.callback { padding: 1.6rem; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--bg); }
.callback h3 { margin: 0 0 .3rem; font: 400 1.8rem/1.1 var(--font-display); }
.callback > p { margin: 0 0 1.1rem; color: var(--muted); font-size: .93rem; max-width: none; }
.callback .row { display: grid; gap: 0 .75rem; grid-template-columns: 1fr 1fr; }
.callback .btn { margin-top: .6rem; }
@media (max-width: 480px) { .callback .row, .gift-form .row { grid-template-columns: 1fr; } }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
select.input option { background: var(--surface); }

/* ---------- Pie ---------- */
.site-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); color: #BDB4A7; font-size: .93rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { margin: 0 0 .8rem; font: 600 .92rem/1.2 var(--font-body); color: var(--text); }
.footer-grid p, .footer-grid address { margin: 0; font-style: normal; line-height: 1.7; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: var(--text); }
.footer-brand .logo { margin-bottom: .8rem; }
.footer-brand .logo-word { font-size: 3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; color: var(--text); }
.footer-small { margin: 1.25rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Barra móvil ---------- */
.mobile-bar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 6px; padding: 7px 7px calc(7px + env(safe-area-inset-bottom)); background: rgba(17, 15, 13, .97); border-top: 1px solid var(--line); }
.mobile-bar a, .mobile-bar button { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-weight: 600; font-size: .8rem; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); cursor: pointer; }
.mobile-bar .mb-book { flex-direction: row; gap: .5rem; font-size: 1rem; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.mobile-bar .icon { width: 22px; height: 22px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Diálogos y modo demo ---------- */
.demo-pill { position: fixed; left: 16px; bottom: calc(16px + var(--mb-h)); z-index: 55; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem .55rem .7rem; min-height: 40px; background: var(--cream); color: var(--ink); border: 0; border-radius: 999px; cursor: pointer; font: 600 .85rem/1 var(--font-body); box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: opacity .2s; }
.demo-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
@media (max-width: 899px) { .demo-pill { left: 10px; bottom: calc(10px + var(--mb-h)); font-size: .78rem; min-height: 34px; padding: .45rem .8rem .45rem .6rem; } }
@media (max-width: 599px) { .demo-pill .long { display: none; } }
/* Mientras el asistente está en pantalla en el móvil, la píldora no tapa su resumen */
.demo-pill.is-tucked { opacity: 0; pointer-events: none; }

dialog { padding: 0; border: 0; color: var(--text); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(8, 6, 5, .78); }
.modal { width: min(520px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); }
.modal-body { padding: 1.6rem 1.6rem 1.2rem; }
.modal h2 { margin: 0 0 .7rem; font: 400 2rem/1.05 var(--font-display); }
.modal p { margin: 0 0 .9rem; color: var(--soft); }
.modal .modal-target { font-size: .82rem; color: var(--muted); word-break: break-all; }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.6rem 1.4rem; border-top: 1px solid var(--line); }
.modal-foot small { color: var(--muted); font-size: .8rem; max-width: 30ch; }
.wa-bubble { position: relative; margin: .5rem 0 1.1rem auto; padding: .8rem 1rem .9rem; max-width: 94%; background: #005C4B; color: #E9EDEF; border-radius: 10px 0 10px 10px; font-size: .95rem; line-height: 1.45; white-space: pre-line; }
.wa-bubble::after { content: ""; position: absolute; right: -8px; top: 0; border: 8px solid transparent; border-top-color: #005C4B; border-left-color: #005C4B; }
.modal-chip { display: inline-block; margin: 0 .35rem .5rem 0; padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .85rem; }
.choose { display: grid; gap: .6rem; margin-top: .4rem; }
.choose .btn { width: 100%; justify-content: space-between; }

.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: 100dvh; width: min(460px, 100vw); background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 400 2.4rem/1 var(--font-display); }
.drawer-head p { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }
.icon-btn { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.icon-btn:hover { border-color: var(--text); }
.feature-list { list-style: none; margin: 0; padding: .5rem 1.5rem 2rem; }
.feature-list li { border-bottom: 1px solid var(--line); }
.feature-list a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; text-decoration: none; }
.feature-list strong { font-weight: 600; }
.feature-list span { grid-column: 1; color: var(--muted); font-size: .9rem; }
.feature-list a::after { content: "Ver"; grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .8rem; font-weight: 600; color: var(--accent); }
.feature-list a:hover strong { text-decoration: underline; }
.drawer-foot { padding: 0 1.5rem 2rem; color: var(--muted); font-size: .88rem; }

.lightbox { width: 100vw; height: 100dvh; background: rgba(10, 8, 7, .97); }
.lb-stage { position: absolute; inset: 64px 0 72px; display: grid; place-items: center; padding: 0 12px; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lb-top { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 20px; }
.lb-count { font: 400 1.4rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.lb-bottom { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 12px; }
.lb-cap { margin: 0; color: #CFC6B8; font-size: .9rem; text-align: center; flex: 1; }
.lightbox .icon-btn { width: 52px; height: 52px; }

/* ---------- Páginas legales ---------- */
.legal-main { padding: calc(var(--header-h) + 3.5rem) 0 5rem; }
.legal-main .section-title { margin-bottom: 1rem; }
.legal-prose { max-width: 72ch; }
.legal-prose h2 { margin: 2.5rem 0 .75rem; font: 400 1.9rem/1.15 var(--font-display); }
.legal-prose p, .legal-prose li { color: #D6CDBF; }
.legal-prose a { color: var(--accent); }
.legal-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.legal-prose th, .legal-prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-prose th { color: var(--text); font-weight: 600; }
.legal-meta { color: var(--muted); font-size: .92rem; }
.demo-flag { display: inline-block; margin: 0 0 1.5rem; padding: .55rem .9rem; border-radius: 10px; background: rgba(212,166,87,.1); border: 1px solid rgba(212,166,87,.35); font-size: .9rem; }
.notfound .hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .gift-card { transform: none; }
}
