/* =====================================================================
   Essentials Studio · Barbershop — Hoja de estilos (dirección "Noche")
   Mobile first · tokens del libro de marca
   ===================================================================== */

/* ---------- Fuentes (alojadas en el propio sitio) ---------- */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cinzel-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cinzel-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+20A1; }

/* ---------- Tokens ---------- */
:root {
  --color-fondo: #0E0D0B;
  --color-superficie-1: #161411;
  --color-superficie-2: #1E1B17;
  --color-superficie-3: #28241F;
  --color-texto: #F2EEE6;
  --color-texto-2: #BDB8B0;
  --color-texto-3: #959089;
  --color-deshabilitado: #6B675F;
  --color-accion: #C4A062;
  --color-accion-hover: #D6B67C;
  --color-foco: #E2C88F;
  --color-error: #E8A08A;
  --color-exito: #A9C9A4;
  --linea: rgba(196, 160, 98, .22);
  --linea-suave: rgba(242, 238, 230, .08);
  --radio-control: 2px;
  --radio-tarjeta: 4px;
  --fuente-titulo: 'Cinzel', 'Times New Roman', serif;
  --fuente-texto: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: 20px;
  --max: 1200px;
  --header-h: 64px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --pad: 32px; --header-h: 76px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

/* ---------- 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(--color-fondo); color: var(--color-texto-2);
  font: 400 16px/1.6 var(--fuente-texto); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--color-texto); font-family: var(--fuente-titulo); font-weight: 500; letter-spacing: .04em; line-height: 1.15; }
p { margin: 0 0 1em; }
::selection { background: var(--color-accion); color: var(--color-fondo); }
:focus-visible { outline: 2px solid var(--color-foco); outline-offset: 3px; border-radius: 2px; }
[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 { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--color-accion); color: var(--color-fondo); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* grano fino sobre todo el sitio */
.grain { pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* ---------- Tipografía de sistema ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.3 var(--fuente-texto); letter-spacing: .24em; text-transform: uppercase; color: var(--color-accion); margin: 0 0 18px; }
.display { font-family: var(--fuente-titulo); font-weight: 500; color: var(--color-texto); letter-spacing: .05em; text-transform: uppercase; line-height: 1.08; font-size: clamp(40px, 11vw, 112px); }
.h2 { font-size: clamp(30px, 6.4vw, 56px); text-transform: uppercase; }
.lead { font-size: 17px; line-height: 1.7; color: var(--color-texto-2); max-width: 34em; }
@media (min-width: 768px) { .lead { font-size: 18px; } }
.gold { color: var(--color-accion); }
.mono-num { font-variant-numeric: tabular-nums; }

/* separador de marca: línea · estrella · línea */
.sep { display: flex; align-items: center; gap: 14px; color: var(--color-accion); margin: 26px 0; max-width: 260px; }
.sep::before, .sep::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--color-accion)); }
.sep::after { background: linear-gradient(90deg, var(--color-accion), transparent); }
.sep svg { width: 10px; height: 10px; fill: currentColor; }
.sep.center { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn { --bg: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  font: 600 13px/1 var(--fuente-texto); letter-spacing: .16em; text-transform: uppercase; border-radius: var(--radio-control);
  border: 1px solid var(--linea); color: var(--color-texto); background: var(--bg); overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease-out); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--color-accion-hover); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--color-fondo); border-color: var(--color-accion-hover); }
.btn:active { transform: scale(.98); }
.btn-primary { --bg: var(--color-accion); color: var(--color-fondo); border-color: var(--color-accion); }
.btn-primary::before { background: var(--color-foco); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-text { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--fuente-texto); letter-spacing: .16em; text-transform: uppercase; color: var(--color-accion); }
.btn-text .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn-text:hover .icon { transform: translateX(4px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--color-fondo); border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Encabezado ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(14, 13, 11, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--linea-suave); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--color-accion); }
.brand img { height: 22px; width: auto; }
.brand small { display: none; font: 500 9px/1.3 var(--fuente-texto); letter-spacing: .3em; text-transform: uppercase; color: var(--color-texto-3); border-left: 1px solid var(--linea); padding-left: 12px; }
@media (min-width: 768px) { .brand img { height: 26px; } .brand small { display: block; } }
.nav { display: none; }
.nav a { position: relative; font: 500 12px/1 var(--fuente-texto); letter-spacing: .2em; text-transform: uppercase; color: var(--color-texto-2); padding: 10px 0; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--color-accion); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--color-texto); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }
@media (min-width: 1000px) { .nav { display: flex; gap: 34px; } .header-cta { display: inline-flex; min-height: 42px; padding: 0 20px; font-size: 12px; } }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--color-texto); transition: transform .4s var(--ease-out), opacity .3s; }
.menu-btn span + span { margin-top: 6px; }
.menu-btn .bars { display: block; }
.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1000px) { .menu-btn { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--color-fondo); padding: calc(var(--header-h) + 24px) var(--pad) 32px; display: flex; flex-direction: column;
  clip-path: circle(0 at calc(100% - 42px) 32px); transition: clip-path .7s var(--ease-out); visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 42px) 32px); visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mobile-menu li { border-bottom: 1px solid var(--linea-suave); overflow: hidden; }
.mobile-menu li a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; font: 500 26px/1.1 var(--fuente-titulo); letter-spacing: .08em; text-transform: uppercase; color: var(--color-texto);
  transform: translateY(110%); transition: transform .7s var(--ease-out); }
.mobile-menu li a::before { counter-increment: m; content: '0' counter(m); font: 500 11px/1 var(--fuente-texto); letter-spacing: .2em; color: var(--color-accion); order: 2; }
.menu-open .mobile-menu li a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .06s; } .menu-open .mobile-menu li:nth-child(3) a { transition-delay: .12s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .18s; } .menu-open .mobile-menu li:nth-child(5) a { transition-delay: .24s; } .menu-open .mobile-menu li:nth-child(6) a { transition-delay: .3s; }
.mobile-menu .btn { margin-top: auto; }
.mobile-menu .menu-foot { margin-top: 18px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-texto-3); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 28px; overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .hero { align-items: center; padding-bottom: 120px; } }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 40%, transparent 30%, rgba(14,13,11,.55) 70%, var(--color-fondo) 100%), linear-gradient(180deg, rgba(14,13,11,.6), transparent 25%, transparent 70%, var(--color-fondo)); }
.hero-inner { position: relative; }
.hero .display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .display .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease-out) forwards; }
.hero .display .line:nth-child(2) > span { animation-delay: .12s; }
.hero .display em { font-style: normal; color: var(--color-accion); }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-top: 22px; opacity: 0; animation: fadeUp 1s .5s var(--ease-out) forwards; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; opacity: 0; animation: fadeUp 1s .65s var(--ease-out) forwards; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }


/* ---------- Banda de palabras ---------- */

/* ---------- Secciones ---------- */
.section { position: relative; padding: 96px 0; }
@media (min-width: 900px) { .section { padding: 136px 0; } }
.section-alt { background: var(--color-superficie-1); }

/* ---------- Ritual de 40 minutos (scroll fijo) ---------- */
.ritual { position: relative; }
.ritual-scroller { height: 250vh; position: relative; }
@media (min-width: 900px) { .ritual-scroller { height: 340vh; } }
.ritual-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 8px) 0 24px; overflow: hidden; }
.ritual-grid { display: grid; gap: 28px; align-items: center; width: 100%; }
@media (min-width: 900px) { .ritual-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ritual-dial { position: relative; width: min(64vw, 300px); aspect-ratio: 1; margin: 0 auto; order: -1; }
@media (min-width: 900px) { .ritual-dial { width: min(38vw, 460px); order: 0; } }
.ritual-dial svg { width: 100%; height: 100%; overflow: visible; }
.dial-track { fill: none; stroke: var(--color-superficie-3); stroke-width: 1; }
.dial-ticks line { stroke: var(--color-texto-3); stroke-width: 1; opacity: .5; }
.dial-ticks line.major { stroke: var(--color-accion); opacity: .9; }
.dial-progress { fill: none; stroke: var(--color-accion); stroke-width: 2; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.dial-hand { stroke: var(--color-foco); stroke-width: 1.5; stroke-linecap: round; }
#dialHand { transform-box: view-box; transform-origin: 50% 50%; }
.dial-dot { fill: var(--color-foco); filter: drop-shadow(0 0 8px rgba(226,200,143,.8)); }
.dial-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.dial-center strong { display: block; font: 500 clamp(56px, 16vw, 120px)/1 var(--fuente-titulo); color: var(--color-texto); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.dial-center span { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--color-texto-3); margin-top: 6px; }
.ritual-steps { position: relative; min-height: 220px; }
@media (min-width: 900px) { .ritual-steps { min-height: 300px; } }
.ritual-step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.ritual-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.ritual-step .min { font: 600 12px/1 var(--fuente-texto); letter-spacing: .22em; text-transform: uppercase; color: var(--color-accion); }
.ritual-step h3 { font-size: clamp(30px, 7vw, 54px); text-transform: uppercase; margin: 14px 0 16px; }
.ritual-step p { max-width: 30em; font-size: 16.5px; line-height: 1.7; }
.ritual-progress { display: flex; gap: 8px; margin-top: 24px; }
.ritual-progress i { flex: 1; height: 2px; background: var(--color-superficie-3); position: relative; overflow: hidden; }
.ritual-progress i::after { content: ''; position: absolute; inset: 0; background: var(--color-accion); transform: scaleX(var(--p, 0)); transform-origin: left; }
.ritual-intro { padding-top: 96px; }
@media (min-width: 900px) { .ritual-intro { padding-top: 136px; } }

/* ---------- Servicios ---------- */
@keyframes draw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }

/* ---------- Trabajos (galería) ---------- */
.gallery { position: relative; }
.gallery-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 18px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-track.is-dragging a { pointer-events: none; }
.shot { position: relative; flex: 0 0 74vw; max-width: 400px; scroll-snap-align: center; margin: 0; }
@media (min-width: 700px) { .shot { flex-basis: 40vw; } }
@media (min-width: 1100px) { .shot { flex-basis: 25vw; scroll-snap-align: start; } .shot:nth-child(even) { margin-top: 64px; } }
.shot a { display: block; position: relative; overflow: hidden; border-radius: var(--radio-tarjeta); aspect-ratio: 4 / 5; background: var(--color-superficie-2); }
.shot img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--py, -8%), 0) scale(1.02); transition: transform .9s var(--ease-out), filter .6s; will-change: transform; user-select: none; -webkit-user-drag: none; }
.shot a:hover img { transform: translate3d(0, var(--py, -8%), 0) scale(1.07); }
.shot a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,13,11,.85)); }
.shot figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 13px; line-height: 1.35; color: var(--color-texto); }
.shot figcaption b { font: 600 11px/1 var(--fuente-texto); letter-spacing: .2em; color: var(--color-accion); }
.gallery-ui { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.gallery-bar { flex: 1; height: 1px; background: var(--color-superficie-3); position: relative; max-width: 320px; }
.gallery-bar i { position: absolute; inset: 0; background: var(--color-accion); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .15s; }
.gallery-arrows { display: none; gap: 10px; }
@media (min-width: 900px) { .gallery-arrows { display: flex; } }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--linea); display: grid; place-items: center; color: var(--color-texto); transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--color-accion); color: var(--color-fondo); border-color: var(--color-accion); }
.round-btn .icon { width: 20px; height: 20px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8,7,6,.94); display: grid; place-items: center; padding: 60px 16px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82svh; width: auto; border-radius: var(--radio-tarjeta); transform: scale(.94); transition: transform .6s var(--ease-out); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox.is-open img { transform: none; }
.lightbox p { margin: 14px 0 0; text-align: center; color: var(--color-texto-2); font-size: 14px; }
.lightbox .lb-close { position: absolute; top: 14px; right: 14px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }

/* ---------- El barbero ---------- */
.barber { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .barber { grid-template-columns: 5fr 6fr; gap: 88px; } }
.barber-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radio-tarjeta); overflow: hidden; }
.barber-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.barber-photo.is-in img { transform: scale(1); }
.barber-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(196,160,98,.35); border-radius: 2px; pointer-events: none; }
.barber-seal { position: absolute; right: 8px; bottom: -14px; width: 112px; height: 112px; z-index: 2; color: var(--color-accion); animation: spin 26s linear infinite; }
@media (min-width: 900px) { .barber-seal { width: 140px; height: 140px; right: -36px; bottom: 40px; } }
.barber-seal text { font: 600 7.4px var(--fuente-texto); letter-spacing: .2em; fill: currentColor; text-transform: uppercase; }

/* ---------- Cómo reservar ---------- */

/* ---------- Horario y ubicación ---------- */
.visit { display: grid; gap: 48px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 15px 0; border-bottom: 1px solid var(--linea-suave); text-align: left; font-weight: 400; }
.hours th { color: var(--color-texto); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--color-accion); }
.hours tr.is-today th::after { content: 'Hoy'; margin-left: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--color-accion); border-radius: 2px; vertical-align: 2px; }
.hours .closed td { color: var(--color-texto-3); }
.hours-note { margin-top: 16px; font-size: 13.5px; color: var(--color-texto-3); }
.open-state { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; letter-spacing: .08em; color: var(--color-texto-2); }
.open-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-texto-3); }
.open-state.is-open i { background: var(--color-exito); box-shadow: 0 0 0 0 rgba(169,201,164,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(169,201,164,0); } 100% { box-shadow: 0 0 0 0 rgba(169,201,164,0); } }
.place { position: relative; border: 1px solid var(--linea-suave); border-radius: var(--radio-tarjeta); overflow: hidden; background: var(--color-superficie-1); }
.place-map { position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(196,160,98,.10), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(242,238,230,.04) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(242,238,230,.04) 39px 40px); }
.place-map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.place-map svg.roads path { fill: none; stroke: rgba(196,160,98,.28); stroke-width: 1.2; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.6s var(--ease-out); }
.place.is-in .place-map svg.roads path { stroke-dashoffset: 0; }
.pin { position: relative; width: 64px; height: 64px; display: grid; place-items: center; color: var(--color-fondo); }
.pin::before, .pin::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--color-accion); animation: ripple 3s var(--ease) infinite; }
.pin::after { animation-delay: 1.5s; }
.pin span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accion); display: grid; place-items: center; box-shadow: 0 0 30px rgba(196,160,98,.5); }
.pin .icon { width: 20px; height: 20px; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.place-label { position: absolute; left: 50%; top: calc(50% + 44px); transform: translateX(-50%); white-space: nowrap; font: 500 14px/1 var(--fuente-titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--color-texto); }
.place-body { padding: 24px; }
.place-body address { font-style: normal; color: var(--color-texto); font-size: 16px; margin-bottom: 6px; }
.place-body p { font-size: 14px; color: var(--color-texto-3); }
.place-actions { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 520px) { .place-actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--linea-suave); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 500 clamp(17px, 2.6vw, 21px)/1.35 var(--fuente-titulo); letter-spacing: .03em; color: var(--color-texto); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-accion); transition: transform .4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 40px 24px 0; margin: 0; font-size: 15.5px; }

/* ---------- Cierre ---------- */

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--linea-suave); padding: 64px 0 110px; background: var(--color-fondo); }
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { width: 220px; }
.site-footer h2 { font: 600 11px/1 var(--fuente-texto); letter-spacing: .24em; text-transform: uppercase; color: var(--color-accion); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a:hover { color: var(--color-texto); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linea-suave); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12.5px; color: var(--color-texto-3); }

/* ---------- Botones flotantes ---------- */
.floating { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; gap: 10px; transition: transform .5s var(--ease-out), opacity .4s; }
@media (min-width: 900px) { .floating { right: 24px; bottom: 24px; } }
.floating.is-hidden { transform: translateY(140%); opacity: 0; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accion); color: var(--color-fondo); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease-out), background .3s; }
.fab:hover { transform: scale(1.06); background: var(--color-accion-hover); }
.fab.fab-alt { display: none; width: 48px; height: 48px; justify-self: center; background: var(--color-superficie-3); color: var(--color-accion); border: 1px solid var(--linea); }
.fab .icon { width: 24px; height: 24px; }
@media (min-width: 900px) { .fab.fab-alt { display: grid; } }

/* ---------- Revelado al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * { display: block; height: 100%; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- Transición entre páginas ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"], .js [data-reveal="clip"] > * { opacity: 1; transform: none; clip-path: none; }
  .js [data-split] .w > span, .hero .display .line > span { transform: none; }
  .grain { display: none; }
  .ritual-scroller { height: auto; }
  .ritual-sticky { position: relative; }
}

/* =====================================================================
   RESERVA
   ===================================================================== */
.booking-page { min-height: 100svh; padding: calc(var(--header-h) + 18px) 0 200px; }
@media (min-width: 900px) { .booking-page { padding-bottom: 80px; } }
.booking-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-texto-3); }
.back-link:hover { color: var(--color-texto); }
.back-link .icon { width: 18px; height: 18px; }
.demo-badge { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-fondo); background: var(--color-error); padding: 6px 10px; border-radius: 2px; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 32px; list-style: none; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 12.5px; color: var(--color-texto-3); white-space: nowrap; }
.stepper li:last-child { flex: none; }
.stepper li::after { content: ''; flex: 1; height: 1px; margin: 0 12px; background: var(--color-superficie-3); }
.stepper li:last-child::after { display: none; }
.stepper .dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--color-texto-3); display: grid; place-items: center; font: 600 12px/1 var(--fuente-texto); flex: none; transition: all .4s var(--ease-out); }
.stepper .lbl { display: none; }
@media (min-width: 560px) { .stepper .lbl { display: inline; } }
.stepper li.is-current { color: var(--color-texto); font-weight: 600; }
.stepper li.is-current .dot { border-color: var(--color-accion); color: var(--color-accion); box-shadow: 0 0 0 4px rgba(196,160,98,.14); }
.stepper li.is-done .dot { background: var(--color-accion); border-color: var(--color-accion); color: var(--color-fondo); }
.stepper li.is-done::after { background: var(--color-accion); }
.stepper-mobile { font-size: 12.5px; color: var(--color-texto-3); margin: -18px 0 26px; }
@media (min-width: 560px) { .stepper-mobile { display: none; } }
.booking-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .booking-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.panel { animation: panelIn .7s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.panel.back { animation-name: panelBack; }
@keyframes panelBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.panel h1, .panel h2 { font-size: clamp(28px, 6vw, 42px); text-transform: uppercase; margin-bottom: 10px; }
.panel .sub { color: var(--color-texto-3); font-size: 14.5px; margin-bottom: 26px; }

/* tarjetas de servicio seleccionables */
.choice-list { display: grid; gap: 12px; }
@media (min-width: 700px) { .choice-list { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px 18px; border: 1px solid var(--linea-suave); border-radius: var(--radio-tarjeta); background: var(--color-superficie-1); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-out); text-align: left; width: 100%; }
.choice:hover { border-color: var(--linea); background: var(--color-superficie-2); }
.choice[aria-checked="true"] { border-color: var(--color-accion); background: linear-gradient(140deg, rgba(196,160,98,.12), var(--color-superficie-2) 60%); }
.choice .icon { width: 36px; height: 36px; color: var(--color-accion); stroke-width: 1.2; }
.choice-body { flex: 1; }
.choice-body strong { display: block; font: 500 17px/1.25 var(--fuente-titulo); letter-spacing: .05em; color: var(--color-texto); text-transform: uppercase; }
.choice-body small { display: block; font-size: 13px; line-height: 1.5; color: var(--color-texto-3); margin: 6px 0 10px; }
.choice-meta { display: flex; gap: 16px; font-size: 13px; color: var(--color-texto-2); }
.choice-meta b { color: var(--color-texto); font-weight: 600; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--color-texto-3); flex: none; display: grid; place-items: center; transition: all .3s; }
.choice[aria-checked="true"] .radio { border-color: var(--color-accion); background: var(--color-accion); }
.choice[aria-checked="true"] .radio::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--color-fondo); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

/* calendario */
.cal-wrap { display: grid; gap: 26px; }
@media (min-width: 1100px) { .cal-wrap { grid-template-columns: 1fr 1fr; gap: 32px; } }
.cal { border: 1px solid var(--linea-suave); border-radius: var(--radio-tarjeta); padding: 10px; background: var(--color-superficie-1); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 2px; border: 1px solid var(--linea-suave); display: grid; place-items: center; color: var(--color-texto-2); }
.cal-nav button:hover:not(:disabled) { border-color: var(--color-accion); color: var(--color-accion); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-nav .icon { width: 18px; height: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
@media (min-width: 480px) { .cal { padding: 16px; } .cal-grid { gap: 4px; } }
.cal-grid .dow { text-align: center; font-size: 11px; letter-spacing: .1em; color: var(--color-texto-3); padding: 6px 0; text-transform: uppercase; }
.day { position: relative; aspect-ratio: 1; min-height: 42px; display: grid; place-items: center; border-radius: 2px; font: 500 14.5px/1 var(--fuente-texto); color: var(--color-texto); font-variant-numeric: tabular-nums; transition: background .25s, color .25s, box-shadow .25s; }
.day:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--color-accion); }
.day:disabled { color: #8a857c; cursor: default; opacity: .7; }
.day.is-closed { text-decoration: line-through; text-decoration-color: rgba(149,144,137,.5); }
.day.is-today::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--color-accion); }
.day.is-selected { background: var(--color-accion); color: var(--color-fondo); font-weight: 600; }
.day.is-selected::after { background: var(--color-fondo); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12.5px; color: var(--color-texto-3); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 1px; border: 1px solid var(--color-texto-3); }
.cal-legend i.sel { background: var(--color-accion); border-color: var(--color-accion); }
.cal-legend i.off { border-color: var(--color-deshabilitado); background: repeating-linear-gradient(45deg, transparent 0 2px, var(--color-deshabilitado) 2px 3px); }
.slots h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.slots .slots-day { font-size: 13.5px; color: var(--color-texto-3); margin-bottom: 16px; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-group h4 { font: 600 12px/1 var(--fuente-texto); letter-spacing: .22em; text-transform: uppercase; color: var(--color-texto-3); margin-bottom: 10px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 480px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot { min-height: 48px; border: 1px solid var(--linea-suave); border-radius: 2px; background: var(--color-superficie-1); font: 500 15px/1 var(--fuente-texto); color: var(--color-texto); font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(8px); animation: slotIn .5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 30ms); transition: border-color .25s, background .25s, color .25s; }
@keyframes slotIn { to { opacity: 1; transform: none; } }
.slot:hover:not(:disabled) { border-color: var(--color-accion); background: var(--color-superficie-2); }
.slot[aria-pressed="true"], .slot[aria-pressed="true"]:hover { background: var(--color-accion); border-color: var(--color-accion); color: var(--color-fondo); font-weight: 600; }
.slot:disabled { cursor: default; color: var(--color-deshabilitado); }
.slot.is-taken { text-decoration: line-through; }
.slot.is-blocked { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(107,103,95,.18) 5px 6px); }
.slot.is-short { position: relative; }
.slot.is-short::after { content: '15 min'; position: absolute; top: 3px; right: 4px; font-size: 8.5px; letter-spacing: .06em; color: var(--color-accion); }
.slot.is-short[aria-pressed="true"]::after { color: var(--color-fondo); }
.empty { text-align: center; padding: 34px 20px; border: 1px dashed var(--linea-suave); border-radius: var(--radio-tarjeta); color: var(--color-texto-3); font-size: 14.5px; }
.empty .icon { margin: 0 auto 12px; color: var(--color-accion); width: 30px; height: 30px; }
.empty strong { display: block; color: var(--color-texto); margin-bottom: 6px; font-weight: 600; }
.skeleton { height: 48px; border-radius: 2px; background: linear-gradient(90deg, var(--color-superficie-1) 0%, var(--color-superficie-2) 50%, var(--color-superficie-1) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* formulario */
.form { display: grid; gap: 20px; max-width: 560px; }
.field label, .field .label { display: block; font: 600 12px/1 var(--fuente-texto); letter-spacing: .18em; text-transform: uppercase; color: var(--color-texto-2); margin-bottom: 10px; }
.field label small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12.5px; color: var(--color-texto-3); margin-left: 6px; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 0 16px; background: var(--color-superficie-1); border: 1px solid var(--linea-suave); border-radius: var(--radio-control); color: var(--color-texto); font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.textarea { min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--color-texto-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--linea); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-foco); box-shadow: 0 0 0 3px rgba(226,200,143,.15); }
.field.has-error .input { border-color: var(--color-error); }
.field .help { font-size: 12.5px; color: var(--color-texto-3); margin-top: 8px; }
.field .error { display: none; font-size: 13px; color: var(--color-error); margin-top: 8px; }
.field.has-error .error { display: block; }
.phone { display: flex; }
.phone span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--linea-suave); border-right: 0; border-radius: 2px 0 0 2px; color: var(--color-texto-2); background: var(--color-superficie-2); font-variant-numeric: tabular-nums; }
.phone .input { border-radius: 0 2px 2px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; min-height: 44px; padding-top: 2px; }
.check input { appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--color-texto-3); border-radius: 2px; flex: none; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.check input:checked { background: var(--color-accion); border-color: var(--color-accion); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--color-fondo); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--color-accion); text-decoration: underline; text-underline-offset: 3px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 16px; border: 1px solid var(--linea-suave); border-radius: 2px; font-size: 14px; color: var(--color-texto-2); transition: all .25s; }
.seg button[aria-pressed="true"] { border-color: var(--color-accion); color: var(--color-texto); background: rgba(196,160,98,.12); }

/* resumen */
.summary { border: 1px solid var(--linea-suave); border-radius: var(--radio-tarjeta); background: var(--color-superficie-1); padding: 22px; }
@media (min-width: 900px) { .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.summary h2 { font: 600 12px/1 var(--fuente-texto); letter-spacing: .24em; text-transform: uppercase; color: var(--color-accion); margin-bottom: 16px; }
.summary dl { margin: 0; display: grid; gap: 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linea-suave); font-size: 14px; }
.summary dt { color: var(--color-texto-3); }
.summary dd { margin: 0; text-align: right; color: var(--color-texto); }
.summary dd.is-empty { color: var(--color-deshabilitado); }
.summary .total { border-bottom: 0; padding-top: 16px; }
.summary .total dd { font: 600 22px/1 var(--fuente-texto); font-variant-numeric: tabular-nums; }
.summary .btn { margin-top: 18px; }
.summary .btn-text { width: 100%; justify-content: center; }
.summary-desktop { display: none; }
.summary[hidden] { display: none !important; }
@media (min-width: 900px) { .is-done .booking-layout { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .summary-desktop { display: block; } }
.summary-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom)); background: rgba(22,20,17,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--linea-suave); display: grid; gap: 12px; transition: transform .5s var(--ease-out); }
@media (min-width: 900px) { .summary-bar { display: none; } }
.summary-bar .sb-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--color-texto-3); }
.summary-bar .sb-row strong { display: block; color: var(--color-texto); font-weight: 600; font-size: 14px; }
.summary-bar .sb-total { white-space: nowrap; font: 600 20px/1 var(--fuente-texto); color: var(--color-texto); font-variant-numeric: tabular-nums; }
.summary-bar.is-hidden { transform: translateY(110%); }

/* avisos */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radio-tarjeta); border: 1px solid var(--linea); background: var(--color-superficie-1); font-size: 14px; }
.alert .icon { width: 20px; height: 20px; color: var(--color-accion); margin-top: 1px; }
.alert strong { display: block; color: var(--color-texto); margin-bottom: 2px; font-weight: 600; }
.alert.is-error { border-color: rgba(232,160,138,.5); }
.alert.is-error .icon { color: var(--color-error); }
.alert + .alert, .alert + .form, .form + .alert { margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, calc(100% + 48px)); display: flex; gap: 12px; align-items: center; padding: 14px 18px; min-width: min(92vw, 360px); border-radius: var(--radio-tarjeta); background: var(--color-superficie-3); border: 1px solid var(--linea); color: var(--color-texto); font-size: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.5); transition: transform .5s var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); }
.toast.is-error { border-color: rgba(232,160,138,.6); }
.toast .icon { width: 20px; height: 20px; color: var(--color-accion); }
.toast.is-error .icon { color: var(--color-error); }

/* confirmación */
.confirm { text-align: center; max-width: 560px; margin: 0 auto; }
.confirm-seal { width: 108px; height: 108px; margin: 0 auto 24px; color: var(--color-accion); }
.confirm-seal circle { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 300; stroke-dashoffset: 300; animation: dash 1.4s var(--ease-out) forwards; }
.confirm-seal path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash .8s .9s var(--ease-out) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.confirm h1 { font-size: clamp(30px, 7vw, 46px); text-transform: uppercase; }
.confirm .summary { text-align: left; margin: 28px 0 18px; }
.confirm .actions { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 560px) { .confirm .actions { grid-template-columns: 1fr 1fr; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* páginas de texto */
.prose { max-width: 760px; padding: calc(var(--header-h) + 48px) 0 96px; }
.prose h1 { font-size: clamp(30px, 6vw, 48px); text-transform: uppercase; margin-bottom: 24px; }
.prose h2 { font-size: 20px; text-transform: uppercase; margin: 36px 0 12px; }
.prose a { color: var(--color-accion); text-decoration: underline; text-underline-offset: 3px; }

/* mapa real (se carga solo al tocar, para no frenar la página) */
.map-load { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(14,13,11,.85); min-height: 44px; font-size: 11.5px; }
.map-load:hover { transform: translateX(-50%); }
.place-map iframe, .confirm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05) brightness(.9); }
.confirm-map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radio-tarjeta); overflow: hidden; border: 1px solid var(--linea-suave); margin: 18px 0 0; background: var(--color-superficie-1); }
.mobile-menu li a { padding: 15px 0; }

/* verificación anti-bots: invisible salvo que Cloudflare pida interacción */
.ts-box:empty { display: none; }
.ts-box { min-height: 0; }
.ts-box iframe { max-width: 100%; }

/* ===== Ajustes de la auditoría UX ===== */
.header-cta-m { min-height: 42px; padding: 0 16px; font-size: 12px; margin-left: auto; margin-right: 6px; }
@media (min-width: 1000px) { .header-cta-m { display: none; } }
.is-booking .header-cta-m { display: none; }
/* pie: enlaces con área táctil cómoda */
.site-footer ul { gap: 0; }
.site-footer li { min-height: 40px; display: flex; align-items: center; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.check a { display: inline; padding: 6px 0; }
/* pasos de la reserva: los completados se pueden tocar para volver */
.stepper li.is-done { cursor: pointer; }
.stepper li.is-done:hover .lbl { color: var(--color-texto); text-decoration: underline; text-underline-offset: 3px; }
/* barra inferior: botón para volver + se oculta al escribir */
.summary-bar .sb-actions { display: flex; gap: 8px; }
.summary-bar .sb-back { flex: none; width: 56px; min-height: 56px; border: 1px solid var(--linea); border-radius: 2px; display: grid; place-items: center; color: var(--color-texto); }
.summary-bar .sb-back .icon { width: 20px; height: 20px; }
.summary-bar .sb-actions .btn { flex: 1; }
.is-typing .summary-bar { transform: translateY(110%); }
.panel-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-texto-3); }
.panel-back .icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .panel-back { display: none; } }


/* =================================================================
   Rediseño editorial (nov. 2026): menos plantilla, más barbería
   ================================================================= */
.aside-note { font-size: 16px; line-height: 1.65; color: var(--color-texto-2); max-width: 30em; margin: 0; }
.aside-note.small { font-size: 14px; color: var(--color-texto-3); margin-top: 14px; }
.aside-note a { color: var(--color-texto); text-decoration: underline; text-decoration-color: var(--color-accion); text-underline-offset: 4px; }
.head-row { margin-bottom: 40px; }
.head-row .aside-note { margin-top: 16px; }
@media (min-width: 900px) { .head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 48px; margin-bottom: 56px; padding-bottom: 22px; border-bottom: 1px solid var(--linea-suave); } .head-row .aside-note { margin: 0; max-width: 26em; } }
.head-split .aside-note { margin-top: 18px; }
@media (min-width: 900px) { .head-split { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: end; } }

/* --- hero --- */
.hero { align-items: center; }
.hero-inner { display: grid; gap: 28px; }
.hero-kicker { font: 500 14px/1.5 var(--fuente-texto); color: var(--color-texto-2); margin: 0 0 20px; max-width: 22em; }
.hero-kicker::first-line { color: var(--color-texto); }
.hero .display { font-size: clamp(44px, 12vw, 104px); }
.hero .lead { max-width: 27em; }
.hero-actions { align-items: flex-start; }
@media (min-width: 560px) { .hero-actions { align-items: center; gap: 28px; } }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--color-texto); text-decoration: underline; text-decoration-color: var(--color-accion); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-underline-offset .3s var(--ease-out), color .3s; }
.hero-link:hover { color: var(--color-accion-hover); text-underline-offset: 9px; }
.hero-photo { position: relative; margin: 0; width: 72%; justify-self: end; aspect-ratio: 4 / 5; opacity: 0; animation: fadeUp 1.2s .35s var(--ease-out) forwards; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radio-tarjeta); }
.hero-photo img { filter: saturate(.85) contrast(1.05); }
.hero-photo figcaption { position: absolute; left: 0; bottom: -26px; font-size: 12.5px; color: var(--color-texto-3); }
.appt-card { position: relative; width: min(300px, 82%); margin-top: -120px; padding: 18px 20px 16px; background: #EFE8DA; color: #1E1B17; border-radius: 3px; box-shadow: 0 24px 50px rgba(0,0,0,.55); transform: rotate(-4deg); opacity: 0; animation: cardIn 1.1s .9s var(--ease-out) forwards; }
.appt-card::before { content: ''; position: absolute; left: 0; right: 0; top: 50px; border-top: 1px dashed rgba(30,27,23,.35); }
.appt-top { display: flex; justify-content: space-between; align-items: center; font: 600 11px/1 var(--fuente-texto); letter-spacing: .1em; color: #6b5a3a; }
.appt-top img { height: 18px; width: auto; filter: brightness(.35) sepia(1) saturate(2); }
.appt-title { margin: 26px 0 10px; font: 600 15px/1 var(--fuente-titulo); letter-spacing: .12em; text-transform: uppercase; }
.appt-card dl { margin: 0; display: grid; gap: 8px; }
.appt-card dl div { display: grid; grid-template-columns: 52px 1fr; align-items: end; }
.appt-card dt { font-size: 12.5px; color: #5d554a; }
.appt-card dd { margin: 0; font: 500 16px/1.2 var(--fuente-texto); }
.appt-blank { height: 20px; border-bottom: 1px solid rgba(30,27,23,.5); }
.appt-foot { margin: 14px 0 0; font-size: 12px; color: #5d554a; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) rotate(2deg); } to { opacity: 1; transform: rotate(-4deg); } }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 7fr 4fr; column-gap: 56px; align-items: center; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-photo { grid-column: 2; grid-row: 1; width: 100%; }
  .appt-card { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 -40px -120px; width: 290px; }
}

/* --- precios: pizarra de barbería --- */
.price-layout { display: grid; gap: 36px; }
@media (min-width: 900px) { .price-layout { grid-template-columns: 4fr 7fr; gap: 72px; } .price-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.price-head .aside-note:first-of-type { margin-top: 18px; }
.price-board { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linea); }
.price-board li { border-bottom: 1px solid var(--linea-suave); }
.price-board a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 12px; padding: 26px 4px 22px; transition: background-color .35s var(--ease), padding .35s var(--ease-out); }
.pb-name { font: 500 clamp(20px, 4.6vw, 28px)/1.2 var(--fuente-titulo); letter-spacing: .04em; text-transform: uppercase; color: var(--color-texto); }
.pb-dots { align-self: end; margin-bottom: .45em; border-bottom: 2px dotted rgba(196,160,98,.4); min-width: 16px; }
.pb-price { font: 600 clamp(19px, 4vw, 24px)/1 var(--fuente-texto); color: var(--color-accion); font-variant-numeric: tabular-nums; }
.pb-desc { grid-column: 1 / -1; margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--color-texto-2); max-width: 34em; }
.pb-desc b { font-weight: 600; color: var(--color-texto-3); white-space: nowrap; margin-left: 4px; }
.pb-go { grid-column: 1 / -1; margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-accion); }
.pb-go .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (min-width: 900px) {
  .pb-go { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease-out); }
  .price-board a:hover { background: rgba(196,160,98,.05); padding-left: 16px; padding-right: 16px; }
  .price-board a:hover .pb-go { opacity: 1; transform: none; }
}
.price-board a:hover .pb-go .icon { transform: translateX(4px); }

/* --- barbero --- */
.barber-name { font: 500 clamp(56px, 13vw, 120px)/.95 var(--fuente-titulo); letter-spacing: .03em; text-transform: uppercase; color: var(--color-texto); margin: 0; }
.barber-role { margin: 14px 0 0; font-size: 15px; color: var(--color-accion); }
.barber blockquote { margin: 34px 0 0; padding: 0; border: 0; }
.barber blockquote p { margin: 0; font: 500 clamp(20px, 3.4vw, 28px)/1.45 var(--fuente-titulo); letter-spacing: .02em; color: var(--color-texto); text-indent: -.45em; }
.barber blockquote p::before { content: '“'; color: var(--color-accion); }
.barber blockquote p::after { content: '”'; color: var(--color-accion); }
.barber-text { margin: 26px 0 0; font-size: 16px; line-height: 1.7; color: var(--color-texto-2); max-width: 32em; }

/* --- cierre --- */
.closing { padding: 110px 0 120px; border-top: 1px solid var(--linea-suave); }
.closing-grid { display: grid; gap: 30px; }
.closing .display { font-size: clamp(48px, 12vw, 128px); margin: 0; }
.closing-side p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--color-texto-2); max-width: 30em; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
@media (min-width: 900px) { .closing { padding: 160px 0; } .closing-grid { grid-template-columns: 7fr 4fr; gap: 64px; align-items: end; } }
@media (prefers-reduced-motion: reduce) { .hero-photo, .appt-card { animation: none; opacity: 1; } }
.hero-kicker { max-width: 30em; }
@media (min-width: 900px) { .hero .display { font-size: clamp(56px, 6.6vw, 96px); } .hero-photo figcaption { bottom: auto; top: -28px; left: auto; right: 0; } }
@media (min-width: 900px) { .price-board a { position: relative; } .pb-go { position: absolute; right: 16px; bottom: 22px; margin: 0; } }
.barber-photo::after { display: none; }
@media (min-width: 900px) { .hero .display { font-size: clamp(54px, 5.3vw, 84px); } .hero .display .line { white-space: nowrap; } }
.hero .display { margin: 0; }
@media (min-width: 900px) { .appt-card { margin-bottom: -150px; } .hero { padding-bottom: 170px; } }
