/* Raya Norte · Opción B «Urbano, cultura fade»
   Paleta y tipografías según docs/02-diseno.md (opción B). Fuentes servidas desde la propia web. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #0B0B0D;
  --surface: #151518;
  --surface-2: #1D1D22;
  --text: #FFFFFF;
  --muted: #9A9AA3;
  --soft: #C9C9CF;
  --accent: #D62839;
  --accent-press: #B81E2E;
  --accent-text: #FF5A67;   /* rojo para texto pequeño sobre negro (AA) */
  --line: #26262B;
  --line-2: #3A3A42;
  --paper: #EFEDE8;          /* papel: carteles de promos, tique y guía */
  --paper-2: #E2DFD8;
  --paper-ink: #0B0B0D;
  --paper-muted: #55555E;
  --paper-accent: #B81E2E;   /* rojo para texto sobre papel (AA) */
  --open: #3CCB7F;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --mb-h: 0px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 899px) {
  :root { --mb-h: 72px; --header-h: 62px; }
}

/* ---------- 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 de impresión muy sutil sobre toda la página */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .055;
  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 1 0 0 0 0 1 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, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
[hidden] { display: none !important; }
.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%);
}
.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: .55rem;
  min-height: 50px; padding: .8rem 1.45rem;
  font: 800 1rem/1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 0;
  cursor: pointer; white-space: nowrap;
}
/* El corte en diagonal de la esquina: la «raya» de la marca. Al pasar el ratón, el corte se abre */
.btn-cut { --cut: 14px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); transition: clip-path .25s var(--ease), background-color .15s; padding-right: 1.7rem; }
.btn-cut:hover { --cut: 22px; }
.btn-cut:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.btn-signal { background: var(--accent); color: #fff; }
.btn-signal:hover { background: var(--accent-press); }
.btn-line { border-color: currentColor; background: transparent; color: var(--text); }
.btn-line:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: var(--paper); }
.btn-ink { background: var(--paper-ink); color: #fff; }
.btn-ink:hover { background: #2a2a30; }
.btn-ink-line { border-color: var(--paper-ink); color: var(--paper-ink); background: transparent; }
.btn-ink-line:hover { background: var(--paper-ink); color: #fff; }
.btn-sm { min-height: 44px; padding: .6rem 1rem; font-size: .92rem; }
.btn-sm.btn-cut { --cut: 11px; padding-right: 1.25rem; }
.btn-sm.btn-cut:hover { --cut: 17px; }
.btn-block { width: 100%; }

/* ---------- Estado «abierto ahora» ---------- */
.status {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .9rem; border: 1px solid var(--line-2); background: rgba(11, 11, 13, .55);
  font-weight: 800; font-size: .92rem; text-decoration: none; line-height: 1.3;
}
.status::before, .open-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open::before, .open-chip.is-open::before { background: var(--open); box-shadow: 0 0 0 4px rgba(60, 203, 127, .2); animation: pulse 2.4s ease-out infinite; }
.status.is-closed::before, .open-chip.is-closed::before { background: var(--accent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 203, 127, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(60, 203, 127, 0); } }
a.status:hover { border-color: var(--text); }
.status-lg { margin: 1.75rem 0 1.25rem; padding: .7rem 1.1rem; font-size: 1rem; background: var(--bg); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, body.nav-open .site-header, .site-header.is-static {
  background: rgba(11, 11, 13, .96);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(11, 11, 13, .86); backdrop-filter: blur(10px); }
  /* backdrop-filter crea un bloque contenedor y rompería el menú fijo del móvil */
  body.nav-open .site-header { backdrop-filter: none; background: var(--bg); }
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.75rem; }
.logo {
  font: 400 1.7rem/1 var(--font-display); text-transform: uppercase;
  text-decoration: none; letter-spacing: .015em; white-space: nowrap;
}
.logo .dot { color: var(--accent); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; text-decoration: none; font-weight: 700; font-size: .93rem; padding: .6rem 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 3px; background: var(--accent); transform: scaleX(0) rotate(-2deg); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1) rotate(-2deg); }
.open-chip { display: none; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 800; text-decoration: none; color: var(--soft); white-space: nowrap; }
.open-chip:hover { color: var(--text); }
.cart-chip { display: none; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .5rem .4rem .9rem; background: var(--paper); color: var(--paper-ink); font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.cart-chip b { display: grid; place-items: center; min-width: 30px; height: 30px; padding-inline: .3rem; background: var(--accent); color: #fff; font: 400 1.15rem/1 var(--font-display); }
@media (min-width: 1024px) { .cart-chip:not([hidden]) { display: inline-flex; } }
@media (min-width: 1280px) { .open-chip { display: inline-flex; } }
.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; 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: .75rem; }
  .logo { font-size: 1.45rem; }
  .header-cta { margin-left: auto; min-height: 44px; padding: .55rem 1.25rem .55rem 1rem; font-size: .92rem; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0;
    background: var(--bg); padding: 1.25rem 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: .85rem 0; font: 400 2.5rem/1 var(--font-display); text-transform: uppercase; }
  .main-nav a::after { display: none; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, 88svh);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 clamp(2.75rem, 6vw, 4.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: 55% 18%; animation: drift 22s ease-out both; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,.55) 0%, rgba(11,11,13,.15) 30%, rgba(11,11,13,.82) 62%, var(--bg) 96%);
}
.hero-inner { width: 100%; }
.hero-title {
  position: relative; width: fit-content; max-width: 100%;
  margin: 0 0 1.4rem;
  font: 400 clamp(4.3rem, 19vw, 11.25rem)/.86 var(--font-display);
  text-transform: uppercase; letter-spacing: -.004em;
}
/* El corte va de (0, 63 %) a (100 %, 41 %); el polígono se alarga fuera de la caja
   para no recortar tildes ni rasgos que sobresalen del interlineado. */
.hero-title .slice-a { display: block; clip-path: polygon(-10% -60%, 110% -60%, 110% 38.8%, -10% 65.2%); }
.hero-title .slice-b {
  position: absolute; inset: 0;
  clip-path: polygon(-10% 65.2%, 110% 38.8%, 110% 160%, -10% 160%);
  transform: translate(.05em, .02em);
}
.slice-line {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none; transform-origin: 0 50%;
}
.slice-line line { stroke: var(--accent); stroke-width: 4px; vector-effect: non-scaling-stroke; }
/* Un único momento animado al cargar: la raya cruza el titular y lo corta */
.js .hero-title:not(.is-cut) .slice-line { transform: scaleX(0); }
.js .hero-title:not(.is-cut) .slice-b { transform: none; }
.js .hero-title .slice-line { transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.js .hero-title .slice-b { transition: transform .45s var(--ease) .5s; }

.hero-lead { max-width: 34ch; margin: 0 0 2rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #E6E6EA; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.g-badge {
  display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: .9rem;
  text-decoration: none; padding: .2rem 0;
}
.g-badge .g-score { grid-row: span 2; font: 400 3.4rem/1 var(--font-display); }
.g-badge .stars { align-self: end; }
.g-badge .g-count { align-self: start; font-size: .92rem; color: #D7D7DC; font-weight: 600; }
.g-badge:hover .g-count { text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .icon { width: 18px; height: 18px; }

.sticker {
  position: absolute; z-index: 1; width: 86px; height: 86px;
  right: 12px; top: calc(var(--header-h) + 14px); transform: rotate(12deg);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
}
.sticker-spin { transform-origin: 100px 100px; animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 960px) {
  .hero { align-items: center; min-height: max(700px, 100svh); padding-bottom: 4rem; }
  .hero-media { left: auto; width: 54%; }
  .hero-media img { object-position: 50% 22%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,.6) 18%, rgba(11,11,13,0) 46%),
      linear-gradient(0deg, rgba(11,11,13,.7) 0%, rgba(11,11,13,0) 28%);
  }
  .hero-title { font-size: clamp(6rem, 12.6vw, 11.25rem); }
  .sticker { width: clamp(120px, 11.5vw, 172px); height: auto; aspect-ratio: 1; right: 4.5vw; top: auto; bottom: 13%; }
}

/* ---------- Cinta en bucle ---------- */
/* El contenedor recorta la cinta girada para que no ensanche la página en el móvil */
.ticker-clip { position: relative; z-index: 2; overflow: hidden; margin-top: -2.25rem; padding-block: 1rem; }
.ticker { background: var(--accent); color: #fff; overflow: hidden; margin-inline: -3vw; transform: rotate(-1.6deg); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font: 400 clamp(1.5rem, 3.6vw, 2.4rem)/1 var(--font-display);
  text-transform: uppercase; white-space: nowrap; padding: .85rem 0;
}
.ticker-track i {
  display: block; flex: none; align-self: center;
  width: 2.1rem; height: 3px; background: #fff; margin: 0 1.3rem;
  transform: rotate(-28deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-alt { background: var(--surface); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-title {
  margin: 0;
  font: 400 clamp(3.3rem, 11.5vw, 7.25rem)/.88 var(--font-display);
  text-transform: uppercase; letter-spacing: -.003em;
}
.section-intro { max-width: 38ch; margin: 0; color: var(--muted); }
.text-link {
  font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.text-link:hover { color: var(--accent-text); }

/* Chips compartidos: pestañas de servicios y filtros de galería */
.tabs, .filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.tab, .filters button {
  flex: none; min-height: 46px; padding: .6rem 1.15rem;
  font: 800 .95rem/1 var(--font-body);
  color: var(--muted); background: transparent; border: 1px solid var(--line-2); cursor: pointer;
}
.tab:hover, .filters button:hover { color: var(--text); border-color: var(--muted); }
.tab[aria-selected="true"], .filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Servicios + tique ---------- */
.svc-layout { display: grid; gap: 3rem; }
.svc-col, .guide > *, .visit-grid > *, .reviews-grid > * { min-width: 0; }
@media (min-width: 1024px) { .svc-layout { grid-template-columns: minmax(0, 1.55fr) minmax(330px, .95fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; } }
.tabs { margin: 0 calc(var(--gutter) * -1) 1.25rem; padding: 0 var(--gutter) .25rem; }
@media (min-width: 1024px) { .tabs { margin-inline: 0; padding-inline: 0; } }

.svc-cat { margin: 2.5rem 0 .5rem; font: 400 2rem/1 var(--font-display); text-transform: uppercase; color: var(--muted); }
.svc-panel:first-child .svc-cat { margin-top: 0; }
.is-tabbed .svc-cat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "main price" "main actions";
  gap: .6rem 1.25rem; padding: 1.3rem 0 1.3rem 0; border-top: 1px solid var(--line);
  transition: padding-left .25s var(--ease), background-color .2s;
}
.svc::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; background: var(--accent); transform: scaleY(0) skewY(-28deg); transition: transform .25s var(--ease); }
.svc.is-added { padding-left: 1.1rem; background: linear-gradient(90deg, rgba(214, 40, 57, .1), rgba(214, 40, 57, 0) 60%); }
.svc.is-added::before { transform: scaleY(1) skewY(-28deg); }
.svc-main { grid-area: main; }
.svc-name { margin: 0; font: 800 1.15rem/1.25 var(--font-body); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem; }
.svc-tag { font-size: .72rem; font-weight: 800; color: var(--accent-text); border: 1px solid currentColor; padding: .15rem .45rem; line-height: 1.2; }
.svc-desc { margin: .25rem 0 0; color: var(--muted); font-size: .98rem; }
.svc-time { display: inline-block; margin-top: .55rem; font-size: .85rem; font-weight: 700; color: var(--soft); }
.svc-time::before {
  content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent);
  vertical-align: middle; margin-right: .45rem; transform: rotate(-28deg);
}
.svc-price { grid-area: price; margin: 0; text-align: right; align-self: start; font: 400 2.5rem/1 var(--font-display); white-space: nowrap; }
.svc-price small { display: block; font: 700 .75rem/1.2 var(--font-body); color: var(--muted); }
.svc-price .eur { font-size: .55em; margin-left: .08em; vertical-align: .55em; }
.svc-actions { grid-area: actions; display: flex; gap: .5rem; justify-self: end; align-self: end; }
.svc-add { display: none; width: 44px; height: 44px; padding: 0; place-items: center; background: transparent; border: 2px solid var(--line-2); cursor: pointer; }
.js .svc-add { display: grid; }
.svc-add:hover { border-color: var(--text); }
.svc-add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
@media (min-width: 600px) {
  .svc { grid-template-columns: 1fr auto auto; grid-template-areas: "main price actions"; align-items: center; column-gap: 1.75rem; }
  .svc-price, .svc-actions { align-self: center; }
}
.svc-note { margin: 1.75rem 0 0; color: var(--muted); font-size: .95rem; }

/* Tique de papel */
.ticket-col { display: none; }
@media (min-width: 1024px) { .ticket-col { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.ticket {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: 1.6rem 1.5rem 1.4rem; margin-block: 8px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55));
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: radial-gradient(circle at 50% 0, transparent 5.5px, var(--paper) 6px) 0 0 / 16px 8px repeat-x;
}
.ticket::before { top: -8px; transform: scaleY(-1); }
.ticket::after { bottom: -8px; }
.ticket-col .ticket { transform: rotate(1.2deg); }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-bottom: .9rem; border-bottom: 2px dashed var(--paper-ink); }
.ticket-title { margin: 0; font: 400 2.7rem/.9 var(--font-display); text-transform: uppercase; }
.ticket-shop { margin: 0; font-size: .75rem; font-weight: 700; text-align: right; color: var(--paper-muted); line-height: 1.35; }
.ticket-empty { margin: 1.1rem 0 .4rem; font-size: .98rem; color: var(--paper-muted); }
.ticket-empty b { color: var(--paper-ink); }
.ticket-plus { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--paper-ink); vertical-align: -5px; margin-inline: .15rem; }
.ticket-plus .icon { width: 14px; height: 14px; }
.ticket-items { list-style: none; margin: .9rem 0 0; padding: 0; }
.ticket-items li { display: flex; align-items: baseline; gap: .5rem; padding: .32rem 0; font-weight: 700; }
.ticket-items .dots { flex: 1; border-bottom: 2px dotted #A9A59C; transform: translateY(-4px); min-width: 1rem; }
.ticket-items .p { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-rm { flex: none; width: 28px; height: 28px; margin-left: .1rem; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--paper-muted); align-self: center; }
.ticket-rm:hover { color: var(--paper-accent); }
.ticket-rm .icon { width: 16px; height: 16px; }
.ticket-rows { margin: .7rem 0 0; padding-top: .7rem; border-top: 2px dashed var(--paper-ink); display: grid; gap: .15rem; }
.ticket-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ticket-rows dt { font-weight: 700; color: var(--paper-muted); font-size: .92rem; }
.ticket-rows dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.ticket-rows .total dt { font: 400 1.5rem/1 var(--font-display); text-transform: uppercase; color: var(--paper-ink); }
.ticket-rows .total dd { font: 400 3rem/1 var(--font-display); }
.ticket-tip { margin: .9rem 0 0; padding: .75rem .85rem; background: var(--paper-ink); color: #fff; font-size: .9rem; display: grid; gap: .55rem; }
.ticket-tip b { color: #FF8A93; }
.ticket-tip button { justify-self: start; background: #fff; color: var(--paper-ink); border: 0; font-weight: 800; font-size: .86rem; padding: .5rem .75rem; min-height: 36px; cursor: pointer; }
.ticket-tip button:hover { background: var(--paper-2); }
.ticket-actions { display: grid; gap: .5rem; margin-top: 1rem; }
.ticket-note { margin: .8rem 0 0; font-size: .78rem; color: var(--paper-muted); }
.ticket-code { height: 34px; margin-top: 1rem; opacity: .85; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 2px, transparent 2px 5px, var(--paper-ink) 5px 6px, transparent 6px 11px, var(--paper-ink) 11px 14px, transparent 14px 17px); }
.ticket-clear { background: none; border: 0; padding: .4rem 0; margin-top: .3rem; font-size: .85rem; font-weight: 700; color: var(--paper-muted); text-decoration: underline; cursor: pointer; justify-self: start; }
.ticket-clear:hover { color: var(--paper-accent); }

.cart-dock {
  position: fixed; left: 8px; right: 8px; bottom: calc(var(--mb-h) + 8px); z-index: 58;
  display: flex; align-items: center; gap: .8rem; padding: .55rem .6rem .55rem .7rem; min-height: 56px;
  background: var(--paper); color: var(--paper-ink); border: 0; cursor: pointer; text-align: left;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
}
/* En escritorio el resumen va en la cabecera (.cart-chip), no flotando */
@media (min-width: 1024px) { .cart-dock { display: none !important; } }
.cart-count { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: #fff; font: 400 1.25rem/1 var(--font-display); }
.cart-text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.cart-text b { font-weight: 800; font-size: .95rem; }
.cart-text span { font-size: .84rem; color: var(--paper-muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-go { flex: none; background: var(--paper-ink); color: #fff; font-weight: 800; font-size: .9rem; padding: .7rem 1rem; }
.sheet { position: fixed; inset: auto 0 0; margin: 0; width: 100%; max-width: 560px; margin-inline: auto; max-height: 92dvh; overflow-y: auto; padding: 3.6rem 12px calc(18px + env(safe-area-inset-bottom)); }
.sheet .sheet-close { position: absolute; top: 6px; right: 12px; background: var(--bg); }
.sheet .ticket { filter: none; }

/* ---------- Guía de fades ---------- */
.guide { display: grid; gap: 2rem; grid-template-areas: "top" "poster" "panel"; }
.guide-top { grid-area: top; } .guide-poster { grid-area: poster; } .guide-panel { grid-area: panel; }
@media (min-width: 960px) {
  .guide { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "poster top" "poster panel"; grid-template-rows: auto 1fr; column-gap: clamp(3rem, 6vw, 5.5rem); row-gap: 0; align-items: start; }
  .guide-poster { align-self: center; }
}
.guide-poster {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 1.1rem;
  box-shadow: 12px 12px 0 var(--accent); max-width: 460px; width: calc(100% - 12px);
  background-image: radial-gradient(rgba(11, 11, 13, .11) 1px, transparent 1.4px); background-size: 9px 9px;
}
.guide-head { display: block; width: 100%; height: auto; }
.fade-shift { transform: translateY(var(--fy, 186px)); transition: transform .6s var(--ease); }
.fade-band { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(var(--fb, .56)); transition: transform .6s var(--ease); }
.guide-stubble { opacity: 0; transition: opacity .35s; }
[data-finish="sombra"] .guide-stubble { opacity: .6; }
.part-shift { transform: translateY(calc(var(--fy, 186px) - 198px)); transition: transform .6s var(--ease); }
.guide-part { opacity: 0; transition: opacity .3s; }
[data-raya] .guide-part { opacity: 1; }
.guide-legend { display: flex; align-items: center; gap: .6rem; margin: .9rem 0 0; font-size: .85rem; font-weight: 700; }
.guide-legend i { flex: none; width: 30px; border-top: 4px dashed var(--accent); }
.guide-top .section-title { font-size: clamp(3rem, 8.5vw, 5.6rem); margin-bottom: 1rem; }
.guide-intro { max-width: 46ch; margin: 0 0 1.75rem; color: var(--soft); }
@media (max-width: 959px) { .guide-intro { margin-bottom: 0; } .guide-poster { margin-inline: auto; } }
.guide-set { margin-bottom: 1.25rem; }
.guide-set legend { padding: 0; margin-bottom: .55rem; font-size: .88rem; font-weight: 800; color: var(--muted); }
.pick-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: grid; place-items: center; min-height: 52px; padding: .35rem 1.15rem; border: 2px solid var(--line-2); font: 400 1.55rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--soft); }
.pick:hover span { border-color: var(--muted); color: var(--text); }
.pick input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pick-check input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.pick input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.guide-facts { margin: 1.75rem 0 0; border-top: 1px solid var(--line-2); }
.guide-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); }
.guide-facts dt { color: var(--muted); font-weight: 700; font-size: .92rem; }
.guide-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .guide-facts div { grid-template-columns: 1fr; gap: .15rem; } }
.guide-say { margin: 1.5rem 0 0; padding-left: 1.1rem; border-left: 4px solid var(--accent); display: grid; gap: .3rem; }
.guide-say span { font-size: .88rem; font-weight: 800; color: var(--muted); }
.guide-say q { font: 400 clamp(1.8rem, 4.2vw, 2.6rem)/1.02 var(--font-display); text-transform: uppercase; quotes: "«" "»"; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- El local ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr 1fr; gap: 5rem; } }
.about-media { position: relative; margin: 0 12px 12px 0; }
.about-media::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 3px solid var(--accent); z-index: -1; }
.about-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stamp {
  position: absolute; right: -18px; top: -26px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--paper); color: var(--paper-ink);
  transform: rotate(-12deg); box-shadow: 0 10px 22px rgba(0, 0, 0, .5); border: 2px dashed var(--paper-ink); outline: 5px solid var(--paper);
}
.stamp span { font-size: .72rem; font-weight: 800; line-height: 1; }
.stamp b { font: 400 2.1rem/1 var(--font-display); }
.about-copy p { max-width: 46ch; }
.about-copy .section-title { margin-bottom: 1.5rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.25rem 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 1.1rem 1rem 0 0; }
.facts dt { font-size: .85rem; font-weight: 700; color: var(--muted); }
.facts dd { margin: .3rem 0 0; font: 400 clamp(2.2rem, 5vw, 3.2rem)/1 var(--font-display); }

/* ---------- Galería a sangre ---------- */
.gallery .section-head { margin-bottom: 2rem; }
.gallery-tools { display: grid; gap: 1rem; justify-items: start; min-width: 0; max-width: 100%; }
@media (min-width: 900px) { .gallery-tools { justify-items: end; } }
.filters { max-width: calc(100vw - var(--gutter) * 2); padding-bottom: .25rem; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }
.g-item { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(11, 11, 13, .88), rgba(11, 11, 13, 0)); pointer-events: none; }
.g-cap { position: absolute; z-index: 1; left: .8rem; right: .8rem; bottom: .7rem; font: 400 clamp(1rem, 1.6vw, 1.3rem)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.g-cap::before { content: ""; display: block; width: 26px; height: 3px; background: var(--accent); margin-bottom: .5rem; transform: rotate(-24deg); transform-origin: 0 50%; transition: width .3s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover .g-cap::before, .g-item:focus-visible .g-cap::before { width: 46px; }
.g-item:focus-visible { outline-offset: -4px; }
.gallery-empty { padding: 2rem var(--gutter); color: var(--muted); }

/* ---------- Equipo ---------- */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (max-width: 699px) {
  .team-grid {
    grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
  }
  .barber { scroll-snap-align: start; }
}
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.barber-photo { position: relative; margin: 0; background: var(--surface); overflow: hidden; }
.barber-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .5s, transform .7s var(--ease); }
.barber:hover .barber-photo img { filter: grayscale(0) contrast(1.02); transform: scale(1.03); }
.barber-today { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .75rem; background: var(--bg); font-size: .82rem; font-weight: 800; }
.barber-today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.barber-today.is-in::before { background: var(--open); }
.barber-name { margin: 1.1rem 0 .15rem; font: 400 clamp(2.5rem, 5vw, 3.4rem)/.95 var(--font-display); text-transform: uppercase; }
.barber-role { margin: 0 0 1rem; color: var(--accent-text); font-weight: 800; }
.barber-facts { margin: 0 0 1.25rem; display: grid; gap: .35rem; font-size: .95rem; }
.barber-facts div { display: flex; gap: .5rem; }
.barber-facts dt { color: var(--muted); min-width: 6.5rem; flex: none; }
.barber-facts dd { margin: 0; font-weight: 600; }

/* ---------- Opiniones ---------- */
.reviews-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: minmax(300px, .85fr) 2fr; gap: 4.5rem; } }
.score { margin: 0; }
.score-big { display: block; font: 400 clamp(7.5rem, 26vw, 12.5rem)/.8 var(--font-display); }
.score .stars { margin: 1rem 0 .4rem; }
.score .stars .icon { width: 26px; height: 26px; }
.score-count { display: block; color: #D7D7DC; font-weight: 700; }
.breakdown { width: 100%; max-width: 360px; border-collapse: collapse; margin: 1.5rem 0 0; font-size: .85rem; font-variant-numeric: tabular-nums; }
.breakdown th { text-align: left; font-weight: 700; color: var(--soft); padding: .28rem .9rem .28rem 0; white-space: nowrap; width: 1%; }
.breakdown td { padding: .28rem 0; }
.breakdown td:last-child { text-align: right; color: var(--muted); padding-left: .9rem; width: 1%; }
.bar { display: block; height: 8px; background: var(--line-2); position: relative; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(var(--w), 3px); background: var(--accent); }
.score-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 700px) { .review-list { grid-template-columns: 1fr 1fr; } }
.review { padding: 1.6rem 0; border-top: 1px solid var(--line-2); }
.review blockquote { margin: .7rem 0 1rem; }
.review blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.review-by { margin: 0; font-weight: 800; font-size: .95rem; }
.review-by span { font-weight: 600; color: var(--muted); }
.reviews-note { margin: 2rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Promos (cartel) ---------- */
.promos { background: var(--paper); color: var(--paper-ink); background-image: radial-gradient(rgba(11, 11, 13, .08) 1px, transparent 1.4px); background-size: 9px 9px; }
.promos .section-intro { color: var(--paper-muted); }
.promo-grid { display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .promo-grid { grid-template-columns: 1.35fr 1fr; } }
.promo { border: 3px solid var(--paper-ink); display: grid; background: var(--paper); box-shadow: 9px 9px 0 var(--paper-ink); }
.promo:nth-child(2) { box-shadow: 9px 9px 0 var(--accent); }
.promo-media { margin: 0; border-bottom: 3px solid var(--paper-ink); overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; filter: grayscale(1) contrast(1.1); }
@media (min-width: 560px) {
  .promo.has-media { grid-template-columns: 1fr 1.1fr; }
  .promo-media { border-bottom: 0; border-right: 3px solid var(--paper-ink); }
  .promo-media img { aspect-ratio: auto; }
}
.promo-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; align-items: flex-start; }
.promo-title { margin: 0 0 .9rem; font: 400 clamp(2.6rem, 5.5vw, 3.9rem)/.9 var(--font-display); text-transform: uppercase; }
.promo-price { margin: 0 0 .9rem; display: flex; align-items: baseline; gap: .7rem; }
.promo-now { font: 400 3.4rem/1 var(--font-display); color: var(--paper-accent); }
.promo-price s { font-weight: 700; color: var(--paper-muted); }
.promo-body > p { margin: 0 0 1rem; max-width: 36ch; }
.promo-until { font-size: .9rem; font-weight: 800; margin-top: auto !important; padding-top: .5rem; }
.promo-until [data-countdown] { color: var(--paper-accent); }
.promo .btn { margin-top: 1rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .8fr 1.6fr; gap: 4rem; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem;
  padding: 1.35rem 0; font: 800 1.15rem/1.35 var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .2rem;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 3px 100% no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #E8E8EC; }
.faq-item p { margin: -.25rem 0 1.5rem; color: #C3C3CA; max-width: 62ch; }

/* ---------- Ubicación y horario ---------- */
.visit-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: stretch; } }
.notice { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-left: 4px solid var(--accent); background: var(--bg); font-weight: 700; }
.notice p { margin: 0; }
.notice p + p { margin-top: .35rem; }
.visit-address { font-style: normal; font-size: 1.15rem; line-height: 1.5; margin: 0 0 .4rem; font-weight: 700; }
.visit-how { color: var(--muted); margin: 0; }
.hours { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .62rem 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.hours th { text-align: left; }
.hours td { text-align: right; color: #C3C3CA; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); font-weight: 800; }
.hours tr.is-today th::after { content: "hoy"; margin-left: .6rem; padding: .1rem .45rem; font-size: .75rem; background: var(--accent); color: #fff; vertical-align: .1em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.map { position: relative; min-height: 460px; height: 100%; background: #2B2B31; border: 1px solid var(--line-2); overflow: hidden; }
.map-streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-streets .blocks path { fill: #121215; }
.map-streets .main-st { fill: none; stroke: #3C3C45; stroke-width: 52; }
.map-streets .st-name { font: 800 11px var(--font-body); letter-spacing: 3px; fill: #8A8A93; }
.map-streets .st-label { font: 800 12px var(--font-body); fill: #C9C9CF; }
.map-streets .metro path { fill: var(--accent); }
.map-streets .metro text { font: 800 15px var(--font-body); fill: #fff; }
.map-pin { position: absolute; left: 50%; top: 43%; transform: translate(-50%, -100%); color: var(--accent); display: grid; justify-items: center; }
.map-pin .icon { width: 50px; height: 50px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.map-pin b { order: -1; margin-bottom: .2rem; padding: .3rem .6rem; background: #fff; color: var(--bg); font: 400 1rem/1 var(--font-display); text-transform: uppercase; white-space: nowrap; }
.map-cover { position: absolute; inset: auto 0 0; padding: 1.5rem; background: linear-gradient(0deg, rgba(11,11,13,.96) 45%, rgba(11,11,13,0)); display: grid; justify-items: start; gap: .75rem; }
.map-cover p { margin: 0; font-size: .88rem; color: #C3C3CA; max-width: 44ch; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.map.is-loaded .map-cover, .map.is-loaded .map-pin, .map.is-loaded .map-streets { display: none; }

/* ---------- Llamada final ---------- */
.final-cta { position: relative; background: var(--accent); color: #fff; padding-block: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 0, 0, .16) 1px, transparent 1.4px); background-size: 9px 9px; }
.final-cta .wrap { position: relative; display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .final-cta .wrap { grid-template-columns: auto 1fr; column-gap: 4rem; } .final-title { white-space: nowrap; } }
.final-title { margin: 0; font: 400 clamp(5.5rem, 15vw, 12.5rem)/.82 var(--font-display); text-transform: uppercase; }
.final-cta p { margin: 0 0 1.25rem; font-size: 1.2rem; font-weight: 700; max-width: 30ch; }
.final-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.final-cta .btn-line { color: #fff; }
.final-cta .btn-line:hover { background: #fff; color: var(--accent-press); }

/* ---------- Pie ---------- */
.site-footer { padding: 4rem 0 0; border-top: 1px solid var(--line); color: #B9B9C0; font-size: .95rem; overflow: hidden; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-grid h2 { margin: 0 0 .8rem; font: 800 .95rem/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 { font-size: 2.4rem; display: inline-block; margin-bottom: .75rem; }
.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: .88rem;
}
.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); }
/* Marca gigante en contorno, recortada por abajo */
.footer-mark {
  margin: 2.5rem 0 -.2em; text-align: center; white-space: nowrap; user-select: none;
  font: 400 18.6vw/.8 var(--font-display); text-transform: uppercase; letter-spacing: -.005em;
  color: transparent; -webkit-text-stroke: 1.5px #34343B;
}

/* ---------- 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(11, 11, 13, .97); border-top: 1px solid var(--line);
}
.mobile-bar a {
  min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-weight: 800; font-size: .8rem; text-decoration: none; border: 1px solid var(--line-2); background: var(--surface);
}
.mobile-bar a.mb-book { flex-direction: row; gap: .5rem; font-size: 1.02rem; background: var(--accent); border-color: var(--accent); color: #fff; }
.mobile-bar .icon { width: 22px; height: 22px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Modo demo ---------- */
.demo-pill {
  position: fixed; left: 16px; bottom: calc(16px + var(--mb-h)); z-index: 55;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .95rem .55rem .7rem; min-height: 40px;
  background: #fff; color: var(--bg); border: 0; border-radius: 999px; cursor: pointer;
  font: 800 .85rem/1 var(--font-body); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), 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; } }
/* Con la barra «Tu cita» visible en el móvil, la píldora sube para no taparla */
@media (max-width: 1023px) { body.has-cart .demo-pill { transform: translateY(-66px); } }

dialog { padding: 0; border: 0; color: var(--text); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
.modal {
  width: min(520px, calc(100vw - 32px)); background: var(--surface);
  border: 1px solid var(--line-2); border-top: 4px solid var(--accent);
}
.modal-body { padding: 1.75rem 1.75rem 1.5rem; }
.modal h2 { margin: 0 0 .75rem; font: 400 2.2rem/1 var(--font-display); text-transform: uppercase; }
.modal p { margin: 0 0 .9rem; color: #D4D4DA; }
.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.75rem 1.5rem; 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: .98rem; 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 .6rem; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; }

.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); text-transform: uppercase; }
.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-2); 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: 800; }
.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: 800; color: var(--accent-text); }
.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(6, 6, 7, .97); }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.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; }
.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: #C3C3CA; font-size: .9rem; text-align: center; flex: 1; }
.lightbox .icon-btn { border-color: #3a3a40; width: 52px; height: 52px; }

/* ---------- Páginas legales ---------- */
.legal-main { padding: calc(var(--header-h) + 3.5rem) 0 5rem; }
.legal-main .section-title { font-size: clamp(3rem, 9vw, 5.5rem); margin-bottom: 1rem; }
.legal-prose { max-width: 72ch; }
.legal-prose h2 { margin: 2.5rem 0 .75rem; font: 800 1.3rem/1.3 var(--font-body); }
.legal-prose p, .legal-prose li { color: #D0D0D6; }
.legal-prose a { color: var(--accent-text); }
.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); }
.legal-meta { color: var(--muted); font-size: .92rem; }
.demo-flag {
  display: inline-block; margin: 0 0 1.5rem; padding: .45rem .8rem; background: var(--surface);
  border-left: 4px solid var(--accent); font-size: .9rem; font-weight: 700;
}

@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; }
  .ticker-track, .sticker-spin, .hero-media img { animation: none; }
}
