/* Fuentes alojadas en la propia web (sin conexión a Google) */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); }

/* A Fuego Lento · Marbella
   Idea: la mesa de la casa — mantel de cuadros, platos blancos, la olla humeante del logo.
   Paleta: negro logo, blanco plato, rojo mantel, verde albahaca, gris harina.
   Tipos: Young Serif (títulos, trazo firme y legible), Instrument Sans (texto). */
:root {
  --ink: #000;
  --ink-2: #3a3a38;
  --ink-3: #5a5a55;
  --plate: #fff;
  --flour: #f2f2ef;
  --red: #c3172b;
  --red-dark: #9d0f20;
  --basil: #1e4d33;
  --wa: #127a3c;
  --line: #dcdcd6;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala única de 7 tamaños: ningún texto usa otro valor */
  --t-xs: .8125rem;                                   /* 13 px · notas y pies */
  --t-sm: .9375rem;                                   /* 15 px · interfaz, botones, descripciones */
  --t-md: 1.0625rem;                                  /* 17 px · texto */
  --t-lg: 1.25rem;                                    /* 20 px · nombres de platos y datos destacados */
  --t-xl: clamp(1.5rem, 1.25rem + .8vw, 1.875rem);    /* 24–30 px · subtítulos */
  --t-2xl: clamp(2rem, 1.55rem + 1.5vw, 2.75rem);     /* 32–44 px · títulos de sección */
  --t-hero: clamp(2.25rem, 1.45rem + 2.6vw, 3.5rem);  /* 36–56 px · titular de portada */

  --wrap: 1200px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 7.5rem);
  --check: 44px;
  --gingham:
    linear-gradient(90deg, rgba(195,23,43,.5) 50%, transparent 50%),
    linear-gradient(rgba(195,23,43,.5) 50%, transparent 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: var(--t-md); line-height: 1.55;
  color: var(--ink); background: var(--plate); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--flour); }
.btn-wa { background: var(--wa); color: #fff; min-height: 52px; padding-inline: 1.6rem; }
.btn-wa:hover { background: #0e6431; }
.btn-wa svg { width: 24px; height: 24px; fill: currentColor; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s;
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.round:hover { background: var(--ink); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 54px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a:not(.btn) { text-decoration: none; font-weight: 500; font-size: var(--t-sm); position: relative; }
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav-list a:not(.btn):hover::after { transform: scaleX(1); }
.nav { display: flex; align-items: center; gap: 1.4rem; }

/* Desplegable de la carta: especialidades */
.has-sub { position: relative; display: flex; align-items: center; gap: .1rem; }
.sub-btn {
  display: grid; place-items: center; width: 28px; height: 28px; margin-right: -.4rem; border: 0; border-radius: 50%;
  background: none; color: var(--ink); cursor: pointer;
}
.sub-btn svg { width: 11px; height: 8px; transition: transform .2s; }
.sub-btn:hover { background: var(--flour); }
.has-sub.open .sub-btn svg { transform: rotate(180deg); }
.sub {
  display: none; position: absolute; top: calc(100% + 16px); left: -1rem; width: 300px; z-index: 60;
  list-style: none; margin: 0; padding: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 44px -22px rgba(0,0,0,.38);
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }   /* puente para el ratón */
.has-sub.open .sub { display: grid; animation: sub-in .16s ease-out; }
@keyframes sub-in { from { transform: translateY(-4px); } }
.nav-list .sub a { display: flex; align-items: center; gap: .8rem; padding: .45rem .55rem; border-radius: 11px; font-size: var(--t-md); }
.nav-list .sub a::after { display: none; }
.sub img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--flour); }
.sub a:hover { background: var(--flour); }
.sub a[aria-current="page"] { color: var(--red); }
.sub-all { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--line); }
.nav-list .sub-all a { font-weight: 600; }
.sub-all small { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--ink-3); }
.nav-toggle { display: none; }
.nav .lang { order: 2; }
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a {
  display: grid; place-items: center; border-radius: 999px; min-width: 40px; min-height: 34px;
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); text-decoration: none;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero: mantel + plato ---------- */
.hero {
  position: relative; overflow: hidden; min-height: min(92vh, 860px);
  display: grid; place-items: center; padding: clamp(3rem, 7vw, 5rem) var(--gut); isolation: isolate;
}
.tablecloth { position: absolute; inset: 0; z-index: -2; background-color: #fff; background-image:
  linear-gradient(90deg, rgba(195,23,43,.55) 50%, transparent 50%), linear-gradient(rgba(195,23,43,.55) 50%, transparent 50%);
  background-size: var(--check) var(--check); }
.tablecloth::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,0) 40%, rgba(60,0,8,.28) 100%); }
.plate {
  position: relative; width: min(640px, 92vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 61%, #f6f6f3 62%, #fff 66%, #fafaf8 70%, #ecece7 71.5%, #fff 73%);
  box-shadow: 0 2px 0 #e4e4de, 0 30px 60px -20px rgba(60,0,8,.55), 0 8px 18px rgba(0,0,0,.18);
  display: grid; place-items: center;
}
.plate-inner { width: 70%; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.plate-kicker { font-size: var(--t-xs); color: var(--ink-3); font-weight: 500; max-width: 34ch; text-wrap: balance; }
.hero h1 { font-size: var(--t-hero); text-wrap: balance; }
.plate-sub { color: var(--ink-2); font-size: var(--t-sm); max-width: 40ch; text-wrap: pretty; }
.plate-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .25rem; }

/* Vapor: el único movimiento automático de la página */
.steam { position: absolute; left: 50%; top: -11%; width: 34%; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.steam path {
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round;
  opacity: 0; stroke-dasharray: 160; stroke-dashoffset: 160; animation: steam 5.5s ease-in-out infinite;
}
.steam path:nth-child(2) { animation-delay: 1.4s; stroke-width: 6; }
.steam path:nth-child(3) { animation-delay: 2.8s; }
@keyframes steam {
  0% { opacity: 0; stroke-dashoffset: 160; transform: translateY(14px); }
  25% { opacity: .85; }
  60% { opacity: .55; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: -150; transform: translateY(-16px); }
}
.hero-dish { position: absolute; z-index: -1; filter: drop-shadow(0 18px 22px rgba(60,0,8,.4)); }
.hero-dish.d1 { width: clamp(240px, 30vw, 470px); left: -3%; bottom: 4%; }
.hero-dish.d2 { width: clamp(220px, 26vw, 400px); right: -6%; top: 5%; }
.hero-dish.d3 { width: clamp(110px, 12vw, 190px); right: 9%; bottom: 6%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-dish { animation: serve .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-dish.d1 { --from: translate(-40px, 30px) rotate(-6deg); animation-delay: .15s; }
  .hero-dish.d2 { --from: translate(40px, -30px) rotate(12deg); animation-delay: .3s; }
  .hero-dish.d3 { --from: translate(30px, 30px); animation-delay: .45s; }
  .plate { animation: plate .7s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes serve { from { opacity: 0; transform: var(--from); } }
@keyframes plate { from { transform: scale(.97); } }

/* ---------- Datos ---------- */
.facts { background: var(--ink); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid > div { padding: 1.6rem 1.5rem; border-left: 1px solid rgba(255,255,255,.18); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.fact-t { font-size: var(--t-lg); margin-bottom: .2rem; }
.facts p { color: rgba(255,255,255,.75); font-size: var(--t-sm); }
.facts a { color: #fff; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Encabezados de sección ---------- */
.sec-head { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 62ch; }
.sec-title { font-size: var(--t-2xl); }
.sec-lead { color: var(--ink-2); font-size: var(--t-md); max-width: 56ch; text-wrap: pretty; }
.sec-head-light .sec-lead { color: rgba(255,255,255,.78); }

/* ---------- Favoritos ---------- */
.favs { padding: var(--sec) 0 calc(var(--sec) * .7); }
.favs-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.favs-nav { display: flex; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.favs-play .i-play { display: none; }
.favs-play[aria-pressed="true"] .i-pause { display: none; }
.favs-play[aria-pressed="true"] .i-play { display: block; fill: currentColor; stroke-linejoin: round; }
.favs-play { margin-right: .5rem; }
.favs-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 28vw, 360px);
  gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)) 1.25rem;
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.favs-track::-webkit-scrollbar { display: none; }
.fav { scroll-snap-align: start; display: grid; gap: .35rem; cursor: pointer; text-align: left; background: none; border: 0; padding: 0; min-width: 0; }
.fav-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--flour); margin-bottom: .55rem; }
.fav-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fav-img.is-cut { background-color: #fff; background-image: var(--gingham); background-size: 36px 36px; }
.fav-img.is-cut img { object-fit: contain; padding: 1rem; filter: drop-shadow(0 14px 16px rgba(60,0,8,.35)); }
.fav:hover .fav-img img { transform: scale(1.035); }
.fav-name { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.25; }
.fav-cat { font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- Carta: platos sobre la mesa ---------- */
.menu { padding: calc(var(--sec) * .7) 0 var(--sec); background: var(--flour); }
.chips {
  position: sticky; top: 76px; z-index: 5; display: flex; gap: .5rem; overflow-x: auto;
  padding: .9rem 0; margin-bottom: 1.5rem; background: var(--flour); scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: .45rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: var(--t-sm);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.menu-body { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.cat-title { font-size: var(--t-xl); display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem;
  padding-bottom: .9rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.cat-note { font-family: var(--sans); font-size: var(--t-sm); color: var(--ink-3); }
.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2.25rem 1.75rem; }
.pl {
  display: grid; justify-items: center; text-align: center; gap: .4rem; width: 100%;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.pl-img {
  width: min(190px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: .7rem;
  background-color: #fff; background-image: var(--gingham); background-size: 18px 18px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 18px 26px -14px rgba(60,0,8,.45);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.pl-img img { width: 100%; height: 100%; object-fit: cover; }
.pl-img.is-cut img { object-fit: contain; transform: scale(1.12); }
.pl-empty { display: grid; place-items: center; background: #fff; }
.pl-empty img { width: 62%; height: auto; object-fit: contain; opacity: .9; }
.pl:hover .pl-img { transform: translateY(-4px) rotate(-3deg); }
.pl-name { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.25; max-width: 22ch; text-wrap: balance; }
.pl-desc { font-size: var(--t-sm); color: var(--ink-3); line-height: 1.45; max-width: 30ch; }
.menu-note { margin-top: 3rem; font-size: var(--t-sm); color: var(--ink-3); max-width: 70ch; }

/* ---------- Banda Wagyu ---------- */
.band { background: var(--red); color: #fff; overflow: hidden; }
.band-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.band img { width: min(440px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; justify-self: center;
  border: 12px solid #fff; box-shadow: 0 0 0 1px #e4e4de, 0 30px 50px -18px rgba(40,0,6,.7); }
.band h2 { font-size: var(--t-2xl); margin-bottom: .8rem; max-width: 14ch; }
.band p { color: rgba(255,255,255,.9); max-width: 40ch; margin-bottom: 1.6rem; }

/* ---------- Navidad ---------- */
.xmas { background: var(--basil); color: #fff; padding: var(--sec) 0; }
.xmas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.sheet {
  background: #fff; color: var(--ink); border-radius: 4px; padding: clamp(1.75rem, 4vw, 3rem);
  display: grid; gap: 1.5rem; justify-items: start; box-shadow: 0 30px 50px -25px rgba(0,0,0,.6); position: relative;
}
.sheet::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; border-radius: 4px 4px 0 0;
  background-image: linear-gradient(90deg, var(--red) 50%, transparent 50%); background-size: 20px 10px; }
.sheet-head { width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.sheet h3 { font-size: var(--t-xl); }
.sheet-date { color: var(--ink-3); margin-top: .3rem; }
.sheet-opt { margin-top: .6rem; font-weight: 600; font-size: var(--t-sm); color: var(--red); }
.sheet-list { margin: 0; display: grid; gap: .25rem; }
.sheet-list dt { font-weight: 600; font-size: var(--t-sm); margin-top: .8rem; }
.sheet-list dt:first-child { margin-top: 0; }
.sheet-list dd { margin: 0; font-size: var(--t-md); line-height: 1.5; color: var(--ink-2); }
.sheet-list small { display: block; font-family: var(--sans); font-size: var(--t-xs); color: var(--ink-3); margin-top: .15rem; }

/* ---------- Reserva: una frase que se completa ---------- */
.booking { padding: var(--sec) 0; }
.booking-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sentence { display: grid; gap: .3rem; justify-items: start; }
.s-line {
  font-family: var(--serif); font-size: var(--t-xl); line-height: 1.5;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .35em;
}
.s-field { position: relative; display: inline-flex; }
.s-field select, .s-field input {
  font: inherit; color: var(--red); background: transparent;
  border: 0; border-bottom: 2.5px solid var(--ink); border-radius: 0; padding: 0 .1em .05em; min-height: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .2s;
}
.s-field select:hover, .s-field input:hover { border-bottom-color: var(--red); }
.s-field select:focus-visible, .s-field input:focus-visible { outline: none; border-bottom-color: var(--red); background: rgba(195,23,43,.06); }
.s-num select { padding-right: .7em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c3172b' stroke-width='2'/%3E%3C/svg%3E") right .05em center / .4em auto no-repeat; }
.s-time select { padding-right: .7em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c3172b' stroke-width='2'/%3E%3C/svg%3E") right .05em center / .4em auto no-repeat; }
.s-date-text {
  color: var(--red); border-bottom: 2.5px solid var(--ink); padding: 0 .1em .05em; white-space: nowrap;
}
.s-date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: pointer; }
.s-date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.s-date:hover .s-date-text, .s-date:focus-within .s-date-text { border-bottom-color: var(--red); }
.s-date:focus-within .s-date-text { background: rgba(195,23,43,.06); outline: 3px solid var(--red); outline-offset: 3px; }
.s-date.invalid .s-date-text { background: rgba(195,23,43,.08); border-bottom-color: var(--red); }
.s-name input { width: 8.5em; cursor: text; }
.s-name input::placeholder { color: #b5b5ae; }
.s-field.invalid select, .s-field.invalid input { border-bottom-color: var(--red); background: rgba(195,23,43,.08); }
.quick { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 .6rem; }
.q {
  min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: var(--t-sm); font-weight: 500; cursor: pointer;
}
.q:hover { border-color: var(--ink); }
.q[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.err { display: none; color: var(--red); font-size: var(--t-sm); font-weight: 600; margin-top: .6rem; }
.err.show { display: block; }
.sentence .btn-wa { margin-top: 1.6rem; }
.form-note { font-size: var(--t-xs); color: var(--ink-3); margin-top: .6rem; max-width: 52ch; }

.booking-side { position: sticky; top: 110px; display: grid; gap: 1.1rem; }
.wa-preview {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background-color: #efe7dc;
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px); background-size: 14px 14px;
}
.wa-head { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: #075e54; color: #fff; font-weight: 600; font-size: var(--t-sm); }
.wa-head img { border-radius: 50%; background: #fff; }
.wa-head span { margin-left: auto; font-weight: 400; opacity: .75; font-size: var(--t-xs); }
.wa-bubble {
  margin: 1.2rem 1.2rem 1.4rem auto; max-width: 88%; width: fit-content;
  background: #d9fdd3; border-radius: 10px 0 10px 10px; padding: .75rem .9rem;
  font-size: var(--t-sm); line-height: 1.5; white-space: pre-wrap; word-break: break-word;
  box-shadow: 0 1px 1px rgba(0,0,0,.12); position: relative;
}
.wa-bubble::after { content: ""; position: absolute; right: -8px; top: 0; border: 8px solid transparent; border-top-color: #d9fdd3; border-left-color: #d9fdd3; }
.wa-bubble b { font-weight: 600; }
.booking-alt { font-size: var(--t-sm); color: var(--ink-2); }
.booking-alt a { white-space: nowrap; }

/* ---------- Visítanos ---------- */
.visit { padding: 0 0 var(--sec); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; border-top: 1px solid var(--line); padding-top: var(--sec); }
.visit-grid > div:first-child { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.visit-grid .sec-title { margin: 0; }
.visit-dl { width: 100%; display: grid; grid-template-columns: minmax(7rem, auto) 1fr; margin: .5rem 0 .75rem; border-top: 1px solid var(--line); }
.visit-dl dt, .visit-dl dd { padding: .85rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.visit-dl dt { font-size: var(--t-sm); font-weight: 600; color: var(--ink-3); padding-right: 1.5rem; }
.visit-dl dd { font-size: var(--t-md); color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.visit-dl address { font-style: normal; }
.visit-dl a { text-underline-offset: 3px; text-decoration-color: var(--line); }
.visit-dl a:hover { text-decoration-color: var(--red); }
.map { min-height: 380px; border-radius: 8px; overflow: hidden; background: var(--flour); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: clamp(3rem, 6vw, 4.5rem) 0 6rem; font-size: var(--t-sm); }
.f-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.2fr 1fr; gap: 2.5rem; }
.f-brand img { width: 128px; height: auto; }
.f-brand p { margin: .9rem 0 0; max-width: 30ch; }
.f-title { font-size: var(--t-lg); color: #fff; margin-bottom: .9rem; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.f-col address { font-style: normal; }
.f-col p { margin: .7rem 0 0; }
.footer a:not(.wa-float), .footer [data-cc-open] {
  color: rgba(255,255,255,.88); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px; background: none; border: 0; padding: .15rem 0; font: inherit; cursor: pointer;
}
.footer a:not(.wa-float):hover, .footer [data-cc-open]:hover { color: #fff; text-decoration-color: #fff; }
.footer-small { margin: 3rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16); font-size: var(--t-xs); color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .2s, opacity .2s;
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.hide { opacity: 0; pointer-events: none; transform: scale(.8); }

/* ---------- Ficha del plato ---------- */
.dish-dialog {
  width: min(860px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  display: none; grid-template-columns: 1.1fr 1fr; background: #fff; color: var(--ink);
}
.dish-dialog[open] { display: grid; }
.dish-dialog::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) { .dish-dialog[open] { animation: pop .25s cubic-bezier(.2,.7,.2,1); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dd-media { min-height: 320px; background-color: #fff; background-image: var(--gingham); background-size: 32px 32px; }
.dd-media img { width: 100%; height: 100%; object-fit: cover; }
.dd-media img.is-cutout { object-fit: contain; padding: 1.5rem; filter: drop-shadow(0 14px 18px rgba(60,0,8,.35)); }
.dd-media:has(img.is-logo) { display: grid; place-items: center; }
.dd-media:has(img.is-logo) { position: relative; }
.dd-media:has(img.is-logo)::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(64%, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 14px 24px -10px rgba(60,0,8,.4); }
.dd-media img.is-logo { position: relative; width: min(40%, 190px); height: auto; padding: 0; margin: 2.5rem auto; object-fit: contain; filter: none; }
.dd-body { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: .9rem; align-content: center; justify-items: start; }
.dd-cat { font-size: var(--t-sm); color: var(--ink-3); }
.dd-body h3 { font-size: var(--t-xl); }
.dd-body p { color: var(--ink-2); }
.dd-body .dd-note { font-size: var(--t-sm); color: var(--ink-3); }
.dish-dialog > form { position: absolute; top: .7rem; right: .7rem; z-index: 3; margin: 0; }
.dd-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 60; transform: translate(-50%, calc(100% + 3rem)); visibility: hidden;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 500;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility .3s; max-width: calc(100% - 2rem); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #fff; font-weight: 600; margin-left: .4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .xmas-grid, .booking-grid, .visit-grid, .band-inner { grid-template-columns: 1fr; }
  .booking-side { position: static; }
  .band img { width: min(380px, 80%); }
  .dish-dialog { grid-template-columns: 1fr; }
  .dd-media { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.25rem; display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
  .nav-list .has-sub .nav-top { border-bottom: 0; }
  .sub-btn { width: 48px; height: 48px; margin-right: -.6rem; }
  .sub-btn svg { width: 14px; height: 10px; }
  .sub { position: static; grid-column: 1 / -1; width: auto; padding: 0 0 .7rem; border: 0; border-radius: 0; box-shadow: none; }
  .sub::before { display: none; }
  .has-sub.open .sub { animation: none; }
  .nav-list .sub li a:not(.btn) { display: flex; padding: .5rem 0; border-bottom: 0; font-size: var(--t-md); }
  .sub a:hover { background: none; }
  .sub img { width: 36px; height: 36px; }
  .sub-all { margin-top: .2rem; padding-top: .4rem; }
  .nav-list li a:not(.btn) { display: block; padding: .9rem 0; font-size: var(--t-md); border-bottom: 1px solid var(--line); }
  .nav-list li a:not(.btn)::after { display: none; }
  .nav { gap: .6rem; }
  .nav .lang { order: 0; }
  .nav-toggle { order: 1; }
  .nav-list .btn { margin-top: 1rem; width: 100%; min-height: 50px; }
}
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 1.1rem 0; }
  .facts-grid > div:first-child { border-top: 0; }
  .favs-nav [data-scroll] { display: none; }
  .favs-play { margin-right: 0; }
}
@media (max-width: 600px) {
  :root { --check: 32px; }
  .brand img { height: 46px; }
  .hero { min-height: auto; padding-top: 4.5rem; padding-bottom: 8rem; }
  .plate { width: min(100%, 440px); aspect-ratio: auto; border-radius: 28px; padding: 3rem 1.25rem 2rem;
    background: #fff; box-shadow: inset 0 0 0 8px #f6f6f3, inset 0 0 0 9px #e9e9e3, 0 30px 50px -20px rgba(60,0,8,.55); }
  .plate-inner { width: 100%; }
  .steam { width: 46%; top: -3.6rem; }
  .hero-dish.d1 { width: 230px; left: -40px; bottom: -10px; }
  .hero-dish.d2 { width: 170px; right: -60px; top: -20px; }
  .hero-dish.d3 { width: 92px; right: 12px; bottom: 16px; }
  .plates { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .pl-img { width: 100%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), 0 14px 20px -12px rgba(60,0,8,.45); }
  .pl-name { font-size: var(--t-md); }
  .pl-desc { font-size: var(--t-xs); }
  .wa-preview { display: none; }
  .sentence .btn-wa { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steam path { animation: none; opacity: .7; stroke-dashoffset: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Aviso de privacidad del formulario ---------- */
.form-legal { font-size: var(--t-xs); color: var(--ink-3); margin-top: .9rem; max-width: 60ch; line-height: 1.5; }
.form-legal a { color: var(--ink-2); }
/* Datos del titular pendientes: resaltados para que no se publiquen sin rellenar */
.falta { background: #fff3a8; color: #6b4e00; padding: 0 .25em; border-radius: 3px; font-weight: 600; }

/* ---------- Pie: enlaces legales ---------- */

/* ---------- Mapa bloqueado hasta dar consentimiento ---------- */
.map-off {
  height: 100%; min-height: 380px; display: grid; place-content: center; justify-items: center; gap: .7rem;
  padding: 2rem; text-align: center; background-color: var(--flour);
  background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px); background-size: 16px 16px;
}
.map-off p { max-width: 38ch; color: var(--ink-2); font-size: var(--t-sm); }
.map-off .map-off-t { font-family: var(--serif); font-size: var(--t-lg); color: var(--ink); }

/* ---------- Banner de cookies ---------- */
.cc { position: fixed; left: 1rem; bottom: 1rem; z-index: 80; width: min(440px, calc(100% - 2rem)); }
.cc[hidden] { display: none; }
.cc-box {
  background: #fff; color: var(--ink); border-radius: 10px; padding: 1.3rem 1.3rem 1.15rem;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -12px rgba(0,0,0,.35); position: relative; overflow: hidden;
}
.cc-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px;
  background-image: linear-gradient(90deg, var(--red) 50%, transparent 50%); background-size: 16px 8px; }
.cc-title { font-family: var(--serif); font-size: var(--t-lg); margin: .2rem 0 .35rem; }
.cc-text { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.cc-text a { color: var(--ink); font-weight: 600; }
.cc-panel { margin-top: 1rem; border-top: 1px solid var(--line); }
.cc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc-row.is-fixed { cursor: default; }
.cc-row-t { display: block; font-weight: 600; font-size: var(--t-sm); }
.cc-row-d { display: block; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; margin-top: .15rem; }
.cc-always { font-size: var(--t-xs); font-weight: 600; color: var(--basil); white-space: nowrap; }
.cc-switch {
  appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 26px; border-radius: 13px;
  background: #c9c9c2; position: relative; cursor: pointer; transition: background-color .2s; margin: 0;
}
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.cc-switch:checked { background: var(--basil); }
.cc-switch:checked::after { transform: translateX(20px); }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1.1rem; }
/* Aceptar y Rechazar: mismo formato y mismo nivel (criterio AEPD) */
.cc-btn {
  min-height: 46px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  font-weight: 600; font-size: var(--t-sm); cursor: pointer;
}
.cc-btn:hover { background: #2b2b29; }
.cc-actions > :last-child { grid-column: 1 / -1; }
.cc-link { min-height: 40px; background: none; border: 0; font-weight: 600; font-size: var(--t-sm); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .cc.show .cc-box { animation: ccIn .35s cubic-bezier(.2,.7,.2,1); }
}
@keyframes ccIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 600px) {
  .cc { left: .6rem; right: .6rem; bottom: .6rem; width: auto; }
  .cc-panel { max-height: 45vh; overflow: auto; }
}

/* ---------- Páginas legales ---------- */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .header-inner { height: 76px; }
.legal-back { font-weight: 600; font-size: var(--t-sm); text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--sec); }
.legal-inner { max-width: 74ch; }
.legal h1 { font-size: var(--t-2xl); margin-bottom: .6rem; }
.legal .updated { color: var(--ink-3); font-size: var(--t-sm); margin-bottom: 2.5rem; }
.legal h2 { font-size: var(--t-lg); margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.2rem; margin: .8rem 0; }
.legal li + li { margin-top: .35rem; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 1rem 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--ink-2); }
.legal .table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.legal th { background: var(--flour); font-weight: 600; }
.legal .btn { margin: .6rem 0 1rem; }
@media (max-width: 600px) {
  .legal dl { grid-template-columns: 1fr; gap: .1rem; }
  .legal dd { margin-bottom: .7rem; }
}

/* ---------- Carta: pestañas, bebidas y vinos ---------- */
.photo-note { font-size: var(--t-sm); color: var(--ink-3); }
.mtabs { display: inline-flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; margin-bottom: 1.4rem; }
.mtab {
  min-height: 44px; padding: .5rem 1.2rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-weight: 600; font-size: var(--t-sm); color: var(--ink-2);
}
.mtab:hover { color: var(--ink); }
.mtab[aria-pressed="true"] { background: var(--red); color: #fff; }
.chips[hidden] { display: none; }

.drinks, .wines { columns: 3 260px; column-gap: 2.5rem; }
.dgroup, .wgroup { break-inside: avoid; margin-bottom: 2.2rem; }
.dgroup-t { font-size: var(--t-lg); padding-bottom: .5rem; margin-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.dgroup ul, .wlist { list-style: none; margin: 0; padding: 0; }
.dgroup li { padding: .35rem 0; border-bottom: 1px dotted #c4c4bd; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.45; }
.wines { columns: 2 340px; }
.wlist li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .55rem 0; border-bottom: 1px dotted #c4c4bd; }
.w-name { font-weight: 600; font-size: var(--t-sm); }
.w-do { font-size: var(--t-xs); color: var(--red); font-weight: 600; text-align: right; white-space: nowrap; }
.w-b { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- Eventos ---------- */
.events { background: var(--flour); padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); }
.events-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.events .sec-title { margin-bottom: .6rem; }

/* ---------- Enlaces a las páginas por especialidad (portada) ---------- */
.spec-links { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.spec-links .spec-t { font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.spec-links ul, .cp-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.spec-links a, .cp-links a {
  display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--ink); background: #fff; font-size: var(--t-sm); font-weight: 600; text-decoration: none;
}
.spec-links a:hover, .cp-links a:hover { background: var(--ink); color: #fff; }

/* ---------- Páginas por especialidad ---------- */
.cp-hero {
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem);
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(195,23,43,.55) 50%, transparent 50%),
    linear-gradient(rgba(195,23,43,.55) 50%, transparent 50%);
  background-size: var(--check) var(--check);
}
.crumbs ol { list-style: none; margin: 0 0 1.5rem; padding: .35rem .9rem; display: inline-flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: var(--t-sm); background: #fff; border-radius: 999px; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--ink-3); }
.crumbs a { text-underline-offset: 3px; }
.crumbs [aria-current] { font-weight: 600; }
.cp-card {
  background: #fff; border-radius: 10px; padding: clamp(1.75rem, 4vw, 3rem); max-width: 760px;
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), 0 30px 50px -20px rgba(60,0,8,.5);
}
.cp-card h1 { font-size: var(--t-2xl); text-wrap: balance; margin-bottom: 1rem; }
.cp-intro { font-size: var(--t-md); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.cp-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.events .cp-ctas { margin-top: 0; }
.cp-dishes { padding: var(--sec) 0 calc(var(--sec) * .6); background: var(--flour); }
.cp-dishes .photo-note { margin-bottom: 2rem; }
.dc-group { font-size: var(--t-xl); margin: 2.5rem 0 1.25rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem; }
.dc-group:first-of-type { margin-top: 0; }
.dc-note { font-size: var(--t-sm); color: var(--ink-3); margin: -1rem 0 1.5rem; }
.dcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem 1.5rem; }
.dcard { display: grid; align-content: start; gap: .45rem; }
.dc-img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #fff; margin-bottom: .6rem; box-shadow: 0 14px 24px -16px rgba(60,0,8,.45); }
.dc-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.dc-img.is-cut { background-color: #fff; background-image: var(--gingham); background-size: 28px 28px; }
.dc-img.is-cut img { object-fit: contain; padding: .75rem; filter: drop-shadow(0 12px 14px rgba(60,0,8,.35)); }
.dc-empty { display: grid; place-items: center; }
.dc-empty img { width: 45%; height: auto; object-fit: contain; }
.dc-name { font-size: var(--t-lg); line-height: 1.25; }
.dc-desc { font-size: var(--t-sm); color: var(--ink-3); line-height: 1.5; }
.cp-more { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cp-more-t { font-size: var(--t-xl); margin-bottom: 1.25rem; }

/* ---------- Página 404 ---------- */
.e404 { background: var(--flour); }
.e404-inner { padding: clamp(3.5rem, 9vw, 6.5rem) 0; max-width: 46rem; }
.e404 h1 { font-size: var(--t-2xl); text-wrap: balance; }
.e404 p { color: var(--ink-2); margin: 1rem 0 0; max-width: 52ch; }
.e404 .cp-links { margin: 1.6rem 0; }
.e404-en { font-size: var(--t-sm); margin-top: 2rem !important; }
