/* ==========================================================================
   Casa Playa — stylesheet
   Light and warm: ivory paper, sand, dark ink and one terracotta accent taken
   from the sunset, with the deep ocean green as the single dark moment
   (ambiente, location map frame, footer). Editorial serif at large sizes,
   generous spacing, soft rounded photos and a quiet motion layer.
   ========================================================================== */

:root {
  --paper: #fbf8f2;
  --sand: #f3ecdf;
  --sand-dark: #e7dccb;
  --line: rgba(34, 27, 20, 0.12);
  --ink: #1e1a15;
  --ink-soft: #5c5144;
  --muted: #8b7f70;
  --ocean-deep: #17302c;
  --ocean: #3f665f;
  --ocean-light: #6b9089;
  --sunset: #b4572e;
  --sunset-dark: #8f4424;
  --gold: #c9a45c;
  --white: #fffdf9;
  /* legacy names still read by older rules */
  --wood: #8a6239;
  --straw: #c9a15a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 1px 2px rgba(30, 26, 21, 0.05), 0 18px 40px -22px rgba(30, 26, 21, 0.35);
  --shadow-lift: 0 2px 4px rgba(30, 26, 21, 0.05), 0 30px 60px -28px rgba(30, 26, 21, 0.45);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font: 400 16px/1.65 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine paper grain over everything, never in the way of clicks. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sunset); color: var(--white); }
:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 350;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 em, .hero-tagline em {
  font-style: italic;
  font-weight: 300;
  color: var(--sunset);
}
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Section eyebrows with an automatic index ----------
   Every visible home section counts itself, so the numbers follow the order
   and visibility chosen in the content panel. */
#cms-home { counter-reset: sec; }
#cms-home > section:not(.hero) { counter-increment: sec; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sunset-dark);
  margin-bottom: 22px;
}
#cms-home > section .section-eyebrow::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
#cms-home > section .section-eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  order: -1;
  margin: 0 -2px;
}
#cms-home > section .section-eyebrow::before { order: -2; }
.section-eyebrow.center { display: flex; justify-content: center; }
.center { text-align: center; }

.split-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 24px 64px;
  margin-bottom: 48px;
}
.split-head h2 { margin-bottom: 0; }
.split-head > p { margin: 0 0 8px; max-width: 34ch; justify-self: end; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.86rem; }
.btn-primary { background: var(--sunset); color: var(--white); box-shadow: 0 12px 26px -14px rgba(143, 68, 36, .8); }
.btn-primary:hover { background: var(--sunset-dark); }
/* A light sweep across filled buttons on hover. */
.btn-primary::after, .fab::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  translate: -130% 0;
  transition: translate .8s var(--ease);
}
.btn-primary:hover::after, .fab:hover::after { translate: 130% 0; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-glass {
  background: rgba(255, 253, 249, .14);
  border-color: rgba(255, 253, 249, .55);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 253, 249, .26); }

/* ---------- Intro (once per session, motion only) ---------- */
.intro { display: none; }
html.intro-on .intro {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--sand);
  pointer-events: none;
  animation: curtain 1s cubic-bezier(.76, 0, .24, 1) 1.35s forwards;
}
.intro-in { display: grid; justify-items: center; gap: 18px; animation: introOut .5s cubic-bezier(.6, 0, .4, 1) 1.2s forwards; }
.intro-logo { border-radius: 50%; animation: fadeUp .7s var(--ease) .05s backwards; }
.intro-word { font: 350 clamp(2.8rem, 9vw, 5.6rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); display: flex; gap: .25em; overflow: hidden; padding-bottom: .08em; }
.intro-word span { display: inline-block; animation: wordIn .9s cubic-bezier(.2, .8, .2, 1) backwards; }
.intro-word span:nth-child(1) { animation-delay: .15s; }
.intro-word span:nth-child(2) { animation-delay: .27s; font-style: italic; color: var(--sunset); }
.intro-line { width: 140px; height: 2px; background: var(--sunset); transform-origin: left; animation: lineIn .7s cubic-bezier(.65, 0, .35, 1) .55s backwards; }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes introOut { to { opacity: 0; transform: translateY(-30px); } }
@keyframes wordIn { from { transform: translateY(105%); } }
@keyframes lineIn { from { transform: scaleX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 320;
  background: var(--sunset);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  color: var(--ink);
  background: rgba(251, 248, 242, .86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s, color .35s, translate .45s var(--ease);
}
/* Over the hero photo the header is transparent and light. */
.home .site-header.is-top { background: transparent; border-bottom-color: transparent; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { translate: 0 -105%; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-mark { flex-shrink: 0; border-radius: 50%; }
.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo-sub {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: .7;
}
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: inherit;
  opacity: .8;
  transition: opacity .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: currentColor;
  scale: 0 1;
  transform-origin: left;
  transition: scale .4s var(--ease);
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { scale: 1 1; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo { min-width: 0; }
.lang-switch-overlay { display: none; color: var(--ink); }
.lang-switch-overlay button { padding: 9px 13px; font-size: .78rem; }
.lang-switch-overlay button.active { background: var(--ink) !important; color: var(--white) !important; }
.icon-link { color: inherit; display: inline-flex; opacity: .85; }
.icon-link:hover { opacity: 1; }
.lang-switch {
  display: flex;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px;
  opacity: .9;
}
.lang-switch button {
  background: transparent;
  border: none;
  padding: 6px 9px;
  border-radius: 999px;
  font: 700 0.7rem/1 var(--font-body);
  letter-spacing: .04em;
  color: inherit;
  cursor: pointer;
}
.lang-switch button.active { background: var(--ink); color: var(--white); }
.home .site-header.is-top .lang-switch button.active { background: var(--white); color: var(--ink); }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.menu-btn-icon { position: relative; display: inline-block; width: 18px; height: 12px; }
.menu-btn-icon span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-btn-icon span:nth-child(1) { top: 0; }
.menu-btn-icon span:nth-child(2) { top: 5px; }
.menu-btn-icon span:nth-child(3) { top: 10px; }
.menu-btn.is-open .menu-btn-icon span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn.is-open .menu-btn-icon span:nth-child(2) { opacity: 0; }
.menu-btn.is-open .menu-btn-icon span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
/* With the overlay open the header sits on paper, so it reads dark. */
html.no-scroll .site-header { color: var(--ink); background: transparent; border-bottom-color: transparent; translate: none; }
html.no-scroll .site-header .lang-switch button.active { background: var(--ink); color: var(--white); }

/* ---------- Full-screen menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--sand);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  overflow-y: auto;
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1), visibility 0s linear .6s;
}
.menu-overlay.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.76, 0, .24, 1); }
.menu-overlay-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 40px;
}
.overlay-nav { display: flex; flex-direction: column; }
.overlay-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 2px;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .3s var(--ease);
}
.overlay-num { font: italic 400 .9rem/1 var(--font-display); color: var(--sunset); letter-spacing: 0; min-width: 1.6em; }
.overlay-nav a:hover, .overlay-nav a:focus-visible { color: var(--sunset-dark); padding-left: 12px; }
.menu-overlay.open .overlay-nav a { animation: navIn .6s var(--ease) both; animation-delay: calc(.18s + var(--i, 0) * 45ms); }
@keyframes navIn { from { opacity: 0; transform: translateY(18px); } }
.overlay-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 34px;
  font-weight: 600;
  font-size: 0.9rem;
}
.overlay-foot a:not(.btn) { color: var(--ink-soft); text-decoration: none; }
.overlay-foot a:not(.btn):hover { color: var(--sunset-dark); }

html.no-scroll { overflow: hidden; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; }
.hero-frame {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ocean-deep);
}
.hero-bg {
  position: absolute;
  inset: -4% 0 0;
  background-image:
    linear-gradient(180deg, rgba(18, 14, 10, .45) 0%, rgba(18, 14, 10, .12) 28%, rgba(18, 14, 10, .2) 55%, rgba(18, 14, 10, .78) 100%),
    var(--hero-photo, none);
  background-size: cover, cover;
  background-position: center, center 40%;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06);
  will-change: transform;
}
html.motion .hero-bg { animation: heroIn 2.2s var(--ease) both; }
html.intro-on .hero-bg { animation-delay: 1.4s; }
@keyframes heroIn { from { scale: 1.12; filter: saturate(.6); } }
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(48px, 9vh, 96px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero .eyebrow { color: rgba(255, 253, 249, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero-title {
  font-size: clamp(4.4rem, 17vw, 12.5rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -0.045em;
  color: var(--white);
  margin: 0 0 8px -0.04em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .3);
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: #f6d8a8;
  margin: 0 0 34px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
/* Live line: open now + today's sunset. */
.hero-live { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 30px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(18, 13, 9, .42);
  border: 1px solid rgba(255, 253, 249, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.live-pill svg { color: #f6c48f; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 0 0 rgba(95, 211, 138, .6); }
html.motion .live-dot { animation: livePulse 2.4s ease-out infinite; }
.live-pill.is-closed .live-dot { background: #e9a46a; animation: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 138, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(95, 211, 138, 0); } }

/* The tagline glows like the neon signs at the entrance, with a short
   flicker as it switches on. */
.hero .hero-tagline {
  color: #ffd9bd;
  text-shadow: 0 0 6px rgba(255, 150, 100, .75), 0 0 18px rgba(255, 110, 70, .55), 0 0 42px rgba(255, 90, 60, .35), 0 2px 14px rgba(0, 0, 0, .4);
}
html.motion .hero .hero-inner > .hero-tagline { animation: fadeUp 1s var(--ease) both, neonOn 2.2s linear .9s both; }
html.intro-on.motion .hero .hero-inner > .hero-tagline { animation-delay: 1.95s, 2.6s; }
@keyframes neonOn {
  0%, 8%, 14%, 22% { opacity: .35; text-shadow: none; }
  4%, 11%, 18%, 26%, 100% { opacity: 1; }
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 253, 249, .28);
}
.hero-text {
  color: rgba(255, 253, 249, .92);
  font-size: 1.1rem;
  max-width: 30em;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
html.motion .hero-inner > * { animation: fadeUp 1s var(--ease) both; }
html.motion .hero-inner > :nth-child(1) { animation-delay: .25s; }
html.motion .hero-inner > :nth-child(2) { animation-delay: .35s; }
html.motion .hero-inner > :nth-child(3) { animation-delay: .5s; }
html.motion .hero-inner > :nth-child(4) { animation-delay: .65s; }
html.motion .hero-inner > :nth-child(5) { animation-delay: .8s; }
html.intro-on .hero-inner > :nth-child(1) { animation-delay: 1.7s; }
html.intro-on .hero-inner > :nth-child(2) { animation-delay: 1.8s; }
html.intro-on .hero-inner > :nth-child(3) { animation-delay: 1.95s; }
html.intro-on .hero-inner > :nth-child(4) { animation-delay: 2.1s; }
html.intro-on .hero-inner > :nth-child(5) { animation-delay: 2.25s; }
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  z-index: 2;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(255, 253, 249, .7);
  border-radius: 999px;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--white);
  animation: scrollCue 2s var(--ease) infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font: italic 300 clamp(1.5rem, 3vw, 2.3rem)/1 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track i {
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--sunset);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='6.5'/%3E%3Cline x1='24' y1='5' x2='24' y2='11'/%3E%3Cline x1='24' y1='37' x2='24' y2='43'/%3E%3Cline x1='5' y1='24' x2='11' y2='24'/%3E%3Cline x1='37' y1='24' x2='43' y2='24'/%3E%3Cline x1='11' y1='11' x2='15' y2='15'/%3E%3Cline x1='33' y1='33' x2='37' y2='37'/%3E%3Cline x1='37' y1='11' x2='33' y2='15'/%3E%3Cline x1='15' y1='33' x2='11' y2='37'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='6.5'/%3E%3Cline x1='24' y1='5' x2='24' y2='11'/%3E%3Cline x1='24' y1='37' x2='24' y2='43'/%3E%3Cline x1='5' y1='24' x2='11' y2='24'/%3E%3Cline x1='37' y1='24' x2='43' y2='24'/%3E%3Cline x1='11' y1='11' x2='15' y2='15'/%3E%3Cline x1='33' y1='33' x2='37' y2='37'/%3E%3Cline x1='37' y1='11' x2='33' y2='15'/%3E%3Cline x1='15' y1='33' x2='11' y2='37'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { padding: clamp(90px, 12vw, 160px) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.about-media { position: relative; padding: 0 14% 12% 0; }
.about-photo, .about-photo-sub { margin: 0; overflow: hidden; background: var(--sand); }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.about-photo-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-soft);
}
.about-photo img, .about-photo-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-stamp {
  position: absolute;
  left: -22px;
  top: 8%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.about-stamp img { border-radius: 50%; }
html.motion .about-stamp { animation: spin 40s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.about-copy > p:not(.section-eyebrow) { font-size: 1.06rem; max-width: 36em; }
.about-facts {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}
.about-facts li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--ink); }
.about-facts strong {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}
.about-facts span { color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.45; }

/* ---------- Ambiente / video (the one dark moment) ---------- */
.ambiente {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0;
  background: var(--ocean-deep);
  color: var(--white);
  overflow: hidden;
}
.ambiente::before {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  right: -20vmax;
  top: -25vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 87, 46, .35), transparent 65%);
  pointer-events: none;
}
.ambiente .section-eyebrow { color: var(--gold); }
#cms-home > .ambiente .section-eyebrow::before { color: var(--white); }
.ambiente h2 { color: var(--white); font-size: clamp(2.6rem, 6vw, 5rem); }
.ambiente h2 em { color: #f0b48a; }
.ambiente p { color: rgba(255, 253, 249, .75); font-size: 1.08rem; max-width: 30em; }
.ambiente-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.ambiente-copy p:last-child { margin-bottom: 0; }
.ambiente-media {
  justify-self: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  background: #0e1d1a;
  outline: 1px solid rgba(255, 253, 249, .14);
  outline-offset: 12px;
}
.ambiente-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(90px, 12vw, 150px) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(180px, 22vw, 300px);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}
.gallery-photo:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-photo:nth-child(12n+7) { grid-column: 2 / span 2; }
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 14, 10, .35));
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.gallery-photo:hover img { transform: scale(1.06); }
.gallery-photo:hover::after { opacity: 1; }
.gallery-follow {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}
.gallery-follow-text { margin: 0 0 8px; font-size: 1.02rem; }
.gallery-ig-btn svg { flex-shrink: 0; }
.gallery-ig-proof {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.gallery-grid.is-collapsed .gallery-extra { display: none; }
.gallery-more-row { text-align: center; margin-top: 28px; }

/* ---------- Gallery lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(14, 11, 8, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; bottom: 24px; top: auto; transform: none; }
  .lightbox-prev { left: 30%; }
  .lightbox-next { right: 30%; }
}

/* ---------- Menu teaser ---------- */
.menu { padding: clamp(90px, 12vw, 150px) 0; background: var(--sand); }
.menu-intro { max-width: 560px; margin: 0 auto 40px; }
.split-head .menu-intro { margin: 0 0 8px; }
.menu-featured-wrap { margin: 0 0 44px; }
.menu-featured-title {
  font: italic 400 1.15rem/1.2 var(--font-display);
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.menu-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.menu-feat-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.menu-feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.menu-feat-photo { aspect-ratio: 5 / 4; overflow: hidden; }
.menu-feat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.menu-feat-card:hover .menu-feat-photo img { transform: scale(1.06); }
.menu-feat-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 20px;
}
.menu-feat-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 400; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
.menu-feat-price { color: var(--sunset-dark); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.menu-expand-row { text-align: center; margin: 8px 0 8px; }
.menu-full { margin-top: 28px; }
.menu-allergen-disclaimer {
  margin: 22px auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Reviews ---------- */
.reviews { padding: clamp(90px, 12vw, 150px) 0; text-align: center; }
.reviews-inner { max-width: 820px; margin: 0 auto; }
.reviews-mark {
  display: block;
  font: italic 300 9rem/.6 var(--font-display);
  color: var(--sunset);
  height: .55em;
  margin-bottom: 18px;
}
.reviews h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.reviews-text { font-size: 1.1rem; max-width: 34em; margin: 0 auto 34px; }
.reviews-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.reviews-inner.has-quotes { max-width: 1120px; width: 100%; min-width: 0; }
.reviews-score {
  display: inline-flex; align-items: center; gap: 18px; margin: 0 auto 30px; text-align: left;
}
.reviews-score[hidden] { display: none; }
.reviews-score-num { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 5rem); line-height: 1; color: var(--sunset); }
.reviews-score-meta { display: grid; gap: 4px; font-size: .95rem; }
.reviews-score-award { color: #f0cf95; font-weight: 600; }
.reviews-score-dots { display: inline-flex; gap: 5px; }
.reviews-score-dots i {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid #34e0a1;
  background: transparent;
}
.reviews-score-dots i.full { background: #34e0a1; }
.reviews-score-dots i.half { background: linear-gradient(90deg, #34e0a1 50%, transparent 50%); }
.reviews-quotes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin: 8px 0 36px; text-align: left;
}
.review-card {
  margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: 22px;
  background: rgba(18, 13, 9, .5); border: 1px solid rgba(255, 253, 249, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.review-card blockquote {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.35;
  color: var(--ink);
}
.review-card figcaption { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.review-card figcaption strong { color: var(--ink-soft); font-weight: 600; }
.reviews-note { font-size: .8rem; color: var(--muted); margin: -18px 0 26px; }
@media (max-width: 640px) {
  .reviews-quotes {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 6px; margin: 8px -20px 36px;
    scrollbar-width: none;
  }
  .reviews-quotes::-webkit-scrollbar { display: none; }
  .review-card { scroll-snap-align: center; }
}

/* ---------- Location ---------- */
.location { padding: clamp(90px, 12vw, 140px) 0; background: var(--sand); }
.location-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.location h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.info-list { list-style: none; padding: 0; margin: 34px 0 36px; display: grid; gap: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list strong { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--muted); padding-top: 4px; }
.info-list span, .info-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--sunset-dark); }
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--sand-dark);
}
.location-map iframe { width: 100%; height: 520px; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 12vw, 150px) 0; }
.contact-inner {
  position: relative;
  max-width: none;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-align: center;
  overflow: hidden;
}
.contact-inner::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(180, 87, 46, .14), transparent 65%);
  pointer-events: none;
}
.contact h2 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 300; }
.contact-text { max-width: 32em; margin: 0 auto; font-size: 1.08rem; }
.contact-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(255, 253, 249, .75);
  padding: 80px 0 28px;
  overflow: hidden;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.site-footer .logo { color: var(--white); }
.footer-brand p { color: rgba(255, 253, 249, .65); margin-top: 16px; font-size: 0.92rem; max-width: 30ch; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-social a { text-decoration: none; color: rgba(255, 253, 249, .85); font-size: 0.92rem; width: fit-content; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold); }
.footer-giant {
  font: 300 clamp(4rem, 17vw, 15rem)/.85 var(--font-display);
  letter-spacing: -0.05em;
  color: rgba(255, 253, 249, .92);
  white-space: nowrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 253, 249, .14);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(255, 253, 249, .55);
}
.footer-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, .3);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--white);
}
.footer-top:hover { background: rgba(255, 253, 249, .1); }

/* ---------- Floating "book" button on phones ---------- */
.fab {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 250;
  display: none;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  isolation: isolate;
  padding: 0 22px;
  min-height: 50px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: 600 .92rem/1 var(--font-body);
  text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55);
  translate: -50% 140%;
  transition: translate .5s var(--ease);
}
.fab.is-shown { translate: -50% 0; }
html.no-scroll .fab { translate: -50% 140%; }

/* ---------- Dietary tag chips (menu rows + legend) ---------- */
.menu-item-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 0;
  padding: 0;
}
.menu-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-soft);
  border: 1px solid var(--sand-dark);
  white-space: nowrap;
}
.menu-tag-vegan { background: #e9f1e5; color: #3c6b34; border-color: #d2e4cc; }
.menu-tag-vegetarian { background: #eff2e3; color: #5c6b2f; border-color: #dfe4c8; }
.menu-tag-gluten_free { background: #f4eddd; color: #8a6239; border-color: #e7d9be; }
.menu-tag-spicy { background: #f7e5dc; color: #9f4a26; border-color: #edcfc2; }

/* ---------- Menu rows (carta) ---------- */
.menu-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.menu-tab {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}
.menu-tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.menu-panel { display: none; max-width: 720px; margin: 0 auto; }
.menu-panel.active { display: block; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.menu-item-price { color: var(--sunset-dark); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item-price-ask { color: var(--ink-soft); font-weight: 600; font-style: italic; font-size: 0.86rem; }
.menu-item-has-photo { display: flex; gap: 16px; align-items: flex-start; }
.menu-item-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand-dark);
}
.menu-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item-body { flex: 1 1 auto; min-width: 0; }
.menu-item-desc { margin: 6px 0 0; font-size: 0.92rem; }
.menu-item-note { margin: 4px 0 0; font-size: 0.8rem; font-style: italic; color: var(--ink-soft); opacity: .8; }
.menu-item-compact .menu-item-name { font-size: 1.04rem; }
.menu-loading { text-align: center; color: var(--ink-soft); font-style: italic; }
.menu-loading.menu-error { color: var(--sunset-dark); font-style: normal; }

.menu-group {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.menu-group:hover { border-color: var(--gold); }
.menu-group[open] { border-color: var(--sand-dark); box-shadow: var(--shadow-soft); }
.menu-group-title {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background .2s;
}
.menu-group-title:hover { background: rgba(201, 164, 92, .07); }
.menu-group-title::-webkit-details-marker { display: none; }
.menu-group-title::after {
  content: "+";
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--sand-dark);
  color: var(--sunset-dark);
  font: 400 1.2rem/1 var(--font-body);
  transition: background .2s, color .2s, transform .35s var(--ease), border-color .2s;
}
.menu-group[open] .menu-group-title::after { content: "\2212"; background: var(--sunset); border-color: var(--sunset); color: var(--white); transform: rotate(180deg); }
.menu-group-note { margin: 0 26px 14px; font-size: 0.82rem; font-style: italic; color: var(--ink-soft); }
.menu-group .menu-list { padding: 0 26px 22px; }
.menu-group .menu-item:last-child { border-bottom: none; }

/* ---------- Carta page (carta.html) ---------- */
.carta-page { background: var(--paper); }
.carta-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.85rem;
}
.carta-home-link:hover { color: var(--sunset-dark); }
.carta-header .header-actions { margin-left: auto; }

.carta-chooser { padding: calc(var(--header-h) + clamp(48px, 8vw, 100px)) 0 clamp(70px, 9vw, 120px); }
.carta-chooser .section-eyebrow { display: flex; justify-content: center; }
.carta-chooser .section-eyebrow::before, .carta-chooser .section-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .5; }
.carta-h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: .95;
  margin: 0 0 18px;
}
.carta-chooser .menu-intro { margin-bottom: 0; font-size: 1.06rem; }
.carta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.carta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  padding: 30px;
  color: var(--white);
  text-align: left;
  border: none;
  cursor: pointer;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
  font: inherit;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.carta-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.carta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(18, 14, 10, .05) 30%, rgba(18, 14, 10, .78) 100%), var(--bg);
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.carta-card:hover::before { transform: scale(1.07); }
.carta-card > * { position: relative; z-index: 1; }
.carta-card-label {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.carta-card-desc {
  font-size: 0.92rem;
  color: rgba(255, 253, 249, .88);
  max-width: 28ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.carta-card-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--white);
  background: rgba(255, 253, 249, .16);
  border: 1px solid rgba(255, 253, 249, .4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), background .3s;
}
.carta-card:hover .carta-card-arrow { transform: rotate(-45deg); background: var(--sunset); border-color: var(--sunset); }

.carta-view-hero {
  background-color: var(--ocean-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: calc(var(--header-h) + 70px) 0 56px;
}
.carta-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 253, 249, .14);
  border: 1px solid rgba(255, 253, 249, .45);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font: 600 0.84rem/1 var(--font-body);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.carta-back:hover { background: rgba(255, 253, 249, .26); }
.carta-view-title {
  color: var(--white);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  margin: 26px 0 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}
.carta-view-body { padding: 0 0 100px; }
.carta-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin: 0 0 30px;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.carta-tab {
  background: transparent;
  border: 1px solid var(--sand-dark);
  padding: 10px 20px;
  border-radius: 999px;
  font: 700 0.84rem/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.carta-tab:hover { border-color: var(--ink); }
.carta-tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.carta-view-body .menu-panel { max-width: 880px; margin: 0 auto; }
.carta-legend {
  max-width: 880px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.carta-legend-group { margin: 0 0 20px; min-width: 0; }
.carta-legend-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin: 0 0 12px; }
.carta-legend-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.carta-legend-list li { max-width: 100%; }
.menu-legend-key {
  font-size: 0.9rem;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
}
.menu-legend-key.is-conditional { border-style: dashed; }
.carta-disclaimer { font-size: 0.9rem; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 68ch; }
.carta-advisory { margin-top: 8px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.menu-food-info { margin: 6px 0 0; font-size: 0.78rem; color: var(--ink-soft); }
.menu-food-info-toggle { cursor: pointer; color: var(--ink); font-weight: 600; list-style: none; text-decoration: underline; text-decoration-color: var(--sand-dark); text-underline-offset: 3px; }
.menu-food-info-toggle::-webkit-details-marker { display: none; }
.menu-food-info-row { margin: 4px 0 0; }
.menu-allergen-badges { display: inline-flex; gap: 4px; margin-right: 6px; vertical-align: middle; }
.menu-allergen-variant { margin: 6px 0 0; overflow-wrap: anywhere; }
.menu-allergen-variant-name { font-weight: 700; margin-right: 6px; }
.menu-allergen-phrase.is-conditional { font-style: italic; border-bottom: 1px dashed var(--sand-dark); }
.menu-allergen-badge.is-conditional { border-style: dashed; }
.menu-allergen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  min-height: 1.35em;
  height: auto;
  padding: 0 4px;
  border-radius: 4px;
  border: 1px solid var(--sand-dark);
  background: var(--sand);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}
.carta-legend .menu-allergen-badge {
  gap: 6px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: normal;
  justify-content: flex-start;
  background: var(--white);
}
.carta-legend .menu-allergen-badge abbr { font-weight: 800; min-width: 1.6em; text-align: center; }
@media (min-width: 1280px) {
  .carta-view-body .menu-panel, .carta-legend { max-width: 1040px; }
}
.carta-footer { background: var(--ocean-deep); padding: 26px 0 36px; }
.carta-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 0;
}
.carta-view, .carta-legend, .carta-footer { overflow-x: clip; max-width: 100%; }
.carta-footer a { color: var(--gold); text-decoration: none; }

/* ---------- Motion: scroll reveal ----------
   .reveal is added by JS only, so with JS off or reduced motion nothing hides. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Photos open from a soft mask instead of just fading. */
.reveal-img { clip-path: inset(12% 6% 12% 6% round var(--radius-lg)); transition: clip-path 1.3s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0 round 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .marquee-track, .hero-scroll span { animation: none; }
}

/* ---------- Continuous photo backdrop ----------
   With JS on (html.stage) the whole page sits on a fixed stack of venue
   photos that cross-fade from section to section. Every home section is
   see-through: a band of open photo at its top, then a warm dark veil
   under the content strong enough for light text to read at AA contrast.
   The light palette is re-mapped to light-on-dark inside the sections;
   cards with their own paper background map it back. */
.bg-stage { display: none; }
html.stage .bg-stage {
  display: block;
  position: fixed;
  inset: 0;
  height: 100lvh;
  z-index: 0;
  overflow: hidden;
  background: #120d09;
  pointer-events: none;
}
html.stage #main, html.stage .site-footer { position: relative; z-index: 1; }
.bg-layer {
  position: absolute;
  inset: -4%;
  background: var(--img, none) center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.bg-layer.is-on { opacity: 1; }
html.motion .bg-layer.is-on { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
html.stage body { background: #120d09; }

html.stage #cms-home > section:not(.hero) {
  --ink: #fffdf9;
  --ink-soft: rgba(255, 253, 249, .84);
  --muted: rgba(255, 253, 249, .66);
  --line: rgba(255, 253, 249, .22);
  --sand-dark: rgba(255, 253, 249, .22);
  --window: clamp(110px, 26vh, 300px);
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--ink);
  padding: calc(var(--window) + clamp(40px, 6vw, 80px)) 0 clamp(70px, 9vw, 120px);
}
html.stage #cms-home > section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(18, 13, 9, .3) 0,
    rgba(18, 13, 9, .42) calc(var(--window) * .5),
    rgba(18, 13, 9, .84) var(--window),
    rgba(18, 13, 9, .84) calc(100% - 110px),
    rgba(18, 13, 9, .4) 100%);
}
html.stage #cms-home > section:not(.hero) p { text-shadow: 0 1px 16px rgba(0, 0, 0, .5); }
html.stage #cms-home > section:not(.hero) h2 { text-shadow: 0 2px 26px rgba(0, 0, 0, .4); }
html.stage #cms-home > section:not(.hero) h2 em { color: #f3bf95; }
html.stage #cms-home > section:not(.hero) .section-eyebrow { color: #f0cf95; }
html.stage #cms-home > .ambiente::before { z-index: -1; }
html.stage #cms-home > .ambiente h2 em { color: #f3bf95; }
html.stage #cms-home > .reviews { min-height: 92svh; display: grid; align-items: center; }

/* Light elements on the dark veil. */
html.stage #cms-home .btn-ghost { color: var(--white); border-color: rgba(255, 253, 249, .55); background: rgba(255, 253, 249, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html.stage #cms-home .btn-ghost:hover { background: rgba(255, 253, 249, .2); border-color: var(--white); }
html.stage .about-photo-sub { border-color: rgba(255, 253, 249, .9); }
html.stage .about-stamp { background: var(--paper); }
html.stage .contact-inner {
  background: rgba(18, 13, 9, .35);
  border: 1px solid rgba(255, 253, 249, .16);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html.stage .contact-inner::before { background: radial-gradient(ellipse at center, rgba(240, 160, 110, .22), transparent 65%); }
html.stage .location-map { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
/* Cards keep their own paper and dark text. */
html.stage .menu-feat-card {
  --ink: #1e1a15;
  --ink-soft: #5c5144;
  text-shadow: none;
}
html.stage .menu-feat-card * { text-shadow: none; }

/* Header and marquee turn into dark glass so the page never flashes white. */
html.stage .site-header {
  color: var(--white);
  background: rgba(18, 13, 9, .55);
  border-bottom-color: rgba(255, 253, 249, .1);
}
html.stage .site-header .lang-switch button.active { background: var(--white); color: var(--ink); }
html.stage.no-scroll .site-header { color: var(--ink); background: transparent; }
html.stage.no-scroll .site-header .lang-switch button.active { background: var(--ink); color: var(--white); }
html.stage .marquee { position: relative; background: rgba(18, 13, 9, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(255, 253, 249, .1); }
html.stage .marquee-track span { color: var(--white); }

/* Content settles in as it scrolls in, where the browser can tie an
   animation to scroll position; elsewhere it is simply there. */
@supports (animation-timeline: view()) {
  html.motion.stage #cms-home > section:not(.hero) > .container {
    animation: sheetIn linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 60%;
  }
  @keyframes sheetIn { from { transform: translateY(60px); opacity: .5; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-book { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .about-grid, .location-grid, .ambiente-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .split-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .split-head > p { justify-self: start; }
  .menu-featured { grid-template-columns: repeat(6, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .menu-featured::-webkit-scrollbar { display: none; }
  .menu-feat-card { scroll-snap-align: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .location-map iframe { height: 380px; }
  .hero-scroll { display: none; }
  .carta-cards { grid-template-columns: 1fr; }
  .carta-card { min-height: 260px; }
  .fab { display: inline-flex; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 10px; }
  .gallery-photo:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
  .gallery-photo:nth-child(12n+7) { grid-column: span 2; }
  .gallery-photo:nth-child(6n+4) { grid-column: span 2; grid-row: span 1; }
  .about-facts { grid-template-columns: 1fr; gap: 18px; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .lang-switch button { padding: 6px 7px; font-size: 0.66rem; }
  .logo-sub { display: none; }
  .logo-text { font-size: 1.15rem; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .icon-link { display: none; }
  .site-header .header-actions > .lang-switch { display: none; }
  .lang-switch-overlay { display: flex; }
  .about-stamp { width: 72px; height: 72px; left: -6px; }
  .about-stamp img { width: 50px; height: 50px; }
  .carta-home-link span { display: none; }
  .site-footer { padding-top: 56px; padding-bottom: 90px; }
  .carta-footer { padding-bottom: 36px; }
}
