/* =========================================================
   Jara’s Mens — Barbería de autor
   Archetype: Editorial monochrome (one archetype only)
   ========================================================= */

:root {
  --white: #FFFFFF;
  --smoke: #F3F2EF;
  --smoke-2: #E9E8E4;
  --concrete: #8C8B86;
  --concrete-2: #BEBDB8;
  --concrete-3: #5E5D59;
  --ink: #0B0B0B;
  --ink-2: #1A1A19;
  --line: rgba(11, 11, 11, .14);
  --line-light: rgba(255, 255, 255, .16);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --concrete-tex: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.35  0 0 0 0 0.34  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--smoke);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--smoke); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
}
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 90;
  background-image: var(--concrete-tex);
  opacity: .09;
  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); }
}

/* ---------- placeholders (swap for <img> later) ---------- */
.ph {
  position: relative;
  aspect-ratio: var(--ratio, 4/5);
  background:
    var(--concrete-tex),
    linear-gradient(160deg, var(--concrete-2) 0%, var(--concrete) 55%, var(--concrete-3) 100%);
  overflow: hidden;
  margin: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .85);
}
.ph::before, .ph::after {
  content: ""; position: absolute; background: rgba(255, 255, 255, .22);
}
.ph::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.ph::after { top: 50%; left: 0; right: 0; height: 1px; }
.ph__label {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-align: center; line-height: 1.7;
  background: rgba(11, 11, 11, .55); padding: 10px 14px;
  backdrop-filter: blur(4px);
}
.ph__label small { opacity: .65; font-size: 10px; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn span, .btn i { pointer-events: none; }
.btn--dark { background: var(--ink); color: var(--smoke); border-color: var(--ink); }
.btn--dark::before { background: var(--concrete-3); }
.btn--light { background: var(--smoke); color: var(--ink); border-color: var(--smoke); }
.btn--light::before { background: var(--white); }
.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn--full { width: 100%; justify-content: space-between; }

.link-u {
  position: relative; font-size: 14px; font-weight: 500; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- splash ---------- */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--smoke);
  display: flex; align-items: center; justify-content: center;
  /* safety net 1: CSS hides it even if JS dies */
  animation: splash-failsafe .6s var(--ease) 4.5s forwards;
}
.splash.is-done {
  transform: translateY(-100%);
  transition: transform 1s var(--ease-in-out);
}
.splash.is-gone { display: none !important; }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }
.splash__inner { display: flex; align-items: baseline; gap: 24px; overflow: hidden; }
.splash__word { font-family: var(--serif); font-size: clamp(56px, 12vw, 180px); line-height: 1; display: inline-flex; }
.splash__word span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.splash__word span:nth-child(2) { animation-delay: .05s; }
.splash__word span:nth-child(3) { animation-delay: .1s; }
.splash__word span:nth-child(4) { animation-delay: .15s; }
.splash__word span:nth-child(5) { animation-delay: .2s; }
.splash__word span:nth-child(6) { animation-delay: .25s; }
.splash__count { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--concrete-2); }
.splash__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line-light); }
.splash__bar span { display: block; height: 100%; width: var(--p, 0%); background: var(--smoke); transition: width .2s linear; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- cursor (desktop, fine pointer only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%; background: var(--smoke);
    mix-blend-mode: difference;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease);
  }
  .has-cursor .cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .has-cursor .cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; background: var(--ink); }
  .cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); opacity: 0; transition: opacity .3s; }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor__dot { display: none; }
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, padding .4s var(--ease);
}
.header.is-scrolled { background: rgba(243, 242, 239, .82); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-105%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .28em; font-size: 13px; }
.logo__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--smoke);
  font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; font-weight: 400;
}
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav a { font-size: 13px; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-3); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--concrete); position: relative; }
.status.is-open .status__dot { background: var(--ink); }
.status.is-open .status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ink); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--ink); color: var(--smoke);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: clamp(44px, 12vw, 72px); line-height: 1.1; border-bottom: 1px solid var(--line-light); padding: 10px 0; display: flex; align-items: baseline; gap: 14px; }
.menu nav a small { font-family: var(--mono); font-size: 11px; color: var(--concrete); }
.menu__foot { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete-2); }
.menu-open .header { background: transparent; border-color: transparent; backdrop-filter: none; color: var(--smoke); }
.menu-open .menu-toggle span { background: var(--smoke); }
.menu-open .menu-toggle { border-color: var(--line-light); }
.menu-open .logo__mark { background: var(--smoke); color: var(--ink); }

/* ---------- section heads ---------- */
section { position: relative; }
.section-head { display: flex; gap: 18px; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2.mono { margin: 0; }
.section-head--wide { display: grid; grid-template-columns: 80px 1fr minmax(0, 340px); align-items: end; gap: 24px; }
.section-head--wide .display { margin: 0; font-size: clamp(48px, 7.5vw, 120px); }
.section-head__aside { margin: 0; color: var(--concrete-3); font-size: 15px; }

/* ---------- reveal helpers ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js .reveal-clip.is-in { clip-path: inset(0 0 0 0); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 120px var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: 20px;
}
.hero__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--concrete-3); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero__title {
  grid-column: 1 / 9; grid-row: 2; align-self: center;
  margin: 40px 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 11.5vw, 210px);
  line-height: .88; letter-spacing: -.035em;
  position: relative; z-index: 2;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line--indent { padding-left: 1.2em; }
.hero__title .word { display: inline-block; }
.js .hero__title .word { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .is-ready .hero__title .word, .js body.is-ready .hero__title .word { transform: none; }
.hero__title .line:nth-child(2) .word { transition-delay: .1s; }
.hero__title .line:nth-child(3) .word { transition-delay: .2s; }
.hero__title em { color: var(--concrete-3); }

.hero__media { grid-column: 8 / -1; grid-row: 2; position: relative; align-self: center; margin: 40px 0; }
.ph--hero { width: 100%; max-height: 72vh; }
.ph--hero-sm { position: absolute; width: 38%; left: -22%; bottom: -8%; border: 8px solid var(--smoke); z-index: 3; }
.badge {
  position: absolute; top: -48px; right: -18px; z-index: 4;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--ink); color: var(--smoke);
  display: grid; place-items: center;
  transition: transform .6s var(--ease);
}
.badge:hover { transform: scale(1.08); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--mono); font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.badge__arrow { font-size: 26px; transition: transform .5s var(--ease); }
.badge:hover .badge__arrow { transform: rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; align-items: end; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__lead { grid-column: 1 / 5; margin: 0; font-size: 16px; color: var(--ink-2); max-width: 38ch; }
.hero__ctas { grid-column: 6 / 10; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.scroll-cue { grid-column: 11 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 12px; color: var(--concrete-3); }
.scroll-cue i { display: block; width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--ink); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--smoke); padding: 26px 0; border-block: 1px solid var(--ink); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(34px, 5vw, 72px); line-height: 1; white-space: nowrap; }
.marquee__track span:nth-child(4n+3) { font-style: italic; color: var(--concrete-2); }
.marquee__track b { font-weight: 300; font-size: 22px; color: var(--concrete); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); background: var(--white); }
.manifesto__text {
  font-family: var(--serif); font-size: clamp(32px, 4.6vw, 76px); line-height: 1.08; letter-spacing: -.02em;
  margin: 0 0 clamp(60px, 8vw, 120px); max-width: 30ch; text-indent: 2.5em;
}
.manifesto__text .w { transition: color .4s; color: var(--concrete-2); }
.manifesto__text .w.is-lit { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -.03em; }
.stat__label { font-size: 14px; color: var(--concrete-3); line-height: 1.4; }

/* ---------- services ---------- */
.services { padding: clamp(100px, 12vw, 180px) var(--gutter); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc {
  display: grid; grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 1fr) 100px 120px; gap: 24px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; cursor: default;
}
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.svc:hover::before { transform: scaleY(1); }
.svc > * { transition: color .4s var(--ease), transform .6s var(--ease); }
.svc:hover > * { color: var(--smoke); }
.svc:hover .svc__name { transform: translateX(18px); }
.svc__n, .svc__time { color: var(--concrete); }
.svc__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -.02em; }
.svc__desc { margin: 0; color: var(--concrete-3); font-size: 15px; }
.svc__price { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); text-align: right; }
.svc-preview {
  position: fixed; left: 0; top: 0; width: 260px; --ratio: 4/5;
  pointer-events: none; z-index: 60; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.svc-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }

/* ---------- gallery (horizontal pin) ---------- */
.gallery { background: var(--smoke-2); }
.gallery__sticky { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.js .gallery.is-pinned .gallery__sticky { position: sticky; top: 0; height: 100vh; padding: 100px 0 60px; display: flex; flex-direction: column; justify-content: center; }
.gallery__head { display: grid; grid-template-columns: 80px 1fr 240px; gap: 24px; align-items: end; padding: 0 var(--gutter) 40px; }
.gallery__head .display { margin: 0; font-size: clamp(44px, 6.5vw, 104px); }
.gallery__progress { height: 1px; background: var(--line); align-self: end; margin-bottom: 14px; }
.gallery__progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.gallery__track { display: flex; gap: clamp(20px, 3vw, 48px); align-items: flex-end; padding: 0 var(--gutter); will-change: transform; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.js .gallery.is-pinned .gallery__track { overflow: visible; }
.g-item { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.g-item figcaption { margin-top: 14px; color: var(--concrete-3); }
.g-item--tall { width: clamp(240px, 24vw, 380px); }
.g-item--wide { width: clamp(320px, 40vw, 640px); }
.g-item--sq { width: clamp(220px, 22vw, 340px); align-self: center; }
.g-item .ph { transition: transform 1s var(--ease); }
.g-item:hover .ph { transform: scale(.97); }
.g-end { flex: 0 0 auto; width: clamp(280px, 30vw, 460px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.g-end .display { font-size: clamp(44px, 5vw, 84px); margin: 0; }

/* ---------- agenda ---------- */
.agenda { background: var(--ink); color: var(--smoke); padding: clamp(100px, 12vw, 180px) var(--gutter); }
.agenda__head { display: grid; grid-template-columns: 80px 1fr minmax(0, 360px); gap: 24px; align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line-light); margin-bottom: 60px; }
.agenda__head .mono { color: var(--concrete); align-self: start; padding-top: 12px; }
.agenda__head .display { margin: 0; font-size: clamp(60px, 9vw, 150px); }
.agenda__head .display em { color: var(--concrete-2); }
.agenda__head p { margin: 0; color: var(--concrete-2); }

.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.step { border: 0; padding: 0 0 44px; margin: 0 0 44px; border-bottom: 1px solid var(--line-light); min-width: 0; }
.step legend { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); padding: 0; margin-bottom: 22px; display: flex; gap: 14px; align-items: baseline; }
.step legend .mono { color: var(--concrete); }
.step:last-child { border-bottom: 0; margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px; border: 1px solid var(--line-light); border-radius: 14px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.chip b { font-weight: 500; font-size: 15px; }
.chip i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); transition: color .35s; }
.chip:hover > span { border-color: var(--concrete); }
.chip input:checked + span { background: var(--smoke); color: var(--ink); border-color: var(--smoke); }
.chip input:checked + span i { color: var(--concrete-3); }
.chip input:focus-visible + span { outline: 2px solid var(--smoke); outline-offset: 3px; }
.chip input:disabled + span { opacity: .28; text-decoration: line-through; cursor: not-allowed; }
.chip input:disabled { cursor: not-allowed; }
.chips--svc .chip { flex: 1 1 200px; }
.chip--barber > span { flex-direction: row; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; }
.chip--barber b { display: block; }
.chip--barber > span > b + i { margin-left: -6px; }
.chip--barber > span { display: grid; grid-template-columns: 40px auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; }
.chip--barber .avatar { grid-row: 1 / 3; }
.avatar { width: 40px; height: 40px; border-radius: 50%; --ratio: 1/1; display: grid; place-items: center; font-size: 14px; border: 1px solid var(--line-light); }
.avatar.ph::before, .avatar.ph::after { display: none; }
.chip--time > span { padding: 12px 18px; border-radius: 999px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }

.days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--concrete-3) transparent; }
.day { flex: 0 0 auto; scroll-snap-align: start; }
.day > span { width: 76px; align-items: center; padding: 14px 0; text-align: center; }
.day .d-week { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete); font-style: normal; }
.day .d-num { font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 400; }
.day .d-month { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete); font-style: normal; }
.day input:checked + span .d-week, .day input:checked + span .d-month { color: var(--concrete-3); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete); }
.field-input {
  font: inherit; font-size: 17px; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0;
  padding: 10px 0; transition: border-color .3s;
  color-scheme: dark;
}
.field-input:focus { outline: none; border-bottom-color: var(--smoke); }
.field-input.is-invalid { border-bottom-color: #d9a3a0; }
textarea.field-input { resize: vertical; min-height: 110px; }

.ticket {
  position: sticky; top: 100px;
  background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 22px;
  padding: 28px; display: flex; flex-direction: column; gap: 22px; overflow: hidden;
}
.ticket::before, .ticket::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); top: 64px; }
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket__top { display: flex; justify-content: space-between; color: var(--concrete); padding-bottom: 22px; border-bottom: 1px dashed var(--line-light); }
.ticket__rows { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 16px; }
.ticket__rows dt { color: var(--concrete); font-size: 14px; }
.ticket__rows dd { margin: 0; text-align: right; font-weight: 500; }
.ticket__rows dd.flash { animation: flash .6s var(--ease); }
@keyframes flash { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px dashed var(--line-light); }
.ticket__total strong { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; }
.ticket__note { margin: 0; font-size: 13px; color: var(--concrete); }
.ticket__note.is-error { color: #e2b4b1; }
.ticket__done { position: absolute; inset: 0; background: var(--smoke); color: var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px; gap: 10px; animation: done .9s var(--ease-in-out); }
.ticket__done[hidden] { display: none; }
.ticket__done .display { font-size: 48px; margin: 0; }
.ticket__done p { margin: 0; }
.ticket__check { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--smoke); display: grid; place-items: center; font-size: 24px; margin-bottom: 10px; }
@keyframes done { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- voices ---------- */
.voices { padding: clamp(100px, 12vw, 180px) var(--gutter); background: var(--smoke); }
.voices__rating { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.stars { letter-spacing: .2em; font-size: 18px; }
.voices__stage { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
.voices__quote-mark { font-family: var(--serif); font-size: clamp(160px, 18vw, 300px); line-height: .7; color: var(--concrete-2); }
.voices__slides { display: grid; min-height: 320px; }
.voice { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.voice.is-active { opacity: 1; visibility: visible; }
.voice p { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 60px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 40px; max-width: 26ch; }
.voice p .vw { display: inline-block; opacity: 0; transform: translateY(.4em); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.voice.is-active p .vw { opacity: 1; transform: none; }
.voice footer { display: flex; align-items: center; gap: 14px; }
.voice footer b { display: block; font-weight: 500; }
.voice footer i { font-style: normal; color: var(--concrete-3); }
.voice__avatar { width: 52px; height: 52px; border-radius: 50%; --ratio: 1/1; }
.voice__avatar::before, .voice__avatar::after { display: none; }
.js-off .voice, html:not(.js) .voice { position: static; opacity: 1; visibility: visible; grid-area: auto; margin-bottom: 48px; }
.voices__controls { grid-column: 2; display: flex; align-items: center; gap: 24px; margin-top: 56px; }
.voices__bar { flex: 1; height: 1px; background: var(--line); }
.voices__bar span { display: block; height: 100%; width: 0; background: var(--ink); }
.voices__btns { display: flex; gap: 10px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; font-size: 18px; transition: background-color .4s var(--ease), color .4s var(--ease); }
.round-btn:hover { background: var(--ink); color: var(--smoke); }
html:not(.js) .voices__controls { display: none; }

/* ---------- contact ---------- */
.contact { padding: clamp(100px, 12vw, 180px) var(--gutter) clamp(80px, 8vw, 120px); background: var(--white); }
.contact__big { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(60px, 8vw, 120px); width: fit-content; }
.contact__big-line { font-family: var(--serif); font-size: clamp(80px, 17vw, 300px); line-height: .85; letter-spacing: -.045em; transition: letter-spacing .8s var(--ease); }
.contact__big:hover .contact__big-line { letter-spacing: -.02em; }
.contact__big-line em { color: var(--concrete); }
.contact__big-mail { color: var(--concrete-3); font-size: 13px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.contact__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-content: start; grid-column: 1 / -1; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.info-block .mono { color: var(--concrete); display: block; margin-bottom: 10px; }
.info-block p { margin: 0 0 14px; font-size: 17px; line-height: 1.5; }
.contact__form { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.contact__form .field { width: 100%; }
.contact__form .field-input { border-bottom-color: var(--line); color-scheme: light; }
.contact__form .field-input:focus { border-bottom-color: var(--ink); }
.contact__form .field > span { color: var(--concrete-3); }
.contact__map { width: 100%; align-self: start; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--smoke); padding: clamp(80px, 10vw, 140px) var(--gutter) 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__claim { font-size: clamp(40px, 5vw, 80px); margin: 0; }
.footer__claim em { color: var(--concrete-2); }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a { font-size: 15px; color: var(--concrete-2); transition: color .3s, transform .5s var(--ease); }
.footer__nav a:hover { color: var(--smoke); transform: translateX(6px); }
.footer__word {
  font-family: var(--serif); font-size: 26.5vw; line-height: .78; letter-spacing: -.05em;
  text-align: center; margin: 60px calc(var(--gutter) * -1) 24px;
  background: linear-gradient(180deg, var(--smoke) 30%, var(--concrete-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--concrete); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .status { display: none; }
  .svc { grid-template-columns: 50px minmax(0, 1fr) 90px 90px; }
  .svc__desc { display: none; }
}

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; padding-top: 100px; gap: 0; }
  .hero__meta { font-size: 10px; }
  .hero__title { margin: 48px 0 32px; font-size: clamp(60px, 17vw, 120px); }
  .hero__media { margin: 0 0 64px 18%; }
  .ph--hero-sm { left: -28%; width: 44%; }
  .badge { width: 104px; height: 104px; top: -40px; right: -6px; }
  .hero__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
  .scroll-cue { display: none; }

  .section-head--wide, .agenda__head, .gallery__head { grid-template-columns: 1fr; gap: 14px; }
  .gallery__progress { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 16px !important; }

  .svc { grid-template-columns: 34px minmax(0, 1fr) auto; row-gap: 6px; padding: 26px 0; }
  .svc__time { grid-column: 2; grid-row: 2; }
  .svc__price { grid-column: 3; grid-row: 1 / 3; }
  .svc-preview { display: none; }

  .booking { grid-template-columns: minmax(0, 1fr); }
  .ticket { position: relative; top: 0; }
  .fields { grid-template-columns: 1fr; }

  .voices__stage { grid-template-columns: 1fr; }
  .voices__quote-mark { font-size: 140px; margin-bottom: -40px; }
  .voices__controls { grid-column: 1; }
  .voices__slides { min-height: 380px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .header__right .btn { display: none; }
  .hero__meta span:last-child { display: none; }
  .hero__media { margin-left: 22%; }
  .contact__info { grid-template-columns: 1fr; }
  .chips--svc .chip { flex-basis: 100%; }
  .ticket__total strong { font-size: 44px; }
  .voices__controls { gap: 14px; }
  .round-btn { width: 48px; height: 48px; }
}

/* Reduced motion: only the intrusive bits (splash, grain jitter, spinning badge, marquee auto-run). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .badge svg { animation-duration: 60s; }
  .marquee__track { animation-duration: 90s; }
  .js .splash { animation-delay: 1.2s; }
}

/* Safety net: if scripts never run, everything still appears. */
.js:not(.js-ok) .reveal, .js:not(.js-ok) .reveal-clip, .js:not(.js-ok) .hero__title .word { animation: failsafe-in .01s linear 6s forwards; }
@keyframes failsafe-in { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@media (max-width: 900px) { .voices__quote-mark { margin-bottom: -70px; } .voices__slides { min-height: 420px; } }
.booking__steps { min-width: 0; }

/* ---------- real images ---------- */
.ph.has-img { background: var(--ink-2); }
.ph.has-img::before, .ph.has-img::after { display: none; }
.ph.has-img > img { transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.g-item:hover .ph.has-img > img { transform: scale(1.06); }
.ph--hero.has-img > img { transform: scale(1.04); }
.hero__media:hover .ph--hero.has-img > img { transform: scale(1); }
.svc-preview.has-img { box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.svc-preview.has-img > img { transition: opacity .35s var(--ease); }
.svc-preview.is-swapping > img { opacity: .2; }
.avatar, .voice__avatar {
  display: grid; place-items: center; flex: 0 0 auto;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1;
}
.chip input:checked + span .avatar { border-color: rgba(11,11,11,.25); }
.voice__avatar { background: var(--ink); color: var(--smoke); font-size: 24px; }
@media (max-width: 900px) { .hero__media { align-self: stretch; } }
@media (max-width: 900px) { .badge { right: 0; } html, body { overflow-x: clip; } }

/* ---------- brand logo ---------- */
.logo__img { display: block; height: 48px; width: auto; transition: filter .4s; }
.header.is-scrolled .logo__img { height: 40px; }
.menu-open .logo__img { filter: invert(1); }
.splash__logo { display: block; height: clamp(120px, 22vw, 220px); width: auto; transform: translateY(110%); animation: rise 1s var(--ease) .1s forwards; }
.footer__top { align-items: flex-start; }
.footer__logo { display: block; height: 120px; width: auto; margin-right: auto; }
@media (max-width: 900px) { .footer__logo { height: 90px; flex-basis: 100%; } }
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
