/* ============================================================
   LA TRATTORIA — shared overlay styles
   (book flip, form components, mobile-actions)
   ============================================================ */

@font-face {
  font-family: 'Fuente1';
  src: url('/fonts/Fuente1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fuente2';
  src: url('/fonts/Fuente2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ── */
:root {
  /* Brand palette */
  --color-bg-dark:      #160E07;
  --color-bg-dark-alt:  #2B1A0F;
  --color-bg-light:     #F5EDD8;
  --color-gold:         #C9A96E;
  --color-gold-light:   #D9BA84;
  --color-gold-dark:    #9A7340;
  --color-text-light:   #F5EDD8;
  --color-text-muted:   #6B5744;
  --color-text-dark:    #160E07;
  --color-text-dark2:   #2B1A0F;
  --color-divider:      rgba(201,169,110,0.22);
  --color-divider-dark: rgba(201,169,110,0.12);
  --nav-height:         80px;

  /* Aliases for book-flip and form */
  --gold:        #C9A96E;
  --gold-light:  #D9BA84;
  --cream:       #F5EDD8;
  --cream-2:     #E8D9BE;
  --dark:        #160E07;
  --dark-2:      #160E07;
  --dark-3:      #2B1A0F;
  --text:        #160E07;
  --text-med:    #2B1A0F;
  --text-light:  #6B5744;
  --white:       #ffffff;
  --border:      rgba(201,169,110,0.22);
  --border-light:rgba(201,169,110,0.12);
  --terra:       #6B1A22;

  /* Fonts */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Lato', system-ui, -apple-system, sans-serif;
  --font-italic: 'Cormorant Garamond', Georgia, serif;

  /* Book dimensions */
  --book-page-w: 420px;
  --book-page-h: 570px;

  /* Layout */
  --max-w: 1280px;
  --px: clamp(1.25rem, 5vw, 4rem);
  --section-py: clamp(5rem, 10vw, 9rem);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { background: none; border: none; padding: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--color-gold); color: var(--color-bg-dark); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* ── Keyframes ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}

/* ══════════════════════════════════════════
   MENÚ — LIBRO FÍSICO (desktop) + CTA (mobile)
══════════════════════════════════════════ */
#menu {
  background: #fff7eb !important;
  padding: 7rem 1.5rem;
}
.menu-header {
  max-width: 1060px; margin: 0 auto 3.5rem;
  text-align: center;
}
.menu-header h2 { color: var(--color-text-dark); }
.menu-header p  { color: var(--color-text-dark2); }

/* Book wrapper */
.book-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0 3rem;
}

/* El libro */
.book {
  position: relative;
  width: calc(var(--book-page-w) * 2);
  height: var(--book-page-h);
  perspective: 2800px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.45))
          drop-shadow(0 10px 20px rgba(0,0,0,.25));
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(.645,.045,.355,1);
}

/* Modo portada: desplazar el libro a la izquierda media página
   para que solo la portada (mitad derecha) quede centrada */
.book--cover {
  transform: translateX(calc(var(--book-page-w) / -2));
}

/* Fondos de página */
.book-bg {
  position: absolute;
  top: 0;
  width: var(--book-page-w);
  height: var(--book-page-h);
  background: #fff;
  z-index: 0;
  transition: opacity 0.4s ease;
}
.book-bg--left  { left: 0; }
.book-bg--right { right: 0; }

/* Ocultar fondo izquierdo y lomo en modo portada */
.book--cover .book-bg--left { opacity: 0; }
.book--cover .book-spine     { opacity: 0; }

/* Sombra en el lomo */
.book-spine {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.04), rgba(0,0,0,.18));
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Hojas */
.sheet {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--book-page-w);
  height: var(--book-page-h);
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(.645,.045,.355,1);
  will-change: transform;
  z-index: 1;
}
.sheet.flipped {
  transform: rotateY(-180deg);
}

/* Caras de cada hoja */
.sheet-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.sheet-face--front {
  background: #fff;
  box-shadow:
    inset -6px 0 12px rgba(0,0,0,.08),
    inset -1px 0 0 rgba(0,0,0,.04);
}
.sheet-face--back {
  background: #fff;
  transform: rotateY(180deg);
  box-shadow:
    inset 6px 0 12px rgba(0,0,0,.06),
    inset 1px 0 0 rgba(0,0,0,.03);
}

/* Sombra durante el flip */
.sheet.flipping .sheet-face--front::after,
.sheet.flipping .sheet-face--back::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.18), transparent 60%);
  pointer-events: none;
}

/* ── Contenido de las páginas ── */
.page {
  position: absolute;
  inset: 0;
  padding: 2.5rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  font-family: 'Lato', system-ui, sans-serif;
  color: #2a1f15;
  overflow: hidden;
}
.page-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .7rem;
  font-style: italic;
  color: #9a8a78;
  letter-spacing: .1em;
  position: absolute;
  bottom: 1.4rem;
}
.page-num--left  { left: 2.25rem; }
.page-num--right { right: 2.25rem; }

/* Portada */
/* ── Portada estilo menú italiano ── */
.page--cover {
  background: #C64A35;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  overflow: hidden;
}

/* Marco interior fino */
.page-cover-deco {
  position: absolute;
  top: 1rem; bottom: 1rem;
  left: 1.2rem; right: 1.2rem;
  border: 1px solid rgba(255,255,255,.2);
  pointer-events: none;
  z-index: 1;
}
.page-cover-deco::before,
.page-cover-deco::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.35);
}
.page-cover-deco::before { top: -1px;    left: 18px; right: 18px; height: 1px; }
.page-cover-deco::after  { bottom: -1px; left: 18px; right: 18px; height: 1px; }

/* Imagen pasta */
.page-cover-icon {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(.75);
  position: relative;
  z-index: 2;
}

/* Textos portada */
.page-cover-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: .88rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: .06em;
  color: rgba(245,240,232,.82);
  margin-bottom: .35rem;
  position: relative;
  z-index: 2;
}
.page-cover-hrule {
  width: 65px;
  height: 1px;
  background: rgba(245,240,232,.32);
  margin: .5rem auto;
  position: relative;
  z-index: 2;
}
.page-cover-title {
  font-family: 'Fuente1', Georgia, serif;
  font-size: 3.1rem;
  font-weight: 400;
  color: #F5F0E8;
  letter-spacing: .06em;
  line-height: 1.05;
  margin-bottom: .2rem;
  position: relative;
  z-index: 2;
}
.page-cover-word {
  font-family: 'Fuente1', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(245,240,232,.9);
  position: relative;
  z-index: 2;
}
.page-cover-quality {
  font-family: 'Lato', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245,240,232,.55);
  margin-top: .5rem;
  position: relative;
  z-index: 2;
}
.page-cover-est {
  font-family: 'Lato', sans-serif;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245,240,232,.55);
  margin-top: .18rem;
  position: relative;
  z-index: 2;
}


/* Hint animado "Toca para descubrir" */
.page-cover-hint {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 3;
  pointer-events: none;
  animation: hintBob 2.8s ease-in-out infinite;
  transition: opacity 0.7s ease;
}
.page-cover-hint.gone {
  opacity: 0;
}
.page-cover-hint__tap {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-cover-hint__tap::before,
.page-cover-hint__tap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255,220,80,.7);
  border-radius: 50%;
  animation: hintRipple 2.2s ease-out infinite;
}
.page-cover-hint__tap::after {
  animation-delay: 0.8s;
}
.page-cover-hint__dot {
  width: 13px;
  height: 13px;
  background: rgba(255,220,80,.95);
  border-radius: 50%;
}
.page-cover-hint__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.76rem;
  font-style: italic;
  color: rgba(255,220,80,.9);
  letter-spacing: 0.06em;
}
@keyframes hintRipple {
  0%   { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0;   }
}
@keyframes hintBob {
  0%, 100% { transform: translateY(-50%) translateX(0);    }
  50%       { transform: translateY(-50%) translateX(-5px); }
}

/* Introducción */
.page--intro { justify-content: center; }
.page-intro-body { text-align: center; }
.page-ornament {
  display: block;
  font-size: 1.2rem;
  color: #C9A55A;
  margin-bottom: 1.5rem;
}
.page-ornament--lg { font-size: 2rem; margin-bottom: 1rem; }
.page-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: #2a1f15;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.page-rule {
  width: 50px;
  height: 1px;
  background: #C9A55A;
  margin: 1rem auto;
}
.page-intro-text {
  font-size: .825rem;
  line-height: 1.75;
  color: #6a5a4a;
  margin-bottom: .75rem;
}
.page-intro-note {
  font-size: .75rem;
  font-style: italic;
  color: #9a8a78;
  line-height: 1.6;
}

/* Secciones de platos */
.page--dishes { gap: 0; }
.page-section-header { margin-bottom: 1.25rem; }
.page-section-header .page-rule { margin: .6rem 0; }
.page-section-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .8rem;
  font-style: italic;
  color: #C9A55A;
  letter-spacing: .1em;
  margin-bottom: .2rem;
}
.page-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  color: #1a1510;
}
.page-cont-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .85rem;
  font-style: italic;
  color: #C9A55A;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(42,31,21,.1);
}

/* Lista de platos */
.page-dishes { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.page-dishes--compact { gap: .6rem; }
.dish-row {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.dish-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .9rem;
  font-weight: 400;
  color: #1a1510;
  flex-shrink: 1;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 70%;
}
.dish-dots {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted rgba(42,31,21,.25);
  margin-bottom: 3px;
}
.dish-price {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #C9A55A;
  flex-shrink: 0;
}
.dish-desc {
  font-size: .75rem;
  color: #7a6a58;
  line-height: 1.5;
  margin-top: .2rem;
  font-style: italic;
}
.page-dishes--compact .dish-desc { display: none; }

/* Plato agotado */
.dish--agotado .dish-name {
  text-decoration: line-through;
  opacity: .55;
}
.dish-agotado-tag {
  font-size: .7rem;
  background: rgba(201,165,90,.15);
  color: #A8873D;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .02em;
}

/* Cierre */
.page--closing { justify-content: center; align-items: center; text-align: center; }
.page-closing-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #1a1510;
  margin-bottom: .5rem;
}
.page-closing-note {
  font-size: .8rem;
  color: #7a6a58;
  line-height: 1.65;
  max-width: 300px;
  margin: .75rem auto;
}
.page-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #C9A55A;
  color: #1a1510;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .7rem 1.75rem;
  border-radius: 2px;
  margin: 1rem 0 .75rem;
  transition: background .25s;
}
.page-cta:hover { background: #DEC07A; }
.page-closing-locs {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9a8a78;
}

/* Contraportada */
.page--back-cover {
  background: #1a1510;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.page-back-logo {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  color: #F5F0E8;
  letter-spacing: .1em;
  margin: .75rem 0 .4rem;
}
.page-back-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: .9rem;
  color: rgba(245,240,232,.6);
  margin-bottom: .5rem;
}
.page-back-since {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(201,165,90,.6);
}

/* Navegación del libro */
.book-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.book-nav-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Fuente1', system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: #1f2a13;
  padding: .65rem 1.25rem;
  border: 1px solid #1f2a13;
  border-radius: 10px;
  transition: background .25s, border-color .25s;
}
.book-nav-btn:hover:not(:disabled) {
  background: #2e3d1c;
  border-color: #2e3d1c;
}
.book-nav-btn:disabled { opacity: .35; cursor: default; }
.book-nav-info {
  display: none;
}

/* Mobile: CTA para /carta */
.book-section-mobile-cta {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-light);
}
.book-section-mobile-cta p {
  font-size: .85rem;
  color: var(--color-text-dark2);
  opacity: .65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Book responsive */
@media (max-width: 940px) {
  .book-wrapper { display: none; }
  .book-section-mobile-cta { display: block; }
}

/* ── Form components (used inside La Trattoria's .reservas section) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-gold-dark);
}
.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28,18,9,0.2);
  padding: 0.65rem 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  color: var(--color-text-dark);
  transition: border-color 250ms ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.form-input::placeholder { color: rgba(28,18,9,0.3); }
.form-input:focus { border-bottom-color: var(--color-gold-dark); }
.form-input.error { border-bottom-color: #C0392B; }

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8873D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

.form-submit-wrap { margin-top: 2.5rem; }

/* Time slots */
.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
.time-slot {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  padding: .5rem .9rem;
  border: 1px solid rgba(28,18,9,.18);
  border-radius: 2px;
  color: var(--color-text-dark2);
  background: transparent;
  transition: all .22s ease;
  cursor: pointer;
}
.time-slot:hover { border-color: var(--color-gold-dark); color: var(--color-text-dark); }
.time-slot.selected {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  border-color: var(--color-gold);
  font-weight: 600;
}
.time-slots-empty {
  font-size: .85rem;
  color: var(--color-text-dark2);
  opacity: .6;
  font-style: italic;
}

/* Mesa picker */
.mesa-picker {
  margin-bottom: 1.5rem;
  animation: fadeInUp .25s ease;
}
.mesa-picker__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .65rem;
  flex-wrap: wrap;
  gap: 4px;
}
.mesa-picker__label  {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 500;
}
.mesa-picker__opt    { font-size: .7rem; letter-spacing: .5px; color: rgba(28,18,9,.4); text-transform: none; }
.mesa-picker__hint   { font-size: .78rem; color: rgba(28,18,9,.5); font-style: italic; margin-bottom: .5rem; }
.mesa-picker__grid   { display: block; }

/* Plano visual */
.mp-plano {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  background-color: #111114;
  background-image: radial-gradient(circle, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mp-zona { position:absolute; display:flex; align-items:flex-start; padding:6px 8px; border-radius:4px; pointer-events:none; }
.mp-zona-label { font-size:8px; letter-spacing:2px; text-transform:uppercase; font-weight:600; }
.mp-zona--salon   { left:1%; top:1%; width:63%; height:97%; background:rgba(255,255,255,.018); border:1px solid rgba(255,255,255,.07); color:rgba(255,255,255,.22); }
.mp-zona--terraza { left:65.5%; top:1%; width:33.5%; height:97%; background:rgba(52,196,122,.04); border:1px solid rgba(52,196,122,.14); color:rgba(52,196,122,.4); }
.mp-mesa { position:absolute; display:flex; align-items:center; justify-content:center; transform:translate(-50%,-50%); transition:transform .15s ease; user-select:none; cursor:default; }
.mp-mesa--libre  { cursor:pointer; }
.mp-mesa--libre:hover  { transform:translate(-50%,-50%) scale(1.12); z-index:10; }
.mp-mesa--selected { z-index:11; }
.mp-mesa--selected .mp-surface { box-shadow:0 0 0 2.5px #fff, 0 0 14px rgba(255,255,255,.3); }
.mp-mesa--cap2 { width:59px; height:59px; }
.mp-mesa--cap4 { width:67px; height:67px; }
.mp-mesa--cap6 { width:92px; height:63px; }
.mp-mesa--cap8 { width:78px; height:78px; }
.mp-surface { display:flex; align-items:center; justify-content:center; transition:box-shadow .15s; position:relative; z-index:1; flex-shrink:0; }
.mp-mesa--cap2 .mp-surface { width:35px; height:35px; }
.mp-mesa--cap4 .mp-surface { width:42px; height:42px; }
.mp-mesa--cap6 .mp-surface { width:62px; height:35px; }
.mp-mesa--cap8 .mp-surface { width:46px; height:46px; }
.mp-mesa--redonda    .mp-surface { border-radius:50%; }
.mp-mesa--cuadrada   .mp-surface { border-radius:5px; }
.mp-mesa--rectangular .mp-surface { border-radius:5px; }
.mp-mesa--libre   .mp-surface { background:#1d4a34; border:2px solid #34c47a; color:#52e899; }
.mp-mesa--ocupada .mp-surface { background:#3d2e0c; border:2px solid #c9a84c; color:#e8c060; }
.mp-mesa--pequena .mp-surface { background:#1e1e22; border:2px solid rgba(255,255,255,.14); color:rgba(255,255,255,.22); }
.mp-silla   { position:absolute; left:50%; top:50%; border-radius:50%; width:10px; height:10px; }
.mp-silla--h { border-radius:3px; width:13px; height:8px; }
.mp-silla--v { border-radius:3px; width:8px; height:13px; }
.mp-mesa--libre   .mp-silla { background:#2a6040; border:1px solid #34c47a; }
.mp-mesa--ocupada .mp-silla { background:#4a3814; border:1px solid #c9a84c; }
.mp-mesa--pequena .mp-silla { background:#252528; border:1px solid rgba(255,255,255,.1); }
.mp-mesa-num { font-size:8px; font-weight:700; line-height:1; }
.mp-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; margin-top:6px; }
.mp-no-prefer {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  background: none;
  border: 1px solid rgba(168,135,61,.35);
  border-radius: 20px;
  color: var(--color-text-dark2);
  padding: 5px 16px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.mp-no-prefer:hover    { border-color:var(--color-gold-dark); color:var(--color-text-dark); }
.mp-no-prefer--active  { border-color:var(--color-gold-dark); color:var(--color-gold-dark); }
.mp-selected-info { font-size:12px; color:var(--color-text-dark2); font-style:italic; opacity:.7; }

/* Lista de espera */
.espera-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,165,90,.07);
  border: 1px solid rgba(201,165,90,.25);
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 1.5rem;
  margin-bottom: 8px;
}
.espera-banner__text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--color-text-dark2);
  opacity: .8;
  line-height: 1.4;
}
.espera-banner__icon { font-size: 1rem; flex-shrink: 0; }
.espera-banner__link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--color-gold-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.espera-banner__link:hover,
.espera-banner__btn:hover { opacity: .8; }
.espera-banner__btn {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(168,135,61,.4);
  border-radius: 2px;
  padding: 6px 14px;
  font-family: 'Lato', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.espera-banner__btn:hover { background: var(--color-gold); color: var(--color-bg-dark); }
.espera-form {
  background: #fff;
  border: 1px solid rgba(168,135,61,.3);
  border-radius: 4px;
  padding: 20px 20px 16px;
  margin-bottom: 8px;
}
.espera-form__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 8px;
  font-family: 'Lato', sans-serif;
}
.espera-form__close {
  background: none;
  border: none;
  color: rgba(28,18,9,.35);
  font-size: 14px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.espera-form__close:hover { color: var(--color-text-dark); }
.espera-form__desc { font-size: .84rem; color: rgba(28,18,9,.5); margin-bottom: 14px; line-height: 1.5; }
.espera-form__msg { font-size: .84rem; padding: 8px 12px; border-radius: 4px; margin-bottom: 10px; }
.espera-form__msg--ok    { background: rgba(52,196,122,.1); color: #2d6a4f; border: 1px solid rgba(52,196,122,.3); }
.espera-form__msg--error { background: rgba(224,92,58,.08); color: #b85c38; border: 1px solid rgba(224,92,58,.2); }
.espera-form__submit {
  width: 100%;
  padding: .7rem 1rem;
  background: transparent;
  border: 1px solid var(--color-gold-dark);
  border-radius: 2px;
  color: var(--color-gold-dark);
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.espera-form__submit:hover:not(:disabled) { background: var(--color-gold); color: var(--color-bg-dark); border-color: var(--color-gold); }
.espera-form__submit:disabled { opacity: .6; cursor: default; }

/* Alergias multi-select */
.alergia-select { position: relative; }
.alergia-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #e8ddd0;
  border: 1px solid rgba(192,57,43,.15);
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(44,24,16,.55);
  cursor: pointer;
  text-align: left;
  transition: border-color .25s;
}
.alergia-trigger:hover,
.alergia-trigger--open { border-color: rgba(192,57,43,.55); }
.alergia-trigger svg { flex-shrink: 0; transition: transform .2s; stroke: rgba(44,24,16,.4); }
.alergia-trigger--open svg { transform: rotate(180deg); }
.alergia-trigger__label--filled { color: var(--color-text-dark); }
.alergia-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid rgba(168,135,61,.25);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 50;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 260px;
  overflow-y: auto;
}
.alergia-dropdown[hidden] { display: none !important; }
.alergia-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .12s;
  user-select: none;
}
.alergia-opt:hover { background: rgba(168,135,61,.08); }
.alergia-opt input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px !important;
  height: 16px;
  min-width: 16px;
  padding: 0 !important;
  border: 1px solid rgba(28,18,9,.25);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 !important;
  transition: background .15s, border-color .15s;
}
.alergia-opt input[type="checkbox"]:checked {
  background: var(--color-gold);
  border-color: var(--color-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230D1A0E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.alergia-opt span { font-size: .88rem; color: var(--color-text-dark); flex: 1; line-height: 1.2; }
.alergia-opt small { font-size: .72rem; color: rgba(28,18,9,.4); }

/* Privacy checkbox */
.form-group--check { margin-top: .5rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .82rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--color-text-dark2);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(28,18,9,.25);
  border-radius: 2px;
  background: #fff;
  margin-top: 2px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox-label input:checked + .checkbox-custom { background: var(--color-gold); border-color: var(--color-gold); }
.checkbox-label input:checked + .checkbox-custom::after { content: '✓'; font-size: .65rem; color: var(--color-bg-dark); font-weight: 700; }

/* Form success */
#formSuccess[hidden] { display: none; }
#formSuccess {
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-gold-dark);
  background: rgba(168,135,61,.06);
  text-align: center;
  margin-top: 1.5rem;
  border-radius: 2px;
}
#formSuccess p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-dark);
  line-height: 1.7;
}
/* ── Reserva confirmada ────────────────────────────────────── */
#formSuccess {
  text-align: center;
  padding: 2rem 1rem;
}
.reserva-success__img {
  width: 190px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}
.reserva-success__title {
  font-family: 'Lato', system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text-dark);
  margin-bottom: .75rem;
  letter-spacing: .04em;
}
.reserva-success__code {
  font-family: 'Lato', system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: .88rem;
  font-weight: 300;
  color: var(--color-gold-dark);
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.reserva-success__sub {
  font-family: 'Lato', system-ui, sans-serif !important;
  font-size: .85rem;
  font-weight: 300;
  color: var(--color-text-dark2);
  line-height: 1.8;
  opacity: .75;
}

.form-api-error {
  color: #b85c38;
  font-size: .82rem;
  margin-top: 12px;
  text-align: center;
  font-family: 'Lato', sans-serif;
}

/* Info block */
.reservas-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.reservas-info-block { margin-bottom: 2.5rem; }
.info-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.6rem;
  display: block;
}
.info-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem; font-weight: 300;
  color: var(--color-text-dark2);
  line-height: 1.9;
}
.info-text a { color: var(--color-text-dark); transition: color 250ms ease; }
.info-text a:hover { color: var(--color-gold-dark); }
.social-links { display: flex; gap: 1rem; margin-top: 0.75rem; }
.social-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-dark2);
  transition: color 250ms ease;
  cursor: pointer;
}
.social-link:hover { color: var(--color-gold-dark); }

/* ── Mobile action cards ── */
.mobile-actions {
  display: none;
  background: var(--color-bg-dark);
  padding: 1.25rem 1rem 1.5rem;
  gap: 0.75rem;
}
.action-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--color-text-light);
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.18);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  text-align: center;
}
.action-card:hover,
.action-card:focus { background: rgba(201,169,110,0.12); border-color: rgba(201,169,110,0.45); color: var(--color-gold); outline: none; }
.action-card svg { flex-shrink: 0; }

/* ── Scroll animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
[data-animate="left"]  { transform: translateX(-22px); }
[data-animate="right"] { transform: translateX(22px); }
[data-animate="scale"] { transform: scale(0.97); }
[data-animate].visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Divider */
.divider-gold {
  height: 1px;
  background: var(--color-divider);
  margin: 2rem 0;
}

/* Mobile-only nav link for Menú */
.nav-menu-mobile { display: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .reservas-inner { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 768px) {
  #menu { display: none; }
  #reservas { display: none !important; }
  .form-row { grid-template-columns: 1fr; }

  /* Lista de espera banner: apilar en columna */
  .espera-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .espera-banner__btn {
    margin-left: 0;
    align-self: stretch;
    text-align: center;
  }

  /* Mostrar enlace móvil del nav, ocultar desktop */
  .nav-menu-desktop { display: none; }
  .nav-menu-mobile  { display: block; }

  /* Hero: ocultar pizza scroll y posicionar action cards en la base */
  .hero__scroll { display: none !important; }

  .hero .mobile-actions {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, rgba(22, 14, 7, 0.92));
    padding: 3rem 0.75rem 1.5rem;
    gap: 0.5rem;
    z-index: 3;
  }

  .hero .mobile-actions .action-card {
    font-size: 0.57rem;
    padding: 0.9rem 0.35rem 0.8rem;
    background: rgba(31, 42, 19, 0.82);
    border-color: rgba(31, 42, 19, 0.82);
    color: #f5ede0;
  }

  .hero .mobile-actions .action-card:hover,
  .hero .mobile-actions .action-card:focus {
    background: #1f2a13;
    border-color: #1f2a13;
    color: #f5ede0;
  }
}

@media (max-width: 480px) {
  #menu { padding: 4rem 1rem; }
}

/* ══════════════════════════════════════════════════════════════
   OVERRIDES DE INTEGRACIÓN — nuevo diseño + libro/reservas
   ══════════════════════════════════════════════════════════════ */

/* Sección #menu sobre fondo crema del nuevo diseño */
#menu {
  background: var(--color-bg-light, #F5EDD8);
}

/* Formulario de reservas: los .form-group están sobre fondo claro;
   pagina_web/style.css los pone en modo "fondo verde" para el newsletter,
   así que reestablecemos los estilos correctos aquí con más especificidad. */
.reservas__form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reservas__form .form-group label {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dark, #9A7340);
}
.reservas__form .form-group input,
.reservas__form .form-group select,
.reservas__form .form-group textarea {
  background: transparent;
  color: var(--color-text-dark, #160E07);
  border: none;
  border-bottom: 1px solid rgba(28,18,9,0.2);
  border-radius: 0;
  padding: 0.65rem 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 250ms ease;
}
.reservas__form .form-group input::placeholder,
.reservas__form .form-group textarea::placeholder {
  color: rgba(28,18,9,0.3);
}
.reservas__form .form-group input:focus,
.reservas__form .form-group select:focus,
.reservas__form .form-group textarea:focus {
  border-bottom-color: var(--color-gold-dark, #9A7340);
  background: transparent;
}
.reservas__form .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8873D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.reservas__form .form-group input.error,
.reservas__form .form-group select.error {
  border-bottom-color: #C0392B;
}

/* Newsletter form: restaurar estilos de fondo verde del nuevo diseño
   (ya vienen de pagina_web/style.css, pero damos más especificidad por si acaso) */
.newsletter-form .form-group.nl-group label {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.newsletter-form .form-group.nl-group input {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius, 4px);
  padding: 0.8rem 1rem;
}
.newsletter-form .form-group.nl-group input::placeholder {
  color: rgba(255,255,255,0.35);
}
.newsletter-form .form-group.nl-group input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
}

/* Iconos del bloque de info de reservas */
.reservas__details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reservas__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.reservas__details li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-gold-dark, #9A7340);
  stroke: var(--color-gold-dark, #9A7340);
}
.reservas__details li div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.reservas__details li strong {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark, #9A7340);
  display: block;
}
.reservas__details li span {
  color: var(--color-text-dark2, #6B5744);
  font-size: 0.85rem;
}

/* ── Sección reservas: fondo propio + espacio bajo botón ──── */
.reservas {
  background: #F5EDD8 !important;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── Layout dos columnas reservas ─────────────────────────── */
.reservas__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

/* Columna izquierda: recuadro verde */
.reservas__info {
  background: #1f2a13;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: #fff;
}
.reservas__info .section-title {
  color: #fff;
}
.reservas__info > p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.reservas__info .reservas__details li svg {
  stroke: rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.7);
}
.reservas__info .reservas__details li strong {
  color: rgba(255,255,255,0.6);
}
.reservas__info .reservas__details li span {
  color: #fff;
}

/* Botón reservar: rojo con texto blanco */
.btn--primary,
#submitBtn {
  background: #c13336;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn--primary:hover,
#submitBtn:hover {
  background: #9e1f22;
}
.btn--full {
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .reservas__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Animación entrada libro ──────────────────────────────── */
.book-slide {
  transform: translateX(120vw);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.9s ease;
}
.book-slide.book-visible {
  transform: translateX(0);
  opacity: 1;
}

/* ── Sección cocina regional ──────────────────────────────── */
.cucina-layout {
  display: grid;
  grid-template-columns: 2.1fr auto 2.1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3.5rem;
}
.cucina-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cucina-col--right {
  justify-content: center;
}
.cucina-layout {
  position: relative;
}
.cucina-arrows-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}
@keyframes arrow-draw {
  to { stroke-dashoffset: 0; }
}
.cucina-map {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: -80px;
}
.cucina-map__inner {
  position: relative;
  display: inline-block;
}
.cucina-map img {
  width: 600px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.map-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #c13336;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: map-pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(193,51,54,0.5);
}
@keyframes map-pulse {
  0%   { transform: translate(-50%,-50%) scale(1);   box-shadow: 0 0 0 0 rgba(193,51,54,0.5); }
  50%  { transform: translate(-50%,-50%) scale(1.5); box-shadow: 0 0 0 8px rgba(193,51,54,0); }
  100% { transform: translate(-50%,-50%) scale(1);   box-shadow: 0 0 0 0 rgba(193,51,54,0); }
}
.cucina-card {
  background: #fff;
  border-radius: 14px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(31,42,19,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cucina-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.cucina-card__region {
  font-family: 'Fuente2', cursive;
  font-size: 1.23rem;
  color: #c13336;
}
.cucina-card__dish {
  font-family: 'Fuente1', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #1f2a13;
  margin: 0;
  white-space: nowrap;
}
.cucina-card__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #5a5a4a;
  margin: 0;
}
@media (max-width: 900px) {
  .cucina-layout {
    grid-template-columns: 1fr;
  }
  .cucina-map img { width: 200px; margin: 0 auto; }
}

/* ── Galería de imágenes ──────────────────────────────────── */
.galeria-section {
  padding: 6rem 0;
  background: #F5EDD8;
}
.galeria-header {
  text-align: center;
  margin-bottom: 3rem;
}
.galeria-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #1f2a13;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.galeria-item {
  overflow: hidden;
  border-radius: 12px;
}
.galeria-item--wide {
  grid-column: span 2;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.galeria-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .galeria-item--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .galeria-item--wide { grid-column: span 1; }
}

/* ── Sección delivery / recogida ──────────────────────────── */
.delivery-section {
  padding: 6rem 0;
  background: var(--color-cream, #fff7eb);
}
.delivery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.delivery-header .section-label {
  font-family: 'Fuente2', cursive;
  text-transform: none;
  font-size: 1.44rem;
}
.delivery-header h2 {
  font-family: 'Fuente1', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #1f2a13;
  line-height: 1.2;
  margin-top: 0.5rem;
}
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.delivery-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(31,42,19,0.1);
}
.delivery-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(31,42,19,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #1f2a13;
}
.delivery-card h3 {
  font-family: 'Fuente1', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: #1f2a13;
  margin-bottom: 0.75rem;
}
.delivery-card > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5a5a4a;
  margin-bottom: 1.5rem;
}
.delivery-card__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(31,42,19,0.1);
  padding-top: 1.25rem;
}
.delivery-card__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #3d3d2e;
}
.delivery-card__details li svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #1f2a13;
  opacity: 0.6;
}
.delivery-cta {
  text-align: center;
}
.delivery-btn {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 3.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}
@media (max-width: 768px) {
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Cucina móvil: ocultar columnas y flechas, mostrar solo mapa ── */
.cucina-mobile-hint {
  display: none;
}
@media (max-width: 768px) {
  .cucina-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cucina-col,
  .cucina-arrows-svg {
    display: none !important;
  }
  .cucina-map {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
  }
  .cucina-map__inner {
    position: relative;
    width: min(90vw, 360px);
  }
  .cucina-map__inner img {
    width: 100%;
    height: auto;
  }
  .cucina-mobile-hint {
    display: block;
    font-family: 'Fuente1', serif;
    font-size: 1.5rem;
    color: #c13336;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
  }
  /* make dots easier to tap */
  .map-dot {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
  }
}

/* ── Popup de región (visible solo en móvil) ── */
.cucina-popup {
  display: none;
}
@media (max-width: 768px) {
  .cucina-popup {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .cucina-popup--open {
    pointer-events: auto;
    opacity: 1;
  }
  .cucina-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
  }
  .cucina-popup__card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff7eb;
    border-radius: 20px 20px 0 0;
    padding: 2rem 1.6rem 2.4rem;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
  }
  .cucina-popup--open .cucina-popup__card {
    transform: translateY(0);
  }
  .cucina-popup__close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    line-height: 1;
  }
  .cucina-popup__region {
    font-family: 'Fuente2', cursive;
    font-size: 1.1rem;
    color: #c13336;
    margin-bottom: 0.5rem;
  }
  .cucina-popup__dish {
    font-family: 'Fuente1', serif;
    font-size: 1.7rem;
    color: #1f2a13;
    margin: 0 0 0.8rem;
    line-height: 1.2;
  }
  .cucina-popup__desc {
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    color: #3d3d2e;
    line-height: 1.65;
    margin: 0;
  }
}
