/* ==========================================================
   Huacachina Sunset — Carta para clientes
   Fachada roja + muro ocre + pizarras de tiza + geoglifos de Nazca
   ========================================================== */
:root {
  color-scheme: light;
  --rojo: #9f2a20; --rojo-osc: #6f1912; --rojo-noche: #4a0f0a;
  --ocre: #f1d27a; --ocre-suave: #f8e7b4; --arena: #f3dfb0;
  --papel: #fff9ea; --tinta: #2b1b12; --tinta-2: #6b5240; --linea: #e6d3a6;
  --madera: #5c3419; --pizarra: #22201d; --tiza: #f4efe6;
  --t-rosa: #ff8fb8; --t-cian: #7fe0e8; --t-amar: #ffe27a; --t-verde: #a6ee8c; --t-nar: #ffb36b;
  --sol1: #f7c948; --sol2: #f08a2b; --sol3: #c8361f;
  --choco: #3a2216; --choco-2: #5a3522;
  --f-disp: "Kaushan Script", "Brush Script MT", cursive;
  --f-cond: "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --f-tiza: "Kalam", "Comic Sans MS", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
html, body { margin: 0; background: var(--papel); }
body { font: 15px/1.45 var(--f-body); color: var(--tinta); overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sol2); outline-offset: 2px; border-radius: 6px; }

/* ---------- Pantalla de bienvenida ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 70%, #a8321f 0%, var(--rojo-osc) 45%, var(--rojo-noche) 100%); overflow: hidden; }
.intro .rayos { position: absolute; left: 50%; top: 50%; width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax; background: repeating-conic-gradient(from 0deg, rgba(255, 210, 122, .10) 0deg 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 0%, transparent 55%); mask: radial-gradient(circle, #000 0%, transparent 55%); animation: girar 40s linear infinite; }
.intro .caja { position: relative; text-align: center; padding: 24px; }
.intro .sol { position: absolute; left: 50%; top: 42%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 120, .55), rgba(240, 138, 43, .18) 45%, transparent 70%); animation: latir 2.4s ease-in-out infinite; }
.intro img { position: relative; width: min(64vw, 280px); height: auto; margin: 0 auto; animation: logoEntra 1s var(--rebote) both; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.intro .txt { position: relative; margin-top: 18px; font: 600 12px var(--f-cond); letter-spacing: .32em; text-transform: uppercase; color: #ffd27a; opacity: 0; animation: aparece .6s .5s ease-out forwards; }
.intro .barra { position: relative; width: 120px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.intro .barra::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, var(--sol1), var(--sol2), var(--sol3)); border-radius: 3px; animation: cargando 1.1s ease-in-out infinite; }
.intro.sale { animation: telon .8s var(--ease) forwards; pointer-events: none; }
.intro.sale img { animation: logoSale .6s ease-in forwards; }
@keyframes telon { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 18% 18%; } }
@keyframes logoEntra { from { opacity: 0; transform: scale(.7) translateY(20px); filter: blur(8px); } to { opacity: 1; transform: none; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); } }
@keyframes logoSale { to { transform: scale(1.12) translateY(-30px); opacity: 0; } }
@keyframes cargando { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes latir { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes aparece { to { opacity: 1; } }

/* ---------- Cabecera ---------- */
.sc-hero { position: relative; color: #fff7e2; background: var(--rojo-osc); overflow: hidden; isolation: isolate; min-height: min(86vh, 720px); display: flex; flex-direction: column; }
.sc-hero .fondo { position: absolute; inset: 0; z-index: -3; will-change: transform; }
.sc-hero .foto { position: absolute; inset: -4%; background: center 45% / cover no-repeat; opacity: .6; animation: kenburns 26s ease-in-out infinite alternate; }
.sc-hero .velo { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(70% 45% at 50% 38%, rgba(240, 138, 43, .38), transparent 70%),
  linear-gradient(180deg, rgba(74, 15, 10, .55) 0%, rgba(111, 25, 18, .55) 40%, rgba(111, 25, 18, .9) 82%, var(--rojo-osc) 100%); }
.sc-hero canvas.arena { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.sc-top { position: relative; display: flex; align-items: center; gap: 8px; padding-top: max(14px, env(safe-area-inset-top, 0px)); }
.sc-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 600 11.5px var(--f-cond); text-transform: uppercase; letter-spacing: .14em; color: #fff3dc; background: rgba(43, 10, 6, .35); border: 1px solid rgba(255, 231, 180, .28); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sc-chip svg { width: 13px; height: 13px; }
.sc-chip.mesa { background: var(--sol1); color: var(--rojo-noche); border-color: transparent; font-weight: 700; animation: pop .7s 1.2s var(--rebote) both; }
.sc-top .esp { flex: 1; }
.sc-lang { display: inline-flex; border: 1.5px solid rgba(255, 247, 226, .65); border-radius: 999px; overflow: hidden; background: rgba(43, 10, 6, .3); }
.sc-lang button { font: 600 12px var(--f-cond); letter-spacing: .08em; padding: 6px 11px; background: transparent; color: #fff7e2; border: 0; transition: background .25s, color .25s; }
.sc-lang button[aria-pressed="true"] { background: #fff7e2; color: var(--rojo-osc); }

.sc-marca { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 0 22px; }
.sc-marca .halo { position: absolute; left: 50%; top: 40%; width: min(92vw, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.sc-marca .halo::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 130, .45) 0%, rgba(240, 138, 43, .22) 38%, transparent 66%); animation: latir 4.5s ease-in-out infinite; }
.sc-marca .halo::after { content: ""; position: absolute; inset: -10%; background: repeating-conic-gradient(from 0deg, rgba(255, 214, 140, .14) 0deg 5deg, transparent 5deg 15deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); animation: girar 60s linear infinite; }
.sc-logo { width: min(68vw, 300px); height: auto; filter: drop-shadow(0 12px 28px rgba(30, 5, 2, .55)); animation: flotar 6s ease-in-out infinite; transform-origin: 50% 60%; }
.sc-tipo { margin-top: 14px; max-width: 34ch; font: 600 12px/1.6 var(--f-cond); text-transform: uppercase; letter-spacing: .22em; color: #ffd27a; text-wrap: balance; }
.sc-slogan { margin: 10px auto 0; max-width: 32ch; font-size: 15.5px; color: #fbe9d0; text-wrap: balance; }
.sc-aviso-cuelga { position: relative; margin-top: 22px; transform-origin: 50% -14px; animation: columpio 4s ease-in-out infinite; }
.sc-aviso-cuelga::before, .sc-aviso-cuelga::after { content: ""; position: absolute; top: -16px; width: 2px; height: 18px; background: #c9a66b; }
.sc-aviso-cuelga::before { left: 26%; transform: rotate(14deg); }
.sc-aviso-cuelga::after { right: 26%; transform: rotate(-14deg); }
.sc-aviso { display: inline-flex; align-items: center; gap: 8px; background: var(--pizarra); background-image: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .08), transparent 60%); color: var(--t-amar); font: 700 18px/1.2 var(--f-tiza); padding: 8px 16px 7px; border-radius: 6px; border: 4px solid var(--madera); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.sc-aviso .estrella { width: 18px; height: 18px; color: var(--t-rosa); animation: girar 6s linear infinite; }
.sc-bajar { position: relative; align-self: center; margin: 0 auto 72px; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font: 600 11px var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: #ffe6a6; background: none; border: 0; padding: 6px 10px; }
.sc-bajar svg { width: 22px; height: 22px; animation: rebota 1.8s ease-in-out infinite; }
.sc-dunas { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; pointer-events: none; }
.sc-dunas svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.sc-franja { height: 5px; background: linear-gradient(90deg, var(--sol1) 0 33.3%, var(--sol2) 33.3% 66.6%, var(--sol3) 66.6%); }

@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1.5%); } }
@keyframes flotar { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-8px) rotate(.6deg); } }
@keyframes columpio { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes rebota { 0%, 100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Barra de categorías ---------- */
.sc-nav { position: sticky; top: 0; z-index: 20; background: rgba(241, 210, 122, .95); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 4px 14px rgba(92, 52, 25, .14); padding-top: env(safe-area-inset-top, 0px); }
.sc-nav .wrap { display: flex; align-items: center; gap: 8px; }
.sc-buscar-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--rojo); color: #fff7e2; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(111, 25, 18, .3); transition: transform .2s var(--rebote); }
.sc-buscar-btn:active { transform: scale(.9); }
.sc-buscar-btn svg { width: 18px; height: 18px; }
.sc-pills { position: relative; flex: 1; display: flex; gap: 4px; overflow-x: auto; padding: 9px 2px; scrollbar-width: none; scroll-behavior: smooth; }
.sc-pills::-webkit-scrollbar { display: none; }
.sc-pills .ind { position: absolute; left: 0; top: 9px; height: calc(100% - 18px); width: 0; border-radius: 999px; background: var(--rojo); box-shadow: 0 3px 10px rgba(159, 42, 32, .35); transition: transform .45s var(--ease), width .45s var(--ease); z-index: 0; }
.sc-pills a { position: relative; z-index: 1; flex: none; font: 600 13px var(--f-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--madera); text-decoration: none; padding: 7px 13px; border-radius: 999px; transition: color .3s; white-space: nowrap; }
.sc-pills a.on { color: #fff7e2; }
.no-ind .sc-pills a.on { background: var(--rojo); }

/* ---------- Secciones ---------- */
.sc-sec { padding-block: 30px 10px; scroll-margin-top: 62px; position: relative; }
.sc-sec + .sc-sec::before { content: ""; position: absolute; left: 50%; top: 0; width: min(80%, 520px); height: 1px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, var(--linea) 0 8px, transparent 8px 14px); }
.sc-tit { display: flex; align-items: center; gap: 10px; }
.sc-tit h2 { margin: 0; font: 400 34px/1.05 var(--f-disp); color: var(--rojo); text-wrap: balance; }
.sc-tit .glifo { width: 38px; height: 38px; flex: none; color: #c89a3c; }
.sc-tit .glifo path, .sc-tit .glifo circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.sc-nota { margin: 6px 0 0; font-size: 13.5px; color: var(--tinta-2); display: inline-flex; align-items: center; gap: 6px; background: var(--ocre-suave); padding: 4px 10px; border-radius: 8px; }
.sc-vacio { margin: 14px 0 0; font-size: 13.5px; color: var(--tinta-2); font-style: italic; }

/* Lista de platos */
.sc-lista { list-style: none; margin: 12px 0 0; padding: 0; }
.sc-lista li { border-bottom: 1px solid var(--linea); }
.sc-lista li:last-child { border-bottom: 0; }
.sc-item { width: 100%; display: grid; grid-template-columns: 1fr auto 78px; gap: 12px; align-items: center; padding: 11px 0; background: none; border: 0; text-align: left; border-radius: 12px; transition: background .25s, transform .25s var(--ease); }
.sc-item:hover { background: rgba(248, 231, 180, .45); }
.sc-item:active { transform: scale(.985); }
.sc-item.sinfoto { grid-template-columns: 1fr auto; }
.sc-item .txt { min-width: 0; display: block; }
.sc-item .nom { display: block; font: 600 16px/1.2 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; color: var(--tinta); }
.sc-item .des { display: block; margin-top: 3px; font-size: 13.5px; color: var(--tinta-2); }
.sc-pre { font: 600 16px var(--f-cond); color: var(--rojo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-pre.consultar { font: 600 11.5px var(--f-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-2); border: 1px solid var(--linea); border-radius: 999px; padding: 3px 9px; }
.sc-item .marco { position: relative; width: 78px; height: 78px; border-radius: 14px; overflow: hidden; background: var(--ocre-suave); box-shadow: 0 3px 0 rgba(92, 52, 25, .14), 0 6px 14px rgba(92, 52, 25, .12); transform: rotate(var(--giro, 0deg)); transition: transform .35s var(--rebote); }
.sc-item:hover .marco { transform: rotate(0deg) scale(1.05); }
.sc-item .marco img { width: 100%; height: 100%; object-fit: cover; }
.sc-agot { opacity: .5; }
.sc-agot .nom::after, .sc-agot-tag { content: attr(data-agot); display: inline-block; margin-left: 8px; font: 700 10px var(--f-body); letter-spacing: .08em; background: var(--tinta); color: #fff; padding: 2px 6px; border-radius: 4px; vertical-align: 2px; }

/* Fotos que aparecen suavemente */
.js img.ph { opacity: 0; filter: blur(10px); transform: scale(1.08); transition: opacity .6s ease, filter .7s ease, transform .9s var(--ease); }
.js img.ph.ok { opacity: 1; filter: none; transform: none; }

/* Combos */
.sc-combos { margin-top: 16px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.sc-combo { position: relative; display: grid; grid-template-columns: 116px 1fr; width: 100%; padding: 0; text-align: left; background: #fff; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--linea), 0 8px 22px rgba(92, 52, 25, .12); transition: transform .35s var(--rebote), box-shadow .35s; }
.sc-combo:hover, .js .sc-combo.rv.in:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 1px 0 var(--linea), 0 16px 30px rgba(92, 52, 25, .2); }
.sc-combo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(-120%); animation: brillo 7s ease-in-out infinite; animation-delay: var(--retraso, 0s); pointer-events: none; }
.sc-combo .marco { position: relative; overflow: hidden; background: var(--ocre-suave); min-height: 136px; }
.sc-combo .marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-combo .cuerpo { padding: 12px 12px 12px 14px; min-width: 0; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(180deg, #fff 0%, #fdf3da 100%); }
.sc-cinta { align-self: flex-start; font: 700 12.5px var(--f-cond); text-transform: uppercase; letter-spacing: .07em; color: #fff; background: var(--rojo); padding: 3px 11px 3px 9px; border-radius: 4px 12px 12px 4px; }
.sc-combo .nom { font: 600 15px/1.2 var(--f-cond); text-transform: uppercase; color: var(--tinta); }
.sc-combo .des { font-size: 13px; color: var(--tinta-2); }
.sc-sticker { margin-top: auto; align-self: flex-end; font: 700 23px/1 var(--f-tiza); color: var(--tinta); background: #fff04a; padding: 6px 11px 3px; transform: rotate(-3deg); box-shadow: 1px 2px 0 rgba(0, 0, 0, .15); font-variant-numeric: tabular-nums; }
.sc-sticker small { font-size: 14px; margin-right: 2px; }
.sc-combo.sc-agot .sc-sticker { background: #ddd; }
@keyframes brillo { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Pizarra Happy Hour */
.sc-pizarra { position: relative; margin-top: 4px; background: var(--pizarra); background-image: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .07), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .05), transparent 55%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); border: 9px solid var(--madera); border-radius: 12px; box-shadow: inset 0 0 0 2px #3b2312, inset 0 0 40px rgba(0, 0, 0, .45), 0 10px 22px rgba(0, 0, 0, .22); color: var(--tiza); padding: 18px 18px 20px; }
.sc-pizarra .cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.sc-pizarra .hh { font: 700 34px/1 var(--f-tiza); color: var(--t-amar); transform: rotate(-2deg); text-shadow: 0 0 1px rgba(255, 226, 122, .6); }
.sc-pizarra .dosx { position: relative; font: 700 30px/1 var(--f-cond); color: #fff; background: linear-gradient(135deg, #ff5f6d, #ff2e7e); padding: 8px 14px; border-radius: 14px; transform: rotate(3deg); box-shadow: 0 6px 16px rgba(255, 46, 126, .4); animation: latido 1.6s ease-in-out infinite; }
.sc-pizarra .dosx small { font-size: 16px; margin: 0 2px; }
.sc-pizarra ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.sc-pizarra li button { width: 100%; display: flex; align-items: center; gap: 10px; font: 400 21px/1.15 var(--f-tiza); color: inherit; background: none; border: 0; padding: 5px 4px; border-radius: 10px; text-align: left; transition: background .2s; }
.sc-pizarra li button:hover { background: rgba(255, 255, 255, .06); }
.sc-pizarra .fz { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(244, 239, 230, .75); }
.sc-pizarra li .p { margin-left: auto; font-size: 17px; color: var(--tiza); opacity: .85; }
.sc-pizarra li.sc-agot button { text-decoration: line-through; }
.sc-pizarra .todo { margin-top: 12px; text-align: right; font: 700 19px var(--f-tiza); color: var(--t-cian); }
.sc-pizarra .tiza { position: absolute; right: 18px; bottom: -9px; width: 54px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, #fff 0 70%, #f7c8d8 70%); box-shadow: 0 2px 2px rgba(0, 0, 0, .3); }
@keyframes latido { 0%, 100% { transform: rotate(3deg) scale(1); } 50% { transform: rotate(3deg) scale(1.07); } }

/* Taller de tejas y chocotejas */
.sc-taller { margin-top: 14px; position: relative; background: linear-gradient(160deg, var(--choco-2), var(--choco)); color: #f8e7c8; border-radius: 22px; padding: 22px 18px 20px; overflow: hidden; box-shadow: 0 14px 30px rgba(58, 34, 22, .3); }
.sc-taller::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 10%, rgba(247, 201, 72, .22), transparent 70%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 12px); pointer-events: none; }
.sc-taller .polas { position: relative; height: 210px; margin-bottom: 16px; }
.sc-taller .pola { position: absolute; width: 58%; max-width: 250px; background: #fffaf0; padding: 7px 7px 26px; border-radius: 4px; box-shadow: 0 10px 22px rgba(0, 0, 0, .35); transition: transform .5s var(--rebote); }
.sc-taller .pola img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.sc-taller .pola span { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 700 15px var(--f-tiza); color: var(--madera); }
.sc-taller .pola:nth-child(1) { left: 2%; top: 8px; transform: rotate(-6deg); animation: flotar 7s ease-in-out infinite; }
.sc-taller .pola:nth-child(2) { right: 2%; top: 30px; transform: rotate(5deg); animation: flotar 8s 1s ease-in-out infinite reverse; }
.sc-taller .sello { position: absolute; right: 14px; top: 14px; z-index: 2; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 700 11px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--rojo-noche); background: var(--sol1); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); animation: girarLento 18s linear infinite; }
.sc-taller .sello b { display: block; font-size: 15px; }
.sc-taller h3 { position: relative; margin: 0; font: 400 30px/1.05 var(--f-disp); color: #ffd98a; }
.sc-taller p { position: relative; margin: 8px 0 0; font-size: 14.5px; color: #f1dcc0; }
.sc-taller .dulces { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sc-taller .dulces button { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid rgba(255, 217, 138, .4); background: rgba(255, 255, 255, .06); color: #fff3dc; font: 600 14px var(--f-cond); letter-spacing: .04em; text-transform: uppercase; }
.sc-taller .dulces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.sc-taller .dulces small { font: 600 11px var(--f-body); text-transform: none; letter-spacing: 0; color: #e7c79a; }
@keyframes girarLento { to { transform: rotate(360deg); } }

/* ---------- Pie ---------- */
.sc-pie { position: relative; margin-top: 40px; background: var(--rojo-osc); color: #fbe9d0; overflow: hidden; }
.sc-pie .ola { display: block; width: 100%; height: 44px; margin-bottom: -1px; background: var(--papel); }
.sc-pie .ola svg { width: 100%; height: 100%; display: block; }
.sc-pie .foto { height: 160px; background: center / cover no-repeat; position: relative; }
.sc-pie .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(111, 25, 18, .1), var(--rojo-osc)); }
.sc-pie .wrap { position: relative; padding-block: 6px 34px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.sc-pie .logo { width: 150px; height: auto; margin-top: -60px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4)); }
.sc-pie p { margin: 0; font-size: 13.5px; }
.sc-pie .contacto { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.sc-pie .contacto a { display: inline-flex; align-items: center; gap: 6px; color: #fff3dc; text-decoration: none; font: 600 13px var(--f-cond); letter-spacing: .05em; text-transform: uppercase; border: 1px solid rgba(255, 231, 180, .35); padding: 7px 12px; border-radius: 999px; transition: background .2s, transform .2s var(--rebote); }
.sc-pie .contacto a:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.sc-pie .contacto svg { width: 15px; height: 15px; }
.sc-pie .chico { font-size: 12px; opacity: .7; }
.sc-nazca-pie { width: 100%; max-width: 360px; height: auto; color: rgba(255, 214, 140, .35); margin-top: 8px; }
.sc-colibri { width: 64px; height: 64px; color: rgba(255, 214, 140, .55); animation: volar 5s ease-in-out infinite; }
@keyframes volar { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 25% { transform: translate(6px, -6px) rotate(2deg); } 50% { transform: translate(0, -10px) rotate(4deg); } 75% { transform: translate(-6px, -4px) rotate(0deg); } }

/* ---------- Botón subir ---------- */
.sc-subir { position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--rojo); color: #fff7e2; box-shadow: 0 8px 20px rgba(111, 25, 18, .4), 0 0 0 3px var(--ocre); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .45s var(--rebote); }
.sc-subir.ver { opacity: 1; transform: none; pointer-events: auto; }
.sc-subir svg { width: 26px; height: 26px; }

/* ---------- Hoja de detalle del plato ---------- */
.sc-fondo { position: fixed; inset: 0; z-index: 60; background: rgba(36, 14, 8, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .3s; }
.sc-fondo.abierto { opacity: 1; }
.sc-hoja { position: relative; width: 100%; max-width: 520px; max-height: calc(100% - 30px); overflow-y: auto; background: var(--papel); border-radius: 26px 26px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .45s var(--ease); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); }
.sc-fondo.abierto .sc-hoja { transform: none; }
@media (min-width: 640px) { .sc-fondo { align-items: center; } .sc-hoja { border-radius: 26px; transform: translateY(40px) scale(.96); } }
.sc-hoja .asa { position: absolute; left: 50%; top: 8px; width: 42px; height: 5px; margin-left: -21px; border-radius: 5px; background: rgba(255, 255, 255, .8); z-index: 2; }
.sc-hoja .foto { position: relative; aspect-ratio: 4 / 3; background: var(--ocre-suave); overflow: hidden; }
.sc-hoja .foto img { width: 100%; height: 100%; object-fit: cover; animation: zoomFoto 6s ease-out both; }
.sc-hoja .foto::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(255, 249, 234, .9)); }
.sc-hoja .cerrar { position: absolute; right: 12px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(43, 27, 18, .6); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); }
.sc-hoja .cerrar svg { width: 18px; height: 18px; }
.sc-hoja .info { position: relative; padding: 0 20px; margin-top: -26px; }
.sc-hoja .cat { font: 600 11.5px var(--f-cond); text-transform: uppercase; letter-spacing: .16em; color: var(--rojo); }
.sc-hoja h3 { margin: 4px 0 0; font: 600 25px/1.15 var(--f-cond); text-transform: uppercase; color: var(--tinta); }
.sc-hoja .desc { margin: 8px 0 0; font-size: 15px; color: var(--tinta-2); }
.sc-hoja .fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.sc-hoja .sc-sticker { margin: 0; font-size: 28px; }
.sc-hoja .estado { font: 700 12px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #2f7d4a; display: inline-flex; align-items: center; gap: 6px; }
.sc-hoja .estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47, 125, 74, .18); }
.sc-hoja .estado.no { color: #b3261e; }
.sc-hoja .estado.no::before { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
.sc-hoja .navs { display: flex; gap: 8px; padding: 16px 20px 0; }
.sc-hoja .navs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; font: 600 13px var(--f-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--madera); }
.sc-hoja .navs button:disabled { opacity: .35; cursor: default; }
.sc-hoja .navs svg { width: 16px; height: 16px; }
.sc-hoja .nota-foto { padding: 10px 20px 0; font-size: 11.5px; color: var(--tinta-2); opacity: .75; }
@keyframes zoomFoto { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Buscador ---------- */
.sc-busca { position: fixed; inset: 0; z-index: 70; background: var(--papel); display: flex; flex-direction: column; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease); }
.sc-busca.abierto { opacity: 1; transform: none; }
.sc-busca .cab { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; background: var(--rojo-osc); }
.sc-busca .campo { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 0 12px; }
.sc-busca .campo svg { width: 18px; height: 18px; color: var(--tinta-2); flex: none; }
.sc-busca input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 0; font: 600 16px var(--f-body); background: transparent; color: var(--tinta); }
.sc-busca .x { border: 0; background: none; color: #fff3dc; font: 600 14px var(--f-cond); text-transform: uppercase; letter-spacing: .06em; padding: 8px 4px; }
.sc-busca .res { flex: 1; overflow-y: auto; padding: 8px 0 30px; }
.sc-busca .res ul { list-style: none; margin: 0; padding: 0; }
.sc-busca .res li button { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border: 0; border-bottom: 1px solid var(--linea); background: none; text-align: left; animation: entraLista .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.sc-busca .res img, .sc-busca .res .sinf { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--ocre-suave); }
.sc-busca .res .n { font: 600 15px/1.2 var(--f-cond); text-transform: uppercase; }
.sc-busca .res .c { font-size: 12px; color: var(--tinta-2); }
.sc-busca .res mark { background: #fff04a; color: inherit; border-radius: 3px; padding: 0 1px; }
.sc-busca .vacio { text-align: center; padding: 40px 20px; color: var(--tinta-2); }
.sc-busca .vacio b { display: block; font: 400 28px var(--f-disp); color: var(--rojo); margin-bottom: 4px; }
.sc-busca .sugeridos { padding: 14px 0; }
.sc-busca .sugeridos p { margin: 0 0 8px; font: 600 12px var(--f-cond); text-transform: uppercase; letter-spacing: .12em; color: var(--tinta-2); }
.sc-busca .sugeridos div { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-busca .sugeridos button { border: 1.5px solid var(--linea); background: #fff; border-radius: 999px; padding: 7px 12px; font: 600 13px var(--f-cond); text-transform: uppercase; letter-spacing: .04em; color: var(--madera); }
@keyframes entraLista { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Resaltado al llegar desde el buscador */
.destello { animation: destello 1.6s ease-out; }
@keyframes destello { 0%, 30% { background: rgba(247, 201, 72, .55); box-shadow: 0 0 0 6px rgba(247, 201, 72, .55); } 100% { background: transparent; box-shadow: 0 0 0 0 transparent; } }

/* ---------- Entradas al hacer scroll (solo con JavaScript) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(min(var(--d, 0), 10) * 45ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .sc-tit.rv .glifo path, .js .sc-tit.rv .glifo circle { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .15s; }
.js .sc-tit.rv.in .glifo path, .js .sc-tit.rv.in .glifo circle { stroke-dashoffset: 0; }
.js .sc-tit.rv h2 { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) .1s; }
.js .sc-tit.rv.in h2 { clip-path: inset(0 0 0 0); }
.js .sc-pizarra li.rv { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .7s ease; transition-delay: calc(var(--d, 0) * 120ms + .2s); }
.js .sc-pizarra li.rv.in { clip-path: inset(0 -10px 0 0); }
.js .sc-combo.rv { transform: translateY(24px) scale(.97); }
.js .sc-combo.rv.in { transform: none; }
.js .sc-combo.rv.in .sc-sticker { animation: sticker .8s var(--rebote) both; animation-delay: calc(var(--d, 0) * 45ms + .35s); }
@keyframes sticker { from { transform: rotate(-25deg) scale(.2); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }

/* Fundido al cambiar de idioma */
#carta { transition: opacity .25s ease; }
#carta.cambiando { opacity: 0; }

@media (min-width: 600px) {
  .sc-tit h2 { font-size: 40px; }
  .sc-logo { width: 340px; }
  .sc-taller .polas { height: 250px; }
}
@media (min-width: 1000px) {
  .wrap.ancho { max-width: 1080px; }
  .sc-lista.dos { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
  .sc-lista.dos li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* Movimiento reducido: sin animaciones en bucle ni desplazamientos */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
}
