/* Eva Salvador Hair Salon — v3 (2026-10-04)
   Paleta del local: el negro del rótulo y de los sillones, la piedra de las
   paredes y un miel sacado de los rubios y balayages del propio salón.
   Contrastes medidos: todos los pares de texto pasan AA (ver notas.md). */

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Oscuros: el rótulo y los sillones */
  --ink: #15110E;
  --ink-2: #201A16;
  --ink-3: #2C241F;
  /* Claros: la piedra de las paredes */
  --bone: #F4EEE5;
  --stone: #E9E0D3;
  --sand: #D3C5B2;
  /* Texto */
  --txt: #1B1613;
  --txt-2: #5A5047;
  --on-dark: #F4EEE5;
  --on-dark-2: #B9AD9F;
  /* Acento único: miel */
  --honey: #D9A266;
  --honey-hi: #E7B984;
  --honey-deep: #8A5527;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 4px;
  --radius-m: 10px;

  --z-bar: 40;
  --z-top: 45;
  --z-nav: 50;
  --z-menu: 60;
  --z-skip: 70;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--txt);
  background: var(--bone);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: var(--z-skip);
  background: var(--honey); color: var(--ink); padding: .7rem 1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none; transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--focus, var(--honey)); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 9rem) clamp(5.5rem, 12vw, 10rem); }

/* Superficies con un grano muy suave: rompe lo plano sin verse */
.s-dark { background: var(--ink) url("assets/grano.png"); color: var(--on-dark); --focus: var(--honey); }
.s-light { background: var(--bone) url("assets/grano.png"); color: var(--txt); --focus: var(--honey-deep); }
.s-stone { background: var(--stone) url("assets/grano.png"); color: var(--txt); --focus: var(--honey-deep); }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; letter-spacing: -.015em;
  text-wrap: balance;
}
.h2 em, .hero-title em { font-style: italic; color: var(--honey); }
.s-light .h2 em, .s-stone .h2 em { color: var(--honey-deep); }

.kicker {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
  color: var(--honey); margin-bottom: 1.4rem;
}
.s-light .kicker, .s-stone .kicker { color: var(--honey-deep); }

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .s-dark .link:hover, .footer .link:hover { color: var(--honey); }
  .s-light .link:hover, .s-stone .link:hover { color: var(--honey-deep); }
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--split { display: grid; gap: 1.5rem; }
.section-lead { color: var(--txt-2); max-width: 46ch; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.45rem; border-radius: 999px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; line-height: 1.1;
  text-decoration: none; text-align: center; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-ghost { border-color: rgba(244, 238, 229, .38); color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .btn-honey:hover { background: var(--honey-hi); }
  .btn-ghost:hover { border-color: var(--on-dark); background: rgba(244, 238, 229, .07); }
}

/* ---------- Logo: el rótulo del salón, con sus dos cintas ---------- */
.logo, .footer-sign {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--on-dark); text-decoration: none; font-size: 1rem;
}
.logo-mark { font-family: var(--sans); font-weight: 800; font-size: 1.7em; line-height: 1; letter-spacing: -.01em; }
.logo-rib {
  font-family: var(--sans); font-weight: 650; font-size: .75em; line-height: 1;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  background: var(--on-dark); color: var(--ink);
  padding: .34em .6em .3em;
}
.logo-rib--l { padding-left: 1em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, .45em 50%); }
.logo-rib--r { padding-right: 1em; clip-path: polygon(0 0, 100% 0, calc(100% - .45em) 50%, 100% 100%, 0 100%); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--nav-h); color: var(--on-dark);
}
/* El fondo y el desenfoque van en una capa aparte: un backdrop-filter en la
   propia barra la convierte en el marco del menú móvil (position: fixed) y lo
   deja con 0 px de alto. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(21, 17, 14, 0); box-shadow: 0 1px 0 rgba(244, 238, 229, 0);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.nav.is-scrolled::before, .nav.is-open::before {
  background: rgba(21, 17, 14, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(244, 238, 229, .08);
}
.nav-inner {
  height: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.menu-list { display: flex; gap: .25rem; }
.menu-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--on-dark-2);
  border-radius: 999px; transition: color 200ms ease;
}
.menu-list a.is-current, .menu-list a[aria-current="true"] { color: var(--on-dark); }
.menu-list a.is-current::after { content: ""; display: block; }
@media (hover: hover) and (pointer: fine) { .menu-list a:hover { color: var(--on-dark); } }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -8px; padding: 0;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  position: relative;
}
.menu-toggle-bar {
  position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 260ms var(--ease-out);
}
.menu-toggle-bar:nth-of-type(2) { top: 19px; }
.menu-toggle-bar:nth-of-type(3) { top: 27px; }
.nav.is-open .menu-toggle-bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .menu-toggle-bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 960px) {
  .menu { display: flex; align-items: center; gap: 1.25rem; }
  .menu-call { min-height: 44px; padding: 0 1.2rem; }
}
@media (max-width: 959.98px) {
  .js .menu-toggle { display: inline-flex; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: var(--z-menu);
    background: var(--ink) url("assets/grano.png");
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .nav.is-open .menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-list { flex-direction: column; gap: 0; }
  .menu-list a {
    font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3rem); color: var(--on-dark);
    padding: .2rem 0; min-height: 0; line-height: 1.15;
  }
  .menu-list li { border-bottom: 1px solid var(--ink-3); }
  .menu-call { width: 100%; }
  /* Sin JavaScript el menú no se puede abrir: se queda oculto y manda la barra inferior */
  html:not(.js) .menu { display: none; }
}
@media (max-width: 379.98px) { .nav .logo-rib--l { display: none; } }

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 5vw, 3.5rem));
  display: flex; flex-direction: column; justify-content: center;
}
.hero::before { /* luz cálida, como la de los focos del salón */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(217, 162, 102, .16), rgba(217, 162, 102, 0));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: end; }
.hero-title { font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.hero-kicker {
  display: block; font-family: var(--sans); font-size: .875rem; font-weight: 500; line-height: 1.45;
  letter-spacing: .01em; color: var(--on-dark-2); margin-bottom: clamp(1.25rem, 3vw, 2rem); max-width: 34ch;
}
@media (min-width: 960px) { .hero-kicker { max-width: none; } }
.hero-line {
  display: block; overflow: hidden;
  font-size: clamp(2.6rem, 6.6vw, 6.2rem); /* «El pelo que pediste,» mide 6,5 em: así cabe en una línea */
  padding-bottom: .1em; margin-bottom: -.1em; /* que el recorte no se coma las descendentes */
}
.hero-line > span { display: block; }
@media (max-width: 599.98px) { .hero-line { font-size: clamp(2.6rem, .5rem + 11.2vw, 3.4rem); } }
.hero-lead { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 40ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
/* El horario de hoy, a un toque: main.js escribe «Hoy, martes, de 10:00 a 20:00» a partir de la tabla */
.hero-today {
  display: flex; width: fit-content; margin-top: 1.25rem; padding: .25rem 0;
  font-size: .9375rem; color: var(--on-dark-2); text-decoration: underline; text-decoration-color: rgba(185, 173, 159, .4); text-underline-offset: .25em; transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .hero-today:hover { color: var(--on-dark); } }

.rating {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; margin-top: 2.25rem;
  text-decoration: none; color: var(--on-dark);
}
.rating-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.rating-stars svg { width: 104px; height: 19px; fill: var(--honey); display: block; }
.rating-text { font-size: .875rem; color: var(--on-dark-2); text-decoration: underline; text-decoration-color: rgba(185, 173, 159, .4); text-underline-offset: .25em; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .rating:hover .rating-text { color: var(--on-dark); } }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 520px; padding-bottom: 2.5rem; }
.hero-portrait { position: relative; margin-left: clamp(2.5rem, 12vw, 6rem); }
.hero-portrait-clip { overflow: hidden; border-radius: var(--radius-s); aspect-ratio: 4 / 5; background: var(--ink-2); }
.hero-portrait-clip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.1); transform-origin: 50% 40%; will-change: transform; }
.hero-portrait-cap {
  position: absolute; right: 0; bottom: -1.9rem; font-size: .8125rem; color: var(--on-dark-2);
}
.hero-chip {
  position: absolute; left: 0; bottom: 0; width: 40%; max-width: 200px;
  background: var(--ink); padding: 6px 6px 0; border-radius: var(--radius-s);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
  transform: rotate(-3deg);
}
.hero-chip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; }
.hero-chip figcaption { padding: .55rem .2rem .6rem; font-size: .75rem; line-height: 1.3; color: var(--on-dark-2); }
.hero-chip figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--on-dark); }

.proof {
  position: relative; display: grid; gap: .75rem; margin-top: clamp(3rem, 7vw, 5rem); padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--ink-3); font-size: .9375rem; color: var(--on-dark-2);
}
.proof b { color: var(--on-dark); font-weight: 600; }
@media (min-width: 720px) {
  .proof { grid-template-columns: repeat(3, auto); justify-content: space-between; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 7fr 5fr; }
  .hero-media { padding-bottom: 3rem; }
}

/* Entrada de la portada: solo con JS y una sola vez */
.js .hero-line > span { transform: translateY(105%); transition: transform 1000ms var(--ease-out); }
.js .hero-line:nth-child(3) > span { transition-delay: 90ms; }
.js .hero-lead, .js .hero-actions, .js .hero-today, .js .rating, .js .hero-kicker, .js .proof {
  opacity: 0; transform: translateY(12px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js .hero-lead { transition-delay: 260ms; }
.js .hero-actions { transition-delay: 340ms; }
.js .hero-today { transition-delay: 380ms; }
.js .rating { transition-delay: 420ms; }
.js .proof { transition-delay: 520ms; }
.js .hero-portrait-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1200ms var(--ease-in-out) 120ms; }
.js .hero-chip { opacity: 0; transform: translateY(24px) rotate(-3deg); transition: opacity 700ms var(--ease-out) 800ms, transform 900ms var(--ease-out) 800ms; }
.js .hero-portrait-cap { opacity: 0; transition: opacity 600ms ease 1100ms; }

.is-loaded .hero-line > span { transform: none; }
.is-loaded .hero-lead, .is-loaded .hero-actions, .is-loaded .hero-today, .is-loaded .rating, .is-loaded .hero-kicker, .is-loaded .proof { opacity: 1; transform: none; }
.is-loaded .hero-portrait-clip { clip-path: inset(0 0 0 0); }
.is-loaded .hero-chip { opacity: 1; transform: rotate(-3deg); }
.is-loaded .hero-portrait-cap { opacity: 1; }

/* ---------- Eva ---------- */
.eva-grid { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.eva-copy > p:not(.kicker) { max-width: 60ch; color: var(--txt-2); margin-top: 1.25rem; }
.eva-copy .h2 { margin-bottom: 2rem; }
.eva-copy .eva-key { font-size: clamp(1.1875rem, 1.7vw, 1.375rem); line-height: 1.5; color: var(--txt); margin-top: 0; }
.eva-quote { margin-top: 2.5rem; padding-left: 1.5rem; border-left: 2px solid var(--honey-deep); max-width: 52ch; }
.eva-quote p { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.28; }
.eva-quote em { color: var(--honey-deep); }
.eva-quote footer { margin-top: .9rem; font-size: .875rem; color: var(--txt-2); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--sand); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; }
.stat dd { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { font-size: .8125rem; line-height: 1.35; color: var(--txt-2); max-width: 16ch; }

.eva-media { position: relative; max-width: 520px; width: 100%; justify-self: center; padding-bottom: 18%; }
.eva-photo img { width: 100%; object-fit: cover; border-radius: var(--radius-s); }
.eva-photo--main { width: 78%; margin-left: auto; }
.eva-photo--main img { aspect-ratio: 3 / 4; }
.eva-photo--detail { position: absolute; left: 0; bottom: 0; width: 44%; }
.eva-photo--detail img { aspect-ratio: 3 / 4; border: 6px solid var(--bone); border-radius: 6px; box-shadow: 0 20px 40px -24px rgba(60, 40, 20, .55); }
@media (min-width: 960px) {
  .eva-grid { grid-template-columns: 7fr 5fr; align-items: center; }
}

/* ---------- Trabajos: en móvil, carrusel nativo; en escritorio, se fija y avanza en horizontal ---------- */
.works { position: relative; padding-block: clamp(5rem, 11vw, 8rem); }
.works-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.works-lead { color: var(--on-dark-2); max-width: 38ch; }
@media (min-width: 960px) { .works-head { grid-template-columns: 1fr auto; align-items: end; } }

.works-viewport {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.works-viewport::-webkit-scrollbar { display: none; }
.works-track {
  display: flex; gap: clamp(.9rem, 2vw, 1.5rem); width: max-content;
  /* la primera foto arranca alineada con el título, también en pantallas anchas */
  --edge: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  padding-inline: var(--edge);
}
.works-viewport { scroll-padding-inline: var(--edge, var(--gutter)); }
.work { flex: none; width: min(74vw, 340px); scroll-snap-align: start; }
.work figure { display: flex; flex-direction: column; gap: 1rem; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-s); background: var(--ink-2); }
.work h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.work p { margin-top: .35rem; font-size: .9375rem; color: var(--on-dark-2); max-width: 30ch; }
.work figcaption span { display: block; margin-top: .6rem; font-size: .8125rem; color: var(--honey); }
.work--more { display: flex; }
.work-more {
  width: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  padding: 1.75rem; border: 1px solid var(--ink-3); border-radius: var(--radius-s);
  text-decoration: none; background: var(--ink-2);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.work-more-title { font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.work-more-handle { color: var(--honey); font-size: .9375rem; }
.work-more svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; margin-top: .75rem; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .work-more:hover { border-color: var(--honey); }
  .work-more:hover svg { transform: translateX(6px); }
}
.works-foot { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; font-size: .8125rem; color: var(--on-dark-2); }
.works-progress { position: relative; width: 160px; height: 2px; background: var(--ink-3); overflow: hidden; border-radius: 2px; }
.works-progress span { position: absolute; inset: 0; background: var(--honey); transform-origin: 0 50%; transform: scaleX(.12); }

.works.is-pinned { padding-block: 0; }
.works.is-pinned .works-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
}
.works.is-pinned .works-viewport { overflow: visible; scroll-snap-type: none; }
.works.is-pinned .works-track { will-change: transform; }
.works.is-pinned .work { width: clamp(220px, min(23vw, calc((100vh - 420px) * .8)), 380px); }
/* Fijado, todo tiene que caber en una pantalla: los márgenes se ajustan también a la altura */
.works.is-pinned .works-head { margin-bottom: clamp(1rem, 3.5vh, 3rem); }
.works.is-pinned .works-head .h2 { font-size: clamp(2.4rem, min(6vw, 8vh), 5rem); }
.works.is-pinned .works-foot { margin-top: clamp(.75rem, 2.5vh, 1.75rem); }
.works.is-pinned .works-hint { display: none; }

/* ---------- Antes y después ---------- */
.ba-section { background-color: var(--ink-2); }
.ba-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.ba-copy > p:not(.kicker) { color: var(--on-dark-2); max-width: 44ch; margin-top: 1.5rem; }
.ba-copy .btn { margin-top: 2rem; }
.ba-copy .h2 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.ba-tip { font-size: .875rem; }
.ba-tip span { color: var(--honey); margin-right: .35rem; }
html:not(.js) .ba-tip { display: none; }

.ba { width: 100%; max-width: 560px; justify-self: center; }
.ba-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-m); aspect-ratio: 4 / 5;
  background: var(--ink-3); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-tag {
  position: absolute; top: 1rem; z-index: 2; padding: .35rem .7rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; background: rgba(21, 17, 14, .78); color: var(--on-dark);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
}
.ba-tag--before { left: 1rem; }
.ba-tag--after { right: 1rem; }
.ba-handle { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(50%); }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--on-dark); box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.ba-knob {
  position: absolute; left: 0; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 999px; background: var(--on-dark); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform 160ms var(--ease-out);
}
.ba-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-frame.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(.94); }
.ba-frame.has-focus .ba-knob { outline: 2px solid var(--honey); outline-offset: 3px; }
/* El control de teclado y lector de pantalla: invisible, pero accesible */
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
html:not(.js) .ba-range { display: none; }
html:not(.js) .ba-frame { cursor: default; }
.ba figcaption { margin-top: .9rem; font-size: .8125rem; color: var(--on-dark-2); }
@media (min-width: 960px) { .ba-grid { grid-template-columns: 5fr 6fr; } .ba { justify-self: end; } }

/* ---------- Servicios ---------- */
.svc-list { border-bottom: 1px solid var(--sand); }
.svc {
  display: grid; grid-template-columns: 2.4rem 1fr 76px; gap: .25rem 1rem; align-items: start;
  padding-block: 1.75rem; border-top: 1px solid var(--sand);
}
.svc-num { font-size: .8125rem; font-weight: 500; color: var(--honey-deep); font-variant-numeric: tabular-nums; padding-top: .55rem; }
.svc-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; }
.svc-body p { margin-top: .6rem; color: var(--txt-2); max-width: 52ch; }
.svc-price { grid-column: 2; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; margin-top: .6rem; }
.svc-price small { font-family: var(--sans); font-size: .8125rem; color: var(--txt-2); margin-right: .15rem; }
.svc-price--ask { font-family: var(--sans); font-size: .9375rem; font-weight: 500; color: var(--txt-2); }
.svc-img {
  grid-column: 3; grid-row: 1 / span 2; width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-s);
  transition: transform 500ms var(--ease-out);
}
@media (min-width: 760px) {
  .svc { grid-template-columns: 3.5rem 1fr 9rem 132px; align-items: center; gap: 2rem; padding-block: 2rem; }
  .svc-price { grid-column: 3; margin-top: 0; text-align: right; }
  .svc-img { grid-column: 4; grid-row: 1; width: 132px; }
  .svc-num { padding-top: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .svc { transition: background-color 300ms ease; }
  .svc:hover .svc-img { transform: scale(1.05) rotate(-1.5deg); }
}

/* ---------- Precios: la carta del escaparate ---------- */
.price-jump { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.price-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--sand); font-size: .9375rem; font-weight: 500; text-decoration: none; background: var(--bone);
}
.board {
  display: grid; gap: 2.5rem; background: var(--bone); border-radius: var(--radius-m);
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 30px 60px -40px rgba(80, 55, 30, .35);
}
.board-title {
  font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1;
  padding-bottom: .6rem; margin-bottom: .5rem; border-bottom: 1px solid var(--txt);
}
.board-col > .board-title ~ .board-title { margin-top: 2.25rem; }
.price-list li { display: flex; align-items: baseline; gap: .6rem; padding-block: .55rem; font-size: 1rem; }
.price-list li::before { content: ""; order: 1; flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--sand); transform: translateY(-.3em); }
.price-list span { flex: 0 1 auto; }
.price-list b { order: 2; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list small { font-weight: 400; font-size: .8125rem; color: var(--txt-2); margin-right: .2rem; }
@media (min-width: 760px) {
  .board { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .board-col:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .price-jump { display: none; }
  .board { grid-template-columns: repeat(3, 1fr); }
  .board-col:last-child { grid-column: auto; }
  .board-col + .board-col { border-left: 1px solid var(--sand); padding-left: 3rem; }
}

/* ---------- Opiniones ---------- */
.reviews-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.reviews-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; font-weight: 400; }
.reviews-num { font-family: var(--serif); font-size: clamp(6rem, 16vw, 12rem); line-height: .85; color: var(--honey); letter-spacing: -.03em; }
.reviews-of { font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.05; max-width: 16ch; }
.reviews-lead { margin-top: 1.5rem; color: var(--on-dark-2); max-width: 56ch; }
.wall { columns: 1; column-gap: 1.25rem; }
.quote {
  break-inside: avoid; margin-bottom: 1.25rem;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius-m);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.quote-tag { font-size: .8125rem; font-weight: 600; color: var(--honey); margin-bottom: .9rem; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.34; }
.quote footer { margin-top: 1rem; font-size: .875rem; color: var(--on-dark-2); }
.quote footer::before { content: "— "; }
@media (min-width: 680px) { .wall { columns: 2; } }
@media (min-width: 1100px) { .wall { columns: 3; } }

/* ---------- El salón ---------- */
.collage { display: grid; gap: 1rem; }
.c-item { position: relative; overflow: hidden; border-radius: var(--radius-s); }
.c-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 900ms var(--ease-out); }
.c-item figcaption {
  position: absolute; left: .75rem; bottom: .75rem; padding: .35rem .7rem; border-radius: 999px;
  background: rgba(21, 17, 14, .8); color: var(--on-dark); font-size: .8125rem; font-weight: 500;
}
@media (hover: hover) and (pointer: fine) { .c-item:hover img { transform: scale(1.03); } }
@media (min-width: 760px) {
  .collage { grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
  .c-sala { grid-column: 1 / 9; }
  .c-fachada { grid-column: 9 / 13; }
  .c-fachada img { aspect-ratio: auto; }
  .c-recepcion { grid-column: 1 / 6; }
  .c-lavado { grid-column: 6 / 13; }
  .c-lavado img, .c-recepcion img { aspect-ratio: 16 / 10; }
}
.perks { display: grid; gap: 2rem; margin-top: clamp(3rem, 7vw, 5rem); }
.perks li { border-top: 1px solid var(--txt); padding-top: 1.25rem; }
.perks h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.perks p { margin-top: .5rem; color: var(--txt-2); max-width: 34ch; }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; gap: 2.5rem; }
.faq-list { display: grid; gap: 0 3rem; }
.faq-item { padding-block: 1.5rem; border-top: 1px solid var(--sand); }
.faq-item dt { font-weight: 600; font-size: 1.0625rem; }
.faq-item dd { margin-top: .5rem; color: var(--txt-2); max-width: 46ch; }
@media (min-width: 760px) { .faq-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .faq-grid { grid-template-columns: 4fr 8fr; } }

/* ---------- Cita ---------- */
.visit-grid { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.visit-phone {
  display: inline-block; margin-top: 1.75rem; font-family: var(--serif);
  font-size: clamp(3.1rem, 10vw, 7.5rem); line-height: 1; color: var(--honey);
  text-decoration: none; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) { .visit-phone:hover { color: var(--honey-hi); } }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.visit-info { display: grid; gap: 2.25rem; align-content: start; }
.visit-block h3 { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--honey); margin-bottom: .75rem; }
.visit-block p { color: var(--on-dark); }
.visit-block .link { display: inline-block; margin-top: .5rem; }
.hours { width: 100%; max-width: 360px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--ink-3); font-weight: 400; }
.hours th { text-align: left; color: var(--on-dark); }
.hours td { text-align: right; color: var(--on-dark-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--honey); font-weight: 600; }
.today-badge {
  display: inline-block; margin-left: .5rem; padding: .1rem .45rem; border-radius: 999px;
  background: var(--honey); color: var(--ink); font-size: .75rem; font-weight: 700; vertical-align: .1em;
}
.hours-note { margin-top: .75rem; font-size: .875rem; color: var(--on-dark-2) !important; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 7fr 5fr; align-items: start; } }

/* ---------- Pie ---------- */
.footer { padding-block: 4rem 3rem; border-top: 1px solid var(--ink-3); font-size: .9375rem; color: var(--on-dark-2); }
.footer-inner { display: grid; justify-items: center; text-align: center; gap: .6rem; }
.footer-sign { font-size: 1.35rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; position: relative; padding-bottom: 1.1em; }
.footer-unisex { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: .6em; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-2); }
.footer-name { color: var(--on-dark); }
.footer-legal { margin-top: .75rem; font-size: .875rem; }
@media (max-width: 379.98px) { .footer-sign { font-size: 1.05rem; } }

/* ---------- Barra móvil y volver arriba ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1fr 48px; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(21, 17, 14, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 rgba(244, 238, 229, .08);
  transform: translateY(110%); transition: transform 300ms var(--ease-out);
}
.mobile-bar .btn { padding: 0 .75rem; }
.mobile-bar.is-visible, html:not(.js) .mobile-bar { transform: none; }
.to-top-bar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(244, 238, 229, .38); color: var(--on-dark);
  transition: transform 160ms var(--ease-out);
}
.to-top-bar:active { transform: scale(.94); }
.to-top-bar svg, .to-top-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 959.98px) { body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .mobile-bar { display: none; } }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-top);
  width: 52px; height: 52px; display: none; place-items: center; border-radius: 999px;
  background: var(--ink); color: var(--on-dark); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { transform: scale(.94); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--honey); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--progress, 0) * 100); }
@media (min-width: 960px) { .to-top { display: grid; } }

/* ---------- Apariciones al hacer scroll (solo con JS) ---------- */
.js .reveal, .js .stagger {
  opacity: 0; transform: translateY(18px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js .reveal.is-in, .js .stagger.is-in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido: sin desplazamientos, solo fundidos cortos ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stagger, .js .hero-lead, .js .hero-actions, .js .hero-today, .js .rating, .js .hero-kicker, .js .proof, .js .hero-chip {
    transform: none !important; transition: opacity 300ms ease !important; transition-delay: 0s !important;
  }
  .js .hero-chip { transform: rotate(-3deg) !important; }
  .js .hero-line > span { transform: none; transition: none; }
  .js .hero-portrait-clip { clip-path: none; transition: none; }
  .hero-portrait-clip img { transform: none; will-change: auto; }
  .svc-img, .c-item img, .work-more svg { transition: none; }
}
