/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #F5F1E6;
  --bg-2: #ECE6D5;
  --paper: #FFFDF7;
  --ink: #2D2D26;
  --ink-soft: #46453B;
  --ink-mute: #7B7869;
  --line: rgba(45, 45, 38, 0.14);
  --line-strong: rgba(45, 45, 38, 0.28);

  --green: #3C4A35;
  --green-soft: #56684C;
  --leather: #A8683F;
  --leather-soft: #C08657;

  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.005em; font-family: var(--serif); font-weight: 500; }
em { font-style: italic; color: var(--green); }
ul { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--bg); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px) { .container { padding-inline: 2.5rem; } }
.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; }
.kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); font-weight: 500;
}
.kicker::before { content: "— "; }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p.lede { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.08rem; }
.section-head-note { margin-top: 1.5rem; font-size: .95rem; }
.section-head.is-center { max-width: 680px; margin-inline: auto; text-align: center; }

.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 5vw, 4rem); }
.has-grain { position: relative; }
.has-grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* Hidden-until-revealed state only applies once the early inline <script>
   in <head> confirms JS is running (adds .js to <html>) — with JS off or
   broken, [data-reveal] content stays visible with no animation. */
html.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
html.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography helpers
   ============================================================= */
.display-lg { font-size: clamp(2.4rem, 5vw, 4rem); font-style: italic; }
.eyebrow-mark { display: inline-flex; width: 44px; height: 44px; margin-bottom: 1.2rem; color: var(--ink); }
.eyebrow-mark svg { width: 100%; height: 100%; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.8rem; border-radius: 2px;
  font-family: var(--mono); font-weight: 500; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 4px 14px rgba(45,45,38,0.18); }
.btn-primary:hover { background: var(--green); box-shadow: 0 20px 40px rgba(60,74,53,0.28); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(45,45,38,0.04); }
.btn-invert { background: var(--bg); color: var(--ink); }
.btn-invert:hover { background: var(--paper); }
.btn-block { width: 100%; justify-content: center; }

.nav-link {
  position: relative; padding: .3rem 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .3s;
}
.card:hover { transition-duration: .15s; border-color: var(--line-strong); box-shadow: 0 40px 80px -30px rgba(45,45,38,0.28); }
.card-img { aspect-ratio: 4/5; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft), filter .55s; }
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 1.5rem 1.5rem 1.7rem; }
.card-body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card-body p { color: var(--ink-mute); font-size: .92rem; }

.pill {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px;
  border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h); display: flex; align-items: center;
  color: var(--bg);
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s, color .4s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,14,0.55) 0%, rgba(20,18,14,0.16) 80%, transparent 100%);
  opacity: 1; transition: opacity .4s var(--ease-out);
}
.nav.is-scrolled {
  color: var(--ink);
  background: rgba(245, 241, 230, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-scrolled::before { opacity: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.nav-brand { display: flex; align-items: center; flex-shrink: 1; min-width: 0; position: relative; }
.nav-brand svg, .nav-brand img { height: 18px; width: auto; max-width: 100%; display: block; }
.nav-brand .logo-oscuro { display: none; }
.nav.is-scrolled .nav-brand .logo-crema { display: none; }
.nav.is-scrolled .nav-brand .logo-oscuro { display: block; }
@media (min-width: 400px) { .nav-brand svg, .nav-brand img { height: 22px; } }
@media (min-width: 540px) { .nav-brand svg, .nav-brand img { height: 26px; } }
@media (max-width: 479px) { .nav-actions .btn-primary { display: none; } }
.nav-links { display: none; align-items: center; gap: 1.6rem; }
@media (min-width: 1200px) { .nav-links { display: flex; } }
@media (min-width: 1280px) { .nav-links { gap: 2.2rem; } }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-actions .btn { padding: .68rem 1.25rem; font-size: .74rem; }
.nav-actions .btn-ghost { display: none; color: inherit; border-color: currentColor; }
@media (min-width: 720px) { .nav-actions .btn-ghost { display: inline-flex; } }
.nav-actions .btn-primary { background: var(--ink); color: var(--bg); }

.nav-burger { display: grid; place-items: center; width: 42px; height: 42px; }
@media (min-width: 1200px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger.is-open span { background: transparent; }
.nav-burger.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
  padding: 2rem;
  overflow-y: auto;
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile > a:not(.btn) {
  display: block; width: 100%;
  font-family: var(--mono); font-size: 1rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-style: normal;
  padding-block: 1.15rem;
  border-bottom: 1px solid rgba(245,241,230,0.16);
}
.nav-mobile > a:first-child { border-top: 1px solid rgba(245,241,230,0.16); }
.nav-mobile > a.is-active { color: var(--leather-soft); }
.nav-mobile .btn { margin-top: 1.75rem; padding: .8rem 1.6rem; font-size: .76rem; }
.nav-mobile .btn-invert { background: var(--bg); color: var(--ink); }

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; align-items: center; gap: .5rem; }
.lang-switch a {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase;
  color: inherit; opacity: .6; transition: opacity .2s;
}
.lang-switch a:hover, .lang-switch a:focus-visible { opacity: .9; }
.lang-switch a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.lang-switch .sep { opacity: .35; font-family: var(--mono); font-size: .7rem; }
.nav-actions .lang-switch { margin-right: .3rem; }
@media (max-width: 719px) { .nav-actions .lang-switch { display: none; } }
.nav-mobile .lang-switch {
  margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(245,241,230,0.16);
  width: 100%; justify-content: flex-start; gap: .8rem;
}
.nav-mobile .lang-switch a { font-size: .78rem; opacity: .65; }
.nav-mobile .lang-switch a.is-active { opacity: 1; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-top: var(--nav-h); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(45,45,38,0.15) 0%, rgba(45,45,38,0.18) 40%, rgba(45,45,38,0.85) 100%),
    linear-gradient(90deg, rgba(45,45,38,0.55) 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 3rem clamp(3rem, 8vw, 6rem); width: 100%; color: var(--bg); }
.hero-meta { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1.5rem; color: var(--bg); }
.hero-meta .place { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.hero-meta .region { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-style: italic; max-width: 17ch; }
.hero-sub { margin-top: 1.4rem; max-width: 44ch; opacity: .92; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-actions .btn-primary { background: var(--bg); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
.hero-actions .btn-primary:hover { background: var(--paper); }
.hero-actions .btn-ghost { border-color: rgba(245,241,230,0.55); color: var(--bg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(20,18,14,0.15); }
.hero-actions .btn-ghost:hover { border-color: var(--bg); background: rgba(245,241,230,0.12); }
.hero-scroll-cue {
  position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: 2.4rem; z-index: 2;
  writing-mode: vertical-rl; display: none; align-items: center; gap: .8rem;
  color: var(--bg); opacity: .75; font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
}
@media (min-width: 720px) { .hero-scroll-cue { display: flex; } }
.hero-scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(rgba(245,241,230,.7), transparent); }

/* =============================================================
   8. Concept section
   ============================================================= */
.concept-figure { overflow: hidden; aspect-ratio: 16/9; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.concept-figure img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.pillar .pillar-num { font-family: var(--mono); color: var(--green); font-size: .85rem; letter-spacing: .05em; }
.pillar h3 { margin-top: .6rem; font-size: 1.45rem; }
.pillar p { margin-top: .6rem; color: var(--ink-mute); font-size: .95rem; }

.concept-collage { display: grid; gap: .9rem; grid-template-columns: 1fr; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 720px) {
  .concept-collage { grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2, 240px); }
  .concept-collage .collage-item.is-large { grid-row: span 2; }
}
.concept-collage .collage-item { overflow: hidden; aspect-ratio: 4/3; }
@media (min-width: 720px) { .concept-collage .collage-item { aspect-ratio: auto; height: 100%; } }
.concept-collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-soft); }
.concept-collage .collage-item:hover img { transform: scale(1.05); }

.product-feature { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .product-feature { grid-template-columns: .9fr 1.1fr; gap: 3rem; } }
.product-feature-img { aspect-ratio: 4/5; overflow: hidden; }
.product-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.product-feature h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-style: italic; margin-top: .6rem; }
.product-feature p { margin-top: 1rem; color: var(--ink-soft); max-width: 52ch; }

/* =============================================================
   9. Zones (salón interior / terraza)
   ============================================================= */
.zones-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .zones-grid { grid-template-columns: 1fr 1fr; } }
.zone-card { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; isolation: isolate; }
.zone-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-soft); }
.zone-card:hover img { transform: scale(1.06); }
.zone-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(45,45,38,0.02) 30%, rgba(45,45,38,0.88) 100%); }
.zone-card-body { padding: clamp(1.6rem, 3vw, 2.4rem); color: var(--bg); }
.zone-card .kicker { color: var(--bg); opacity: .85; }
.zone-card .kicker::before { content: none; }
.zone-card h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-style: italic; margin-top: .5rem; }
.zone-card p { margin-top: .7rem; opacity: .92; max-width: 42ch; }

/* =============================================================
   10. Menu / carta (mono ticket style)
   ============================================================= */
.menu-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.menu-tab {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); transition: all .3s var(--ease-out);
}
.menu-tab.is-active, .menu-tab:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.menu-aside-note { margin: -1.6rem 0 2.4rem; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.05rem; }
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }
.menu-panel.is-active + .menu-panel.is-active { margin-top: 3rem; }
.menu-panel-title { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); margin-bottom: .8rem; }
.wine-category-title { font-weight: 700; }
.menu-list { display: grid; gap: 0; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.menu-item--no-border { border-bottom: 0; padding-bottom: .6rem; }
.menu-item-info { flex: 1 1 auto; min-width: 0; }
.menu-item-name { font-family: var(--mono); font-weight: 600; font-size: 1rem; letter-spacing: .01em; }
.menu-item-desc { color: var(--ink-mute); font-size: .88rem; margin-top: .3rem; font-family: var(--sans); }
.menu-item-prices { flex: 0 0 auto; text-align: right; }
.menu-item-price-line { font-family: var(--mono); font-weight: 500; color: var(--green); font-size: .92rem; white-space: nowrap; }
.menu-item-price-line + .menu-item-price-line { margin-top: .3rem; }
.price-label { font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: .66rem; color: var(--ink-mute); margin-right: .4rem; }
.menu-item-price-line .price-unit { color: var(--ink-mute); font-weight: 400; }
.menu-item-hint { margin-top: .35rem; font-family: var(--sans); font-style: italic; font-size: .74rem; color: var(--ink-mute); }
.menu-item-sides { margin: -.2rem 0 1.05rem; padding: .9rem 1.1rem; border-left: 2px solid var(--line-strong); background: var(--bg-2); }
.menu-item-sides-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .5rem; }
.menu-item-sides-list { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 480px) {
  .menu-item { gap: .75rem; }
}
.menu-note {
  margin-top: 1.6rem; padding: 1rem 1.25rem;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink-mute); font-size: .82rem; font-family: var(--mono);
}
.menu-download { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* =============================================================
   11. Wine list
   ============================================================= */
.wine-list { display: grid; gap: 0; }
.wine-item { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.wine-item-name { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.wine-item-origin { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--green); margin-top: .35rem; }
.wine-item-producer { font-size: .88rem; color: var(--ink-mute); margin-top: .2rem; }
.wine-item-prices { text-align: right; align-self: start; margin-top: .2rem; }
.wine-item-price-line { font-family: var(--mono); font-weight: 500; color: var(--ink); font-size: .92rem; white-space: nowrap; }
.wine-item-price-line + .wine-item-price-line { margin-top: .3rem; }
@media (max-width: 480px) {
  .wine-item { grid-template-columns: 1fr; }
  .wine-item-prices { text-align: left; margin-top: .5rem; }
}

/* =============================================================
   13. Split panels (eventos / experiencia teasers)
   ============================================================= */
.split-panels { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split-panels { grid-template-columns: 1fr 1fr; } }
.split-panel { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; }
.split-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease-soft); }
.split-panel:hover img { transform: scale(1.06); }
.split-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(45,45,38,0.05) 20%, rgba(45,45,38,0.9) 100%); }
.split-panel-body { padding: clamp(1.6rem, 3vw, 2.4rem); color: var(--bg); }
.split-panel .kicker { color: var(--bg); opacity: .85; }
.split-panel .kicker::before { content: none; }
.split-panel h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-style: italic; margin-top: .5rem; }
.split-panel p { margin-top: .7rem; opacity: .92; max-width: 40ch; }
.split-panel .btn { margin-top: 1.3rem; }

/* =============================================================
   14. Testimonials
   ============================================================= */
.testimonials-track { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .testimonials-track { grid-template-columns: repeat(3, 1fr); } }
.testimonial { border: 1px solid var(--line); padding: 1.8rem; background: var(--paper); }
.testimonial-quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); }
.testimonial-quote::before { content: "\201C"; color: var(--green); }
.testimonial-quote::after { content: "\201D"; color: var(--green); }
.testimonial-who { margin-top: 1.2rem; font-family: var(--mono); font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   15. Reservation / contact section (dark inverse band)
   ============================================================= */
.reserve-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .reserve-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.reserve-section { position: relative; background: var(--ink); color: var(--bg); }
.reserve-solo { max-width: 640px; margin-inline: auto; text-align: center; }
.reserve-section .kicker { color: var(--leather-soft); justify-content: center; }
.reserve-section em { color: var(--leather-soft); }
.reserve-card h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.reserve-card p.lede { margin-top: 1rem; opacity: .82; }
.reserve-card .btn { margin-top: 2rem; }
.reserve-card .btn-invert { background: var(--bg); color: var(--ink); }
.reserve-card .btn-ghost { border-color: rgba(245,241,230,0.3); color: var(--bg); }
.reserve-card .btn-ghost:hover { border-color: var(--bg); background: rgba(245,241,230,0.08); }
.reserve-alt-heading { margin-top: 2.5rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; font-weight: 500; color: var(--bg); }
.reserve-actions-row { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
.reserve-groups-link { margin-top: 1.75rem; font-size: .95rem; }
.reserve-iframe-wrap { position: relative; margin-top: 1.8rem; background: var(--paper); border-radius: 10px; overflow: hidden; text-align: left; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45); border: 1px solid rgba(245,241,230,0.14); }
.reserve-iframe-bar { height: 6px; background: linear-gradient(90deg, var(--green), var(--leather)); }
.reserve-iframe-wrap iframe { display: block; width: 100%; border: 0; min-height: 700px; }
.reserve-iframe-loading {
  position: absolute; inset: 6px 0 0 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: var(--ink-mute); background: var(--paper);
}
.reserve-iframe-wrap.is-loaded .reserve-iframe-loading { display: none; }
.reserve-direct-link { margin-top: 1rem; font-size: .85rem; text-align: center; opacity: .8; }
.reserve-direct-link a { text-decoration: underline; text-underline-offset: 3px; }
.social-row { display: flex; gap: .9rem; margin-top: .4rem; justify-content: center; }
.social-row a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(245,241,230,0.24); border-radius: 50%; transition: border-color .3s, transform .3s var(--ease-soft); }
.social-row a:hover { border-color: var(--bg); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }
.social-row-light { justify-content: flex-start; margin-top: .9rem; }
.social-row-light a { border-color: var(--line-strong); color: var(--ink-soft); }
.social-row-light a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-3px); }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--bg-2); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: .9rem; }
.footer-col p, .footer-col a { font-size: .92rem; color: var(--ink-soft); }
.footer-col p { line-height: 1.6; }
.footer-brand { display: flex; align-items: center; }
.footer-brand svg, .footer-brand img { height: 22px; width: auto; }
.footer-tagline { margin-top: 1rem; color: var(--ink-mute); font-size: .92rem; max-width: 26ch; }
.footer-links-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-links-col a { font-family: var(--mono); }
.footer-links-col a:hover { color: var(--ink); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(245,241,230,0.12); }
.hours-table td { padding: .45rem 0; font-size: .88rem; opacity: .88; font-family: var(--mono); }
.hours-table td:last-child { text-align: right; opacity: .7; }
.hours-table tr.is-closed td:last-child { color: var(--leather-soft); font-style: italic; opacity: 1; }
.hours-table-light td { color: var(--ink-soft); opacity: 1; }
.hours-table-light tr { border-bottom-color: var(--line); }
.hours-table-light tr.is-closed td:last-child { color: var(--leather); }
.map-embed { overflow: hidden; aspect-ratio: 16/10; border-radius: 4px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed-light { margin-top: 1rem; border: 1px solid var(--line-strong); filter: grayscale(0.3) contrast(0.97); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--ink-mute); font-family: var(--mono); font-size: .78rem; }

/* =============================================================
   17. Sticky mobile reserve bar
   ============================================================= */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; gap: .6rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(245,241,230,0.96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .4s var(--ease-out);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar .btn { flex: 1; }
/* Reserve room at the end of the page so the fixed bar never covers the footer's last links */
@media (max-width: 1023px) { .footer { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); } }

/* =============================================================
   18. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s, clip-path 1.1s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { width: 64px; height: 64px; color: var(--ink); animation: splashPulse 1.8s ease-in-out infinite; }
@keyframes splashPulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* =============================================================
   19. Simple pages (eventos / experiencia / vinos / carta) shared
   ============================================================= */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 5rem; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45,45,38,0.25), rgba(45,45,38,0.94)); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-style: italic; max-width: 20ch; color: var(--bg); }
.page-hero .kicker { color: var(--leather-soft); }
.page-hero p.lede { margin-top: 1.2rem; max-width: 52ch; color: var(--bg); opacity: .9; font-size: 1.1rem; }

.page-hero-light { background: var(--bg-2); padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 3.5rem; }
.page-hero-light h1 { color: var(--ink); }
.page-hero-light p.lede { color: var(--ink-soft); }
.page-hero-light .kicker { color: var(--green); }

.steps-list { display: grid; gap: 1.5rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 1px solid var(--line-strong); padding-top: 1.3rem; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); color: var(--green); font-size: 1.1rem; display: block; margin-bottom: .6rem; }

.package-card { border: 1px solid var(--line-strong); padding: 2rem; background: var(--paper); display: flex; flex-direction: column; height: 100%; }
.package-card.is-featured { border-color: var(--ink); box-shadow: 0 30px 70px -25px rgba(45,45,38,0.25); }
.package-card .price { font-family: var(--serif); font-style: italic; font-size: 2.4rem; margin-top: .6rem; }
.package-card .price small { font-family: var(--mono); font-style: normal; font-size: .8rem; color: var(--ink-mute); }
.package-card ul { margin-top: 1.2rem; display: grid; gap: .55rem; }
.package-card li { display: flex; gap: .6rem; font-size: .92rem; color: var(--ink-soft); }
.package-card li::before { content: "—"; color: var(--green); }
.package-card .btn { margin-top: auto; padding-top: 1.6rem; }
.packages-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }

.group-menu-sections { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .group-menu-sections { grid-template-columns: repeat(2, 1fr); } }
.group-menu-section h4 { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.group-menu-section .note { font-size: .8rem; color: var(--ink-mute); font-style: italic; margin-top: .2rem; }
.group-menu-section ul { margin-top: .8rem; display: grid; gap: .4rem; }
.group-menu-section li { font-family: var(--serif); font-size: 1.05rem; }

/* =============================================================
   20. Group / gift request form
   ============================================================= */
.form-card { padding: clamp(1.8rem, 4vw, 2.8rem); background: var(--paper); border: 1px solid var(--line-strong); }
.field { position: relative; margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 0;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: .95rem;
}
.field select { padding: .85rem .9rem .85rem .7rem; font-size: .8rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field-row { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.field-row-3 { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-help { margin-top: .9rem; font-size: .8rem; color: var(--ink-mute); line-height: 1.5; }
.gift-form { transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.gift-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; position: absolute; }
.gift-success {
  max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft), max-height .6s var(--ease-soft);
}
.gift-success.is-visible { max-height: 800px; opacity: 1; pointer-events: auto; transform: none; transition-delay: .2s; }
.submit-spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(245,241,230,0.35); border-top-color: currentColor; animation: spin .9s linear infinite; }
.is-sending .submit-spinner { display: inline-block; }
.is-sending .submit-label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   22. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .splash-mark { animation: none; }
}

/* =============================================================
   23. Language gateway ("/")
   ============================================================= */
.gateway { min-height: 100svh; display: grid; place-items: center; padding: 2rem; text-align: center; }
.gateway-logo { height: 30px; width: auto; margin-inline: auto; }
.gateway-note { margin-top: .9rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.gateway-links { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.gateway-links a {
  padding: .95rem 1.8rem; border: 1px solid var(--line-strong); border-radius: 2px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  transition: border-color .3s, background .3s;
}
.gateway-links a:hover, .gateway-links a:focus-visible { border-color: var(--ink); background: var(--paper); }
