/* Lo de Waldo · Bodegón zarateño
   Paleta tomada del logo: crema de papel, bordó, dorado y tinta marrón. */
:root {
  color-scheme: light;
  --papel: #f4ebdc;
  --papel-2: #ebdfca;
  --papel-3: #e2d2b6;
  --bordo: #5e1620;
  --bordo-2: #7a1f2b;
  --bordo-osc: #3a0c13;
  --oro: #c9a35a;
  --oro-osc: #9c7a35;
  --tinta: #2b1a14;
  --tinta-2: #5b463b;
  --pizarra: #232822;
  --tiza: #f3efe4;
  --ok: #2f6b3a;

  --f-display: "Young Serif", Georgia, serif;
  --f-marca: "Rye", "Young Serif", serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-tiza: "Kalam", "Comic Sans MS", cursive;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 6px;
  --r-m: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sombra: 0 1px 2px rgba(43, 26, 20, .08), 0 8px 24px -10px rgba(43, 26, 20, .25);

  /* Texturas: grano de papel y un relieve repujado (como un mantel de hilo
     o un cielorraso de chapa estampada). Luz arriba a la izquierda. */
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .24 0 0 0 0 .16 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grano-osc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --relieve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cdefs%3E%3Cg id='m' fill='none' stroke-width='1.5'%3E%3Cpath d='M56 10 102 56 56 102 10 56Z'/%3E%3Cpath d='M56 22 90 56 56 90 22 56Z' stroke-dasharray='2 4'/%3E%3Ccircle cx='56' cy='56' r='5'/%3E%3Cpath d='M56 51c-4-9-4-16 0-21 4 5 4 12 0 21Zm0 10c4 9 4 16 0 21-4-5-4-12 0-21Zm-5-5c-9 4-16 4-21 0 5-4 12-4 21 0Zm10 0c9-4 16-4 21 0-5 4-12 4-21 0Z'/%3E%3Cpath d='M0 14A14 14 0 0 0 14 0M98 0a14 14 0 0 0 14 14M112 98a14 14 0 0 0-14 14M14 112A14 14 0 0 0 0 98'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23m' x='-.8' y='-.8' stroke='%23fff' stroke-opacity='.75'/%3E%3Cuse href='%23m' x='.8' y='.8' stroke='%235e1620' stroke-opacity='.11'/%3E%3C/svg%3E");
  --relieve-osc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cdefs%3E%3Cg id='m' fill='none' stroke-width='1.5'%3E%3Cpath d='M56 10 102 56 56 102 10 56Z'/%3E%3Cpath d='M56 22 90 56 56 90 22 56Z' stroke-dasharray='2 4'/%3E%3Ccircle cx='56' cy='56' r='5'/%3E%3Cpath d='M56 51c-4-9-4-16 0-21 4 5 4 12 0 21Zm0 10c4 9 4 16 0 21-4-5-4-12 0-21Zm-5-5c-9 4-16 4-21 0 5-4 12-4 21 0Zm10 0c9-4 16-4 21 0-5 4-12 4-21 0Z'/%3E%3Cpath d='M0 14A14 14 0 0 0 14 0M98 0a14 14 0 0 0 14 14M112 98a14 14 0 0 0-14 14M14 112A14 14 0 0 0 0 98'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23m' x='-.8' y='-.8' stroke='%23ffe9c4' stroke-opacity='.10'/%3E%3Cuse href='%23m' x='.8' y='.8' stroke='%23000' stroke-opacity='.32'/%3E%3C/svg%3E");
  /* Tela de mantel: trama cruzada fina */
  --trama: repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grano), var(--relieve), var(--papel);
  background-attachment: scroll;
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bordo); color: var(--papel); padding: 10px 16px; border-radius: var(--r-s); transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--bordo); --bd: var(--bordo);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .65em 1.25em;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, color .18s, box-shadow .18s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(58, 12, 19, .5); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-solid { --bg: var(--bordo); --fg: var(--papel); --bd: var(--bordo); }
.btn-solid:hover { --bg: var(--bordo-2); --bd: var(--bordo-2); }
.btn-ghost:hover { --bg: rgba(94, 22, 32, .07); }
.btn-gold { --bg: var(--oro); --fg: var(--bordo-osc); --bd: var(--oro); }
.btn-gold:hover { --bg: #d8b46c; --bd: #d8b46c; }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 1.25rem;
  color: var(--bordo); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.link-arrow::after { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--papel) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--papel-3); box-shadow: 0 6px 20px -16px rgba(43, 26, 20, .6); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-badge { width: 52px; height: 52px; transition: transform .5s var(--ease); }
.brand:hover .brand-badge { transform: rotate(-12deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-marca); font-size: 1.3rem; color: var(--bordo); }
.brand-sub { font-size: .8125rem; color: var(--tinta-2); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { white-space: nowrap; }
.brand-name, .brand-sub { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .975rem; padding: 6px 0; background: linear-gradient(var(--bordo), var(--bordo)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease), color .2s; }
.nav a:not(.btn):hover { color: var(--bordo); background-size: 100% 2px; }
.nav-cta { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--tinta-2); white-space: nowrap; order: 3; }
.status-short { display: none; }
.status-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #a2958a; }
.status.is-open { color: var(--ok); }
.status.is-open .status-dot { background: #3aa152; box-shadow: 0 0 0 0 rgba(58, 161, 82, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 161, 82, .5); } 70% { box-shadow: 0 0 0 8px rgba(58, 161, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 161, 82, 0); } }

.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; border-radius: 10px; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 12px; width: 22px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; content: ""; }
.menu-lines { top: 22px; }
.menu-lines::before { left: 0; top: -7px; }
.menu-lines::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--papel-3); }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-family: var(--f-display); font-size: 1.35rem; text-decoration: none; border-bottom: 1px solid var(--papel-3); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 0; overflow: hidden; }
.hero::before { /* papel con veta */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(201, 163, 90, .18), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(94, 22, 32, .07), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--bordo); margin-bottom: 18px; }
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--oro); }
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.01em; color: var(--bordo-osc); }
.hero-lead { margin-top: 22px; font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--tinta-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; text-decoration: none; color: var(--tinta-2); font-size: .975rem; }
.hero-rating:hover strong { color: var(--bordo); }
.stars { display: inline-flex; gap: 2px; color: var(--oro); }
.stars svg { width: 17px; height: 17px; }
.hero-rating strong { color: var(--tinta); transition: color .2s; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 560px); }
.arch { margin: 0; aspect-ratio: 4 / 4.7; border-radius: 999px 999px var(--r-m) var(--r-m); overflow: hidden; border: 10px solid var(--papel); outline: 2px solid var(--oro); outline-offset: -1px; box-shadow: 0 30px 60px -30px rgba(58, 12, 19, .55); background: var(--papel-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.hero-visual:hover .arch img { transform: scale(1.08); }
.stamp { position: absolute; left: -46px; bottom: 34px; width: clamp(118px, 13vw, 150px); aspect-ratio: 1; color: var(--bordo); background: var(--papel); border-radius: 50%; padding: 6px; box-shadow: var(--sombra); transform: rotate(-14deg); transition: transform .6s var(--ease); }
.stamp svg { width: 100%; height: 100%; }
.hero-visual:hover .stamp { transform: rotate(-4deg) scale(1.04); }

/* Mantel a cuadros: el único patrón de la página */
.mantel {
  height: 22px;
  background-color: var(--papel);
  background-image:
    linear-gradient(90deg, rgba(122, 31, 43, .55) 50%, transparent 50%),
    linear-gradient(rgba(122, 31, 43, .55) 50%, transparent 50%);
  background-size: 22px 22px;
  border-block: 2px solid var(--bordo);
}

/* ---------- Promesas ---------- */
.promesas { position: relative; z-index: 2; background: var(--grano-osc), var(--trama), var(--bordo); color: var(--papel); padding: clamp(36px, 5vw, 56px) 0; }
/* Puntilla: borde festoneado como el de un mantel bordado */
.promesas::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, transparent 2.2px, var(--bordo) 2.6px, var(--bordo) 12px, transparent 12.5px) 0 0 / 26px 14px repeat-x;
  filter: drop-shadow(0 3px 2px rgba(58, 12, 19, .18));
}
.promesas-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.promesas-list li { padding: 6px clamp(18px, 3vw, 36px); display: grid; gap: 8px; }
.promesas-list li + li { border-left: 1px solid rgba(244, 235, 220, .22); }
.promesa-big { font-family: var(--f-display); font-size: clamp(1.45rem, 2.4vw, 1.9rem); color: #f2d9a2; }
.promesa-txt { color: rgba(244, 235, 220, .86); font-size: 1rem; }

/* ---------- Encabezados de sección ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--bordo-osc); }
.section-head p { margin-top: 14px; font-size: 1.1rem; color: var(--tinta-2); }
.section-head-light h2 { color: var(--papel); }
.section-head-light p { color: rgba(244, 235, 220, .78); }

/* ---------- Especialidades ---------- */
.especialidades { padding: clamp(72px, 10vw, 128px) 0; }
.dish { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dish + .dish { margin-top: clamp(72px, 9vw, 120px); }
.dish-noquis { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.dish-photo { margin: 0; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 3; background: var(--papel-2); }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish-photo:hover img { transform: scale(1.03); }
.dish-photo-wide { aspect-ratio: 16 / 9; }
.dish-photo-wide img { object-position: 50% 45%; }
.dish-body h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--bordo-osc); }
.dish-body > p { margin-top: 14px; color: var(--tinta-2); font-size: 1.075rem; max-width: 32em; }
.dish-date { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-weight: 600; color: var(--bordo); }
.day29 { font-family: var(--f-marca); font-size: 3.4rem; line-height: 1; color: var(--bordo); background: var(--papel-2); border: 2px solid var(--bordo); border-radius: 12px; padding: 8px 14px 4px; box-shadow: 4px 4px 0 var(--oro); }

/* Armador de milanesa */
.armador { margin-top: 26px; padding: 22px; background: #fffaf1; border: 1px solid var(--papel-3); border-radius: var(--r-m); box-shadow: var(--sombra); }
.armador fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.armador legend { font-weight: 600; margin-bottom: 10px; font-size: .975rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--papel-3); border-radius: 999px; background: var(--papel); font-weight: 500; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .15s var(--ease); }
.chip:hover span { border-color: var(--bordo); }
.chip input:checked + span { background: var(--bordo); border-color: var(--bordo); color: var(--papel); }
.chip input:active + span { transform: scale(.96); }
.chip input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.armador-resumen { margin: 4px 0 16px; color: var(--tinta-2); }
.armador-resumen strong { color: var(--tinta); display: inline-block; }
.armador-resumen strong.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--bordo); } }

/* Horma */
.dish-horma { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.horma-art { margin: 0; background: radial-gradient(closest-side, #f9e9c4, var(--papel-2)); border-radius: var(--r-m); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 6%; overflow: hidden; }
.horma-art svg { width: 100%; height: auto; overflow: visible; }
.horma-art .noodles path { stroke-dasharray: 260; stroke-dashoffset: 0; }
.horma-art .flakes circle { transform-box: fill-box; transform-origin: center; }
.dish-horma:hover .flakes circle { animation: flake 1.2s var(--ease) both; }
.dish-horma:hover .flakes circle:nth-child(2n) { animation-delay: .12s; }
.dish-horma:hover .flakes circle:nth-child(3n) { animation-delay: .24s; }
@keyframes flake { 0% { transform: translateY(-26px); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
.horma-art.is-drawn .noodles path { animation: draw 1.6s var(--ease) both; }
.horma-art .steam path { stroke-dasharray: 70; stroke-dashoffset: 70; }
.horma-art.is-drawn .steam path { animation: steam 3.6s 1.2s ease-in-out infinite; }
.horma-art.is-drawn .steam path:nth-child(2) { animation-delay: 1.8s; }
.horma-art.is-drawn .steam path:nth-child(3) { animation-delay: 2.4s; }
@keyframes steam { 0% { stroke-dashoffset: 70; opacity: 0; } 30% { opacity: .9; } 70% { stroke-dashoffset: 0; opacity: .5; } 100% { stroke-dashoffset: -70; opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }

/* ---------- De la cocina: fotos pegadas con cinta ---------- */
.cocina { padding: 0 0 clamp(72px, 10vw, 120px); }
.fotos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.foto {
  position: relative; margin: 0; padding: 10px 10px 0; background: #fffdf7;
  box-shadow: 0 1px 1px rgba(43, 26, 20, .12), 0 14px 26px -14px rgba(43, 26, 20, .45);
  transform: rotate(var(--r, 0deg)); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.foto:nth-child(even) { margin-top: 28px; }
.foto::before { /* cinta de papel */
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(233, 214, 176, .78); box-shadow: 0 1px 2px rgba(43, 26, 20, .15);
  clip-path: polygon(2% 0, 98% 0, 100% 20%, 97% 40%, 100% 60%, 97% 80%, 99% 100%, 1% 100%, 3% 80%, 0 60%, 3% 40%, 0 20%);
}
.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.foto-pie { display: block; padding: 10px 4px 14px; font-family: var(--f-tiza); font-size: 1.15rem; line-height: 1.25; color: var(--tinta); text-align: center; }
.foto:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 1px 1px rgba(43, 26, 20, .12), 0 24px 36px -16px rgba(43, 26, 20, .5); }

/* ---------- Carta / pizarrón ---------- */
.carta { background: var(--grano-osc), var(--relieve-osc), radial-gradient(90% 70% at 50% 40%, #4c121b, var(--bordo-osc)); color: var(--papel); padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.pizarron {
  position: relative; border-radius: 10px; padding: 14px;
  background: linear-gradient(135deg, #8b5a34, #5b3720 45%, #7a4c2b);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), 0 40px 70px -30px rgba(0, 0, 0, .7);
}
.pizarron-board {
  position: relative; border-radius: 4px; min-height: 420px;
  padding: clamp(24px, 4vw, 48px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 40px);
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(50% 40% at 80% 80%, rgba(255, 255, 255, .04), transparent 70%),
    var(--pizarra);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .55);
  font-family: var(--f-tiza); color: var(--tiza);
}
.pizarron-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 2px 12px; scrollbar-width: none; }
.pizarron-tabs::-webkit-scrollbar { display: none; }
.pizarron-tabs button {
  flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; cursor: pointer;
  font-family: var(--f-tiza); font-size: 1.15rem; font-weight: 700; color: rgba(255, 244, 225, .8);
  background: rgba(0, 0, 0, .18); transition: background-color .2s, color .2s, transform .15s var(--ease);
}
.pizarron-tabs button:hover { color: #fff; background: rgba(0, 0, 0, .3); }
.pizarron-tabs button:active { transform: scale(.97); }
.pizarron-tabs button[aria-selected="true"] { background: var(--pizarra); color: var(--tiza); box-shadow: 0 -2px 0 var(--oro) inset; }
.panel:focus-visible { outline-offset: 8px; }
.panel.is-entering .chalk-list li { animation: chalkIn .45s var(--ease) both; }
.panel.is-entering .chalk-list li:nth-child(2) { animation-delay: .05s; }
.panel.is-entering .chalk-list li:nth-child(3) { animation-delay: .1s; }
.panel.is-entering .chalk-list li:nth-child(4) { animation-delay: .15s; }
.panel.is-entering .chalk-list li:nth-child(5) { animation-delay: .2s; }
@keyframes chalkIn { from { opacity: 0; filter: blur(3px); transform: translateX(-6px); } }
.chalk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.chalk-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 28px; align-items: baseline; padding: 14px 0; border-bottom: 1.5px dashed rgba(243, 239, 228, .2); }
.chalk-name { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.2; text-shadow: 0 0 1px rgba(255, 255, 255, .4); }
.chalk-desc { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 300; color: rgba(243, 239, 228, .78); }
.chalk-note { margin-top: 22px; font-size: 1.15rem; color: #f2d9a2; transform: rotate(-1.2deg); }
.carta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.carta-hint { color: rgba(244, 235, 220, .7); max-width: 34em; font-size: .975rem; }

/* ---------- Calendario ---------- */
.calendario { padding: clamp(72px, 10vw, 128px) 0; }
.cal-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.cal-card { background: #fffaf1; border: 1px solid var(--papel-3); border-radius: var(--r-m); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s; }
.cal-card:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.cal-card h3 { font-size: 1.5rem; color: var(--bordo-osc); }
.cal-card p { color: var(--tinta-2); }
.cal-when { font-weight: 600; color: var(--bordo) !important; font-size: .95rem; }
.cal-feature { grid-row: span 2; padding: 0; overflow: hidden; }
.cal-feature img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.cal-feature .cal-body { padding: 26px; display: grid; gap: 10px; }
.cal-feature h3 { font-size: 1.9rem; }
.cal-next { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--tinta) !important; }
.cal-next:not(:empty)::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--oro); }
.cal-grid > .cal-card:nth-child(4) { grid-column: 2 / span 2; }

/* ---------- Grupos ---------- */
.grupos { position: relative; background: var(--grano-osc), var(--trama), linear-gradient(160deg, #6e1a26, var(--bordo-osc)); color: var(--papel); padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.grupos-stars { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, #f2d9a2 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 28% 70%, #f2d9a2 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 14%, #f2d9a2 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 62% 82%, #f2d9a2 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 78% 30%, #f2d9a2 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 90% 62%, #f2d9a2 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 88%, #f2d9a2 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 52% 46%, #f2d9a2 50%, transparent 51%);
}
.grupos-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.grupos-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.grupos-lead { margin-top: 18px; font-size: 1.2rem; color: rgba(244, 235, 220, .9); max-width: 30em; }
.grupos-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.grupos-list li { display: flex; gap: 12px; align-items: baseline; color: rgba(244, 235, 220, .9); }
.grupos-list li::before { content: ""; flex: none; width: 10px; height: 10px; transform: rotate(45deg) translateY(-1px); background: var(--oro); }
.grupos-photo { margin: 0; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3.4; border: 8px solid rgba(244, 235, 220, .08); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6); }
.grupos-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.grupos-photo:hover img { transform: scale(1.03); }

/* ---------- Reseñas ---------- */
.resenas { padding: clamp(72px, 10vw, 120px) 0; background: var(--grano), var(--relieve), var(--papel-2); }
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.quote { margin: 0; padding: 30px 30px 28px; background: var(--papel); border-radius: var(--r-m); border: 1px solid var(--papel-3); position: relative; }
.quote::before { content: "“"; position: absolute; top: -6px; left: 22px; font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--oro); }
.quote p { position: relative; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.35; color: var(--tinta); padding-top: 24px; }
.q1 { grid-row: span 2; display: flex; align-items: center; background: var(--bordo); border-color: var(--bordo); }
.q1 p { color: var(--papel); font-size: clamp(1.7rem, 3.2vw, 2.5rem); }

/* ---------- Reservar ---------- */
.reservar { padding: clamp(72px, 10vw, 128px) 0; }
.reservar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.reservar-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); color: var(--bordo-osc); }
.reservar-copy > p { margin-top: 16px; font-size: 1.125rem; color: var(--tinta-2); max-width: 28em; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list svg { width: 22px; height: 22px; color: var(--bordo); }
.contact-list a { text-decoration-color: var(--oro); text-underline-offset: 4px; }
.contact-list a:hover { color: var(--bordo); }
.reservar-badge { width: 150px; height: 150px; margin-top: 44px; transform: rotate(-8deg); filter: drop-shadow(0 12px 18px rgba(58, 12, 19, .25)); transition: transform .6s var(--ease); }
.reservar-badge:hover { transform: rotate(4deg); }

.ticket { background: #fffaf1; border-radius: var(--r-m); padding: 28px clamp(20px, 3vw, 32px) 30px; box-shadow: var(--sombra); border: 1px solid var(--papel-3); position: relative; display: grid; gap: 18px;
  -webkit-mask: radial-gradient(12px at 0 92px, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(12px at 100% 92px, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(12px at 0 92px, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(12px at 100% 92px, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 2px dashed var(--papel-3); }
.ticket-head span:first-child { font-family: var(--f-marca); font-size: 1.6rem; color: var(--bordo); }
.ticket-num { font-weight: 600; color: var(--tinta-2); }
.ticket-num output { font-family: var(--f-display); font-size: 1.4rem; color: var(--bordo); display: inline-block; min-width: 1.2em; text-align: center; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--tinta-2); }
.field input, .field select {
  min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--papel-3); border-radius: 10px; background: var(--papel); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover { border-color: #cdb895; }
.field input:focus, .field select:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 3px rgba(94, 22, 32, .15); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #9b1c15; font-size: .9rem; font-weight: 500; }
.stepper { display: inline-grid; grid-template-columns: 48px 72px 48px; border: 1.5px solid var(--papel-3); border-radius: 10px; overflow: hidden; width: max-content; background: var(--papel); }
.stepper button { border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; transition: background-color .15s; }
.stepper button:hover { background: var(--papel-2); }
.stepper button:active { background: var(--papel-3); }
.stepper input { border: 0 !important; border-inline: 1.5px solid var(--papel-3) !important; border-radius: 0; text-align: center; font-weight: 600; min-height: 48px; -moz-appearance: textfield; box-shadow: none !important; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ---------- Visitanos ---------- */
.visitanos { padding: clamp(72px, 10vw, 120px) 0; background: var(--grano), var(--relieve), var(--papel-2); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.visit-info h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); color: var(--bordo-osc); }
.visit-addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 1.1rem; color: var(--tinta-2); }
.visit-addr svg { width: 22px; height: 22px; flex: none; color: var(--bordo); margin-top: 3px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.horarios-title { font-size: 1.5rem; margin-top: 38px; color: var(--bordo-osc); }
.horarios { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 1.02rem; }
.horarios th, .horarios td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--papel-3); }
.horarios th { font-weight: 500; }
.horarios td { text-align: right; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.horarios tr.is-today { background: var(--papel); }
.horarios tr.is-today th { font-weight: 700; color: var(--bordo); }
.horarios tr.is-today th::after { content: "hoy"; margin-left: 10px; font-size: .78rem; font-weight: 700; color: var(--papel); background: var(--bordo); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.horarios tr.is-today td { color: var(--tinta); font-weight: 600; }
.visit-map { min-height: 380px; }
.map-frame { height: 100%; min-height: 380px; border-radius: var(--r-m); overflow: hidden; position: relative; border: 1px solid var(--papel-3); box-shadow: var(--sombra);
  background:
    linear-gradient(rgba(94, 22, 32, .08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(94, 22, 32, .08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(28deg, transparent 47%, rgba(201, 163, 90, .55) 47.5%, rgba(201, 163, 90, .55) 52%, transparent 52.5%),
    linear-gradient(-62deg, transparent 47%, rgba(201, 163, 90, .4) 47.5%, rgba(201, 163, 90, .4) 51%, transparent 51.5%),
    var(--papel);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: grid; justify-items: center; gap: 10px; padding: 22px 30px; border-radius: var(--r-m); border: 2px solid var(--bordo); background: var(--papel); color: var(--bordo); font-weight: 700; cursor: pointer; box-shadow: var(--sombra); transition: transform .2s var(--ease); }
.map-load svg { width: 34px; height: 34px; animation: bob 2.4s var(--ease) infinite; }
.map-load:hover { transform: translateY(-3px); }
@keyframes bob { 50% { transform: translateY(-5px); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--grano-osc), var(--relieve-osc), var(--bordo-osc); color: rgba(244, 235, 220, .85); }
.mantel-top { border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding: 56px 0 36px; }
.footer-brand { display: flex; gap: 20px; align-items: center; }
.footer-badge { width: 96px; height: 96px; flex: none; }
.footer-brand p { max-width: 24em; }
.footer-col h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: #f2d9a2; margin-bottom: 10px; }
.footer-col a { text-decoration-color: rgba(201, 163, 90, .6); text-underline-offset: 4px; }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 20px 0 32px; border-top: 1px solid rgba(244, 235, 220, .14); font-size: .85rem; color: rgba(244, 235, 220, .6); }
.credits { max-width: 60em; }

/* Créditos de Arawyn (assets/arawyn-credit.css): mismo margen lateral que el sitio */
.arawyn-credit { --arawyn-credit-gutter: var(--gutter); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 0); background: var(--tinta); color: var(--papel); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); animation: toastIn .3s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Entrada del hero (un único momento orquestado) ---------- */
.js [data-enter] { opacity: 0; transform: translateY(14px); }
.js [data-enter-visual] { opacity: 0; transform: translateY(18px) scale(.985); }
.js .is-ready [data-enter], .js .is-ready [data-enter-visual] { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .is-ready [data-enter]:nth-child(2) { transition-delay: .08s; }
.js .is-ready [data-enter]:nth-child(3) { transition-delay: .16s; }
.js .is-ready [data-enter]:nth-child(4) { transition-delay: .24s; }
.js .is-ready [data-enter]:nth-child(5) { transition-delay: .32s; }
.js .is-ready [data-enter-visual] { transition-delay: .12s; }
.js .is-ready .stamp { animation: stampIn .7s .65s var(--ease) both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-40deg) scale(1.4); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) and (min-width: 1081px) {
  .nav { gap: 18px; }
  .status [data-status-text] { max-width: 11em; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; order: 4; }
  .status { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .dish, .dish-noquis, .dish-horma, .grupos-grid, .reservar-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 460px); margin-top: 8px; }
  .arch { aspect-ratio: 4 / 4.2; }
  .stamp { left: -10px; bottom: 18px; }
  .dish-noquis .dish-body { order: 2; }
  .promesas-list { grid-template-columns: 1fr; gap: 22px; }
  .promesas-list li { padding: 0; }
  .promesas-list li + li { border-left: 0; border-top: 1px solid rgba(244, 235, 220, .22); padding-top: 22px; }
  .cal-grid { grid-template-columns: 1fr 1fr; }
  .fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .cal-feature { grid-column: 1 / -1; grid-row: auto; }
  .cal-grid > .cal-card:nth-child(4) { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr; }
  .q1 { grid-row: auto; }
  .reservar-badge { display: none; }
  .visit-map, .map-frame { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand-sub { display: none; }
  .brand-badge { width: 46px; height: 46px; }
  .header-row { gap: 10px; }
  .brand { min-width: 0; }
  .status { font-size: .8125rem; padding: 6px 10px; border-radius: 999px; background: var(--papel-2); }
  .status-long { display: none; }
  .status-short { display: inline !important; }
  .hero-actions .btn { width: 100%; }
  .cal-grid { grid-template-columns: 1fr; }
  .chalk-list li { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .carta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-enter], .js [data-enter-visual] { opacity: 1; transform: none; }
}
