/* =============================================================
   Capitán Barbería — styles.css
   1. Tokens · 2. Reset · 3. Utilities · 4. Typography · 5. Components
   6. Sections · 7. Effects · 8. Responsive · 9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:       #0B0F14;   /* navy-black, never #000 */
  --bg-2:     #10161D;
  --bg-3:     #161E27;   /* cards */
  --bg-4:     #1D2732;
  --cream:    #EFE7D6;
  --cream-2:  #CFC5B0;
  --cream-3:  #8A8271;   /* metadata */
  --brass:    #C9A25C;
  --brass-2:  #E2BF7A;
  --brass-3:  #8E7038;
  --ox:       #8E2C2C;   /* barber-pole red, use sparingly */
  --wa:       #25D366;
  --line:     rgba(239, 231, 214, .10);
  --line-2:   rgba(239, 231, 214, .18);

  --display: "Bodoni Moda", "Didot", "Playfair Display", Georgia, serif;
  --brand:   "Cinzel", "Bodoni Moda", Georgia, serif;
  --sans:    "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 14px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-curtain: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-y: none;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.015em; font-weight: 500; }
ol, ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brass); color: var(--bg); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--cream-3); }
.center { text-align: center; }
.kicker.center { justify-content: center; }

/* =============================================================
   4. Typography
   ============================================================= */
.h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 1.25rem;
}
.h2 em { font-style: italic; font-weight: 400; color: var(--brass-2); }
.kicker {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.25rem;
}
.kicker-line { display: inline-block; width: 28px; height: 1px; background: var(--brass); transform-origin: left; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head.split { display: grid; gap: 1.5rem; align-items: end; }
.section-head.center { text-align: center; }
.section-lead { color: var(--cream-2); font-size: 1.05rem; max-width: 46ch; font-weight: 300; }
.section-lead.center { margin-inline: auto; }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 3px;
  font-weight: 600; font-size: .92rem; letter-spacing: .01em; line-height: 1;
  transition: transform .5s var(--ease-out), background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn > span { position: relative; z-index: 1; }
.ripple {
  position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; width: 12px; height: 12px;
  margin: -6px 0 0 -6px; background: rgba(255, 255, 255, .35); animation: ripple .7s var(--ease-out) forwards;
}
.btn-ghost .ripple { background: rgba(201, 162, 92, .3); }
@keyframes ripple { to { transform: scale(30); opacity: 0; } }
.btn svg { width: 18px; height: 18px; position: relative; z-index: 1; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn-primary { background: var(--brass); color: var(--bg); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--brass-2); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 10px 40px -10px rgba(201, 162, 92, .55); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-2); }
.btn-ghost:disabled { opacity: .35; pointer-events: none; }
.btn-wa { background: var(--wa); color: #06210F; }
.btn-wa:hover { background: #3AE07A; box-shadow: 0 10px 40px -10px rgba(37, 211, 102, .55); }
.btn-wa svg { width: 20px; height: 20px; }
.btn-wa:hover svg { transform: none; }
.wizard-footer.is-final .btn-wa { animation: waReady .9s var(--ease-out) both, waGlow 2.4s 1s ease-in-out infinite; }
@keyframes waReady { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes waGlow { 0%, 100% { box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .4); } 50% { box-shadow: 0 14px 44px -10px rgba(37, 211, 102, .75); } }

/* Rating */
.rating { display: inline-flex; align-items: center; gap: .6rem; }
.rating-stars { color: var(--brass); letter-spacing: .1em; font-size: .85rem; }
.rating strong { font-weight: 700; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cream-3); }

/* Fields */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.field span em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.field input {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: .9rem 1rem; color: var(--cream); outline: none;
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s;
}
.field input::placeholder { color: rgba(239, 231, 214, .3); }
.field input:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(201, 162, 92, .12); background: var(--bg-3); }
.field input.is-invalid { border-color: var(--ox); }

/* =============================================================
   6. Sections
   ============================================================= */
/* ---- Splash ---- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); color: var(--brass);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0); /* valor explícito: "none" no interpola con inset() en la salida */
  transition: clip-path 1.15s var(--ease-curtain), opacity .5s .5s ease-out;
  animation: splashSafety .01s 2.6s forwards; /* safety: hide even if JS fails */
}
.splash::after { /* cortina brass que sube justo delante del fondo */
  content: ""; position: absolute; inset: 0; background: var(--brass);
  transform: translateY(101%); transition: transform 1.05s var(--ease-curtain); pointer-events: none;
}
.splash.is-out { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
.splash.is-out::after { transform: translateY(-101%); transition-delay: .05s; }
.splash.is-out .splash-inner { opacity: 0; transform: translateY(-28px) scale(.94); filter: blur(6px); }
.splash.is-out .splash-compass { transition-delay: 0s; }
.splash.is-out .splash-word { transition-delay: .06s; }
.splash.is-out .splash-bar { transition-delay: .12s; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner {
  position: relative; display: grid; place-items: center; gap: 1.2rem;
  transition: opacity .55s var(--ease-curtain), transform .65s var(--ease-curtain), filter .55s;
}
.splash-compass, .splash-word, .splash-bar {
  transition: opacity .5s var(--ease-curtain), transform .55s var(--ease-curtain), filter .5s var(--ease-curtain);
}
.splash.is-out .splash-compass, .splash.is-out .splash-word, .splash.is-out .splash-bar { animation: none; }
.splash.is-out .splash-compass { opacity: 0; transform: scale(.8) translateY(-10px); filter: blur(8px); }
.splash.is-out .splash-word { opacity: 0; transform: translateY(-14px); filter: blur(4px); }
.splash.is-out .splash-bar { opacity: 0; transform: scaleX(.4); }
.splash-halo {
  position: absolute; top: calc(50% - 2.4rem); left: 50%; width: clamp(180px, 34vw, 260px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 162, 92, .28), rgba(201, 162, 92, .06) 45%, transparent 70%);
  animation: haloBreathe 2.6s var(--ease-soft) infinite;
}
@keyframes haloBreathe { 0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .55; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.splash-compass {
  position: relative; width: clamp(120px, 22vw, 168px); height: clamp(120px, 22vw, 168px);
  opacity: 0; transform: scale(.82); filter: blur(10px) drop-shadow(0 18px 40px rgba(201, 162, 92, .25));
  animation: logoIn 1.3s .1s var(--ease-out) forwards;
}
@keyframes logoIn { to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 18px 40px rgba(201, 162, 92, .25)); } }
.splash-word {
  font-family: var(--brand); font-weight: 600; text-transform: uppercase; font-size: clamp(1.05rem, 4vw, 1.3rem); color: var(--cream);
  letter-spacing: .28em; opacity: 0; text-align: center; white-space: nowrap; animation: splashWord .8s .25s var(--ease-out) forwards;
}
@keyframes splashWord { from { opacity: 0; letter-spacing: .28em; transform: translateY(10px); } to { opacity: 1; letter-spacing: .1em; transform: none; } }
.splash-bar { width: clamp(120px, 20vw, 168px); height: 1px; background: var(--line-2); overflow: hidden; border-radius: 999px; }
.splash-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brass-3), var(--brass-2)); transform: scaleX(0); transform-origin: left; animation: barFill 1.1s .2s var(--ease-soft) forwards; }
@keyframes barFill { 0% { transform: scaleX(0); } 70% { transform: scaleX(.82); } 100% { transform: scaleX(1); } }

/* ---- Grain (textura de película, muy sutil) ---- */
.grain {
  position: fixed; inset: -100%; z-index: 9980; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---- Barra de progreso de scroll ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; pointer-events: none;
  background: linear-gradient(90deg, var(--brass-3), var(--brass-2));
  transform: scaleX(var(--p, 0)); transform-origin: left; will-change: transform;
  box-shadow: 0 0 12px rgba(201, 162, 92, .5);
}

/* ---- Cursor ---- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9990; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brass-2); }
.cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(201, 162, 92, .6);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
}
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(201, 162, 92, .12); border-color: transparent; }
.cursor.is-down .cursor-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor-seal {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.5) rotate(-18deg);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-bounce);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45));
}
.cursor-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out);
}
.cursor-label-text {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2);
  white-space: nowrap; background: rgba(11, 15, 20, .78); padding: .3em .7em; border-radius: 999px;
}
.cursor.is-text .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: transparent; border-color: transparent; }
.cursor.is-text .cursor-seal { opacity: 1; transform: none; }
.cursor.is-text .cursor-label { opacity: 1; transform: none; }
.cursor.is-text .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; } }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  transition: background .5s var(--ease-out), border-color .5s, transform .6s var(--ease-out), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 15, 20, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
html.is-ready .nav { animation: navIn 1.1s .35s var(--ease-out) backwards; }
@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.nav-inner { height: 100%; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--cream); }
.brand-mark { width: 44px; height: 44px; object-fit: contain; transition: transform .8s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(180deg) scale(1.06); }
.brand-text { font-family: var(--brand); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.brand-text em { font-style: normal; font-family: var(--sans); font-weight: 300; font-size: .62em; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-2); margin-left: .5em; }
.nav-links { display: none; gap: 2rem; }
.nav-links a { position: relative; font-size: .88rem; font-weight: 500; color: var(--cream-2); transition: color .3s; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--cream); }
.nav-cta { display: none; }
.nav-burger { width: 44px; height: 44px; display: grid; place-items: center; gap: 0; position: relative; }
.nav-burger span { position: absolute; width: 22px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease-out), opacity .3s; }
.nav-burger span:first-child { transform: translateY(-4px); }
.nav-burger span:last-child { transform: translateY(4px); }
.nav-burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 850; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--gutter); padding-top: var(--nav-h);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--display); font-size: clamp(2.2rem, 9vw, 3.4rem); padding: .3rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .15s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .22s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .29s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .36s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .43s; }
.mobile-menu-cta { color: var(--brass-2); font-style: italic; border-bottom: 0 !important; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: calc(var(--nav-h) + 2rem) 0 4rem; overflow: clip; text-align: center; }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: grayscale(1) contrast(1.05) sepia(.35) brightness(.75);
  animation: heroSlideshow 18s ease-in-out infinite, heroKenBurns 18s linear infinite;
  will-change: transform, opacity;
}
.hero-slide:nth-of-type(2) { animation-delay: 6s, 6s; }
.hero-slide:nth-of-type(3) { animation-delay: 12s, 12s; }
@keyframes heroKenBurns { 0% { transform: scale(1) translate(0, 0); } 33% { transform: scale(1.1) translate(-1.5%, 1%); } 100% { transform: scale(1.1) translate(-1.5%, 1%); } }
.hero-slideshow { transition: transform .2s linear; will-change: transform; }
@keyframes heroSlideshow {
  0%, 100% { opacity: 0; }
  3%, 28% { opacity: 1; }
  33% { opacity: 0; }
}
.hero-slideshow-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, .55) 0%, rgba(11, 15, 20, .7) 55%, rgba(11, 15, 20, .92) 100%),
    radial-gradient(60% 55% at 50% 40%, rgba(11, 15, 20, .1), rgba(11, 15, 20, .55) 100%);
}
.hero-content { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.hero-kicker { margin-bottom: 1.5rem; }
.hero-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 2.2rem;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--brass-2); font-size: .88em; }
.hero-title em .split-word > span {
  background: linear-gradient(100deg, var(--brass) 0%, var(--brass-2) 35%, #F3DCA6 50%, var(--brass-2) 65%, var(--brass) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s 2s ease-in-out infinite;
}
@keyframes shimmer { 0%, 30% { background-position: 110% 0; } 70%, 100% { background-position: -10% 0; } }
.hero-content { will-change: transform, opacity; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--cream-2); max-width: 36ch; font-weight: 300; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: .6rem; color: var(--cream-3); z-index: 2; opacity: 0; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
html.is-ready .hero-scroll { opacity: 1; transition-delay: 1.6s; }
.hero-scroll.is-gone { opacity: 0 !important; transform: translate(-50%, 12px); transition-delay: 0s; }
.hero-scroll-arrow { display: grid; place-items: center; width: 26px; height: 26px; }
.hero-scroll-arrow svg { width: 16px; height: 16px; color: var(--brass); animation: scrollArrow 1.8s var(--ease-out) infinite; }
@keyframes scrollArrow { 0% { transform: translateY(-4px); opacity: .35; } 50% { transform: translateY(5px); opacity: 1; } 100% { transform: translateY(-4px); opacity: .35; } }

/* ---- Marquee ---- */
.marquee { border-block: 1px solid var(--line); padding: .9rem 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--cream-2); white-space: nowrap; will-change: transform; animation: marquee 32s linear infinite; }
.marquee-track i { font-style: normal; color: var(--brass); font-size: .8rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee { transition: transform .3s var(--ease-out); will-change: transform; }

/* ---- Promos ---- */
.promos { padding: clamp(4rem, 9vw, 7rem) 0; }
.promos-head { margin-bottom: 2.5rem; }
.promos-grid { display: grid; gap: 1rem; }
.promo-card {
  position: relative; padding: 2rem; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  overflow: hidden; transform-style: preserve-3d;
  transition: border-color .5s var(--ease-out), box-shadow .6s var(--ease-out);
}
.promo-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 162, 92, .16), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.promo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(239, 231, 214, .12) 50%, transparent 70%);
  transform: translateX(-120%);
}
.promo-card.is-in::after { animation: shine 1.4s .5s var(--ease-soft) both; }
@keyframes shine { to { transform: translateX(120%); } }
.promo-card:hover { border-color: rgba(201, 162, 92, .5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.promo-discount { display: inline-block; transition: transform .6s var(--ease-out); }
.promo-card:hover .promo-discount { transform: translateY(-3px); }
.promo-card:hover::before { opacity: 1; }
.promo-discount { display: block; font-family: var(--display); font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--brass-2); letter-spacing: -.02em; }
.promo-discount small { font-size: .38em; letter-spacing: .12em; font-style: italic; color: var(--brass); }
.promo-bank { font-size: 1.35rem; font-weight: 600; margin: .8rem 0 .3rem; }
.promo-card p { color: var(--cream-2); font-weight: 300; }
.promos-disclaimer { margin-top: 1.5rem; color: var(--cream-3); text-transform: none; letter-spacing: .02em; font-size: .78rem; }

/* ---- Services ---- */
.services { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.services-list { border-top: 1px solid var(--line-2); counter-reset: svc; }
.service {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.25rem; align-items: baseline;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  counter-increment: svc; transition: padding .5s var(--ease-out); isolation: isolate;
}
.service::before { content: counter(svc, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--brass); letter-spacing: .1em; }
.service-body { min-width: 0; }
.service-name { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.1; transition: color .4s var(--ease-out), transform .6s var(--ease-out); }
.service.is-featured .service-name::after { content: "Más pedido"; font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--brass); padding: .25rem .5rem; border-radius: 999px; margin-left: .8rem; vertical-align: middle; }
.service-desc { color: var(--cream-3); font-weight: 300; font-size: .95rem; margin-top: .5rem; max-width: 52ch; }
.service-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; text-align: right; }
.service-price { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--brass-2); white-space: nowrap; }
.service::after {
  content: ""; position: absolute; inset: 0 -1.5rem; z-index: -1; border-radius: 10px;
  background: linear-gradient(90deg, rgba(201, 162, 92, .07), transparent 70%);
  opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.service:hover::after { opacity: 1; transform: none; }
.service:hover .service-name { color: var(--brass-2); transform: translateX(6px); }
.service-price { transition: transform .6s var(--ease-out), color .4s; }
.service:hover .service-price { transform: translateX(-4px); color: #F3DCA6; }
.service-line { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.service:hover .service-line { transform: scaleX(1); }
.services-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }

/* ---- Team ---- */
.team { padding: clamp(4rem, 9vw, 7rem) 0; }
.team-grid { display: grid; gap: 1rem; }
.barber {
  display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 5; background: var(--bg-3); transform-style: preserve-3d;
  transition: border-color .5s var(--ease-out);
}
.barber:hover { border-color: rgba(201, 162, 92, .45); }
.barber-media { position: absolute; inset: 0; }
.barber-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.3) brightness(.85); transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter 1s; }
.barber:hover .barber-media img { transform: scale(1); filter: grayscale(.4) sepia(.15) brightness(.95); }
.barber-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(201, 162, 92, .18), transparent 70%),
    linear-gradient(160deg, var(--bg-4), var(--bg-2));
}
.barber-placeholder svg { width: 42%; color: var(--brass); opacity: .35; transition: transform 1.2s var(--ease-out), opacity .6s; }
.barber:hover .barber-placeholder svg { transform: rotate(90deg); opacity: .55; }
.barber-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(180deg, transparent, rgba(11, 15, 20, .85) 60%); }
.barber-idx { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; color: var(--brass); text-transform: uppercase; }
.barber-name { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin: .5rem 0 .25rem; display: inline-block; position: relative; }
.barber-name::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.barber:hover .barber-name::after { transform: scaleX(1); }
.barber-info { transform: translateY(6px); transition: transform .6s var(--ease-out); }
.barber:hover .barber-info { transform: none; }
.barber-role { color: var(--cream-2); font-weight: 300; font-size: .9rem; }
.barber-cta { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cream); background: rgba(11, 15, 20, .5); backdrop-filter: blur(6px); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease-out), background .4s; }
.barber:hover .barber-cta, .barber:focus-within .barber-cta { opacity: 1; transform: none; }
.barber:hover .barber-cta { background: var(--brass); color: var(--bg); }
.barber-cta svg { width: 16px; height: 16px; }

/* ---- About ---- */
.about { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-figure { position: relative; aspect-ratio: 4 / 3; cursor: pointer; }
.about-figure > div { height: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.about-figure > div img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.35) contrast(1.05) brightness(.85); transform: scale(1.25); transition: transform 1.8s var(--ease-out), filter 1s; }
.about-figure.is-in > div img { transform: scale(1.1); }
.about-figure:hover > div img { filter: grayscale(.5) sepia(.2) contrast(1.05) brightness(.92); }
.about-seal {
  position: absolute; right: clamp(-22px, -4.5vw, -34px); bottom: clamp(-22px, -4.5vw, -34px);
  width: clamp(92px, 13vw, 140px); height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55));
  pointer-events: none; z-index: 2;
  opacity: 0; transform: scale(.6); transition: opacity .8s .6s var(--ease-out), transform 1s .6s var(--ease-bounce);
}
.about-figure.is-in .about-seal { opacity: 1; transform: none; }
.about-text { display: grid; gap: 1rem; color: var(--cream-2); font-weight: 300; font-size: 1.05rem; max-width: 52ch; margin-bottom: 2.5rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; justify-content: start; }
.about-stats strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; color: var(--brass-2); line-height: 1; }
.about-stats li > span, .about-rating > span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); display: block; margin-top: .5rem; }
.about-rating { display: block; color: inherit; transition: opacity .3s var(--ease-out); }
.about-rating:hover { opacity: .78; }
.about-rating strong { display: flex; align-items: center; gap: .35em; }
.rating-star { width: .62em; height: .62em; color: var(--brass-2); flex-shrink: 0; }

/* ---- Booking / wizard ---- */
.booking { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: clip; }
.booking::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 0%, rgba(201, 162, 92, .12), transparent 70%);
}
.booking-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.booking-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(201, 162, 92, .16), transparent 70%),
    radial-gradient(35% 35% at 80% 20%, rgba(142, 44, 44, .12), transparent 70%),
    radial-gradient(45% 45% at 70% 85%, rgba(201, 162, 92, .08), transparent 70%);
  filter: blur(40px);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift { from { transform: translate3d(-2%, -1%, 0) rotate(0deg); } to { transform: translate3d(2%, 2%, 0) rotate(6deg); } }
.booking-compass {
  position: absolute; right: -8%; top: 50%; width: clamp(360px, 60vw, 760px); height: auto;
  color: var(--brass); opacity: .09; transform: translateY(-50%);
  animation: compassSlow 90s linear infinite;
}
@keyframes compassSlow { to { rotate: 360deg; } }
.booking .container { position: relative; z-index: 1; }
.wizard {
  position: relative; max-width: 880px; margin-inline: auto;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.wizard-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.wizard-steps::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 25%; z-index: 1;
  background: var(--brass-2); box-shadow: 0 0 14px rgba(226, 191, 122, .6);
  transform: translateX(calc((var(--step, 1) - 1) * 100%)); transition: transform .7s var(--ease-out);
}
.wizard-steps li {
  position: relative; padding: 1rem .6rem; text-align: center;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3);
  transition: color .4s;
}
.wizard-steps li span { display: block; font-size: .8rem; color: var(--cream-3); margin-bottom: .25rem; transition: color .4s; }
.wizard-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass-3); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.wizard-steps li.is-active { color: var(--cream); }
.wizard-steps li.is-active span, .wizard-steps li.is-done span { color: var(--brass-2); }
.wizard-steps li.is-active::after, .wizard-steps li.is-done::after { transform: scaleX(1); }
.wizard-steps li.is-done { color: var(--cream-2); cursor: pointer; }
.wizard-body { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); min-height: 380px; }
.wizard-panel { display: none; }
.wizard-panel.is-active { display: block; }
.wizard-q { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; margin-bottom: 1.5rem; }

.choice-grid { display: grid; gap: .75rem; }
.choice {
  position: relative; display: grid; gap: .25rem; text-align: left;
  padding: 1.1rem 1.2rem; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--bg-2); color: var(--cream); width: 100%;
  transition: border-color .4s var(--ease-out), background .4s, transform .5s var(--ease-out), box-shadow .5s;
}
.choice:hover { border-color: rgba(201, 162, 92, .5); transform: translateY(-2px); }
.choice[aria-checked="true"] { border-color: var(--brass); background: rgba(201, 162, 92, .08); box-shadow: inset 0 0 0 1px var(--brass); }
.choice::before, .date-chip::before, .time-chip::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid var(--brass-2); opacity: 0;
}
.date-chip, .time-chip { position: relative; }
.choice[aria-checked="true"]::before, .date-chip[aria-checked="true"]::before, .time-chip[aria-checked="true"]::before { animation: selectPulse .8s var(--ease-out); }
@keyframes selectPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
.choice-name { font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.choice-price { font-family: var(--display); color: var(--brass-2); font-size: 1.1rem; }
.choice-sub { color: var(--cream-3); font-size: .85rem; font-weight: 300; }
.choice-check { position: absolute; top: .9rem; right: .9rem; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.choice-check::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); transform: scale(0); transition: transform .4s var(--ease-bounce); }
.choice[aria-checked="true"] .choice-check { background: var(--brass); border-color: var(--brass); }
.choice[aria-checked="true"] .choice-check::after { transform: scale(1); }
.choice-grid-barbers .choice { grid-template-columns: auto 1fr; align-items: center; gap: .25rem 1rem; }
.choice-avatar { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-4); display: grid; place-items: center; color: var(--brass); overflow: hidden; border: 1px solid var(--line); }
.choice-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.choice-avatar svg { width: 22px; height: 22px; }

.dates-nav { display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.dates-week-label { color: var(--cream-2); min-width: 15ch; text-align: center; }
.dates-row { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.dates-nav-btn {
  flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--cream-2);
  transition: border-color .3s, color .3s, opacity .3s;
}
.dates-nav-btn svg { width: 16px; height: 16px; }
.dates-nav-btn:hover:not(:disabled) { border-color: var(--brass); color: var(--brass-2); }
.dates-nav-btn:disabled { opacity: .25; pointer-events: none; }
.dates-strip { flex: 1; min-width: 0; display: flex; gap: .5rem; justify-content: center; overflow-x: auto; padding-bottom: .75rem; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.date-chip {
  flex: 0 0 auto; width: 72px; padding: .8rem .4rem; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg-2); display: grid; gap: .15rem; text-align: center;
  transition: border-color .4s, background .4s, transform .5s var(--ease-out);
}
.date-chip:not(:disabled):hover { border-color: rgba(201, 162, 92, .5); transform: translateY(-2px); }
.date-chip[aria-checked="true"] { border-color: var(--brass); background: var(--brass); color: var(--bg); }
.date-chip .dow { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }
.date-chip .day { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--cream); }
.date-chip .mon { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.date-chip[aria-checked="true"] .dow, .date-chip[aria-checked="true"] .mon { color: rgba(11, 15, 20, .7); }
.date-chip:disabled {
  animation: none; opacity: .4; pointer-events: none; cursor: not-allowed;
  background: var(--bg); border-color: var(--line);
}
.date-chip:disabled .day, .date-chip:disabled .dow, .date-chip:disabled .mon { color: var(--cream-3); }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; min-height: 60px; }
.times-empty { grid-column: 1 / -1; color: var(--cream-3); align-self: center; text-transform: none; letter-spacing: .02em; }
.time-chip { padding: .7rem .4rem; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease-out); }
.time-chip:hover { border-color: rgba(201, 162, 92, .5); transform: translateY(-2px); }
.time-chip[aria-checked="true"] { background: var(--brass); border-color: var(--brass); color: var(--bg); font-weight: 500; }
.wizard-note { margin-top: 1.25rem; color: var(--cream-3); text-transform: none; letter-spacing: .02em; font-size: .74rem; }

.wizard-form { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.summary { border: 1px dashed var(--line-2); border-radius: 10px; padding: 1.2rem 1.4rem; background: rgba(11, 15, 20, .35); }
.summary-title { color: var(--brass); margin-bottom: .8rem; }
.summary dl { display: grid; gap: .5rem; }
.summary dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.summary dt { color: var(--cream-3); }
.summary dd { font-weight: 600; text-align: right; }

.wizard-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--line); background: rgba(11, 15, 20, .3); flex-wrap: wrap; }
.wizard-error { flex: 1; color: #E48C8C; text-transform: none; letter-spacing: .02em; font-size: .76rem; min-width: 120px; }
.wizard-error:empty { display: none; }
.booking-alt { text-align: center; margin-top: 2rem; color: var(--cream-3); font-size: .95rem; }
.booking-alt a { color: var(--brass-2); border-bottom: 1px solid rgba(201, 162, 92, .4); transition: border-color .3s; }
.booking-alt a:hover { border-color: var(--brass-2); }

/* ---- Modal de reserva (popup desde el hero) ---- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(6, 9, 13, .6);
  backdrop-filter: blur(0px) saturate(100%); -webkit-backdrop-filter: blur(0px) saturate(100%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease-out), backdrop-filter .55s var(--ease-out), visibility .5s;
}
body.modal-open .modal-backdrop,
body.modal-closing .modal-backdrop { visibility: visible; pointer-events: auto; }
body.modal-open .modal-backdrop {
  opacity: 1; backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
}
body.modal-closing .modal-backdrop {
  opacity: 0; backdrop-filter: blur(0px) saturate(100%); -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition: opacity .4s var(--ease-in, ease-in), backdrop-filter .4s ease, visibility .4s;
}
body.modal-open, body.modal-closing { overflow: hidden; }
body.modal-open .booking,
body.modal-closing .booking {
  position: fixed; inset: 0; z-index: 960; padding: clamp(1rem, 4vw, 3rem) var(--gutter);
  display: flex; overflow-y: auto; background: transparent;
}
body.modal-open .booking::before,
body.modal-closing .booking::before { content: none; }
body.modal-open .booking .container,
body.modal-closing .booking .container { width: min(100%, 880px); margin: auto; }
.modal-close {
  display: none; position: absolute; top: -14px; right: calc(var(--gutter) * -1 + 14px);
  width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--cream-2);
  z-index: 2; transition: background .3s, color .3s, transform .3s;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--brass); color: var(--bg); transform: rotate(90deg); }
body.modal-open .modal-close,
body.modal-closing .modal-close { display: flex; }
body.modal-open .modal-close { animation: modalCloseIn .5s var(--ease-out) .12s both; }
body.modal-closing .modal-close { animation: modalCloseOut .3s ease both; }
body.modal-open .wizard { animation: modalPanelIn .6s var(--ease-out) both; }
body.modal-closing .wizard { animation: modalPanelOut .38s cubic-bezier(.5, 0, 1, .6) both; }
@keyframes modalPanelIn {
  from { opacity: 0; transform: scale(.9) translateY(32px); filter: blur(8px); }
  55% { filter: blur(0); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes modalPanelOut {
  from { opacity: 1; transform: none; filter: blur(0); }
  to { opacity: 0; transform: scale(.94) translateY(18px); filter: blur(6px); }
}
@keyframes modalCloseIn { from { opacity: 0; transform: scale(.6) rotate(-45deg); } to { opacity: 1; transform: none; } }
@keyframes modalCloseOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.6) rotate(45deg); } }
@media (min-width: 720px) {
  .modal-close { right: -14px; }
}

/* ---- Location ---- */
.location { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.location-grid { display: grid; gap: 3rem; align-items: center; }
.location-facts { display: grid; gap: 1.1rem; margin: 2rem 0 2rem; }
.location-facts div { display: grid; gap: .25rem; border-left: 1px solid var(--line-2); padding-left: 1rem; }
.location-facts dt { color: var(--brass); }
.location-facts dd a { background: linear-gradient(var(--brass-2), var(--brass-2)) no-repeat 0 100% / 0 1px, linear-gradient(var(--line-2), var(--line-2)) no-repeat 0 100% / 100% 1px; transition: background-size .5s var(--ease-out), color .3s; padding-bottom: 1px; }
.location-facts dd a:hover { color: var(--brass-2); background-size: 100% 1px, 100% 1px; }
.location-facts div { transition: border-color .4s, padding-left .4s var(--ease-out); }
.location-facts div:hover { border-color: var(--brass); padding-left: 1.25rem; }
.location-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 3; background: var(--bg-3); }
.location-map { transition: border-color .5s, box-shadow .6s var(--ease-out), transform .8s var(--ease-out); }
.location-map:hover { border-color: rgba(201, 162, 92, .45); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); transform: translateY(-4px); }
.location-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(1.15) contrast(1.05) brightness(.92); }

/* ---- Footer ---- */
.footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand-mark { width: 68px; height: auto; object-fit: contain; flex-shrink: 0; }
.footer-brand .brand-text { font-size: 1.4rem; }
.footer-brand p { margin-top: .5rem; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: var(--cream-2); }
.footer-links a { position: relative; transition: color .3s; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--brass-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-links a:hover { color: var(--brass-2); }
.footer-copy { color: var(--cream-3); text-transform: none; letter-spacing: .04em; font-size: .72rem; }
.footer-credit { color: var(--cream-3); text-transform: none; letter-spacing: .04em; font-size: .72rem; margin-top: .35rem; }
.footer-credit a { color: var(--cream-2); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.footer-credit a:hover { color: var(--brass-2); border-color: var(--brass-2); }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #06210F;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transform: translateY(20px) scale(.9); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .5s, box-shadow .4s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -8px rgba(37, 211, 102, .7); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--wa); animation: waPulse 2.6s var(--ease-out) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---- Volver arriba ---- */
.to-top {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; background: var(--brass); color: var(--bg);
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  box-shadow: 0 12px 30px -8px rgba(201, 162, 92, .5);
  transform: translateY(20px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease-out), opacity .5s, box-shadow .4s;
}
.to-top.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.to-top:hover { box-shadow: 0 18px 40px -8px rgba(201, 162, 92, .6); }
.to-top-before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--brass-2); transform: translateY(101%); transition: transform .55s var(--ease-out); }
.to-top:hover .to-top-before { transform: translateY(0); }
.to-top svg { position: relative; z-index: 1; width: 22px; height: 22px; transition: transform .4s var(--ease-out); }
.to-top:hover svg { transform: translateY(-3px); }

/* =============================================================
   7. Effects
   ============================================================= */
/* Reveal (IntersectionObserver / GSAP) */
[data-reveal] { opacity: 0; will-change: transform, opacity; --d: 0ms; }
[data-reveal="up"] { transform: translateY(36px); filter: blur(4px); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: translateY(24px) scale(.965); }
[data-reveal="clip"] { opacity: 1; }
[data-reveal="clip"] > :first-child { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }  /* se clipea el hijo: el observer mide al padre */
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); transition: opacity .9s var(--ease-out) var(--d), transform 1s var(--ease-out) var(--d), filter .8s var(--ease-out) var(--d); }
[data-reveal="scale"].is-in { transition-duration: 1.2s, 1.3s, .8s; }
[data-reveal="clip"].is-in > :first-child { clip-path: inset(0 0 0 0); }

/* Hijos escalonados dentro de un reveal (stats, facts, resumen) */
[data-stagger] > * { opacity: 0; transform: translateY(14px); }
[data-stagger].is-in > *, .wizard-panel.is-active [data-stagger] > * { animation: stagIn .8s var(--ease-out) both; }
[data-stagger] > :nth-child(1) { animation-delay: .1s; }
[data-stagger] > :nth-child(2) { animation-delay: .2s; }
[data-stagger] > :nth-child(3) { animation-delay: .3s; }
[data-stagger] > :nth-child(4) { animation-delay: .4s; }
[data-stagger] > :nth-child(5) { animation-delay: .5s; }
[data-stagger] > :nth-child(6) { animation-delay: .6s; }
@keyframes stagIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.reveal-fallback [data-stagger] > * { opacity: 1; transform: none; }
html.reveal-fallback [data-reveal] { opacity: 1; transform: none; }
html.reveal-fallback [data-reveal="clip"] > :first-child { clip-path: none; }

/* Split text */
[data-split] { opacity: 1; transform: none; }              /* defensa: nunca invisible */
.reveal[data-split] { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split-word > span { display: inline-block; transform: translateY(110%) rotate(3deg); transform-origin: left bottom; will-change: transform; }
[data-split].is-in .split-word > span { transform: none; transition: transform 1.1s var(--ease-out); }
html.reveal-fallback .split-word > span { transform: none; }

/* Kicker line grows */
[data-reveal].is-in .kicker-line, .kicker.is-in .kicker-line { animation: lineGrow .9s var(--ease-out) both; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Tilt cards */
[data-tilt] { transition: transform .6s var(--ease-out), border-color .5s, box-shadow .6s; }
[data-tilt].is-tilting { transition: transform .1s linear, border-color .5s, box-shadow .6s; }

/* Wizard panel transitions */
.wizard-panel.is-entering { animation: panelIn .6s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateX(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.wizard-panel.is-entering-back { animation: panelInBack .6s var(--ease-out) both; }
@keyframes panelInBack { from { opacity: 0; transform: translateX(-28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.choice, .date-chip, .time-chip { animation: chipIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Shake on validation error */
.is-shake { animation: shake .5s var(--ease-out); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }

/* =============================================================
   8. Responsive
   ============================================================= */
.wizard-footer.is-final { flex-direction: column; align-items: stretch; }
.wizard-footer.is-final .btn { width: 100%; justify-content: center; }
.wizard-footer.is-final .wizard-error { order: -1; text-align: center; }
@media (max-width: 719px) {
  .hero-title { font-size: clamp(3.2rem, 13vw, 3.9rem); font-weight: 600; letter-spacing: -.03em; }
  .hero-title em { font-size: .62em; }

  .services-cta { justify-content: center; text-align: center; }
  .dates-nav, .dates-nav-btn { display: none; }
  .dates-row { margin-bottom: 1.25rem; }
  .dates-strip { justify-content: flex-start; scroll-snap-type: x proximity; scroll-padding-inline: 1.25rem; }
  .date-chip { scroll-snap-align: start; }

  /* Deja más lugar al formulario del wizard en el popup mobile */
  #booking-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .booking .section-head.center { margin-bottom: 1.1rem; }

  /* Timeline vertical de servicios, tipo "hitos" */
  .services-timeline { position: relative; }
  .services-track, .services-progress {
    position: absolute; top: .25rem; left: 1.05rem; width: 2px; border-radius: 999px;
  }
  .services-track { height: calc(100% - .5rem); background: rgba(138, 130, 113, .2); }
  .services-progress {
    top: .25rem; height: 0%; max-height: calc(100% - .5rem);
    background: linear-gradient(180deg, var(--brass-2), var(--brass) 88%);
    box-shadow: 0 0 8px 1px rgba(201, 162, 92, .55), 0 0 20px 4px rgba(201, 162, 92, .25);
    will-change: height;
  }
  .services-progress::after {
    content: ""; position: absolute; left: 50%; bottom: -3px; width: 9px; height: 9px;
    margin-left: -4.5px; border-radius: 50%;
    background: radial-gradient(circle, #FBEED0, var(--brass-2) 55%, transparent 78%);
    box-shadow: 0 0 6px 2px rgba(226, 191, 122, .85), 0 0 16px 6px rgba(201, 162, 92, .45);
    animation: servicesGlowPulse 1.8s ease-in-out infinite;
  }
  @keyframes servicesGlowPulse { 0%, 100% { opacity: .75; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
  .services-list { border-top: none; padding-left: 2.6rem; }
  .service { padding-left: 0; }
  .service::before {
    content: ""; position: absolute; left: -1.72rem; top: 2rem; z-index: 1;
    width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2);
    border: 2px solid var(--line-2);
    transition: background .4s var(--ease-out), border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  }
  .service.is-passed::before {
    background: var(--brass); border-color: var(--brass); transform: scale(1.15);
    box-shadow: 0 0 10px 2px rgba(201, 162, 92, .6);
  }
}
@media (min-width: 540px) {
  .promos-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .hero-scroll { display: flex; }
  .section-head.split { grid-template-columns: 1.2fr 1fr; }
  .service { grid-template-columns: 3rem 1fr auto; }
  .about-grid, .location-grid { grid-template-columns: 1fr 1fr; }
  .wizard-form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .dates-strip { gap: .9rem; }
  .date-chip { width: 112px; padding: 1.3rem .6rem; gap: .3rem; }
  .date-chip .dow, .date-chip .mon { font-size: .7rem; }
  .date-chip .day { font-size: 2.2rem; }
}
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .promos-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-card:nth-child(3) {
    grid-column: 1 / -1;
    display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem;
    padding: 1.6rem 2.2rem;
  }
  .promo-card:nth-child(3) .promo-discount { flex: 0 0 auto; }
  .promo-card:nth-child(3) .promo-bank { margin: 0; flex: 0 0 auto; }
  .promo-card:nth-child(3) p { margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--line-2); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-grid-barbers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto auto; }
  .footer-legal { grid-column: auto; text-align: right; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .booking-mesh { animation: none; }
  .booking-compass { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .wa-float::before { animation: none; }
  .grain { animation: none; }
  .hero-slide { animation-name: heroSlideshow; }
  .hero-title em .split-word > span { animation: none; background-position: 50% 0; }
}
