/* =========================================================
   Casaamigos Playa — estilos del sitio
   Paleta tomada de la carta y el logo: azul petróleo, ocre y crema.
   ========================================================= */

@font-face { font-family: "League Spartan"; src: url("../fonts/league-spartan.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url("../fonts/yellowtail.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --cream: #FAF5ED;
  --sand: #F4E6D1;
  --sand-2: #EAD3B2;
  --teal: #005E63;
  --teal-700: #0A4C50;
  --teal-900: #063235;
  --ochre: #C06B15;
  --ochre-700: #95510D;   /* ocre accesible para texto pequeño sobre crema */
  --ink: #1D2A2C;
  --muted: #56615F;
  --line: rgba(0, 94, 99, .16);
  --on-dark: #F6EEE2;
  --on-dark-muted: rgba(246, 238, 226, .74);

  --font-display: "League Spartan", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 90px;
  --shadow: 0 18px 40px -22px rgba(6, 50, 53, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--wave { width: 2.4em; height: .7em; }

/* ---------- Tipografía ---------- */
.h2, .h3, .hero__claim, .ambiente__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.02;
  color: var(--teal);
  margin: 0 0 .5em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
.h3 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
/* Acento manuscrito (como el "Playa" del logo y los posts de Instagram) */
.h2 em, .h3 em, .hero__claim em, .ambiente__title em, .script {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--ochre);
  letter-spacing: 0;
}
.h2 em, .hero__claim em, .ambiente__title em { font-size: 1.08em; line-height: .8; padding-inline: .04em; }
.h2 em, .h3 em, .hero__claim em, .ambiente__title em { text-transform: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .8rem/1.2 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ochre-700);
  margin: 0 0 1rem;
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.45em;
  border: 2px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--teal); --btn-bd: var(--teal); }
.btn--primary:hover { --btn-bg: var(--teal-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--teal); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal); --btn-bd: var(--teal); }
.btn--outline:hover { --btn-bg: var(--teal); --btn-fg: #fff; }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--teal-900); --btn-bd: var(--cream); }
.btn--light:hover { --btn-bg: #fff; }
.btn--sm { min-height: 42px; padding: .6em 1.15em; font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 2px solid var(--sand-2); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ochre); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 237, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(6, 50, 53, .5); }
.site-header__bar { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: block; margin-right: auto; }
.brand img { width: 100px; height: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--teal-900); padding: .4em 0; background: linear-gradient(var(--ochre), var(--ochre)) left bottom / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.nav__mobile-extra { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: var(--teal); padding: 0; align-items: center; justify-content: center; border-radius: 50%; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--cream);
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { display: block; font: 700 2.1rem/1.25 var(--font-display); color: var(--teal); background: none; }
  .nav__mobile-extra { display: grid; gap: 1rem; color: var(--muted); font-size: .95rem; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 900px) { :root { --header-h: 116px; } .brand img { width: 122px; } }

/* ---------- Decoración (ilustraciones de la carta usadas como máscara) ---------- */
.deco {
  position: absolute; pointer-events: none; z-index: 0;
  background-color: var(--teal);
  -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain;
  opacity: .09;
}
.deco--lobster { --m: url("../deco/lobster.webp"); width: clamp(260px, 42vw, 620px); aspect-ratio: 720 / 518; top: -2%; left: -7%; }
.deco--paella  { --m: url("../deco/paella.webp");  width: clamp(240px, 34vw, 500px); aspect-ratio: 720 / 562; top: 2rem; right: -6%; }
.deco--tuna    { --m: url("../deco/tuna.webp");    width: clamp(280px, 44vw, 640px); aspect-ratio: 720 / 292; bottom: 3rem; left: -8%; }
.deco--shrimp  { --m: url("../deco/shrimp.webp");  width: clamp(160px, 22vw, 300px); aspect-ratio: 596 / 720; }
.deco--salmon  { --m: url("../deco/salmon.webp");  width: clamp(200px, 26vw, 360px); aspect-ratio: 650 / 720; }
.deco--salad   { --m: url("../deco/salad.webp");   width: clamp(200px, 26vw, 340px); aspect-ratio: 646 / 720; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); isolation: isolate; }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); position: relative; z-index: 1; }
.section-head__lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; margin: 0; }
.section-head--center { text-align: center; }
.section-head--center .section-head__lead { margin-inline: auto; }
.section-head--center .eyebrow { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(1rem, .5rem + 1.5vw, 1.75rem) clamp(3.5rem, 2rem + 5vw, 6rem); isolation: isolate; }
.hero::after { /* azulejo de corazones de la carta, muy sutil */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-color: var(--teal); opacity: .06;
  -webkit-mask: url("../deco/tile-heart.svg") 0 0 / 150px auto repeat, radial-gradient(ellipse 45% 60% at 78% 62%, #000 30%, transparent 100%) no-repeat;
  -webkit-mask-composite: source-in;
  mask: url("../deco/tile-heart.svg") 0 0 / 150px auto repeat, radial-gradient(ellipse 45% 60% at 78% 62%, #000 30%, transparent 100%) no-repeat;
  mask-composite: intersect;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero__title { margin: 0 0 1.4rem; }
.hero__claim { display: block; font-size: clamp(2.9rem, 1.6rem + 6.4vw, 6rem); line-height: .94; margin: 0; text-transform: uppercase; }
.hero__claim em { text-transform: none; font-size: 1.12em; display: inline-block; transform: rotate(-4deg) translateY(.06em); }
.hero__sub { display: block; margin-top: 1.1rem; font: 600 clamp(1.02rem, .95rem + .35vw, 1.2rem)/1.35 var(--font-body); color: var(--teal-900); letter-spacing: .01em; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .95rem; color: var(--muted); }
.hero__meta li, .hero__meta a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.hero__meta strong { color: var(--ink); }
.hero__meta [data-open-status].is-open .icon { color: #2E7D4F; }
.stars { display: inline-flex; gap: 1px; color: #E9A23B; }
.stars .icon { width: 1em; height: 1em; }
.stars--lg .icon { width: .55em; height: .55em; }

.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; aspect-ratio: 9 / 13.5; border-radius: 999px 999px 22px 22px; overflow: hidden;
  background: var(--sand) url("../video/hero-poster.webp") center / cover;
  box-shadow: 0 30px 60px -30px rgba(6, 50, 53, .55);
}
.hero__media::before { /* contorno de arco desplazado, como las ventanas del local */
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--ochre); border-radius: 999px 999px 26px 26px; opacity: .55; z-index: -1;
}
.arch__video, .reel__video { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -1.2rem; bottom: 2.2rem; margin: 0;
  background: var(--cream); color: var(--teal-900); padding: .65rem 1.1rem .7rem; border-radius: 14px;
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); max-width: 18rem; line-height: 1.25;
}
.hero__badge .script { font-size: 1.6rem; display: block; line-height: .9; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(6, 50, 53, .55); color: #fff; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon--play { display: none; }
.video-toggle.is-paused .icon--play { display: block; }
.video-toggle.is-paused .icon--pause { display: none; }

@media (min-width: 900px) {
  .hero { padding-top: 2.25rem; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: start; }
  .hero__copy { padding-top: 0; }
  .hero__media { justify-self: end; }
}

/* ---------- La casa ---------- */
.casa__grid { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 5rem); align-items: center; }
.casa__photos { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; }
.casa__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.casa__p1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.casa__p2, .casa__p3 { aspect-ratio: 4 / 5; }
.casa__p2 img { border-radius: 999px 999px var(--radius) var(--radius); }
.casa__copy p { color: var(--muted); max-width: 52ch; }
.facts { display: grid; gap: 1px; margin-top: 2rem; background: var(--line); border-block: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1rem 0; background: var(--cream); align-items: baseline; }
.facts strong { font: 700 1.15rem/1.1 var(--font-display); color: var(--teal); text-transform: uppercase; letter-spacing: .02em; }
.facts span { color: var(--muted); font-size: .98rem; }
@media (min-width: 900px) {
  .casa__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .casa__p1 { aspect-ratio: 16 / 11; }
}

/* ---------- Desayunos ---------- */
.desayunos { background: var(--sand); padding-top: calc(clamp(4.5rem, 3rem + 6vw, 8rem) + 30px); }
.tile-band { position: absolute; left: 0; right: 0; top: 0; height: 56px; z-index: -1; }
.tile-band--flower { background: url("../deco/tile-flower.svg") 0 0 / 56px 56px repeat-x; opacity: .32; }
.breakfast { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.breakfast figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.breakfast img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .8s var(--ease); }
.breakfast figure:hover img { transform: scale(1.04); }
.breakfast__main { grid-column: 1 / -1; }
.breakfast__main img { aspect-ratio: 3 / 2; }
.breakfast figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  background: rgba(250, 245, 237, .94); color: var(--teal-900); border-radius: 10px; padding: .45rem .7rem;
  font-weight: 600; font-size: .88rem; line-height: 1.2;
}
.breakfast__foot { display: grid; gap: 2rem; margin-top: 2.2rem; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--sand-2); background: var(--cream); border-radius: 999px; padding: .45rem .95rem; font-size: .93rem; color: var(--teal-900); }
.quote-mini { margin: 0; padding-left: 1.2rem; border-left: 3px solid var(--ochre); }
.quote-mini p { font: italic 400 1.12rem/1.5 var(--font-body); color: var(--ink); margin-bottom: .4rem; }
.quote-mini cite { font-style: normal; font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) {
  .breakfast { grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; }
  .breakfast__main { grid-column: 1; grid-row: 1 / span 2; }
  .breakfast__main img { aspect-ratio: auto; height: 100%; }
  .breakfast img { aspect-ratio: 1 / 1; }
  .breakfast__foot { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
}

/* ---------- Carta destacada ---------- */
.carta-home { overflow: hidden; }
.dishes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-bottom: 2.8rem; position: relative; z-index: 1; }
.dish { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish__img { aspect-ratio: 4 / 3.4; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; }
.dish__body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.dish__name { font: 700 1.2rem/1.1 var(--font-display); color: var(--teal); margin: 0 0 .4rem; }
.dish__desc { font-size: .93rem; color: var(--muted); margin: 0 0 .9rem; line-height: 1.45; }
.dish__price { margin: auto 0 0; font: 700 1.05rem/1 var(--font-display); color: var(--ochre-700); }
@media (max-width: 639px) {
  /* En móvil: carrusel horizontal con snap */
  .dishes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .dishes::-webkit-scrollbar { display: none; }
  .dish { scroll-snap-align: start; }
}

/* ---------- Ambiente ---------- */
.ambiente { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); background: var(--cream); border-top: 1px solid var(--line); }
.ambiente__head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.ambiente__title { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5rem); text-transform: uppercase; margin: 0; }
.ambiente__head p { color: var(--muted); max-width: 42ch; margin: 0; }
@media (min-width: 900px) { .ambiente__head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0 var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--sand-2) transparent;
  cursor: grab;
}
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { flex: none; height: clamp(300px, 46vw, 480px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }
.gallery img { height: 100%; width: auto; max-width: none; object-fit: cover; user-select: none; -webkit-user-drag: none; }
@media (min-width: 1400px) { .gallery { padding-left: calc((100vw - var(--wrap)) / 2); } }

/* ---------- Eventos ---------- */
.eventos { background: var(--teal-900); color: var(--on-dark); overflow: hidden; }
.eventos__tiles { position: absolute; inset: 0; z-index: -1; background-color: var(--cream); opacity: .045; -webkit-mask: url("../deco/tile-heart.svg") 0 0 / 190px auto repeat; mask: url("../deco/tile-heart.svg") 0 0 / 190px auto repeat; }
.eventos .h2, .eventos .h3 { color: var(--on-dark); }
.eventos .h2 em, .eventos .h3 em { color: #E59B4D; }
.eventos .eyebrow { color: #E9B27A; }
.eventos .section-head__lead { color: var(--on-dark-muted); }
.eventos__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .eventos__grid { grid-template-columns: 1.55fr 1fr; gap: clamp(3rem, 5vw, 5rem); } }

.events { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(246, 238, 226, .14); border-radius: var(--radius);
}
.event--featured { background: rgba(229, 155, 77, .12); border-color: rgba(229, 155, 77, .45); }
.event__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.event__date { display: none; }
.event__body { padding: 1.3rem 1.4rem 1.4rem; }
.event__cat { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #E9B27A; font-weight: 600; margin: 0 0 .45rem; }
.event__title { font: 700 1.55rem/1.08 var(--font-display); margin: 0 0 .55rem; color: var(--on-dark); }
.event__when { display: flex; align-items: center; gap: .45em; font-weight: 600; margin: 0 0 .7rem; color: var(--on-dark); }
.event__desc { color: var(--on-dark-muted); font-size: .98rem; margin: 0 0 1rem; }
.event__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.event__price { font-weight: 600; color: #E9B27A; }
@media (min-width: 640px) {
  .event { grid-template-columns: 220px 1fr; }
  .event__img img { aspect-ratio: auto; min-height: 100%; }
  .event__date {
    display: grid; place-content: center; text-align: center; background: rgba(229, 155, 77, .14); border-right: 1px solid rgba(246, 238, 226, .12);
  }
  .event__day { font: 700 3.6rem/1 var(--font-display); color: var(--on-dark); }
  .event__month { font: 600 .9rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #E9B27A; }
}
.event:not(:has(.event__img, .event__date)) { grid-template-columns: 1fr; }
.events-empty { border: 1px dashed rgba(246, 238, 226, .3); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1rem; justify-items: start; }
.events-empty p { margin: 0; color: var(--on-dark-muted); font-size: 1.08rem; }

.eventos__reel { position: relative; justify-self: center; width: min(100%, 360px); }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--teal-700) url("../video/eventos-poster.webp") center / cover; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.eventos__reel::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(229, 155, 77, .5); border-radius: 32px; z-index: -1; }
@media (min-width: 900px) { .eventos__reel { position: sticky; top: calc(var(--header-h) + 2rem); } }

.private { display: grid; gap: 2rem; margin-top: clamp(4rem, 3rem + 4vw, 6rem); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid rgba(246, 238, 226, .16); align-items: center; }
.private__photos { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 12px; }
.private__photos figure:first-child { grid-row: 1 / span 2; }
.private__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.private__copy p { color: var(--on-dark-muted); max-width: 48ch; }
@media (min-width: 900px) { .private { grid-template-columns: 1.1fr 1fr; gap: 4rem; } .private__photos { aspect-ratio: 16 / 11; } }
@media (max-width: 899px) { .private__photos { aspect-ratio: 4 / 3.4; } }

/* ---------- Reseñas ---------- */
.resenas .h2 { display: inline-flex; align-items: center; gap: .3em; }
.rating-big { font-size: 1.5em; line-height: .9; }
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-bottom: 2.5rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; box-shadow: 0 1px 0 var(--line); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.review__by { margin: 0; font-size: .9rem; color: var(--muted); }
.review__by strong { color: var(--teal); }
@media (min-width: 1100px) {
  .reviews { grid-template-columns: repeat(6, 1fr); }
  .review { grid-column: span 2; }
  .review:nth-child(4) { grid-column: 2 / span 2; }
}

/* ---------- Visítanos ---------- */
.visitanos { background: var(--sand); }
.visitanos__grid { display: grid; gap: 2.5rem; align-items: stretch; }
@media (min-width: 900px) { .visitanos__grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }
.visitanos__addr { font-size: 1.12rem; margin-bottom: 1.6rem; }
.visitanos__addr strong { font-family: var(--font-display); color: var(--teal); font-size: 1.3rem; }
.hours { display: grid; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); }
.hours li.is-today { font-weight: 700; color: var(--teal); }
.hours li.is-today span:first-child::after { content: " · hoy"; color: var(--ochre-700); font-weight: 600; }
.visitanos__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.map { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.map__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 50, 53, .55), transparent 55%); pointer-events: none; }
.map__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.map__btn:hover { transform: translate(-50%, calc(-50% - 2px)); }
.map__note { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-size: .82rem; z-index: 2; margin: 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Pie ---------- */
.site-footer { position: relative; background: var(--teal-900); color: var(--on-dark-muted); padding-top: 4.5rem; overflow: hidden; isolation: isolate; font-size: .98rem; }
.site-footer__tiles { position: absolute; left: 0; right: 0; top: 0; height: 48px; z-index: -1; background: url("../deco/tile-flower.svg") 0 0 / 48px 48px repeat-x; opacity: .18; filter: brightness(2.2) saturate(.6); }
.site-footer__grid { display: grid; gap: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 3rem; }
.site-footer__brand img { width: 150px; margin-bottom: .6rem; }
.site-footer__brand .script { font-size: 1.5rem; color: #E59B4D; line-height: 1.1; }
.site-footer__h { font: 700 1rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin: .4rem 0 1rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { margin-bottom: .8rem; line-height: 1.7; }
.site-footer .link-arrow { color: var(--on-dark); border-color: rgba(246, 238, 226, .25); }
.hours--compact { border: 0; margin: 0; }
.hours--compact li { border: 0; padding: .2rem 0; justify-content: flex-start; gap: .8rem; }
.hours--compact li span:first-child { min-width: 9.5rem; }
.site-footer__links { display: grid; gap: .6rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: .55em; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.4rem; border-top: 1px solid rgba(246, 238, 226, .14); font-size: .86rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; gap: 1.4rem; }

/* ---------- Barra de acciones (móvil) ---------- */
.action-bar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--teal-900); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35);
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; color: var(--on-dark); text-decoration: none; font-size: .78rem; font-weight: 600; }
  .action-bar a + a { border-left: 1px solid rgba(246, 238, 226, .12); }
  .action-bar .icon { width: 22px; height: 22px; }
  .action-bar a:nth-child(2) .icon { color: #5FD48A; }
}

/* ---------- Página Carta ---------- */
.carta-page { position: relative; overflow: hidden; isolation: isolate; }
.carta-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2rem; position: relative; }
.carta-hero .h2 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); text-transform: uppercase; }
.carta-hero p { color: var(--muted); max-width: 52ch; }
.carta-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(250, 245, 237, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.carta-nav ul { display: flex; gap: .4rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.carta-nav ul::-webkit-scrollbar { display: none; }
.carta-nav a { display: block; white-space: nowrap; padding: .45rem .95rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--teal-900); border: 1px solid var(--line); background: var(--cream); }
.carta-nav a:hover, .carta-nav a.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.carta-body { padding-block: 3rem 6rem; position: relative; }
.carta-body .deco { opacity: .07; }
.menu-sec { position: relative; z-index: 1; padding-block: 2.6rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: .4rem; }
.menu-sec__title { font: 700 clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem)/1 var(--font-display); color: var(--teal); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.menu-sec__en { font-family: var(--font-script); color: var(--ochre); font-size: 1.5rem; }
.menu-sec__note { color: var(--muted); font-size: .95rem; margin: 0 0 1.2rem; }
.menu-sec__photo { border-radius: var(--radius); overflow: hidden; margin: 1rem 0 1.6rem; }
.menu-sec__photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.menu-list { display: grid; gap: 0 3.5rem; }
@media (min-width: 900px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--sand-2); align-content: start; }
.menu-item__name { font-weight: 700; font-size: 1.06rem; color: var(--ink); margin: 0; }
.menu-item__price { font: 700 1.05rem/1.4 var(--font-display); color: var(--ochre-700); white-space: nowrap; }
.menu-item__en { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); font-style: italic; margin: 0; }
.menu-item__desc { grid-column: 1 / -1; font-size: .95rem; color: var(--muted); margin: .25rem 0 0; }
.wine-group { margin-bottom: 1.6rem; }
.wine-group h3 { font: 700 1.1rem/1.2 var(--font-display); color: var(--ochre-700); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .4rem; }
.wine-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.wine-table th { text-align: right; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .3rem 0 .3rem .8rem; }
.wine-table th:first-child { text-align: left; padding-left: 0; }
.wine-table td { padding: .55rem 0; border-bottom: 1px dashed var(--sand-2); vertical-align: top; }
.wine-table td + td { text-align: right; padding-left: .8rem; white-space: nowrap; font-family: var(--font-display); font-weight: 700; color: var(--ochre-700); }
.wine-table small { display: block; color: var(--muted); font-size: .85rem; }
.allergens { margin-top: 2.5rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--sand); font-size: .95rem; }

/* ---------- Páginas legales ---------- */
.legal { padding-block: 3.5rem 6rem; }
.legal .wrap { max-width: 860px; }
.legal h1 { font: 700 clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem)/1.05 var(--font-display); color: var(--teal); margin: 0 0 1.5rem; }
.legal h2 { font: 700 1.35rem/1.2 var(--font-display); color: var(--teal); margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal .todo { background: #FFF1D6; padding: 0 .3em; border-radius: 4px; }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
