/* =============================================================
   L'Acherito — styles.css
   Archetype 01 Editorial Light Cream — adaptado con paleta vibrante.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand */
  --bg:        #faf8f2;   /* crema brand */
  --bg-2:      #f1ece0;   /* crema más oscuro */
  --paper:     #ffffff;
  --ink:       #1a1a1a;   /* negro brand */
  --ink-soft:  #2a2a2a;
  --ink-mute:  #6b6b6b;
  --ink-line:  rgba(26,26,26,0.12);
  --line-strong: rgba(26,26,26,0.22);

  --coral:     #e8642a;   /* acento principal */
  --coral-soft: #f0805040;
  --turquoise: #4ecdc4;   /* acento secundario */
  --turquoise-soft: #4ecdc440;
  --yellow:    #f5c842;   /* acento terciario */
  --yellow-soft: #f5c84230;

  /* Type */
  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --max:   1320px;
  --nav-h: 78px;
}

/* =============================================================
   2. Reset + base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -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; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p  { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
em { font-style: italic; }

::selection { background: var(--coral); color: var(--bg); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* Defensive: split-text on reveal element must stay visible */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   3. Reveal (intersection observer)
   ============================================================= */
.reveal:not([data-split]) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split-word {
  display: inline-block;
  overflow: hidden;
}
.split-word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
.reveal[data-split].is-visible .split-word > span {
  transform: translateY(0);
}

/* =============================================================
   4. Typography utilities
   ============================================================= */
.kicker, .num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.num { color: var(--coral); font-weight: 600; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 0.95em 1.6em;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn-primary {
  background: var(--coral);
  color: var(--bg);
  box-shadow: 0 8px 24px -8px rgba(232,100,42,0.55);
}
.btn-primary:hover {
  background: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(26,26,26,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* magnetic helper */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: #1a1a1a;
  display: grid; place-items: center;
  pointer-events: auto;
  /* Safety: hide automatically at 4.5s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-out);
}
.splash-inner {
  display: grid; place-items: center;
  animation: splashPulse 1.4s ease-in-out infinite alternate;
}
.splash-logo {
  width: clamp(150px, 36vw, 220px);
  height: auto;
  display: block;
}
@keyframes splashPulse {
  from { opacity: 0.55; transform: scale(0.97); }
  to   { opacity: 1;    transform: scale(1); }
}

/* =============================================================
   7. NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem var(--pad-x);
  background: transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(250, 248, 242, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--ink-line);
  padding: 0.7rem var(--pad-x);
  box-shadow: 0 6px 30px -16px rgba(26,26,26,0.25);
}
.nav-brand {
  display: inline-flex; align-items: center;
}
.brand-logo {
  height: 56px;
  width: 56px;
  border-radius: 13px;
  display: block;
  box-shadow: 0 4px 18px -6px rgba(0,0,0,0.4);
  transition: height .4s var(--ease-out), width .4s var(--ease-out);
}
.nav.is-solid .brand-logo {
  height: 46px;
  width: 46px;
}
.nav-links {
  display: none;
  gap: 2rem;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 0.4em 0;
  transition: color .25s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: none;
  padding: 0.7em 1.4em;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .3s var(--ease-out);
}
.nav-cta:hover { background: var(--coral); }

.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  padding: .6em;
  width: 40px; height: 40px;
  justify-content: center;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease-out), opacity .25s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 7vw, 3rem);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile a { transition: color .25s; }
.nav-mobile a:hover { color: var(--coral); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

/* =============================================================
   8. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(2.5rem, 6vh, 5rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.88);
  transform-origin: center center;
  animation: kenBurns 25s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.05) translate3d(0%, 0%, 0); }
  100% { transform: scale(1.25) translate3d(-3%, -2%, 0); }
}
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    /* scrim inferior: foto visible arriba, oscuro rico donde va el texto */
    linear-gradient(180deg, rgba(18,15,13,0.45) 0%, rgba(18,15,13,0.10) 30%, rgba(14,11,10,0.62) 68%, rgba(11,9,8,0.90) 100%),
    /* refuerzo lateral izquierdo para la columna de texto */
    linear-gradient(90deg, rgba(12,10,9,0.60) 0%, rgba(12,10,9,0.20) 42%, transparent 68%),
    /* viñeta sutil para dar profundidad premium */
    radial-gradient(120% 80% at 50% 100%, rgba(0,0,0,0.35), transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  color: #ffffff;
  padding-top: 30vh;
}
.hero-inner .kicker { color: rgba(255,255,255,0.92); margin-bottom: 1.4rem; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7.5vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: none;          /* los <br> ya marcan las 3 líneas; sin cap para que no parta las frases */
  text-wrap: balance;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.45);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--yellow);
  font-variation-settings: "SOFT" 100;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  max-width: 42ch;
  color: rgba(255,255,255,0.94);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}
.hero-foot {
  display: flex; flex-direction: column; gap: 1.5rem;
}
/* Pedir online desde el hero — A domicilio / Recoger (Qamarero) */
.hero-order {
  display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .6rem;
  margin-top: 1.35rem;
}
.hero-order-label {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .01em;
  color: rgba(255,255,255,0.9); text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  margin-right: .15rem;
}
/* A domicilio → turquesa sólido (la acción que más destaca) */
.btn-order {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: .005em;
  color: var(--ink);
  padding: .72em 1.35em; border-radius: 999px;
  background: var(--turquoise);
  border: 1px solid var(--turquoise);
  box-shadow: 0 8px 26px -8px rgba(78,205,196,0.75), 0 2px 10px rgba(0,0,0,0.28);
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s, transform .25s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn-order svg { flex: none; opacity: .9; }
.btn-order:hover {
  background: #6fe3db; border-color: #6fe3db;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(78,205,196,0.9), 0 2px 10px rgba(0,0,0,0.28);
}
/* Recoger en local → turquesa en contorno (secundario) */
.btn-order-alt {
  color: var(--turquoise);
  background: rgba(78,205,196,0.10);
  border-color: rgba(78,205,196,0.65);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.22);
}
.btn-order-alt:hover {
  background: var(--turquoise); border-color: var(--turquoise); color: var(--ink);
  box-shadow: 0 14px 30px -10px rgba(78,205,196,0.8);
}
@media (min-width: 720px) {
  .hero-order { justify-content: flex-end; }   /* agrupa con los CTAs de la derecha */
}
@media (max-width: 719px) {
  /* móvil: la etiqueta en su línea y los dos botones repartidos en una fila */
  .hero-order { gap: .5rem; }
  .hero-order-label { flex: 0 0 100%; margin: 0 0 .1rem; }
  .btn-order {
    flex: 1 1 auto; justify-content: center; white-space: nowrap;
    font-size: 13.5px; padding: .72em 1.05em;
  }
}
@media (min-width: 720px) {
  .hero-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}
.hero-rating {
  display: flex; align-items: baseline; gap: 0.5em;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  flex-wrap: wrap;
}
.hero-rating .star { color: var(--yellow); font-size: 18px; }
.hero-rating .rating-num { font-weight: 600; font-size: 17px; }
.hero-rating .rating-meta { color: rgba(255,255,255,0.75); }

.hero-actions {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
}
.hero-actions .btn-ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-ghost:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: var(--pad-x);
  display: flex; align-items: center; gap: 0.8em;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-scroll-line {
  display: inline-block;
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--coral);
  transform-origin: left;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0); transform-origin: left; }
  50%      { transform: scaleX(1); transform-origin: left; }
  51%      { transform: scaleX(1); transform-origin: right; }
  99%      { transform: scaleX(0); transform-origin: right; }
}

/* =============================================================
   9. MARQUEE
   ============================================================= */
.marquee-section {
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  background: var(--bg);
}
.marquee {
  overflow: hidden;
  padding: 1.4rem 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--ink);
}
.marquee-item { white-space: nowrap; }
.marquee-dot { color: var(--coral); font-size: 0.7em; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   10. CONCEPTO
   ============================================================= */
.concepto {
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.concepto-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: clamp(3rem, 8vh, 5rem);
}
@media (min-width: 960px) {
  .concepto-wrap {
    grid-template-columns: 1fr 2fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.concepto-left .num { position: sticky; top: calc(var(--nav-h) + 1rem); }
.concepto-h {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 1.8rem;
  max-width: 24ch;
}
.concepto-h em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "SOFT" 100;
}
.concepto-p {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 1.2rem;
}

.concepto-figure {
  position: relative;
  margin: clamp(2rem, 5vh, 4rem) 0;
  overflow: hidden;
  border-radius: 4px;
}
.concepto-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.5s var(--ease-soft);
}
.concepto-figure:hover img { transform: scale(1.03); }
.figure-caption {
  margin-top: 0.8rem;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-mute);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: clamp(3rem, 6vh, 4rem);
  border-top: 1px solid var(--ink-line);
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3vw, 3rem); }
}
.pillar {}
.pillar-num {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  color: var(--coral);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  letter-spacing: -0.015em;
}
.pillar p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =============================================================
   11. CARTA — SECTION HEADER + BENTO
   ============================================================= */
.section-header {
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
  padding: 0 var(--pad-x);
  text-align: left;
}
.section-h {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0.6rem 0 1rem;
}
.section-h em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "SOFT" 100;
}
.section-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--ink-mute);
  max-width: 50ch;
}

.carta {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--bg);
}
.bento {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto clamp(4rem, 10vh, 7rem);
  padding: 0 var(--pad-x);
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, minmax(280px, 1fr));
    gap: 1.2rem;
  }
  .bento-tall   { grid-row: 1 / span 2; }
  .bento-wide   { grid-column: 2; grid-row: 1; }
  .bento-square { grid-column: 2; grid-row: 2; }
  .bento-square + .bento-square { display: none; }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: 1.2fr 1fr 0.9fr;
    grid-template-rows: minmax(260px, 1fr) minmax(220px, 1fr);
  }
  .bento-tall   { grid-row: 1 / span 2; grid-column: 1; }
  .bento-wide   { grid-column: 2 / span 2; grid-row: 1; }
  .bento-square { grid-row: 2; }
  .bento-square:nth-of-type(3) { grid-column: 2; display: block; }
  .bento-square:nth-of-type(4) { grid-column: 3; display: block; }
}

.bento-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
  isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .5s var(--ease-out);
}
.bento-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,0.85) 100%);
  pointer-events: none;
}
.bento-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft), filter .6s var(--ease-out);
}
.bento-card:hover { transform: translateY(-4px); }
.bento-card:hover img { transform: scale(1.08); filter: saturate(1.15) brightness(1.05); }

.halo-coral:hover     { box-shadow: 0 20px 50px -18px rgba(232,100,42,0.55); }
.halo-turquoise:hover { box-shadow: 0 20px 50px -18px rgba(78,205,196,0.55); }
.halo-yellow:hover    { box-shadow: 0 20px 50px -18px rgba(245,200,66,0.55); }

.bento-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.6rem 1.6rem 1.4rem;
  color: #ffffff;
}
.bento-kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.halo-coral .bento-kicker     { background: rgba(232,100,42,0.85); }
.halo-turquoise .bento-kicker { background: rgba(78,205,196,0.85); color: var(--ink); }
.halo-yellow .bento-kicker    { background: rgba(245,200,66,0.9); color: var(--ink); }
.bento-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}
.bento-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.6rem;
  max-width: 38ch;
}
.bento-arrow {
  display: inline-block;
  font-size: 18px;
  transition: transform .35s var(--ease-out);
}
.bento-card:hover .bento-arrow { transform: translateX(6px); }

/* =============================================================
   12. MENU BLOCKS — listas
   ============================================================= */
.menu-block {
  padding: clamp(4rem, 9vh, 7rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.menu-block-alt {
  background: var(--bg-2);
  max-width: none;
  margin: 0;
  padding-left: max(var(--pad-x), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--pad-x), calc((100vw - var(--max)) / 2));
}
.menu-block-head {
  margin-bottom: clamp(2rem, 4vh, 3rem);
  max-width: 50ch;
}
.menu-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0.5rem 0 0.6rem;
  letter-spacing: -0.02em;
}
.menu-title em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "SOFT" 100;
}
.menu-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem;
  color: var(--ink-mute);
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) { .menu-list { grid-template-columns: 1fr 1fr; gap: 0 3rem; } }
.menu-list-2col { grid-template-columns: 1fr; }
@media (min-width: 720px) { .menu-list-2col { grid-template-columns: 1fr 1fr; gap: 0 3rem; } }

/* Raciones: se leen en dos columnas de arriba abajo (como la carta de mesa), no en filas.
   Así no se parten los grupos: las patatas confitadas van juntas y las tablas de cecina
   no caen mezcladas entre ellas. El salto de columna lo marca colBreak en manifest.js. */
@media (min-width: 720px) {
  .menu-list[data-menu="raciones"] { display: block; column-count: 2; column-gap: 3rem; }
  .menu-list[data-menu="raciones"] .menu-item { break-inside: avoid; -webkit-column-break-inside: avoid; }
  .menu-list[data-menu="raciones"] .is-colbreak { break-before: column; -webkit-column-break-before: always; }
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.2rem;
  padding: 1.1rem 0 1rem;
  border-top: 1px solid var(--ink-line);
  align-items: baseline;
}
.menu-item:last-child { border-bottom: 1px solid var(--ink-line); }
.menu-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
}
.menu-item-price {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--coral);
  white-space: nowrap;
}
.menu-item-desc {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-top: 0.15rem;
  max-width: 60ch;
}
.menu-tags {
  display: inline-flex; gap: 0.4em;
  margin-left: 0.6em;
  vertical-align: middle;
}
.menu-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18em 0.6em;
  border-radius: 999px;
  vertical-align: middle;
  line-height: 1;
}
.menu-tag.vegano       { background: var(--turquoise); color: var(--ink); }
.menu-tag.vegetariano  { background: var(--yellow);    color: var(--ink); }
.menu-tag.kids         { background: var(--coral);     color: var(--bg); }
.menu-tag.destacado    { background: var(--ink);       color: var(--yellow); }

/* =============================================================
   13. VALORACIONES
   ============================================================= */
.valoraciones {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}
.valoraciones .section-header {
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
  padding: 0;
}
.valoraciones .num { color: var(--yellow); }
.valoraciones .section-h { color: var(--bg); }
.valoraciones .section-h em { color: var(--coral); }

.val-grain {
  position: absolute; inset: 0;
  opacity: 0.06; pointer-events: none; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.ratings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 720px) {
  .ratings-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.rating-card {
  position: relative;
  display: block;
  padding: 2rem 1.8rem;
  background: rgba(250,248,242,0.04);
  border: 1px solid rgba(250,248,242,0.12);
  border-radius: 10px;
  transition: transform .5s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
  isolation: isolate;
  overflow: hidden;
}
.rating-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232,100,42,0.25), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
.rating-card-alt::before {
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(78,205,196,0.25), transparent 70%);
}
.rating-card:hover { transform: translateY(-4px); background: rgba(250,248,242,0.07); border-color: rgba(250,248,242,0.22); }
.rating-card:hover::before { opacity: 1; }

.rating-badge {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  background: var(--coral); color: var(--bg);
  padding: 0.35em 0.7em;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.rating-card-alt .rating-badge { background: var(--turquoise); color: var(--ink); }
.rating-source {
  font-family: var(--serif); font-style: italic;
  font-size: 14px;
  color: rgba(250,248,242,0.6);
  margin-bottom: 0.6rem;
}
.rating-score {
  display: flex; align-items: baseline; gap: 0.6em;
  margin-bottom: 0.6rem;
}
.rating-score .big {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--bg);
  letter-spacing: -0.03em;
}
.rating-score .stars {
  color: var(--yellow);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
.rating-meta-2 {
  font-size: 14px;
  color: rgba(250,248,242,0.7);
}

.quote {
  max-width: var(--max);
  margin: clamp(3rem, 6vh, 5rem) auto 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(250,248,242,0.15);
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 0.4rem; left: -0.1em;
  font-family: var(--serif); font-style: italic;
  font-size: 6rem; line-height: 1; color: var(--coral);
  opacity: 0.7;
}
.quote p {
  font-family: var(--serif); font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bg);
  max-width: 28ch;
  margin-left: 2.2rem;
}
.quote footer {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(250,248,242,0.55);
  margin-top: 1rem;
  margin-left: 2.2rem;
}

/* =============================================================
   14. VISÍTANOS
   ============================================================= */
.visitanos {
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 720px)  { .visit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

.visit-card {
  padding: 2rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.visit-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.4rem;
  letter-spacing: -0.015em;
}

.schedule-list {
  display: flex; flex-direction: column;
}
.schedule-item {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--ink-line);
  font-size: 14px;
  align-items: baseline;
}
.schedule-item:first-child { border-top: 0; padding-top: 0; }
.schedule-day { font-weight: 500; color: var(--ink); }
.schedule-hours { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.schedule-item.is-today .schedule-day { color: var(--coral); font-weight: 600; }
.schedule-item.is-today .schedule-hours { color: var(--coral); font-weight: 500; }
.schedule-item.is-closed .schedule-hours { color: var(--ink-mute); font-style: italic; }
.schedule-item.is-today.is-closed .schedule-day { color: var(--ink-mute); }
.schedule-item.is-today.is-closed .schedule-hours { color: var(--ink-mute); font-weight: 400; }

.contact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.4rem;
  font-size: 14.5px;
}
.contact-list dt {
  font-weight: 500;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.18em;
}
.contact-list dd a { border-bottom: 1px solid var(--ink-line); transition: color .25s, border-color .25s; }
.contact-list dd a:hover { color: var(--coral); border-color: var(--coral); }

.visit-cta {
  background: var(--coral);
  color: var(--bg);
  border-color: var(--coral);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.visit-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(245,200,66,0.4), transparent 60%);
  opacity: 0.6; transition: opacity .5s;
}
.visit-cta:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -14px rgba(232,100,42,0.45); }
.visit-cta:hover::before { opacity: 1; }
.visit-cta > * { position: relative; z-index: 1; }
.visit-cta-kicker {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: rgba(250,248,242,0.85);
}
.visit-cta h3 {
  color: var(--bg);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 1.2rem 0 0.8rem;
  display: flex; align-items: baseline; gap: 0.4em;
  flex-wrap: wrap;
}
.visit-cta-arrow { display: inline-block; transition: transform .4s; }
.visit-cta:hover .visit-cta-arrow { transform: translateX(8px); }
.visit-cta p { font-size: 14px; color: rgba(250,248,242,0.9); }

/* Banda final de pedido online — A domicilio / Recoger */
.order-band {
  max-width: var(--max);
  margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
  padding: clamp(1.5rem, 3.5vw, 2.1rem) clamp(1.6rem, 4vw, 2.6rem);
  background: var(--bg-2);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.1rem 2rem;
}
.order-band-text {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4;
  color: var(--ink-mute); max-width: 40ch;
}
.order-band-text strong { font-style: normal; font-weight: 600; color: var(--ink); }
.order-band-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 620px) {
  .order-band { flex-direction: column; align-items: stretch; text-align: center; }
  .order-band-text { max-width: none; }
  .order-band-btns { justify-content: center; }
}

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(250,248,242,0.85);
  padding: clamp(3rem, 7vh, 5rem) var(--pad-x) 2rem;
  margin-top: clamp(4rem, 8vh, 6rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 5vh, 4rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
  border-bottom: 1px solid rgba(250,248,242,0.12);
}
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 2fr; gap: 4rem; } }

.footer-brand {
  max-width: 38ch;
}
.footer-logo {
  width: 132px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 14.5px; line-height: 1.55; color: rgba(250,248,242,0.75); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 540px)  { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .footer-cols { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
@media (min-width: 960px)  { .footer-cols { gap: 2rem; } }
.footer-cols h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-cols a {
  font-size: 14px;
  color: rgba(250,248,242,0.75);
  transition: color .25s;
}
.footer-cols a:hover { color: var(--coral); }

.footer-bot {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 13px;
  color: rgba(250,248,242,0.55);
}

/* =============================================================
   16. Custom cursor (desktop only, fine pointer)
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px;
  background: var(--bg); border-radius: 50%;
}
.cursor-ring {
  width: 30px; height: 30px; margin: -15px;
  border: 1px solid var(--bg); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring {
  width: 50px; height: 50px; margin: -25px;
}
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   12b. COCINA (galería de platos — masonry + lightbox)
   ============================================================= */
.cocina {
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x) clamp(3rem, 6vh, 5rem);
  max-width: var(--max);
  margin: 0 auto;
}
.cocina .section-header { padding: 0; }

.gal-cocina {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 540px)  { .gal-cocina { column-count: 2; column-gap: 1rem; } }
@media (min-width: 960px)  { .gal-cocina { column-count: 3; column-gap: 1.2rem; } }
@media (min-width: 1280px) { .gal-cocina { column-count: 4; column-gap: 1.2rem; } }

.gc {
  break-inside: avoid;
  width: 100%;
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
@media (min-width: 960px) { .gc { margin-bottom: 1.2rem; } }

.gc img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1s var(--ease-soft), filter .5s var(--ease-out);
}
.gc::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(26,26,26,0) 50%, rgba(26,26,26,0.65) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
}
.gc-label {
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.8rem;
  z-index: 2;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  pointer-events: none;
  text-align: left;
}
.gc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -14px rgba(232,100,42,0.35); }
.gc:hover img { transform: scale(1.06); filter: saturate(1.12) brightness(1.04); }
.gc:hover::after, .gc:focus-visible::after { opacity: 1; }
.gc:hover .gc-label, .gc:focus-visible .gc-label { opacity: 1; transform: translateY(0); }

/* Lightbox modal */
.lightbox {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(15, 12, 9, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
  padding: clamp(1rem, 4vh, 3rem) clamp(3.5rem, 7vw, 5rem);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lb-stage {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  max-width: min(1200px, 100%);
  max-height: 100%;
  margin: 0;
}
.lb-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.65);
  background: var(--bg-2);
}
.lb-stage figcaption {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 60ch;
}

.lb-close, .lb-nav {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-radius: 50%;
  transition: background .25s var(--ease-out), transform .35s var(--ease-out);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-close { top: 1.4rem; right: 1.4rem; width: 44px; height: 44px; }
.lb-nav   { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lb-prev  { left:  1.2rem; }
.lb-next  { right: 1.2rem; }
.lb-close:hover, .lb-nav:hover { background: var(--coral); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }

.lb-counter {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  padding: 0.4em 0.9em;
  border-radius: 999px;
}

@media (max-width: 539px) {
  .lightbox { padding: 0.8rem 0.8rem 4rem; }
  .lb-close { top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; }
  .lb-nav   { width: 40px; height: 40px; }
  .lb-prev  { left: 0.5rem; }
  .lb-next  { right: 0.5rem; }
  .lb-stage img { max-height: calc(100vh - 7rem); }
}

/* =============================================================
   16b. EL ESPACIO (galería interior)
   ============================================================= */
.espacio {
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.espacio .section-header { padding: 0; }
.espacio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gal {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-2);
  margin: 0;
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft), filter .6s var(--ease-out);
}
.gal::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(26,26,26,0.06);
  border-radius: inherit;
  pointer-events: none;
}
.gal:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(1.04); }
/* mobile: each image keeps a pleasant ratio */
.gal-1, .gal-3, .gal-4, .gal-5, .gal-6 { aspect-ratio: 16 / 10; }
.gal-2 { aspect-ratio: 3 / 4; }

@media (min-width: 720px) {
  .espacio-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
  }
  .gal { aspect-ratio: auto; height: 100%; }
  .gal-1 { grid-column: 1 / 3; grid-row: 1; }
  .gal-2 { grid-column: 3;     grid-row: 1 / 3; }
  .gal-3 { grid-column: 1;     grid-row: 2; }
  .gal-4 { grid-column: 2;     grid-row: 2; }
  .gal-5 { grid-column: 1;     grid-row: 3; }
  .gal-6 { grid-column: 2 / 4; grid-row: 3; }
}
@media (min-width: 1024px) {
  .espacio-grid { grid-auto-rows: 240px; }
}

/* =============================================================
   16c. RESERVA modal (CoverManager embed)
   ============================================================= */
.reserva-modal {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(15, 12, 9, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
  padding: clamp(0.8rem, 3vh, 2rem);
}
.reserva-modal.is-open { opacity: 1; pointer-events: auto; }

.reserva-modal-bg {
  position: absolute; inset: 0;
  cursor: pointer;
}

.reserva-modal-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: min(90vh, 800px);
  background: var(--bg);
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform .35s var(--ease-out);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55);
}
.reserva-modal.is-open .reserva-modal-inner {
  transform: scale(1) translateY(0);
}

.reserva-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1.1rem;
  border-bottom: 1px solid var(--ink-line);
  background: var(--bg);
  flex: 0 0 auto;
}
.reserva-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.reserva-modal-head h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.reserva-close {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .25s, color .25s;
}
.reserva-close:hover { background: var(--ink); color: var(--bg); }

.reserva-modal-frame {
  flex: 1 1 auto;
  overflow-y: auto;
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
}
.reserva-modal-frame iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
  background: var(--bg);
}

@media (max-width: 539px) {
  .reserva-modal { padding: 0; }
  .reserva-modal-inner { max-width: 100%; max-height: 100vh; border-radius: 0; }
  .reserva-modal-head { padding: 1.1rem 1.1rem 0.9rem; }
  .reserva-modal-head h3 { font-size: 1.3rem; }
}

/* =============================================================
   17. ACHEBOT (floating launcher + side panel)
   ============================================================= */
.achebot-fab {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.3em 0.85em 0.95em;
  background: var(--coral);
  color: var(--bg);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px -10px rgba(232,100,42,0.55), 0 4px 12px -4px rgba(26,26,26,0.22);
  transition: transform .45s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out), opacity .35s var(--ease-out);
  cursor: pointer;
  isolation: isolate;
  opacity: 0;
  transform: translateY(80px) scale(0.85);
  pointer-events: none;
}
.achebot-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.achebot-fab-pulse {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--coral);
  z-index: -1;
  animation: achebotPulse 2.6s ease-out infinite;
}
@keyframes achebotPulse {
  0%   { transform: scale(1);    opacity: 0.5; }
  100% { transform: scale(1.45); opacity: 0;   }
}
.achebot-fab-icon { display: inline-flex; }
.achebot-fab:hover {
  transform: translateY(-3px);
  background: var(--ink);
  box-shadow: 0 16px 38px -10px rgba(26,26,26,0.4);
}
.achebot-fab:hover .achebot-fab-pulse { animation-play-state: paused; opacity: 0; }
@media (max-width: 539px) {
  .achebot-fab-text { display: none; }
  .achebot-fab {
    padding: 0; width: 56px; height: 56px;
    justify-content: center;
    bottom: 1rem; right: 1rem;
  }
}

.achebot-panel {
  position: fixed; inset: 0; z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.achebot-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}
.achebot-panel-bg {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.achebot-panel-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s var(--ease-out);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.4);
}
.achebot-panel.is-open .achebot-panel-inner {
  transform: translateX(0);
}
.achebot-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.4rem 1.2rem;
  border-bottom: 1px solid var(--ink-line);
}
.achebot-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.achebot-panel-head h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}
.achebot-sub {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 32ch;
}
.achebot-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .25s, color .25s;
  flex: 0 0 auto;
}
.achebot-close:hover { background: var(--ink); color: var(--bg); }
.achebot-iframe-wrap {
  flex: 1;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.achebot-iframe-wrap::before {
  content: "Cargando Achebot…";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-mute);
  font-size: 14px;
}
.achebot-iframe-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: var(--bg);
}

/* =============================================================
   17b. LEGAL PAGES (aviso legal, política privacidad, cookies)
   ============================================================= */
.legal-page {
  padding: calc(var(--nav-h) + 2rem) var(--pad-x) clamp(3rem, 7vh, 5rem);
  max-width: 820px;
  margin: 0 auto;
}
.legal-head {
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--ink-line);
}
.legal-head .kicker {
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.legal-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 0.6rem;
}
.legal-meta {
  font-family: var(--serif); font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
}
.legal-body { color: var(--ink-soft); }
.legal-body p,
.legal-body ul,
.legal-body ol {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  max-width: 70ch;
}
.legal-lead {
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem !important;
  color: var(--ink);
  margin-bottom: 2rem !important;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--ink-line);
  max-width: 60ch;
}
.legal-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 2.4rem 0 1rem;
  line-height: 1.2;
}
.legal-body ul,
.legal-body ol {
  padding-left: 1.3rem;
}
.legal-body ul li,
.legal-body ol li {
  margin-bottom: 0.5rem;
  list-style: disc;
}
.legal-body ol li { list-style: decimal; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a {
  color: var(--coral);
  border-bottom: 1px solid currentColor;
  transition: opacity .2s var(--ease-out);
}
.legal-body a:hover { opacity: 0.7; }

.legal-data {
  list-style: none !important;
  padding: 1.2rem 1.4rem !important;
  background: var(--bg-2);
  border-radius: 10px;
  border-left: 3px solid var(--coral);
  margin-bottom: 1.6rem !important;
}
.legal-data li {
  list-style: none !important;
  margin-bottom: 0.4rem !important;
}
.legal-data li:last-child { margin-bottom: 0 !important; }

.legal-table { margin: 1.4rem 0 2rem; overflow-x: auto; }
.legal-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--ink-line);
}
.legal-table thead th {
  background: var(--bg-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.legal-table tbody tr:hover { background: rgba(232,100,42,0.04); }

.legal-rule {
  border: 0;
  border-top: 1px solid var(--ink-line);
  margin: 2.5rem 0 1.6rem;
}
.legal-footnote {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem !important;
  color: var(--ink-mute);
  margin-bottom: 1.4rem !important;
}
.legal-nav {
  display: flex; flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 14px;
  margin-top: 1.4rem;
}
.legal-nav a {
  color: var(--ink-mute);
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.legal-nav a:hover { color: var(--coral); border-color: var(--coral); }
.legal-nav span { color: var(--ink-mute); }

/* =============================================================
   18. Reduced motion — only intrusive effects gated
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero-scroll-line::after { animation: none; }
  .hero-bg img { animation: none; transform: scale(1.05); }
  .splash-inner { animation: none; opacity: 1; }
  .achebot-fab-pulse { animation: none; opacity: 0; }
  /* Tilt, hovers, fades, transitions stay active — Linear/Vercel style */
}

/* =============================================================
   18. SMASH N BURGER — link de nav + teaser de la submarca
   (acento neón sobre oscuro, contrasta con el crema editorial)
   ============================================================= */
/* ---- Sección de la submarca — PANEL OSCURO FLOTANTE (acabado premium) ----
   Tema oscuro/neón de Smash pero como un panel redondeado que "flota" sobre el
   crema, con margen alrededor: se integra con elegancia, sin corte brusco.
   La identidad completa de Smash vive en smash-burger.html. */
.smash-home {
  background: var(--bg);                       /* marco crema alrededor del panel */
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad-x);
}
.smash-home-panel {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--max); margin-inline: auto;
  background: #0b0b0f; color: #f0f0f2;
  border-radius: clamp(20px, 2.5vw, 30px);
  padding: clamp(2.25rem, 5vw, 4.25rem);
  box-shadow: 0 50px 100px -55px rgba(0,0,0,.95);
}
.smash-home-panel::after {       /* hairline neón interior */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,210,63,.20);
}
.smash-home-panel::before {      /* glow neón ambiental */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 15% 20%, rgba(255,210,63,.14), transparent 60%),
    radial-gradient(45% 60% at 92% 95%, rgba(255,59,59,.13), transparent 60%);
}
.smash-home-head { position: relative; z-index: 1; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.smash-home-head .num { color: #ffd23f; }
.smash-home-head .section-h { color: #fff; max-width: none; }
.smash-home-head .section-h em {
  color: #ff3b3b; font-style: italic;
  text-shadow: 0 0 14px rgba(255,59,59,.45), 0 0 30px rgba(255,59,59,.25);
}
.smash-home-head .section-sub { color: #b9b9c2; }

.smash-home-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.smash-home-figure {
  margin: 0; overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 40px rgba(255,210,63,.1);
}
.smash-home-figure img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 1.5s var(--ease-soft);
}
.smash-home-figure:hover img { transform: scale(1.04); }
.smash-home-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: #c4c4cc;
  max-width: 46ch;
}
.smash-home-lead strong { font-weight: 600; color: #fff; }
.smash-home-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

/* Botones con la paleta de Smash (solo dentro de esta sección) */
.smash-home .btn-primary {
  background: #ff3b3b; color: #fff;
  box-shadow: 0 10px 28px -10px rgba(255,59,59,.6);
}
.smash-home .btn-primary:hover {
  background: #ff5252; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(255,59,59,.85), 0 0 20px rgba(255,59,59,.4);
}
.smash-home .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.3);
}
.smash-home .btn-ghost:hover {
  background: #ffd23f; color: #1a1a1a; border-color: #ffd23f;
}

@media (max-width: 860px) {
  .smash-home-grid { grid-template-columns: 1fr; }
  .smash-home-figure { order: -1; }
}
