/* ============================================================
   BRUMA — Café de Altura · Taller Nocturno
   El café es la única luz.
   ============================================================ */

:root {
  --bg: #141009;
  --surface: #211a10;
  --surface-2: #2a2114;
  --text: #f1e8d8;
  --muted: #a99a82;
  --primary: #c9803a;
  --primary-deep: #8a5a34;
  --accent-jade: #4c8067;
  --accent-rosa: #c06a72;
  --border: #3a2f1e;
  --luz-bg: #f1e8d8;
  --luz-text: #141009;
  --luz-muted: #6f6350;
  --luz-border: #d9cbb2;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'General Sans', 'Segoe UI', sans-serif;

  --fs-display: clamp(56px, 10vw, 144px);
  --fs-h2: clamp(36px, 5.5vw, 72px);
  --fs-h3: clamp(24px, 2.5vw, 32px);
  --fs-body: clamp(16px, 1.1vw, 19px);

  --pad-section: clamp(96px, 12vw, 170px);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: clip;
  min-height: 100dvh;
}
img, video, canvas { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: var(--primary); color: var(--bg); }

/* Scrollbar discreta */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-deep); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--primary); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: top .25s var(--ease-smooth);
}
.skip-link:focus-visible { top: 14px; }

/* ---------- Grano + viñeta ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 120; pointer-events: none;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}

/* ---------- Utilidades ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--primary); }
.display { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 340; line-height: .98; letter-spacing: 0; }
.h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 380; line-height: 1.04; }
.h2 em, .display em { font-style: italic; font-weight: 320; color: var(--primary); }
.lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); max-width: 46ch; }
.section { padding-block: var(--pad-section); position: relative; }

/* Reveal por defecto (C.3) — estado inicial via JS para no-JS friendly */
html.js .rv { opacity: 0; transform: translateY(48px); filter: blur(8px); }
html.js.reduced .rv { opacity: 1; transform: none; filter: none; }

/* ---------- CTA pill con icono anidado ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  border-radius: 999px; padding: 10px 10px 10px 26px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease-smooth), background-color .25s var(--ease-smooth),
              border-color .25s var(--ease-smooth), color .25s var(--ease-smooth);
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn .btn-ico {
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center; flex: none;
  transition: transform .25s var(--ease-smooth);
}
.btn:hover .btn-ico { transform: translate(4px, -1px) scale(1.05); }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--primary); color: #1b1206; }
.btn-primary:hover { background: #d68e47; }
.btn-primary .btn-ico { background: rgba(20, 16, 9, .18); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary-deep); }
.btn-ghost .btn-ico { background: rgba(241, 232, 216, .08); }
.luz .btn-ghost { border-color: var(--luz-border); color: var(--luz-text); }
.luz .btn-ghost .btn-ico { background: rgba(20, 16, 9, .07); }

/* ---------- Nav pill flotante ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 200; width: min(calc(100% - 32px), 1080px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 24px;
  border-radius: 999px;
  background: rgba(20, 16, 9, .5);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(241, 232, 216, .1);
  box-shadow: inset 0 1px 0 rgba(241, 232, 216, .06);
  transition: background-color .4s var(--ease-smooth), transform .5s var(--ease-smooth);
}
.nav.hidden { transform: translate(-50%, -130%); }
.nav-logo { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: .04em; display: flex; align-items: baseline; gap: 8px; }
.nav-logo small { font-family: var(--font-body); font-size: 10px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--muted); transition: color .25s var(--ease-smooth), background-color .25s var(--ease-smooth);
}
.nav-links a:hover { color: var(--text); background: rgba(241, 232, 216, .06); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(241, 232, 216, .09); }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(201, 128, 58, .5); color: var(--text); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; transition: border-color .25s var(--ease-smooth), background-color .25s var(--ease-smooth); }
.nav-cta:hover { border-color: var(--primary); background: rgba(201, 128, 58, .12); }
.nav-cta svg { width: 15px; height: 15px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; }
.nav-burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .35s var(--ease-smooth), top .35s var(--ease-smooth);
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(15, 11, 6, .92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: grid; place-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-smooth), visibility 0s .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-smooth); }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(36px, 9vw, 52px); font-weight: 380;
  text-align: center; padding: 6px 20px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo), color .25s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .mm-meta { margin-top: 26px; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: 0; transition: opacity .5s .3s; }
.mobile-menu.open .mm-meta { opacity: 1; }

/* ============================================================
   HERO — negro→reveal + vídeo en loop
   ============================================================ */
.hero { height: 100vh; height: 100dvh; position: relative; overflow: clip; background: #0d0a05; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(13, 10, 5, .74) 100%),
    linear-gradient(to top, rgba(13, 10, 5, .82) 0%, transparent 34%),
    linear-gradient(to bottom, rgba(13, 10, 5, .6) 0%, transparent 26%);
}
.hero-black {
  position: absolute; inset: 0; z-index: 4; background: #0b0704;
  display: grid; place-items: center; text-align: center; padding: 0 var(--gutter);
  transition: opacity 1.1s var(--ease-in-out);
}
.hero-black.hide { opacity: 0; pointer-events: none; }
.hero-black .inner { display: grid; gap: 18px; justify-items: center; max-width: 900px; }
.hero-black .inner > * { animation: hero-intro-up 1s var(--ease-out-expo) backwards; }
.hero-black .inner > :nth-child(2) { animation-delay: .18s; }
.hero-black .inner > :nth-child(3) { animation-delay: .36s; }
@keyframes hero-intro-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-title { font-size: clamp(72px, 15vw, 210px); font-weight: 320; letter-spacing: .02em; }
.hero-sub { font-size: clamp(16px, 1.6vw, 22px); color: rgba(241, 232, 216, .82); font-weight: 400; letter-spacing: .04em; }
.hero-captions { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.hero-line {
  position: absolute; font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 340; line-height: 1.1; max-width: 17ch; opacity: 0; transform: translateY(18px);
  transition: opacity 1.1s var(--ease-smooth), transform 1.1s var(--ease-smooth);
}
.hero-line.active { opacity: 1; transform: translateY(0); }
.hero-line em { font-style: italic; color: var(--primary); }
.hero-cta {
  position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 14px); z-index: 3;
  opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
}
.hero-cta.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hero-hint { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(241, 232, 216, .55); z-index: 3; transition: opacity .5s; }

/* ============================================================
   MANIFIESTO — palabras-imagen
   ============================================================ */
.manifiesto { background: var(--bg); }
.manifiesto-text {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(30px, 4.6vw, 62px); line-height: 1.16; max-width: 22ch;
}
.manifiesto-text .wimg {
  display: inline-block; vertical-align: -0.18em;
  width: 2.1em; height: .96em; border-radius: 999px; overflow: hidden;
  margin-inline: .08em; border: 1px solid var(--border);
}
.manifiesto-text .wimg img { width: 100%; height: 100%; object-fit: cover; }
.manifiesto-foot { margin-top: 44px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.manifiesto-foot .lead { max-width: 52ch; }

/* ============================================================
   IRIS B2 → CARTA (estación de luz)
   ============================================================ */
.iris-zone { height: 220vh; position: relative; background: var(--bg); }
.iris-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: clip; }
.iris-dark { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg); }
.iris-cup { width: min(34vmin, 320px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); }
.iris-cup img { width: 100%; height: 100%; object-fit: cover; }
.iris-dark .eyebrow { position: absolute; bottom: 12vh; }
.iris-light {
  position: absolute; inset: 0; background: var(--luz-bg); color: var(--luz-text);
  display: grid; place-items: center; text-align: center;
  clip-path: circle(0% at 50% 50%);
}
.iris-light .eyebrow { color: var(--luz-muted); justify-content: center; }
.iris-light .display { font-size: clamp(48px, 8vw, 120px); }
.iris-light .lead { color: var(--luz-muted); margin-inline: auto; }

/* Estación de luz */
.luz { background: var(--luz-bg); color: var(--luz-text); }
.luz .eyebrow { color: var(--luz-muted); }
.luz .lead { color: var(--luz-muted); }
.carta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.carta-card {
  background: #f7f0e2; border: 1px solid var(--luz-border); border-radius: 20px;
  padding: 10px; display: flex; flex-direction: column; gap: 0;
  will-change: transform;
}
.carta-card .ph { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 4.6; }
.carta-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-expo); }
.carta-card:hover .ph img { transform: scale(1.05); }
.carta-card .info { padding: 18px 10px 12px; display: grid; gap: 6px; text-align: left; }
.carta-card .name { font-family: var(--font-display); font-size: 22px; font-weight: 420; }
.carta-card .desc { font-size: 14px; color: var(--luz-muted); line-height: 1.45; }
.carta-card .price { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; color: var(--primary-deep); margin-top: 4px; }
.carta-cta { margin-top: 48px; display: flex; justify-content: center; }

/* ============================================================
   ORIGEN teaser — T7 parallax
   ============================================================ */
.origen-teaser { background: var(--bg); overflow: clip; position: relative; padding-block: calc(var(--pad-section) * 1.15); }
.origen-media { position: absolute; inset: -12% 0; z-index: 0; }
.origen-media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.origen-fog { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 4%, transparent 42%),
              linear-gradient(to bottom, var(--bg) 2%, transparent 30%);
}
.fog-band { position: absolute; z-index: 1; left: -20%; width: 140%; height: 34%; filter: blur(2px);
  background: radial-gradient(60% 100% at 50% 50%, rgba(241, 232, 216, .1), transparent 70%); }
.fog-band.f1 { top: 8%; } .fog-band.f2 { top: 44%; opacity: .7; }
.origen-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.origen-copy { display: grid; gap: 22px; justify-items: start; }
.origen-cherry { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.origen-cherry img { aspect-ratio: 4/5; object-fit: cover; filter: saturate(.9) sepia(.16) contrast(1.03); }
.origen-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--border); padding-top: 40px; }
.stat .num { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 84px); font-weight: 340; line-height: 1; }
.stat .num sup { font-size: .4em; color: var(--primary); font-weight: 500; }
.stat:nth-child(2) .num sup { color: var(--accent-jade); }
.stat:nth-child(3) .num sup { color: var(--accent-rosa); }
.stat .lbl { margin-top: 8px; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* ============================================================
   RITUAL — T9 sticky asimétrico
   ============================================================ */
.ritual { background: var(--surface); border-block: 1px solid var(--border); }
.ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ritual-media { position: sticky; top: 10vh; height: 80vh; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: #0d0a05; }
.ritual-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-in-out); }
.ritual-media > .active { opacity: 1; }
.ritual-media .tag { position: absolute; inset: auto auto 18px 18px; z-index: 2; opacity: 1; width: auto; height: auto;
  background: rgba(13, 10, 5, .55); backdrop-filter: blur(8px); border: 1px solid rgba(241, 232, 216, .14);
  padding: 8px 14px; border-radius: 999px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.ritual-steps { display: grid; gap: clamp(80px, 16vh, 160px); padding-block: 10vh; }
.ritual-step { display: grid; gap: 14px; }
.ritual-step .knum { font-family: var(--font-display); font-size: clamp(52px, 6.5vw, 96px); font-weight: 320; line-height: 1; color: var(--primary); }
.ritual-step:nth-child(2) .knum { color: var(--accent-jade); }
.ritual-step:nth-child(3) .knum { color: var(--accent-rosa); }
.ritual-step h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 420; }
.ritual-step p { color: var(--muted); max-width: 42ch; }

/* ============================================================
   CORTINA B3 → LOCAL
   ============================================================ */
.cortina-zone { height: 200vh; position: relative; }
.cortina-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: clip; }
.cortina-under { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg); text-align: center; }
.cortina-under .display { font-size: clamp(44px, 7vw, 110px); }
.cortina-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--surface); z-index: 2; display: grid; place-items: center; }
.cortina-panel.top { top: 0; border-bottom: 1px solid var(--border); }
.cortina-panel.bottom { bottom: 0; border-top: 1px solid var(--border); }
.cortina-panel .eyebrow { opacity: .9; }

/* LOCAL — bento */
.local { background: var(--bg); }
.local-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 56px; }
.local-cell { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.local-photo { grid-column: span 7; grid-row: span 2; position: relative; min-height: 480px; }
.local-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.local-photo .cap { position: absolute; left: 18px; bottom: 18px; background: rgba(13, 10, 5, .6); backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 232, 216, .13); border-radius: 999px; padding: 9px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.review { grid-column: span 5; padding: 28px; display: grid; gap: 14px; align-content: start; }
.review .stars { display: flex; gap: 3px; color: var(--primary); }
.review .stars svg { width: 15px; height: 15px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 24px); font-weight: 380; line-height: 1.3; }
.review .who { color: var(--muted); font-size: 13.5px; }
.hours-cell { grid-column: span 5; padding: 28px; display: grid; gap: 10px; align-content: start; }
.hours-cell table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-cell td { padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.hours-cell td:last-child { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.hours-cell tr:last-child td { border-bottom: 0; }
.hours-cell .today td { color: var(--primary); font-weight: 600; }

/* ============================================================
   CTA FINAL + FOOTER
   ============================================================ */
.cta-final { background: var(--bg); text-align: center; }
.cta-final .display { font-size: clamp(52px, 9vw, 140px); }
.cta-final .addr { color: var(--muted); margin-top: 18px; font-size: clamp(15px, 1.2vw, 18px); }
.cta-final .btn { margin-top: 40px; }

.footer { border-top: 1px solid var(--border); background: #100c06; padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer a { color: var(--muted); display: block; padding: 5px 0; font-size: 15px; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer .brand { font-family: var(--font-display); font-size: 30px; }
.footer .claim { color: var(--muted); font-size: 14.5px; max-width: 30ch; margin-top: 10px; }
.footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #6d6252; font-size: 12.5px; }

/* ============================================================
   SUBPÁGINAS
   ============================================================ */
.page-head { padding: 170px 0 70px; position: relative; overflow: clip; }
.page-head.with-media { min-height: 62vh; display: grid; align-items: end; }
.page-head .bgimg { position: absolute; inset: 0; z-index: 0; }
.page-head .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-head .bgimg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 6%, transparent 60%), linear-gradient(to bottom, rgba(20,16,9,.75), transparent 40%); }
.page-head .container { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: start; }
.page-head .display { font-size: clamp(52px, 9vw, 150px); }

/* MENÚ */
.menu-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.menu-rail { position: sticky; top: 110px; display: grid; gap: 6px; }
.menu-rail a { padding: 10px 16px; border-radius: 999px; color: var(--muted); font-size: 15px; border: 1px solid transparent; transition: all .25s var(--ease-smooth); }
.menu-rail a:hover { color: var(--text); }
.menu-rail a.active { color: var(--text); border-color: var(--border); background: var(--surface); }
.menu-rail .rail-video { margin-top: 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 9/14; }
.menu-rail .rail-video video { width: 100%; height: 100%; object-fit: cover; }
.menu-cat { padding-block: 34px; }
.menu-cat + .menu-cat { border-top: 1px solid var(--border); }
.menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.menu-cat-head h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 380; }
.menu-cat-head .note { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 16px 0; }
.menu-item + .menu-item { border-top: 1px dashed var(--border); }
.menu-item .n { font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-item .d { grid-column: 1; color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.menu-item .p { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 20px; color: var(--primary); align-self: start; }
.menu-item.has-photo { grid-template-columns: 72px 1fr auto; align-items: center; }
.menu-item.has-photo .thumb { grid-row: 1 / 3; border-radius: 12px; overflow: hidden; width: 72px; aspect-ratio: 1/1; border: 1px solid var(--border); }
.menu-item.has-photo .thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item.has-photo .d { grid-column: 2; }
.menu-item.has-photo .n, .menu-item.has-photo .p { grid-column: 2; }
.menu-item.has-photo .p { grid-column: 3; grid-row: 1; }
.badge { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--primary-deep); color: var(--primary); font-weight: 600; }
.badge.finca { border-color: #56683f; color: #9db07e; }

/* ORIGEN */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split .ph { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.split .ph img { aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.proceso-track-zone { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100dvh; }
.proceso-track { display: flex; gap: 18px; will-change: transform; }
.proceso-panel {
  flex: 0 0 min(430px, 78vw); background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 30px; display: grid; gap: 16px; align-content: start; min-height: 360px;
}
.proceso-panel .knum { font-family: var(--font-display); font-size: 60px; color: var(--primary); line-height: 1; font-weight: 320; }
.proceso-panel:nth-child(3n+2) .knum { color: var(--accent-jade); }
.proceso-panel:nth-child(3n+3) .knum { color: var(--accent-rosa); }
.proceso-panel h3 { font-family: var(--font-display); font-size: 26px; font-weight: 420; }
.proceso-panel p { color: var(--muted); font-size: 15px; }
.proceso-panel .ph { border-radius: 14px; overflow: hidden; margin-top: auto; }
.proceso-panel .ph img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; display: grid; gap: 8px; }
.spec-card .num { font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 64px); color: var(--text); font-weight: 340; line-height: 1; }
.spec-card .num sup { font-size: .42em; color: var(--primary); }
.spec-card:nth-child(2) .num sup { color: var(--accent-jade); }
.spec-card:nth-child(3) .num sup { color: var(--accent-rosa); }
.spec-card .lbl { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.scrub-mini { position: relative; height: 100vh; height: 100dvh; overflow: clip; border-block: 1px solid var(--border); background: #0d0a05; }
.scrub-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-fade { position: absolute; inset: 0; background: var(--surface); pointer-events: none; z-index: 1; }
.scrub-mini .overlay { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter);
  background: radial-gradient(100% 80% at 50% 50%, transparent 46%, rgba(13, 10, 5, .68) 100%); }
.scrub-mini .overlay .h2 { max-width: 14ch; }

/* VISITA */
.visita-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-stack { display: grid; gap: 18px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; display: grid; gap: 12px; }
.info-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 420; }
.info-card p, .info-card td { color: var(--muted); }
.mapa { border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.mapa svg { display: block; width: 100%; height: auto; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: clamp(26px, 3vw, 44px); display: grid; gap: 20px; }
.form-card h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); font-weight: 400; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  background: #191309; border: 1px solid var(--border); border-radius: 14px;
  color: var(--text); padding: 14px 16px; min-height: 50px; width: 100%;
  transition: border-color .25s var(--ease-smooth);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--primary); }
.field.invalid input, .field.invalid select { border-color: #c0523a; }
.field .err { color: #e08a76; font-size: 13px; display: none; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-ok { display: none; text-align: center; padding: 34px 10px; }
.form-ok.show { display: grid; gap: 14px; justify-items: center; }
.form-ok .code { font-family: var(--font-display); font-size: 40px; color: var(--primary); }
.wa-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .carta-grid { grid-template-columns: repeat(2, 1fr); }
  .local-photo { grid-column: span 12; min-height: 380px; }
  .review, .hours-cell { grid-column: span 6; }
}
@media (max-width: 860px) {
  .nav { padding: 8px 8px 8px 18px; top: 12px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .origen-inner, .split, .visita-grid, .ritual-grid { grid-template-columns: 1fr; }
  .ritual-media { position: relative; top: 0; height: 54vh; }
  .ritual-steps { padding-block: 6vh; gap: 64px; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-rail { position: sticky; top: 74px; z-index: 50; grid-auto-flow: column; overflow-x: auto; background: rgba(20, 16, 9, .88); backdrop-filter: blur(12px); padding: 10px 6px; border-radius: 999px; border: 1px solid var(--border); scrollbar-width: none; }
  .menu-rail::-webkit-scrollbar { display: none; }
  .menu-rail a { white-space: nowrap; }
  .menu-rail .rail-video { display: none; }
  .origen-stats { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .review, .hours-cell { grid-column: span 12; }
}
@media (max-width: 560px) {
  .carta-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(64px, 21vw, 110px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
