/* =========================================================
   OBSIDIANA — Barber Studio
   Monocromo editorial · centrado · minimal
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --mute-d: rgba(243, 241, 236, .55);
  --mute-l: rgba(10, 10, 10, .55);
  --line-d: rgba(243, 241, 236, .16);
  --line-l: rgba(10, 10, 10, .14);

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 16vw, 220px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--paper); color: var(--ink); }
[data-theme="light"] ::selection { background: var(--ink); color: var(--paper); }

.sans { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.muted { opacity: .55; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .6;
}

/* ---------- Splash ---------- */
.splash { display: none; }
.js .splash {
  display: flex;
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  color: var(--paper);
  flex-direction: column; justify-content: center; align-items: center;
  transition: transform 1.1s var(--ease-io);
  /* red de seguridad: se va sola aunque falle el JS */
  animation: splashAuto .9s var(--ease-io) 5s forwards;
}
.splash__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.splash__brand { font-weight: 800; letter-spacing: .5em; font-size: 13px; padding-left: .5em; }
.splash__count { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 12vw, 140px); line-height: 1; }
.splash__bar { position: absolute; left: 50%; bottom: 12vh; width: min(240px, 60vw); height: 1px; background: var(--line-d); transform: translateX(-50%); overflow: hidden; }
.splash__bar span { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.splash.is-done { transform: translateY(-100%); pointer-events: none; }
@keyframes splashAuto { to { transform: translateY(-100%); visibility: hidden; } }

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

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .js .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; z-index: 190; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--paper);
    mix-blend-mode: difference;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s;
    will-change: transform;
  }
  .cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
  .cursor__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-weight: 900; letter-spacing: -.04em; font-size: 20px; }
.nav__logo span { display: inline-block; transition: transform .5s var(--ease); }
.nav__logo:hover span { transform: translateX(6px); }
.nav__links { display: flex; gap: 34px; font-size: 13px; letter-spacing: .04em; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  justify-self: end;
  display: inline-flex; align-items: center;
  padding: 10px 20px; border: 1px solid currentColor; border-radius: 99px;
  font-size: 13px; font-weight: 500;
}
@media (max-width: 760px) { .nav__links { display: none; } .nav { grid-template-columns: 1fr auto; } }

/* ---------- Placeholders ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
  isolation: isolate;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--dark {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px),
    radial-gradient(120% 80% at 50% 20%, #222 0%, var(--ink-2) 60%);
  color: var(--mute-d);
}
.ph--light {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.035) 14px 15px),
    radial-gradient(120% 80% at 50% 20%, #fbfaf7 0%, var(--paper-2) 70%);
  color: var(--mute-l);
}
.ph::before {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content; max-width: 80%;
  text-align: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  z-index: 2;
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 4.5s var(--ease-io) infinite;
}
.ph--light::after { background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); }
.ph:has(img)::before, .ph:has(img)::after { display: none; }
@keyframes sheen { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(42px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px var(--gutter) 80px;
  background: var(--ink);
  overflow: hidden;
}
.hero__spot {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.07), transparent 60%);
}
.hero__stage { position: relative; display: grid; place-items: center; width: 100%; }
.hero__arch {
  width: min(34vw, 420px); min-width: 230px;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  will-change: transform;
}
.js .hero__arch { clip-path: inset(100% 0 0 0 round 999px 999px 4px 4px); transition: clip-path 1.6s var(--ease-io) .2s; }
.is-ready .hero__arch { clip-path: inset(0 0 0 0 round 999px 999px 4px 4px); }
.hero__arch .ph { transform: scale(1.15); transition: transform 2.4s var(--ease) .2s; }
.is-ready .hero__arch .ph { transform: scale(1); }
.hero__arch .ph::before { top: auto; bottom: 28px; transform: translateX(-50%); }

.hero__title {
  position: absolute; left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  line-height: .86;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em 0; }
.line--sans { font-weight: 900; text-transform: uppercase; letter-spacing: -.055em; font-size: clamp(58px, 14vw, 236px); }
.line--serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; font-size: clamp(54px, 12.5vw, 214px); }
.char { display: inline-block; will-change: transform; }
.js [data-split] .char { transform: translateY(110%) rotate(6deg); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * .035s + .35s); }
.is-ready [data-split] .char { transform: none; }

.badge {
  position: absolute;
  left: calc(50% + min(17vw, 210px) - 40px);
  bottom: -28px;
  width: clamp(104px, 11vw, 150px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper); color: var(--ink);
  z-index: 3;
  transition: transform .6s var(--ease);
}
.badge:hover { transform: scale(1.08); }
.badge__ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 16s linear infinite; }
.badge__ring text { font-size: 15.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; fill: var(--ink); }
.badge__arrow { font-size: 24px; transition: transform .5s var(--ease); }
.badge:hover .badge__arrow { transform: translateY(4px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__meta {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d);
}
.hero__meta--left { left: var(--gutter); }
.hero__meta--right { right: var(--gutter); text-align: right; }
.hero__sub { margin: 64px 0 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); text-align: center; }
.hero__scroll { position: absolute; bottom: 0; left: 50%; width: 1px; height: 64px; background: var(--line-d); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--paper); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 760px) {
  .hero__meta { top: auto; bottom: 28px; transform: none; }
  .badge { left: auto; right: 2%; bottom: -44px; }
  .hero__arch { width: 70vw; }
  .hero__arch .ph::before { bottom: auto; top: 36px; }
  .line--sans { font-size: 18vw; }
  .line--serif { font-size: 16vw; }
  .hero__sub { margin-top: 70px; }
}

/* ---------- Marquesina ---------- */
.marquee {
  background: var(--paper); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: clamp(14px, 2vw, 24px) 0;
  border-block: 1px solid var(--ink);
}
.marquee__track { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); animation: marquee 28s linear infinite; animation-duration: var(--mq, 28s); }
.marquee span { font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; font-size: clamp(36px, 6vw, 88px); line-height: 1; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; }
.marquee i { font-style: normal; font-size: clamp(18px, 2.5vw, 32px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones genéricas ---------- */
[data-theme="light"] { background: var(--paper); color: var(--ink); }
[data-theme="dark"] { background: var(--ink); color: var(--paper); }
.section-head { text-align: center; margin-bottom: clamp(56px, 8vw, 110px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-title { margin: 0; line-height: .9; font-size: clamp(48px, 9vw, 150px); font-weight: 400; }
.section-title .sans, .section-title .serif { display: inline-block; }

/* ---------- Estudio ---------- */
.studio {
  padding: var(--section) var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.studio .eyebrow { margin-bottom: 40px; }
.studio__text {
  max-width: 1100px; margin: 0;
  font-size: clamp(28px, 4.2vw, 62px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 500;
}
.studio__text em { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.js .reveal-words .w { opacity: .14; transition: opacity .4s linear; }
.js .reveal-words .w.is-on { opacity: 1; }
.stats {
  margin-top: clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: 100%; max-width: 1100px;
  border-top: 1px solid var(--line-l);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 12px 0; }
.stat + .stat { border-left: 1px solid var(--line-l); }
.stat__num { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 8vw, 120px); line-height: .9; }
.stat__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-l); }
  .stat { padding: 32px 0; }
}

/* ---------- Portada con foto de fondo integrada ---------- */
.hero--full .hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bgmove { position: absolute; inset: -10% 0; will-change: transform; }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 28% 50%; }
.js .hero__bg img { opacity: 0; transform: scale(1.12); transition: opacity 1.8s var(--ease), transform 2.8s var(--ease); }
.is-ready .hero__bg img { opacity: 1; transform: scale(1); }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(10,10,10,.12) 0%, rgba(10,10,10,.55) 60%, var(--ink) 100%),
    linear-gradient(to bottom, rgba(10,10,10,.55) 0%, transparent 22%, transparent 62%, var(--ink) 100%);
}
.hero--full .hero__spot { z-index: 1; }
.hero--full .hero__meta, .hero--full .hero__stage, .hero--full .hero__sub, .hero--full .hero__scroll { z-index: 2; }
.hero--full .hero__stage { display: flex; flex-direction: column; align-items: center; }
.hero--full .hero__title {
  position: relative; left: auto; top: auto; transform: none;
  mix-blend-mode: normal; color: var(--paper);
  text-shadow: 0 4px 60px rgba(0,0,0,.45);
}
.hero--full .badge { position: relative; left: auto; right: auto; bottom: auto; margin-top: clamp(30px, 4vw, 52px); }
@media (max-width: 760px) {
  .hero--full .hero__bg img { object-position: 50% 40%; }
  .hero--full .hero__sub { margin-top: 40px; }
  .hero--full { justify-content: flex-end; padding-bottom: 120px; }
  .hero--full .hero__sub { margin-top: 22px; }
  .hero--full .hero__stage { position: static; }
  .hero--full .badge { position: absolute; right: 16px; top: 104px; bottom: auto; left: auto; margin: 0; width: 88px; z-index: 3; }
}

/* ---------- Trabajos (fila deslizable) ---------- */
.reel { padding: clamp(40px, 8vw, 110px) 0 clamp(32px, 4vw, 56px); background: var(--ink); }
.reel__head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  padding: 0 var(--gutter); margin: 0 auto clamp(24px, 3vw, 40px); max-width: 1440px;
}
.reel__title { margin: 0; font-weight: 400; line-height: .9; font-size: clamp(42px, 6.5vw, 96px); }
.reel__nav { display: flex; gap: 10px; }
.reel__btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-d); background: transparent; color: var(--paper);
  font-size: 18px; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.reel__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.reel__btn:disabled { opacity: .25; pointer-events: none; }
.reel__track {
  display: flex; gap: clamp(10px, 1.4vw, 18px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel__track.is-dragging * { pointer-events: none; }
.reel__item { flex: 0 0 clamp(230px, 24vw, 340px); margin: 0; scroll-snap-align: start; }
.reel__item .ph { aspect-ratio: 4 / 5; height: auto; border-radius: 2px; }
.reel__item .ph::after { display: none; }
.ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__item:hover .ph img, .reel__item:hover .ph video { transform: scale(1.04); }
.ph video { transition: transform 1.4s var(--ease); }
.reel__item figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
@media (max-width: 760px) {
  .reel__item { flex-basis: 70vw; }
  .reel__btn { width: 44px; height: 44px; }
}

/* ---------- Dos fotos ---------- */
.duo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 3vw, 40px);
  max-width: 980px; margin: 0 auto;
  padding: clamp(40px, 8vw, 120px) var(--gutter) clamp(90px, 12vw, 180px);
  background: var(--ink);
}
.duo__shot { margin: 0; align-self: start; will-change: transform; }
.duo__shot--low { margin-top: clamp(60px, 12vw, 160px); }
.duo__shot .ph { aspect-ratio: 4 / 5; height: auto; border-radius: 2px; }
.duo__shot .ph::after { display: none; }
.duo__shot:hover .ph img { transform: scale(1.05); }
.duo__shot figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
main { background: var(--ink); }

/* ---------- Logo ---------- */
.nav__logo img { display: block; height: 66px; width: auto; }
@media (max-width: 760px) { .nav__logo img { height: 52px; } }
.splash__logo { display: block; width: min(220px, 52vw); height: auto; margin-bottom: 8px; }
.footer .footer__mark { font-size: 0; line-height: 0; margin: 0; padding: clamp(50px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); white-space: normal; transform: none; }
.footer__mark img { display: block; width: min(76vw, 760px); height: auto; margin: 0 auto; }

/* ---------- Pie con datos ---------- */
.info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--line-d);
}
.info .eyebrow { margin-bottom: 10px; }
.info p { margin: 0; font-size: 17px; }
@media (max-width: 760px) { .info { grid-template-columns: 1fr 1fr; gap: 28px 18px; } .info p { font-size: 15px; } }

/* ---------- Banda cinematográfica ---------- */
.band {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  text-align: center;
  padding: 120px var(--gutter);
}
.band__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.js .band__media { clip-path: inset(8% 8% 8% 8%); transition: clip-path 1.6s var(--ease-io); }
.js .band.is-open .band__media { clip-path: inset(0 0 0 0); }
.band__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 50%, rgba(10,10,10,.25), rgba(10,10,10,.8)); }
.band__quote { margin: 0; line-height: .9; font-size: clamp(52px, 10vw, 170px); }
.band__quote span { display: block; }
@media (max-width: 760px) {
  .band { min-height: 78svh; }
  .band__media img { object-position: 74% 50%; }
}
.band__note { margin-top: 34px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-d); }

/* ---------- Fotos reales ---------- */
.ph img { filter: contrast(1.04); transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.shot:hover .ph img { transform: scale(1.06); filter: contrast(1.12); }
.shot:hover .ph { transform: none; }
.shot .ph { position: relative; }
.shot .ph::after {
  content: ""; display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--ink); transform-origin: top; transform: scaleY(1);
  transition: transform 1.3s var(--ease-io); animation: none;
}
.js .shot.is-in .ph::after { transform: scaleY(0); }
html:not(.js) .shot .ph::after { display: none; }
.hero__arch .ph::after { display: none; }
.hero__arch img { object-position: 50% 30%; }
.contact__map img { transition: transform 2s var(--ease); }
.contact__map:hover img { transform: scale(1.03); }

/* ---------- Trabajos ---------- */
.work { padding: var(--section) var(--gutter); }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(12px, 2vw, 28px);
  row-gap: clamp(64px, 10vw, 160px);
  max-width: 1440px; margin: 0 auto;
}
.shot { margin: 0; will-change: transform; align-self: start; }
.shot > .ph { height: auto; }
.shot .ph { transition: transform 1.2s var(--ease); }
.shot__frame, .shot > .ph { overflow: hidden; }
.shot > .ph { border-radius: 2px; }
.shot:hover .ph { transform: scale(.97); }
.shot figcaption {
  display: flex; gap: 14px; align-items: baseline;
  margin-top: 16px;
  font-size: 13px; color: var(--mute-d);
}
.shot figcaption span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--paper); }
.shot--a { grid-column: 2 / 6; } .shot--a .ph { aspect-ratio: 4 / 5; }
.shot--b { grid-column: 8 / 12; margin-top: 22vh; } .shot--b .ph { aspect-ratio: 3 / 4; }
.shot--c { grid-column: 3 / 11; } .shot--c .ph { aspect-ratio: 16 / 10; }
.shot--d { grid-column: 1 / 5; } .shot--d .ph { aspect-ratio: 1 / 1; }
.shot--e { grid-column: 6 / 9; margin-top: 16vh; } .shot--e .ph { aspect-ratio: 4 / 5; }
.shot--f { grid-column: 10 / 13; margin-top: -6vh; } .shot--f .ph { aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .shot--a { grid-column: 1 / 6; }
  .shot--b { grid-column: 2 / 7; margin-top: 0; }
  .shot--c { grid-column: 1 / 7; }
  .shot--d { grid-column: 1 / 5; }
  .shot--e { grid-column: 2 / 7; margin-top: 0; }
  .shot--f { grid-column: 1 / 6; margin-top: 0; }
}

/* ---------- Servicios ---------- */
.services { padding: var(--section) var(--gutter); }
.service-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1280px; border-top: 1px solid var(--ink); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1.3fr 1.6fr 90px 110px 130px;
  align-items: center; gap: 20px;
  padding: clamp(22px, 3vw, 38px) clamp(8px, 1.5vw, 24px);
  border-bottom: 1px solid var(--ink);
  isolation: isolate;
  transition: color .6s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .7s var(--ease);
}
.service:hover { color: var(--paper); }
.service:hover::before { transform: scaleY(1); }
.service__num { font-family: var(--serif); font-style: italic; font-size: 20px; }
.service__name { font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; font-size: clamp(30px, 4.4vw, 68px); line-height: 1; transition: transform .7s var(--ease); }
.service:hover .service__name { transform: translateX(14px); }
.service__desc { font-size: 15px; opacity: .65; max-width: 34ch; }
.service__time { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.service__price { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); }
.service__go {
  justify-self: end;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 10px 18px; border: 1px solid currentColor; border-radius: 99px;
  font-size: 13px; font-weight: 500;
  transition: background .4s, color .4s;
}
.service:hover .service__go { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 960px) {
  .service { grid-template-columns: 44px 1fr auto; grid-template-areas: "n name price" "n desc desc" "n time go"; row-gap: 10px; }
  .service__num { grid-area: n; align-self: start; padding-top: 6px; }
  .service__name { grid-area: name; }
  .service__price { grid-area: price; }
  .service__desc { grid-area: desc; }
  .service__time { grid-area: time; }
  .service__go { grid-area: go; }
}

/* ---------- Turnos ---------- */
.booking { padding: clamp(56px, 7vw, 100px) var(--gutter) var(--section); }
.section-head--center { display: flex; flex-direction: column; align-items: center; }
.booking__title { margin: 0; font-weight: 400; line-height: .86; font-size: clamp(64px, 13vw, 220px); }
.booking__lead { margin: 30px 0 0; max-width: 42ch; color: var(--mute-d); font-size: 17px; }

.planner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.planner__main { min-width: 0; }
.step { margin: 0; padding: 30px 0 38px; border: 0; border-top: 1px solid var(--line-d); min-width: 0; }
.step legend { float: left; width: 100%; margin-bottom: 22px; padding: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; display: flex; gap: 14px; align-items: baseline; }
.step legend + * { clear: both; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 24px; letter-spacing: 0; text-transform: none; }
.step.is-done .step__n::after { content: " ✓"; font-family: var(--sans); font-style: normal; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; gap: 10px; align-items: baseline;
  padding: 13px 20px;
  border: 1px solid var(--line-d); border-radius: 99px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.chip small { font-family: var(--serif); font-style: italic; font-size: 16px; opacity: .7; }
.chip:hover span { border-color: var(--paper); }
.chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }

.days {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-d) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
          mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.day { flex: 0 0 auto; scroll-snap-align: start; position: relative; }
.day span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 78px; padding: 14px 0 10px;
  border: 1px solid var(--line-d); border-radius: 999px 999px 4px 4px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.day b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; }
.day small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.day:hover span { border-color: var(--paper); }
.day input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.day input:disabled + span { opacity: .28; cursor: not-allowed; text-decoration: line-through; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.slot { position: relative; }
.slot span {
  display: block; text-align: center; padding: 12px 0;
  border: 1px solid var(--line-d); border-radius: 4px;
  font-variant-numeric: tabular-nums; font-size: 15px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.slot:hover span { border-color: var(--paper); }
.slot input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.slot input:disabled + span { opacity: .25; cursor: not-allowed; text-decoration: line-through; }
.js .slot { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i) * .025s); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.hint, .fallback { margin: 0; color: var(--mute-d); font-size: 15px; grid-column: 1 / -1; }
.fallback a { text-decoration: underline; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { position: relative; display: block; padding-top: 18px; }
.field--wide { grid-column: 1 / -1; }
.field input {
  width: 100%; padding: 10px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-d);
  font-size: 20px; outline: none;
  transition: border-color .3s;
}
.field input:focus { border-color: var(--paper); }
.field span {
  position: absolute; left: 0; top: 30px;
  font-size: 16px; color: var(--mute-d);
  pointer-events: none;
  transform-origin: left;
  transition: transform .4s var(--ease), color .3s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span { transform: translateY(-28px) scale(.75); color: var(--paper); }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* Ticket */
.ticket {
  position: sticky; top: 100px;
  background: var(--paper); color: var(--ink);
  padding: 30px 28px 26px;
  border-radius: 6px;
}
.ticket__head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 18px; border-bottom: 1px dashed var(--line-l); }
.ticket__id { font-variant-numeric: tabular-nums; }
.ticket__rows { margin: 0; padding: 8px 0; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-l); }
.ticket__rows dt { font-size: 13px; opacity: .55; }
.ticket__rows dd { margin: 0; font-weight: 500; text-align: right; }
.ticket__rows dd.is-flash { animation: flash .7s var(--ease); }
@keyframes flash { from { opacity: 0; transform: translateY(6px); } }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0 6px; }
.ticket__total span:first-child { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ticket__total span:last-child { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; }
.ticket__cut {
  height: 22px; margin: 16px -28px 20px;
  background:
    radial-gradient(circle at 0 50%, var(--ink) 11px, transparent 12px),
    radial-gradient(circle at 100% 50%, var(--ink) 11px, transparent 12px),
    linear-gradient(90deg, transparent 22px, var(--line-l) 22px, var(--line-l) calc(100% - 22px), transparent 0) center / 100% 1px no-repeat;
}
.ticket__note { margin: 14px 0 0; font-size: 13px; text-align: center; opacity: .6; }
.ticket__note.is-error { opacity: 1; color: #a40000; font-weight: 500; }
.ticket__done { text-align: center; padding: 6px 0 22px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-l); animation: flash .8s var(--ease); }
.ticket__done[hidden] { display: none; }
.ticket__check { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 24px; }
.ticket__done h3 { margin: 14px 0 6px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; }
.ticket__done p { margin: 0; font-size: 14px; opacity: .75; }
.ticket.is-busy [data-submit] { opacity: .6; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); margin-top: 10px; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.planner.is-locked .planner__main { opacity: .35; pointer-events: none; transition: opacity .6s; }
.slots.is-loading, .days.is-loading { opacity: .4; transition: opacity .3s; }
.day i { font-style: normal; font-size: 10px; letter-spacing: .06em; opacity: .55; margin-top: 2px; }
.day input:checked + span i { opacity: .7; }
.ticket .btn { width: 100%; }
@media (max-width: 960px) { .planner { grid-template-columns: minmax(0, 1fr); } .ticket { position: relative; top: 0; } }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 20px 38px;
  border-radius: 99px; border: 1px solid currentColor;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer;
  transition: color .5s var(--ease), opacity .3s;
}
.btn::before {
  content: ""; position: absolute; left: 50%; top: 100%; z-index: -1;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(0);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translate(-50%, -60%) scale(1); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark::before { background: var(--paper); }
.btn--dark:hover { color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: var(--paper); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn:disabled::before { display: none; }
.btn span { position: relative; display: inline-block; }
.magnetic { will-change: transform; }

.link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- Contacto ---------- */
.contact {
  padding: var(--section) var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.contact .eyebrow { margin-bottom: 22px; }
.contact__title { margin: 0; font-weight: 400; line-height: .9; font-size: clamp(48px, 9vw, 150px); }
.contact__address { margin: 34px 0 0; font-style: normal; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 36px); }
.contact__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: 100%; max-width: 1100px;
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line-l);
}
.contact__item { padding: 36px 16px; }
.contact__item + .contact__item { border-left: 1px solid var(--line-l); }
.contact__item .eyebrow { margin-bottom: 14px; }
.contact__item p { margin: 0 0 6px; font-size: 19px; font-weight: 500; }
.contact__item p.muted { font-size: 14px; font-weight: 400; }
.contact__map { width: 100%; max-width: 1280px; aspect-ratio: 21 / 9; margin: 40px 0 70px; border-radius: 4px; overflow: hidden; }
@media (max-width: 760px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__item + .contact__item { border-left: 0; border-top: 1px solid var(--line-l); }
  .contact__map { aspect-ratio: 4 / 3; }
}

/* ---------- Footer ---------- */
.footer { padding: 40px var(--gutter) 0; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute-d); padding-bottom: 30px; border-bottom: 1px solid var(--line-d); }
.footer__mark {
  font-weight: 900; text-transform: uppercase;
  font-size: 15.6vw; letter-spacing: -.065em; word-spacing: .18em; line-height: .78;
  text-align: center;
  margin: 4vw -0.04em -2.2vw;
  white-space: nowrap;
  transform: translateY(var(--fy, 30%));
  transition: transform .2s linear;
}

/* ---------- Términos antes de reservar ---------- */
.terms {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: var(--gutter);
  background: rgba(10, 10, 10, .78);
  animation: termsIn .35s var(--ease) both;
}
.terms[hidden] { display: none; }
.terms__box {
  position: relative;
  width: 100%; max-width: 520px;
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 40px);
  background: var(--ink-2); color: var(--paper);
  border: 1px solid var(--line-d); border-radius: 6px;
  text-align: center;
  animation: termsBox .5s var(--ease) both;
}
.terms__box:focus { outline: none; }
.terms__title { margin: 0 0 22px; font-weight: 400; line-height: .9; font-size: clamp(40px, 6vw, 60px); }
.terms__box p { margin: 0; font-size: 17px; line-height: 1.5; }
.terms__list { margin: 18px auto 0; padding-left: 1.3em; max-width: 40ch; text-align: left; font-size: 17px; line-height: 1.5; }
.terms__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.terms__actions .btn { padding: 16px 28px; }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: var(--line-d); }
.btn--ghost-light::before { background: var(--paper); }
.btn--ghost-light:hover { color: var(--ink); }
.terms__x {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-d); background: transparent; color: var(--paper);
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.terms__x:hover { background: var(--paper); color: var(--ink); }
.terms-open, .terms-open body { overflow: hidden; }
@keyframes termsIn { from { opacity: 0; } }
@keyframes termsBox { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@media (max-width: 560px) {
  .terms__actions { flex-direction: column; }
  .terms__actions .btn { width: 100%; }
}

/* ---------- Movimiento reducido: solo lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .js .splash { animation-delay: 1.5s; }
}
