/* ==========================================================================
   Barbería Brandon Cardozo — estilos
   ========================================================================== */

:root {
  --black: #0b0a09;
  --ink-2: #121110;
  --ink-3: #191714;
  --ink-4: #24211d;
  --cream: #efe7da;
  --beige: #d8c3a5;
  --sand: #b39b7a;
  --sand-deep: #8a7559;
  --text: var(--cream);
  --muted: rgba(239, 231, 218, 0.66);
  --faint: rgba(239, 231, 218, 0.56); /* >= 4.5:1 sobre los fondos del sitio (WCAG AA) */
  --field-border: rgba(216, 195, 165, 0.5); /* >= 3:1 para bordes de campos */
  --line: rgba(216, 195, 165, 0.16);
  --line-strong: rgba(216, 195, 165, 0.34);
  --danger: #e2a08a;
  --ok: #b9c9a3;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grano sutil para dar textura editorial */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--beige); letter-spacing: 0; }
::selection { background: var(--beige); color: var(--black); }

:focus-visible { outline: 1px solid var(--beige); outline-offset: 4px; }

.sr-only {
  position: absolute; 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: 200;
  padding: 10px 16px; background: var(--beige); color: var(--black);
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }

/* ---------- Tipografía ---------- */
.eyebrow {
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--beige);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

.section-title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.section-title em { font-size: 1.08em; }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 760px; }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
}
.section-note { margin: 0; max-width: 320px; color: var(--muted); font-size: 14px; }

/* ---------- Botones ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h);
  padding: 0 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn--solid { background: var(--beige); color: var(--black); }
.btn--solid::before { background: var(--cream); }
.btn--ghost { color: var(--cream); border-color: var(--line-strong); background: rgba(11, 10, 9, 0.2); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--black); border-color: var(--cream); }
.btn:hover::before { transform: scaleY(1); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.btn .spinner { width: 14px; height: 14px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--beige);
}
.link-arrow::after { content: "→"; transition: transform 0.4s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

.placeholder-tag {
  position: absolute; z-index: 3; right: 14px; bottom: 14px;
  padding: 5px 10px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); background: rgba(11, 10, 9, 0.62); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 64px;
  background: rgba(11, 10, 9, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%;
  max-width: calc(var(--container) + 160px);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.logo { display: inline-flex; flex-direction: column; line-height: 1; gap: 5px; }
.logo__top { font-size: 9.5px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--beige); }
.logo__name { font-size: 15px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a {
  position: relative; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  padding: 6px 0; transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--beige);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__spacer { margin-left: auto; }
.nav__cta { display: flex; gap: 8px; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 44px; padding: 0 2px 0 6px;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream);
}
.nav__toggle-bars { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 7px; width: 26px; }
.nav__toggle-bar { display: block; height: 1px; width: 26px; background: var(--cream); transition: width 0.45s var(--ease); }
.nav__toggle-bar:last-child { width: 16px; }
.nav__toggle:hover .nav__toggle-bar:last-child { width: 26px; }
.page-home .nav__toggle { margin-left: auto; }
.nav__cta .btn { white-space: nowrap; }
@media (max-width: 1280px) { .nav__links { gap: 22px; } .nav__inner { gap: 22px; } }
/* Sin lugar para todos los enlaces: quedan los botones y el menú lateral. */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
}
@media (max-width: 420px) { .nav__toggle-label { display: none; } .nav__toggle { min-width: 44px; justify-content: center; } }

/* ---------- Menú lateral ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0.5s; }
.drawer[hidden] { display: block; }
.drawer.is-open { visibility: visible; transition: visibility 0s; } /* visible al instante, para poder recibir el foco */
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 7, 6, 0.72); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.5s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(440px, 88vw);
  display: flex; flex-direction: column;
  background: var(--ink-2); border-left: 1px solid var(--line);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 0 clamp(22px, 4vw, 40px) calc(28px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform 0.6s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  position: sticky; top: 0; z-index: 1; background: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; border-bottom: 1px solid var(--line);
}
.drawer__title { margin: 0; font-size: 11.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--beige); }
.drawer__close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 15px;
  transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease);
}
.drawer__close:hover { border-color: var(--beige); background: rgba(216, 195, 165, 0.08); transform: rotate(90deg); }
.drawer__nav { display: grid; gap: 8px; padding: 26px 0 30px; }
.drawer__group { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.drawer__group + .drawer__group { padding-top: 14px; }
.drawer__ghead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer__gtitle {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  font-size: clamp(30px, 7vw, 40px); letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase;
  transition: color 0.3s;
}
.drawer__gtitle span { font-size: 10.5px; letter-spacing: 0.2em; color: var(--beige); }
.drawer__gtitle:hover { color: var(--beige); }
.drawer__gtoggle { position: relative; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; flex: none; transition: border-color 0.3s; }
.drawer__gtoggle:hover { border-color: var(--beige); }
.drawer__gtoggle::before, .drawer__gtoggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1px; background: var(--cream);
  translate: -50% -50%; transition: transform 0.45s var(--ease);
}
.drawer__gtoggle::after { transform: rotate(90deg); }
.drawer__gtoggle[aria-expanded="true"]::after { transform: rotate(0deg); }
.drawer__list { list-style: none; margin: 4px 0 0; padding: 0 0 0 30px; display: grid; }
.drawer__list[hidden] { display: none; }
.drawer__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 6px 0;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s, padding 0.4s var(--ease);
}
.drawer__list a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); color: var(--beige); }
.drawer__list a:hover { color: var(--cream); padding-left: 4px; }
.drawer__list a:hover::after { opacity: 1; transform: none; }
.drawer.is-open .drawer__group { animation: drawerIn 0.7s var(--ease) both; }
.drawer.is-open .drawer__group + .drawer__group { animation-delay: 0.08s; }
@keyframes drawerIn { from { opacity: 0; transform: translateX(24px); } }
.drawer__foot { margin-top: auto; display: grid; gap: 16px; }
.drawer__social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.drawer__social a { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.drawer__social a:hover { color: var(--cream); }
.drawer__tag { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--beige); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 clamp(88px, 12vh, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover; object-position: center 40%;
  filter: saturate(0.55) contrast(1.06) brightness(0.82);
  transform: scale(1.08);
  animation: heroZoom 2.8s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(216, 195, 165, 0.14), transparent 55%),
    linear-gradient(90deg, rgba(11, 10, 9, 0.94) 0%, rgba(11, 10, 9, 0.7) 42%, rgba(11, 10, 9, 0.25) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(11, 10, 9, 0) 45%);
}
.hero__frame {
  position: absolute; z-index: -1;
  inset: calc(var(--nav-h) + 16px) var(--gutter) 28px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.hero__content { position: relative; }
.hero__title {
  margin: 0 0 32px;
  font-weight: 400;
  font-size: clamp(54px, 10.5vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero__title em { text-transform: none; font-size: 1.04em; letter-spacing: -0.02em; padding-right: 0.04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.reveal-line { display: inline-block; transform: translateY(105%); animation: lineUp 1.3s var(--ease) forwards; }
.hero__title .line:nth-child(2) .reveal-line { animation-delay: 0.12s; }
@keyframes lineUp { to { transform: none; } }
.hero__lead { margin: 0 0 44px; max-width: 470px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; right: calc(var(--gutter) + 28px); bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 64px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--beige); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero .placeholder-tag { bottom: 40px; right: auto; left: calc(var(--gutter) + 16px); }
@media (max-width: 960px) { .hero .placeholder-tag { top: calc(var(--nav-h) + 28px); bottom: auto; } }
@media (max-width: 720px) {
  .hero { align-items: flex-end; padding-bottom: 72px; }
  .hero__veil {
    background:
      linear-gradient(0deg, var(--black) 8%, rgba(11, 10, 9, 0.82) 45%, rgba(11, 10, 9, 0.35) 100%);
  }
  .hero__scroll { display: none; }
  .hero__frame { inset: calc(var(--nav-h) + 8px) 10px 12px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { animation: fadeUp 1.2s var(--ease) forwards; }
.hero .eyebrow.reveal { animation-delay: 0.1s; }
.hero__lead.reveal { animation-delay: 0.45s; }
.hero__actions.reveal { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Experiencia ---------- */
.experience { border-bottom: 1px solid var(--line); }
.experience__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.experience__list li { padding: 40px 40px 8px 0; position: relative; }
.experience__list li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.experience__list li:nth-child(2) { transition-delay: 0.1s; }
.experience__list li:nth-child(3) { transition-delay: 0.2s; }
.experience__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--beige); }
.experience__list h3 { margin: 22px 0 12px; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.experience__list p { margin: 0; color: var(--muted); max-width: 300px; }
@media (max-width: 820px) {
  .experience__list { grid-template-columns: 1fr; }
  .experience__list li, .experience__list li + li { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Ropa ---------- */
.shop { background: var(--ink-2); }
.shop__tools { display: grid; gap: 18px; justify-items: end; text-align: right; }
.filters[hidden] { display: none; }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.product {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink-3);
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease), opacity 0.5s var(--ease);
}
.product:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.product.is-hidden { display: none; }
.product__open {
  display: block; width: 100%; text-align: left;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(180deg, #2a2621, #1c1916);
}
.product__open img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.85);
}
.product:hover .product__open img { transform: scale(1.05); filter: saturate(1); }
.product__open::after {
  content: "Ver detalle";
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: grid; place-items: center; min-height: 42px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--black); background: rgba(239, 231, 218, 0.92);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.product:hover .product__open::after, .product__open:focus-visible::after { opacity: 1; transform: none; }
.product__open:focus-visible { outline-offset: -2px; }
.product__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  padding: 4px 9px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); background: rgba(11, 10, 9, 0.7); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.badge--last { color: var(--black); background: var(--beige); border-color: var(--beige); }
.badge--out { color: var(--cream); background: rgba(11, 10, 9, 0.85); border-color: var(--line-strong); }
.product.is-out .product__open img { filter: grayscale(1) brightness(0.6); }
.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__cat { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige); }
.product__name { margin: 0; font-weight: 400; font-size: 19px; letter-spacing: -0.015em; line-height: 1.2; }
.product__desc {
  margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product__meta { margin: 0; font-size: 12.5px; color: var(--faint); }
.product__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price { font-size: 17px; letter-spacing: 0.01em; color: var(--cream); white-space: nowrap; }
.price small { font-size: 0.68em; letter-spacing: 0.12em; color: var(--beige); margin-left: 4px; }
.price.is-pending { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.product__cta { font-size: 11px; }
.product__cta[aria-disabled="true"] { color: var(--faint); pointer-events: none; }
.product__cta[aria-disabled="true"]::after { content: none; }

.shop-empty { grid-column: 1 / -1; padding: 64px 24px; text-align: center; border: 1px dashed var(--line); }
.shop-empty h3 { margin: 0 0 10px; font-weight: 400; font-size: 26px; letter-spacing: -0.02em; }
.shop-empty p { margin: 0; color: var(--muted); }
.skeleton { aspect-ratio: 4 / 6; background: linear-gradient(100deg, var(--ink-3) 30%, var(--ink-4) 50%, var(--ink-3) 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

@media (max-width: 1100px) { .shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop__tools { justify-items: start; text-align: left; width: 100%; }
  .product__body { padding: 14px 12px 16px; gap: 8px; }
  .product__name { font-size: 16px; }
  .product__desc { display: none; }
  .product__open::after { display: none; }
  .price { font-size: 15px; }
  .product__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Ficha de producto */
.product-modal {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  padding: 0; border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--text);
  overflow: auto;
}
.product-modal::backdrop { background: rgba(8, 7, 6, 0.86); backdrop-filter: blur(4px); }
.product-modal[open] { animation: modalIn 0.5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.product-modal__inner { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-media { position: relative; background: linear-gradient(180deg, #2a2621, #1c1916); min-height: 100%; }
.pm-media img { width: 100%; height: 100%; max-height: calc(100svh - 34px); object-fit: cover; aspect-ratio: 4 / 5; }
.pm-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 22px; position: relative; }
.pm-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--cream); font-size: 16px;
  transition: border-color 0.3s, background 0.3s;
}
.pm-close:hover { border-color: var(--beige); background: rgba(216, 195, 165, 0.08); }
.pm-info h3 { margin: 0; font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.05; padding-right: 48px; }
.pm-info .price { font-size: 24px; }
.pm-info .price.is-pending { font-size: 12px; }
.pm-desc { margin: 0; color: var(--muted); white-space: pre-line; }
.pm-group p { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 44px; padding: 8px 12px; text-align: center; font-size: 13px; border: 1px solid var(--line-strong); }
.pm-status { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.pm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pm-status.is-last::before { background: var(--beige); }
.pm-status.is-out::before { background: var(--danger); }
.pm-actions { display: grid; gap: 10px; margin-top: auto; }
.pm-note { margin: 0; font-size: 13px; color: var(--faint); }
@media (max-width: 760px) {
  .product-modal { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; margin: 0; border: 0; }
  .product-modal__inner { grid-template-columns: 1fr; }
  .pm-media img { max-height: 62svh; }
  .pm-close { position: fixed; top: 12px; right: 12px; background: rgba(11, 10, 9, 0.7); backdrop-filter: blur(6px); z-index: 2; }
  .pm-info { padding: 26px 16px calc(28px + env(safe-area-inset-bottom)); }
}

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 16px; min-height: 40px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 40px;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.filter:hover { color: var(--cream); border-color: var(--line-strong); }
.filter.is-active { background: var(--beige); color: var(--black); border-color: var(--beige); }
.gallery__notice { margin: -48px 0 36px; color: var(--faint); font-size: 13px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 280px);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery__item {
  position: relative; overflow: hidden; background: var(--ink-3);
  cursor: zoom-in;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.gallery__item.is-wide { grid-column: span 2; }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.5) brightness(0.85);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.gallery__item::after {
  content: attr(data-label);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(0deg, rgba(11, 10, 9, 0.85), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); filter: saturate(0.85) brightness(1); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }
@media (max-width: 820px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 46vw; gap: 8px; }
  .gallery__item.is-wide { grid-column: span 2; }
  .gallery__notice { margin-top: -32px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); width: calc(100% + var(--gutter) * 2); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: 72px 1fr 72px; align-items: center;
  background: rgba(8, 7, 6, 0.96);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.lightbox[hidden] { display: grid; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 0 32px; height: 100vh; height: 100svh; justify-content: center; }
.lightbox__figure img {
  max-width: 100%; max-height: calc(100svh - 160px); object-fit: contain;
  transform: scale(0.96); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.lightbox.is-open .lightbox__figure img.is-loaded { transform: none; opacity: 1; }
.lightbox figcaption { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: center; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; font-size: 18px; color: var(--cream); border: 1px solid var(--line); border-radius: 50%; }
.lightbox__nav { width: 52px; height: 52px; justify-self: center; font-size: 30px; line-height: 1; color: var(--cream); border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.3s, background 0.3s; }
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--beige); background: rgba(216, 195, 165, 0.08); }
@media (max-width: 720px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__figure { padding: 72px 12px 96px; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

/* ---------- Sobre mí ---------- */
.about { background: var(--ink-2); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.about__photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line-strong); z-index: 0;
}
.about__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.4) contrast(1.05) brightness(0.85); }
.about__mono {
  position: relative; z-index: 1; width: 100%; height: 100%;
  display: grid; place-items: center;
  background: radial-gradient(80% 60% at 50% 40%, rgba(216, 195, 165, 0.12), transparent 70%), var(--ink-3);
  border: 1px solid var(--line);
}
.about__mono span { font-family: var(--serif); font-style: italic; font-size: clamp(96px, 14vw, 180px); color: var(--beige); line-height: 1; }
.about__body p { margin: 0 0 20px; color: var(--muted); font-size: clamp(16px, 1.35vw, 18px); font-weight: 300; max-width: 540px; }
.about__body p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--cream); font-style: italic; }
.about__text .section-title { margin-bottom: 36px; }
.about__signature { margin: 36px 0 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--beige); }
.about__signature::before { content: "— "; }
.about__signature:empty { display: none; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; margin-left: 18px; }
}

/* ---------- Reservas ---------- */
.booking { background: radial-gradient(90% 60% at 10% 0%, rgba(216, 195, 165, 0.07), transparent 60%), var(--black); }
.booking__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.booking__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.booking__lead { margin: 28px 0 40px; color: var(--muted); max-width: 360px; }
.booking__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.booking__steps[hidden] { display: none; }
.booking__steps li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
  transition: color 0.4s;
}
.booking__steps li::before {
  content: attr(data-step-label);
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.booking__steps li.is-current { color: var(--cream); }
.booking__steps li.is-current::before { border-color: var(--beige); color: var(--beige); }
.booking__steps li.is-done { color: var(--muted); }
.booking__steps li.is-done::before { content: "✓"; background: var(--beige); color: var(--black); border-color: var(--beige); font-family: var(--sans); font-style: normal; font-size: 11px; }

.booking__panel {
  position: relative;
  min-height: 520px;
  padding: clamp(24px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(25, 23, 20, 0.9), rgba(18, 17, 16, 0.9));
  border: 1px solid var(--line);
}
.booking__panel::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(216, 195, 165, 0.06); pointer-events: none;
}
.bk-step { animation: stepIn 0.6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bk-title { margin: 0 0 6px; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; }
.bk-sub { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.bk-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; min-height: 36px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.bk-back:hover { color: var(--cream); }

.bk-options { display: grid; gap: 10px; }
.bk-option {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 72px; padding: 16px 22px; text-align: left;
  border: 1px solid var(--line); background: rgba(11, 10, 9, 0.35);
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
}
.bk-option:hover { border-color: var(--line-strong); background: rgba(216, 195, 165, 0.04); }
.bk-option.is-selected { border-color: var(--beige); background: rgba(216, 195, 165, 0.08); }
.bk-option__name { display: block; font-size: 18px; letter-spacing: -0.01em; }
.bk-option__meta { display: block; font-size: 13px; color: var(--faint); margin-top: 2px; }
.bk-option__price { font-size: 13px; color: var(--beige); white-space: nowrap; }
.bk-option__price.is-pending { color: var(--faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

/* Calendario */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal__month { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: border-color 0.3s; }
.cal__nav button:hover:not([disabled]) { border-color: var(--beige); }
.cal__nav button[disabled] { opacity: 0.25; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow { text-align: center; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding-bottom: 8px; }
.cal__day {
  aspect-ratio: 1; min-height: 40px;
  display: grid; place-items: center;
  font-size: 15px; border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.cal__day:not([disabled]) { border-color: var(--line); }
.cal__day:not([disabled]):hover { border-color: var(--beige); }
.cal__day[disabled] { color: rgba(239, 231, 218, 0.2); cursor: default; }
.cal__day.is-today:not(.is-selected) { color: var(--beige); }
.cal__day.is-selected { background: var(--beige); color: var(--black); border-color: var(--beige); }

/* Horarios */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  min-height: 48px; border: 1px solid var(--line); font-size: 15px; letter-spacing: 0.04em;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.slot:hover { border-color: var(--beige); }
.slot.is-selected { background: var(--beige); color: var(--black); border-color: var(--beige); }
.slots-group + .slots-group { margin-top: 26px; }
.slots-group__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }

/* Formulario */
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; min-height: 56px; padding: 0 18px;
  background: rgba(11, 10, 9, 0.5); border: 1px solid var(--field-border); border-radius: var(--radius);
  font-size: 17px; color: var(--cream);
  transition: border-color 0.3s, background 0.3s;
}
.field input::placeholder { color: rgba(239, 231, 218, 0.56); }
.field input:focus { outline: none; border-color: var(--beige); background: rgba(11, 10, 9, 0.8); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); min-height: 0; }
.field__hint { font-size: 13px; color: var(--faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Resumen */
.summary { margin: 0 0 28px; border-top: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.summary dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.summary dd { margin: 0; text-align: right; font-size: 16px; }
.bk-note { margin: 0 0 24px; padding: 14px 18px; font-size: 14px; color: var(--muted); border-left: 1px solid var(--beige); background: rgba(216, 195, 165, 0.05); }
.bk-alert { margin: 0 0 22px; padding: 14px 18px; font-size: 14px; color: var(--danger); border: 1px solid rgba(226, 160, 138, 0.4); background: rgba(226, 160, 138, 0.06); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bk-actions .btn { flex: 1 1 220px; }

.bk-loading { display: grid; place-items: center; gap: 16px; padding: 48px 0; color: var(--muted); font-size: 14px; }
.bk-loading .spinner { width: 26px; height: 26px; border: 1px solid var(--beige); border-right-color: transparent; border-radius: 50%; animation: spin 0.9s linear infinite; }
.bk-empty { padding: 28px; border: 1px dashed var(--line); color: var(--muted); text-align: center; font-size: 15px; }

.bk-done { text-align: center; padding: 24px 0; }
.bk-done__icon {
  width: 72px; height: 72px; margin: 0 auto 28px; display: grid; place-items: center;
  border: 1px solid var(--beige); border-radius: 50%; color: var(--beige); font-size: 26px;
}
.bk-done .summary { text-align: left; }
.bk-ref { display: inline-block; margin: 0 0 28px; padding: 6px 14px; font-size: 12px; letter-spacing: 0.2em; color: var(--beige); border: 1px solid var(--line); }

.bk-closed { text-align: center; padding: 40px 0; }
.bk-closed .bk-title { margin-bottom: 14px; }
.bk-closed p { color: var(--muted); max-width: 440px; margin: 0 auto 28px; }

@media (max-width: 960px) {
  .booking__grid { grid-template-columns: 1fr; }
  .booking__intro { position: static; }
  .booking__steps { display: flex; border: 0; gap: 6px; }
  .booking__steps li { flex: 1; font-size: 0; padding: 0; border: 0; height: 3px; background: var(--line); }
  .booking__steps li::before { display: none; }
  .booking__steps li.is-current, .booking__steps li.is-done { background: var(--beige); }
  .booking__lead { margin-bottom: 24px; }
  .booking__panel { min-height: 0; }
  .booking__panel::before { display: none; }
}

/* ---------- Opiniones ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 36px; border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; gap: 24px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; font-style: italic; }
.review figcaption { margin-top: auto; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--beige); }
.review figcaption span { color: var(--faint); }

/* ---------- Contacto ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: stretch; }
.contact__list { margin: 48px 0 36px; border-top: 1px solid var(--line); }
.contact__list div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding-top: 4px; }
.contact__list dd { margin: 0; font-size: 17px; }
.contact__list dd a { border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s, color 0.3s; }
.contact__list dd a:hover { color: var(--beige); border-color: var(--beige); }
.contact__list .is-pending { color: var(--faint); font-size: 15px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; }
.hours-row + .hours-row { margin-top: 6px; }
.hours-row span:last-child { color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map {
  position: relative; min-height: 420px; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden;
}
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.85) sepia(0.15); }
.map-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 14px; padding: 32px; color: var(--faint); }
.map-empty__mark { width: 56px; height: 56px; margin: 0 auto; border: 1px solid var(--line-strong); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-empty p { margin: 0; font-size: 14px; position: relative; }
.map-empty .btn { position: relative; justify-self: center; }
.map-empty__note { max-width: 320px; font-size: 12.5px !important; color: var(--muted); }
.map-empty__note a { text-decoration: underline; }
.map-empty::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 6px; }
  .contact__map { min-height: 300px; }
  .contact__actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(72px, 10vw, 128px) 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink-2); }
.footer__claim {
  margin: 0 0 clamp(56px, 8vw, 96px);
  font-size: clamp(44px, 9vw, 132px); line-height: 0.95; letter-spacing: -0.05em; text-transform: uppercase;
}
.footer__claim em { text-transform: none; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__contact a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--cream); }
.footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__contact p { margin: 0; color: var(--faint); font-size: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; padding-top: 28px; font-size: 12.5px; color: var(--faint); }
.footer__bottom p { margin: 0; }
.footer__top:hover { color: var(--cream); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Legales del footer ---------- */

/* ---------- Páginas legales ---------- */
.legal-top { position: sticky; top: 0; z-index: 20; background: rgba(11, 10, 9, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { margin: 0 0 12px; font-weight: 400; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.05; }
.legal h2 { margin: 48px 0 14px; font-weight: 500; font-size: 21px; letter-spacing: -0.01em; color: var(--cream); }
.legal h3 { margin: 28px 0 10px; font-weight: 500; font-size: 17px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--cream); font-weight: 500; }
.legal__meta { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.legal__box { margin: 28px 0; padding: 18px 22px; border: 1px solid var(--line-strong); background: var(--ink-2); }
.legal__box p { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal th { color: var(--cream); font-weight: 500; }
.legal .missing { color: var(--danger); }
@media (max-width: 640px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 4px 0; } .legal tr { padding: 12px 0; border-bottom: 1px solid var(--line); } }

/* ---------- Consentimiento en formularios ---------- */
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 4px 0 22px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--beige); }
.consent a { color: var(--beige); text-decoration: underline; }
.form-info { margin: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-info a { color: var(--beige); text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 40; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--beige); color: var(--black); border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(120px); transition: transform 0.6s var(--ease), background 0.3s;
}
.wa-float[hidden] { display: none; }
.wa-float.is-visible { transform: none; }
.wa-float:hover { background: var(--cream); }
.wa-float svg { width: 26px; height: 26px; }

.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; padding: 12px; text-align: center; background: var(--beige); color: var(--black); z-index: 300; }

/* ==========================================================================
   SELECTOR: BARBERÍA / STOCK
   ========================================================================== */
.page-home .nav { background: linear-gradient(180deg, rgba(11, 10, 9, 0.7), transparent); }
.page-home .nav.is-scrolled { background: rgba(11, 10, 9, 0.72); }
.choose { position: relative; }
.choose__grid { position: relative; }
.choose__grid { display: flex; min-height: 100vh; min-height: 100svh; }
.choice {
  --delay: 0s;
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) clamp(22px, 4vw, 64px) clamp(56px, 9vh, 104px);
  overflow: hidden; isolation: isolate;
  transition: flex-grow 0.9s var(--ease);
}
.choice--stock { border-left: 1px solid var(--line); }
.choice--stock { --delay: 0.14s; }
@media (hover: hover) and (min-width: 821px) {
  .choose__grid:hover .choice { flex-grow: 0.82; }
  .choose__grid .choice:hover, .choose__grid .choice:focus-within { flex-grow: 1.18; }
}
.choice__media { position: absolute; inset: 0; z-index: -2; background: var(--ink-3); }
.choice__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.5) contrast(1.05) brightness(0.7);
  transform: scale(1.12); opacity: 0;
  transition: transform 1.6s var(--ease), filter 0.9s var(--ease), opacity 1s var(--ease), translate 0.9s var(--ease);
}
.choice__media img.is-loaded { opacity: 1; transform: scale(1.04); }
.choice:hover .choice__media img { transform: scale(1.08); filter: saturate(0.85) contrast(1.05) brightness(0.78); }
.choice--stock .choice__media img { filter: grayscale(0.4) contrast(1.12) brightness(0.68); object-position: center 15%; }
.choice--stock:hover .choice__media img { filter: grayscale(0) contrast(1.1) brightness(0.76); }
.choice__media .placeholder-tag { top: calc(var(--nav-h) + 20px); bottom: auto; }
.choice__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11, 10, 9, 0.96) 0%, rgba(11, 10, 9, 0.55) 45%, rgba(11, 10, 9, 0.2) 100%);
}
.choice__content { max-width: 460px; }
.choice__num { display: block; margin-bottom: 22px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--beige); }
.choice__title {
  margin: 0 0 18px; font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 8.5vw, 132px); line-height: 0.9; letter-spacing: -0.05em;
}
.choice--stock .choice__title { font-weight: 600; letter-spacing: -0.06em; }
.choice__text { margin: 0 0 32px; color: var(--muted); font-weight: 300; max-width: 380px; }
/* Toda la tarjeta se puede tocar (el enlace real es el botón). */
.choice { cursor: pointer; }
.choice:hover .choice__btn::before { transform: scaleY(1); }
.choice__btn:focus-visible { outline-offset: 6px; }
/* Entrada suave de las tarjetas al cargar */
.js .choice__content > * { opacity: 0; transform: translateY(26px); animation: fadeUp 1.1s var(--ease) both; }
.js .choice__content > :nth-child(1) { animation-delay: calc(var(--after) + var(--delay)); }
.js .choice__content > :nth-child(2) { animation-delay: calc(var(--after) + var(--delay) + 0.06s); }
.js .choice__content > :nth-child(3) { animation-delay: calc(var(--after) + var(--delay) + 0.12s); }
.js .choice__content > :nth-child(4) { animation-delay: calc(var(--after) + var(--delay) + 0.2s); }
.js .choice__content > :nth-child(5) { animation-delay: calc(var(--after) + var(--delay) + 0.28s); }
.js .page-home { --after: 0.1s; }
.choose__claim {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; margin: 0; z-index: 2;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); white-space: nowrap; pointer-events: none;
}
.choose__claim em { font-size: 1.2em; letter-spacing: 0.05em; text-transform: none; }
@media (max-width: 820px) {
  .choose__grid { flex-direction: column; }
  .choice { min-height: 62svh; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
  .choice--stock { border-left: 0; border-top: 1px solid var(--line); padding-top: 64px; }
  .choice__title { font-size: clamp(52px, 17vw, 92px); }
  .choice__btn { width: 100%; }
  .choose__claim { position: static; translate: none; display: block; text-align: center; padding: 28px 16px; white-space: normal; }
}

/* ---------- Cortes y servicios (Barbería) ---------- */
.services { border-bottom: 1px solid var(--line); }
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services__group {
  margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige);
}
.services__list + .services__group { margin-top: 56px; }
.service { border-bottom: 1px solid var(--line); }
.service__link {
  display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 24px;
  padding: 26px 8px; position: relative;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
}
.service__link:hover { background: rgba(216, 195, 165, 0.04); padding-left: 20px; }
.service__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--beige); }
.service__name { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.1; }
.service__meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.service__price { font-size: 18px; min-width: 120px; text-align: right; }
.service__price.is-pending { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.service__cta { font-size: 11px; }
@media (max-width: 760px) {
  .service__link { grid-template-columns: 36px 1fr auto; gap: 6px 14px; padding: 20px 4px; }
  .service__meta { grid-column: 2; }
  .service__price { grid-column: 3; grid-row: 1; min-width: 0; }
  .service__cta { grid-column: 3; grid-row: 2; justify-self: end; }
}

/* ---------- Enlace cruzado entre Barbería y Stock ---------- */
.crosslink { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.crosslink__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.crosslink__title { margin: 0 0 10px; font-weight: 400; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.02; }
.crosslink__text { margin: 0; color: var(--muted); }
.crosslink .eyebrow { margin-bottom: 16px; }
@media (max-width: 560px) { .crosslink .btn { width: 100%; } }

/* ---------- Footer: etiquetas de columnas ---------- */
.footer__label { margin: 0 0 6px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--beige); }
.footer__grid { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   STOCK (estética urbana)
   ========================================================================== */
.stock-hero {
  /* Tonos de Stock: del beige de la marca hacia un gris cálido. */
  --cream: #e8e4de;
  --beige: #c8c0b5;
  --sand: #a39b90;
  --muted: rgba(232, 228, 222, 0.78);
  --line: rgba(200, 192, 181, 0.18);
  --line-strong: rgba(200, 192, 181, 0.36);
  position: relative; isolation: isolate; padding: calc(var(--nav-h) + clamp(32px, 5vw, 64px)) 0 0; overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--black) url("/assets/img/stock-hero.webp") center 30% / cover no-repeat;
}
@media (max-width: 760px) {
  .stock-hero { background-image: url("/assets/img/stock-hero-900.webp"); background-position: 30% center; }
}
/* Velo oscuro para que el texto se lea sobre la foto. */
.stock-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.82) 0%, rgba(11, 10, 9, 0.55) 55%, rgba(11, 10, 9, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 10, 9, 0.7), transparent 45%);
}
.stock-hero__title { margin: 0; line-height: 0.8; }
.stock-hero__word {
  display: block;
  font-size: clamp(56px, 11vw, 150px); font-weight: 600; letter-spacing: -0.07em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(200, 192, 181, 0.6);
  background: linear-gradient(90deg, var(--cream), var(--beige)); -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  animation: stockFill 1.6s var(--ease) 0.2s forwards;
  margin-left: -0.04em;
}
@keyframes stockFill { to { background-size: 100% 100%; } }
.stock-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 28px 0 clamp(40px, 6vw, 72px); }
.stock-hero__lead { margin: 0; max-width: 460px; color: var(--muted); font-weight: 300; }
.marquee { border-top: 1px solid var(--line); overflow: hidden; background: var(--beige); color: var(--black); }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { padding: 14px 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; }
.marquee__track span::after { content: "✦"; margin-left: 56px; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.stock-cat { background: var(--black); padding-top: clamp(56px, 8vw, 104px); }
.stock-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.stock-bar .section-title { font-size: clamp(34px, 5vw, 64px); text-transform: uppercase; font-weight: 500; letter-spacing: -0.045em; }
.stock-bar .section-title:focus { outline: none; }
.stock-bar__count { margin: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.cat-tabs {
  position: sticky; top: 64px; z-index: 30;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 32px; padding: 14px var(--gutter);
  background: rgba(11, 10, 9, 0.88); backdrop-filter: blur(12px); border-block: 1px solid var(--line);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs .filter { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.filter__n { font-size: 10px; color: var(--faint); letter-spacing: 0.08em; }
.filter.is-active .filter__n { color: inherit; opacity: 0.7; }
.page-stock .product { background: var(--ink-2); }
.page-stock .product__name { text-transform: uppercase; font-weight: 500; font-size: 16px; letter-spacing: 0.02em; }
.product__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product:focus-within { border-color: var(--beige); }
.product__name a:focus-visible { outline: none; }
.price__old { margin-right: 10px; font-size: 0.82em; color: var(--faint); text-decoration-thickness: 1px; }
.badge--promo { color: var(--black); background: var(--cream); border-color: var(--cream); font-weight: 500; }
.shop-empty a { color: var(--beige); }

/* ---------- Carrito ---------- */
.nav__cart {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  color: var(--cream); border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.3s;
}
.nav__cart:hover { border-color: var(--beige); }
.nav__cart svg { width: 20px; height: 20px; }
.nav__cart-n {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--beige); color: var(--black);
}
.nav__cart-n[hidden] { display: none; }
.nav__cart.is-bump { animation: cartBump 0.5s var(--ease); }
@keyframes cartBump { 40% { transform: scale(1.18); } }
@media (max-width: 640px) { .nav__cart { margin-left: auto; } .page-stock .nav__toggle { margin-left: 4px; } }
.cart .drawer__panel { padding-bottom: 0; }
.cart__body { flex: 1; padding: 8px 0; }
.cart__empty { padding: 48px 0; display: grid; gap: 18px; justify-items: start; color: var(--muted); }
.cart__empty p { margin: 0; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart__img { width: 72px; aspect-ratio: 4 / 5; background: var(--ink-4); overflow: hidden; }
.cart__img img { width: 100%; height: 100%; object-fit: cover; }
.cart__info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.cart__name { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.cart__name:hover { color: var(--beige); }
.cart__meta { font-size: 12.5px; color: var(--faint); }
.cart__qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-strong); width: fit-content; }
.cart__qty button { width: 40px; height: 40px; font-size: 16px; transition: background 0.3s; }
.cart__qty button:hover:not([disabled]) { background: rgba(216, 195, 165, 0.1); }
.cart__qty button[disabled] { opacity: 0.35; cursor: default; }
.cart__qty span { min-width: 28px; text-align: center; font-size: 14px; }
.cart__side { display: grid; justify-items: end; align-content: space-between; gap: 8px; }
.cart__price { font-size: 15px; white-space: nowrap; }
.cart__remove, .cart__clear { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.cart__remove:hover, .cart__clear:hover { color: var(--cream); }
.cart__foot {
  position: sticky; bottom: 0; background: var(--ink-2); border-top: 1px solid var(--line);
  display: grid; gap: 14px; padding: 18px 0 calc(20px + env(safe-area-inset-bottom));
}
.cart__foot[hidden] { display: none; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.cart__total strong { font-size: 22px; letter-spacing: 0; color: var(--cream); font-weight: 500; text-transform: none; }
.cart__legal { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cart__legal a { color: var(--beige); text-decoration: underline; }
.cart__clear { justify-self: start; min-height: 32px; }
.pdp__msg { margin: 0; font-size: 14px; color: var(--danger); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.pdp__msg.is-ok { color: var(--ok); }

/* ---------- Ficha de producto ---------- */
.pdp { padding: calc(var(--nav-h) + 32px) 0 var(--section-y); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cream); }
.crumbs [aria-current] { color: var(--cream); }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp__grid > .skeleton { aspect-ratio: 4 / 5; }
.pdp__media { position: relative; background: linear-gradient(180deg, #2a2621, #1c1916); border: 1px solid var(--line); aspect-ratio: 4 / 5; overflow: hidden; }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; animation: pdpIn 1.2s var(--ease) both; }
@keyframes pdpIn { from { opacity: 0; transform: scale(1.04); } }
.pdp__info { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.pdp__title { margin: 0; font-weight: 500; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 60px); line-height: 0.98; letter-spacing: -0.04em; }
.pdp__price .price { font-size: 26px; }
.pdp__price .price.is-pending { font-size: 12px; }
.pdp__form { display: grid; gap: 18px; }
.pdp__opts { margin: 0; padding: 0; border: 0; min-width: 0; }
.pdp__opts legend { margin: 0 0 10px; padding: 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.chip--opt { cursor: pointer; min-height: 44px; display: inline-grid; place-items: center; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.chip--opt:hover { border-color: var(--beige); }
.chip--opt:has(input:checked) { background: var(--beige); color: var(--black); border-color: var(--beige); }
.chip--opt:has(input:focus-visible) { outline: 1px solid var(--beige); outline-offset: 3px; }
.pdp__notes { margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.pdp__notes a { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }
.pdp__missing { grid-column: 1 / -1; }
.pdp__missing h1 { margin: 0 0 10px; font-weight: 400; font-size: 30px; }
.pdp__related { margin-top: clamp(72px, 10vw, 128px); }
.pdp__rel-title { margin: 0 0 32px; font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; }
@media (max-width: 820px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-line { transform: none; }
  .hero__media img { transform: none; }
  .js .page-home { --after: 0s; }
  .marquee__track { animation: none !important; }
  .stock-hero__word { background-size: 100% 100%; }
}
