/* =========================================================
   Karibe Restaurante — estilos
   Paleta tomada del logo y del menú impreso, afinada:
   coral (camarón del logo), carmesí (KARIBE), mar (fondo del menú),
   arena y carbón.
   ========================================================= */

:root {
  --coral: #ea6a2e;
  --coral-hi: #ff8048;
  --crimson: #c4232d;
  --crimson-deep: #9b1a23;
  --sea: #0f5f63;
  --sea-hi: #16807f;
  --sun: #f5b63f;
  --wa: #1fa855;
  --char-950: #0e0d0c;
  --char-900: #141210;
  --char-800: #1c1917;
  --char-700: #26221f;
  --char-600: #36302b;
  --sand-50: #fbf7f0;
  --sand-100: #f4ece0;
  --sand-200: #eadcc6;
  --sand-300: #d9c4a3;
  --ink: #221a14;
  --ink-soft: #6a5646;
  --text: #f4ede2;
  --muted: #b9ad9c;
  --open: #4fd27a;
  --closed: #ff6259;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 5vw, 40px);
  --maxw: 1180px;
  --nav-h: 66px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }
body { margin: 0; background: var(--char-900); color: var(--text); font-family: var(--ff-body); font-size: 16px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--coral); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ph { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: .78em; padding: .05em .45em; border: 1px dashed currentColor; border-radius: 6px; opacity: .75; }

/* ---------- Barra superior ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 16px; padding-inline: var(--gutter); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.nav.is-solid { background: rgba(14, 13, 12, .94); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -10px rgba(0,0,0,.6); }
@supports (backdrop-filter: blur(10px)) { .nav.is-solid { background: rgba(14, 13, 12, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); } }
.nav__logo { margin-right: auto; display: block; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.nav.is-solid .nav__logo { opacity: 1; transform: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: none; gap: 30px; font-weight: 600; font-size: .92rem; }
.nav__links a { text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { opacity: 1; color: var(--coral-hi); } }
.nav__branch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.3); border-radius: 999px; padding: 9px 15px; font-size: .85rem; font-weight: 700; cursor: pointer; max-width: 52vw; transition: border-color .2s; }
.nav__branch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .nav__branch:hover { border-color: var(--coral); } }
.nav__branch svg { color: var(--coral); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 58px; font-size: 1.05rem; padding-inline: 28px; }
.btn--block { width: 100%; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 14px 34px -14px rgba(234,106,46,.85); }
@media (hover: hover) and (pointer: fine) { .btn--coral:hover { background: var(--coral-hi); transform: translateY(-2px); } }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 34px -14px rgba(31,168,85,.8); }
@media (hover: hover) and (pointer: fine) { .btn--wa:hover { background: #25be62; transform: translateY(-2px); } }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.42); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); } }
.btn--sea { background: var(--sea); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--sea:hover { background: var(--sea-hi); } }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- 1. Portada ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 16px) var(--gutter) 92px; text-align: center; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -3; background: var(--char-800); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); animation: heroZoom 20s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(70% 55% at 50% 42%, rgba(14,13,12,.55), rgba(14,13,12,.82) 75%),
  linear-gradient(180deg, rgba(14,13,12,.6) 0%, rgba(14,13,12,.2) 40%, rgba(20,18,16,1) 100%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .1; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero__logo { margin: 0; animation: rise 1s var(--ease) .1s both; }
.hero__logo img { width: min(78vw, 440px); height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.hero__tagline { margin: 22px 0 6px; font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.5rem, 6vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; animation: rise 1s var(--ease) .25s both; }
.hero__tagline em { color: var(--coral-hi); font-style: italic; }
.hero__sub { margin: 0 0 22px; color: var(--sand-200); font-size: clamp(.95rem, 3.6vw, 1.08rem); max-width: 40ch; text-wrap: balance; animation: rise 1s var(--ease) .35s both; }
.hero__ctas { display: grid; gap: 12px; width: 100%; max-width: 380px; margin-top: 24px; animation: rise 1s var(--ease) .55s both; }
@media (min-width: 640px) { .hero__ctas { grid-template-columns: repeat(3, auto); max-width: none; width: auto; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--coral); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Estado abierto / cerrado */
.status { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; animation: rise 1s var(--ease) .45s both; min-height: 38px; }
.status__pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(14,13,12,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: .84rem; font-weight: 600; line-height: 1.3; text-align: left; color: var(--sand-100); }
.status__pill b { font-weight: 800; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.status__pill--open .status__dot { background: var(--open); animation: pulse 2s infinite; }
.status__pill--open b { color: var(--open); }
.status__pill--closed .status__dot { background: var(--closed); }
.status__pill--closed b { color: var(--closed); }
.status__pill--loading { opacity: .7; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,210,122,.55); } 70% { box-shadow: 0 0 0 9px rgba(79,210,122,0); } 100% { box-shadow: 0 0 0 0 rgba(79,210,122,0); } }

/* ---------- Franja ---------- */
.ticker { background: var(--coral); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin-block: -6px; position: relative; z-index: 2; box-shadow: 0 14px 30px -18px rgba(0,0,0,.7); }
.ticker__track { display: flex; width: max-content; gap: 26px; animation: ticker 34s linear infinite; font-family: var(--ff-display); font-weight: 700; font-style: italic; font-size: 1.3rem; white-space: nowrap; }
.ticker__track i { font-style: normal; color: var(--char-900); font-size: .9rem; align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(72px, 12vw, 128px); }
.section__head { margin-bottom: clamp(28px, 5vw, 48px); max-width: 720px; }
.eyebrow { margin: 0 0 10px; font-size: .74rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--coral); }
.eyebrow--dark { color: var(--sea); }
.section__title { margin: 0; font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.4rem, 9vw, 4.4rem); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.section__title--red { color: var(--crimson); text-transform: uppercase; letter-spacing: .01em; font-weight: 800; }
.subhead { margin: 48px 0 16px; font-size: .78rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton--card { height: 260px; }
.skeleton--list { height: 140px; margin-bottom: 14px; }

@keyframes shimmer { to { background-position: -300% 0; } }

/* ---------- 2. Promo del día ---------- */
.promo { background: var(--char-900); }
.promo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 85% 10%, rgba(234,106,46,.14), transparent 70%), radial-gradient(45% 45% at 0% 85%, rgba(15,95,99,.22), transparent 70%); }
.promo .wrap { position: relative; }
.feature { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: linear-gradient(140deg, var(--sea) 0%, #0b4447 60%, #082f31 100%); color: #fff; display: grid; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.06); }
.feature__media { position: relative; aspect-ratio: 1 / 1; background: rgba(0,0,0,.25); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 26px 22px 28px; position: relative; }
.feature__tag { display: inline-flex; align-items: center; gap: 8px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.feature__title { margin: 14px 0 6px; font-family: var(--ff-display); font-weight: 700; font-style: italic; font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: .95; letter-spacing: -.03em; }
.feature__time { margin: 0 0 12px; font-weight: 800; font-size: 1.1rem; color: var(--sun); }
.feature__desc { margin: 0 0 22px; opacity: .92; max-width: 44ch; }
.feature--quiet { background: linear-gradient(140deg, var(--char-700), var(--char-800)); }
.feature--quiet .feature__title { color: var(--coral-hi); }
@media (min-width: 760px) {
  .feature { grid-template-columns: 1fr 1.1fr; }
  .feature__media { aspect-ratio: auto; min-height: 380px; }
  .feature__body { padding: 48px 44px; align-self: center; }
}

.week { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week li { text-align: center; padding: 10px 2px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: .68rem; font-weight: 700; color: var(--muted); position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.week li b { display: block; font-size: .95rem; color: var(--text); }
.week li.has-promo::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.week li.is-today { background: var(--coral); color: #fff; }
.week li.is-today b { color: #fff; }
.week li.is-today::after { background: #fff; }

.promo__fixed { display: grid; gap: 14px; }
@media (min-width: 640px) { .promo__fixed { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .promo__fixed { grid-template-columns: repeat(3, 1fr); } }
.ticket { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--sand-100); color: var(--ink); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 92px; width: 18px; height: 18px; border-radius: 50%; background: var(--char-900); }
.ticket::before { top: -9px; } .ticket::after { bottom: -9px; }
.ticket__big { flex: none; width: 74px; font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--crimson); text-align: center; letter-spacing: -.03em; padding-right: 18px; border-right: 2px dashed var(--sand-300); }
.ticket h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.ticket p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.ticket small { display: block; margin-top: 6px; font-size: .74rem; font-weight: 700; color: var(--sea); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- 3. Cómo llegar ---------- */
.llegar { background: linear-gradient(180deg, #0f1919 0%, #0e1312 100%); }
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); margin-bottom: 22px; max-width: 100%; }
.tab { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: .95rem; cursor: pointer; color: var(--muted); transition: background .25s, color .25s; white-space: nowrap; min-height: 44px; }
.tab[aria-selected="true"] { background: var(--coral); color: #fff; }
.branch { display: grid; gap: 18px; }
@media (min-width: 900px) { .branch { grid-template-columns: 1fr 1.15fr; align-items: stretch; } }
.branch__card { border-radius: var(--radius); background: var(--char-800); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); overflow: hidden; display: flex; flex-direction: column; }
.branch__photo { position: relative; aspect-ratio: 16 / 9; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px), linear-gradient(135deg, var(--char-700), var(--char-900)); }
.branch__photo img { width: 100%; height: 100%; object-fit: cover; }
.branch__photo.is-missing img { display: none; }
.branch__photo.is-missing::after { content: "Foto de fachada pendiente"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.3); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.branch__photo .status__pill { position: absolute; left: 14px; bottom: 14px; z-index: 1; }
.branch__body { padding: 22px; display: grid; gap: 16px; }
.branch__name { margin: 0; font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.branch__addr { margin: 0; color: var(--muted); }
.branch__extra { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(15,95,99,.25); color: var(--sand-100); font-size: .9rem; }
.branch__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.branch__actions .btn { min-height: 50px; padding-inline: 14px; font-size: .95rem; }
.branch__actions .btn--wide { grid-column: 1 / -1; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--coral-hi); font-weight: 800; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; background:
  radial-gradient(circle at 50% 45%, rgba(15,95,99,.4), transparent 45%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 38px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 38px), var(--char-800);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); display: grid; place-items: center; text-align: center; padding: 24px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--coral); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 14px 30px -10px rgba(234,106,46,.8); }
.map__pin::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--char-900); }
.map p { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }

/* ---------- Menú (carbón oscuro, letras crema, títulos coral) ---------- */
.menu { background: var(--char-950); color: var(--text); }
.menu::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 30% at 50% 0%, rgba(234,106,46,.12), transparent 70%), radial-gradient(50% 40% at 100% 60%, rgba(15,95,99,.16), transparent 70%); }
.menu .wrap { position: relative; }
.section__head--menu { text-align: center; margin-inline: auto; }
.section__title--menu { text-transform: uppercase; letter-spacing: .02em; font-weight: 800; color: var(--sand-100); }
.menu__lead { margin: 14px 0 0; color: var(--muted); }
.menu__lead b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .9rem; vertical-align: -3px; }
.menu__branch { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
.menu__branch strong { color: var(--text); }
.menu__branch button { border: 0; background: none; padding: 0; color: var(--coral-hi); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Recomendados del chef */
.picks { margin: 0 calc(var(--gutter) * -1) 34px; }
.picks[hidden] { display: none; }
.picks__title { margin: 0 var(--gutter) 14px; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-200); }
.picks__title span { color: var(--coral); }
.picks__track { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px; scrollbar-width: none; }
.picks__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .picks__track { grid-auto-columns: 300px; } }
.pick { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--char-800); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 24px 50px -30px rgba(0,0,0,.9); display: flex; flex-direction: column; }
.pick__media { position: relative; aspect-ratio: 5 / 4; background: #f6efe4; overflow: hidden; }
.pick__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) and (pointer: fine) { .pick:hover .pick__media img { transform: scale(1.05); } }
.pick__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(14,13,12,.55)); }
.pick__body { padding: 14px 16px 16px; display: flex; align-items: center; gap: 12px; }
.pick__name { margin: 0; flex: 1; font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.pick__price { display: block; margin-top: 3px; font-family: var(--ff-body); font-size: .85rem; font-weight: 700; color: var(--muted); }
.pick__price b { color: var(--coral-hi); font-size: 1rem; }

/* Barra fija: Comida/Bebidas + categorías + buscador */
.menu__tools { position: sticky; top: var(--nav-h); z-index: 10; margin: 0 calc(var(--gutter) * -1) 26px; padding: 10px var(--gutter); background: rgba(14,13,12,.96); display: grid; gap: 10px; border-bottom: 1px solid transparent; transition: border-color .3s; }
@supports (backdrop-filter: blur(10px)) { .menu__tools { background: rgba(14,13,12,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.menu__tools.is-stuck { border-color: rgba(255,255,255,.07); }
.groups { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.group { border: 0; background: transparent; min-height: 42px; border-radius: 999px; font-weight: 800; font-size: .95rem; color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.group.is-active { background: var(--sand-100); color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding-block: 2px; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; padding: 9px 15px; border-radius: 999px; background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-weight: 700; font-size: .86rem; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; min-height: 40px; }
.chip.is-active { background: var(--coral); color: #fff; box-shadow: none; }
.search { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 0 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 11px 0; font: inherit; font-size: 16px; color: var(--text); }
.search input::placeholder { color: #8d8274; }
@media (min-width: 900px) { .menu__tools { grid-template-columns: 260px 1fr 300px; align-items: center; } }

/* Categorías */
.cat { margin-bottom: 52px; scroll-margin-top: calc(var(--nav-h) + 170px); }
.cat[hidden] { display: none; }
.cat__title { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.6rem); text-transform: uppercase; letter-spacing: .02em; color: var(--coral); line-height: 1; }
.cat__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(234,106,46,.6), transparent); }
.cat__list { display: grid; gap: 0 40px; }
@media (min-width: 900px) { .cat__list { grid-template-columns: 1fr 1fr; } }
.cat__foot { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); color: var(--muted); font-size: .88rem; }

/* Fila de plato: foto a la izquierda, nombre y precio a la derecha */
.dish { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.dish[hidden] { display: none; }
.dish__thumb { grid-row: 1 / span 3; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: #f6efe4; align-self: start; }
.dish__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dish--nothumb { grid-template-columns: 1fr auto; }
.dish__head { min-width: 0; }
.dish__name { margin: 0; font-size: 1.04rem; font-weight: 800; line-height: 1.3; color: var(--sand-100); }
.dish__name .star { color: var(--coral); margin-right: 4px; }
.dish__nota { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }
.dish__buy { display: flex; align-items: center; gap: 10px; align-self: start; }
.dish__price { font-family: var(--ff-display); font-weight: 700; font-size: 1.12rem; white-space: nowrap; color: var(--sand-100); }
.dish__chips { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dish--nothumb .dish__chips { grid-column: 1 / -1; }
.ochip { border: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: .8rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.ochip.is-on { background: rgba(234,106,46,.16); color: var(--coral-hi); box-shadow: inset 0 0 0 1.5px var(--coral); }
.dish__tags { grid-column: 2 / -1; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.dish--nothumb .dish__tags { grid-column: 1 / -1; }
.tag { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--sand-200); }
.tag--recomendado { background: var(--crimson); color: #fff; }
.tag--para-compartir { background: var(--sea); color: #fff; }
.tag--artesanal, .tag--favorito { background: var(--coral); color: #fff; }

/* Botón agregar */
.add { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--coral); color: #fff; cursor: pointer; font-size: 1.3rem; font-weight: 700; line-height: 1; box-shadow: 0 8px 18px -8px rgba(234,106,46,.9); transition: transform .2s var(--ease), background .2s; }
@media (hover: hover) and (pointer: fine) { .add:hover { background: var(--coral-hi); transform: scale(1.06); } }
.add:active { transform: scale(.92); }
.add.is-added { background: var(--wa); }

/* Tabla de precios (licores, cervezas, naturales) */
.ptable { width: 100%; border-collapse: collapse; margin-top: 6px; }
.ptable th { padding: 10px 4px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.ptable th:first-child { text-align: left; padding-left: 0; }
.ptable td { padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,.06); text-align: center; }
.ptable td:first-child { text-align: left; padding-left: 0; font-weight: 800; font-size: .95rem; color: var(--sand-100); line-height: 1.25; }
.ptable tr[hidden] { display: none; }
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; min-width: 64px; padding: 6px 10px; border: 0; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--sand-100); font-family: var(--ff-display); font-weight: 700; font-size: .98rem; cursor: pointer; transition: background .2s, box-shadow .2s; white-space: nowrap; }
.pbtn::after { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--ff-body); font-size: .8rem; font-weight: 800; }
@media (hover: hover) and (pointer: fine) { .pbtn:hover { background: rgba(234,106,46,.14); box-shadow: inset 0 0 0 1.5px var(--coral); } }
.pbtn.is-added::after { background: var(--wa); content: "✓"; }
.ptable .muted { color: #5e554b; }
@media (max-width: 400px) { .pbtn { min-width: 0; padding: 6px 7px; font-size: .9rem; gap: 4px; } .pbtn::after { width: 16px; height: 16px; } }
.cat__table-wrap { margin-top: 10px; }

.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.menu__note { margin: 10px 0 0; text-align: center; font-size: .82rem; color: var(--muted); }

/* ---------- Galería ---------- */
.galeria { background: var(--char-900); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 10px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { margin: 0; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: var(--char-700); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) and (pointer: fine) { .gallery__item:hover img { transform: scale(1.05); } }
@media (min-width: 900px) {
  .gallery { grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; overflow: visible; max-width: var(--maxw); margin-inline: auto; }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}

/* ---------- Pie ---------- */
.footer { background: var(--char-950); padding: 60px 0 calc(130px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; gap: 30px; }
.footer__logo { width: 190px; height: auto; }
.footer__tag { margin: 10px 0 0; color: var(--muted); font-family: var(--ff-display); font-style: italic; font-size: 1.05rem; }
.footer__cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer__cols h3 { margin: 0 0 6px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); }
.footer__cols p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer__cols a { color: var(--text); font-weight: 700; }
.footer__social { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; }
.footer__social a { text-decoration: none; opacity: .85; }
@media (hover: hover) and (pointer: fine) { .footer__social a:hover { color: var(--coral-hi); opacity: 1; } }
.footer__legal { margin: 0; font-size: .78rem; color: #847866; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: auto 1fr auto; align-items: start; gap: 48px; } .footer__legal { grid-column: 1 / -1; } }

/* ---------- Barra del pedido ---------- */
.cartbar { position: fixed; left: 16px; right: 86px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 42; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 8px; border: 0; border-radius: 999px; background: var(--char-950); color: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.1); cursor: pointer; font-weight: 800; transform: translateY(0); animation: cartIn .45s var(--ease); }
.cartbar[hidden] { display: none; }
@keyframes cartIn { from { transform: translateY(120%); } }
.cartbar__count { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 999px; background: var(--coral); }
.cartbar__label { flex: 1; text-align: left; }
.cartbar__total { font-family: var(--ff-display); font-size: 1.15rem; }
.cartbar.is-bump .cartbar__count { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.25); } }
@media (min-width: 760px) { .cartbar { left: auto; right: 92px; width: 360px; } }

/* ---------- Botón flotante ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 16px 34px -10px rgba(31,168,85,.8); transform: scale(0); transition: transform .4s var(--ease); }
.fab svg { width: 28px; height: 28px; }
.fab.is-visible { transform: scale(1); }

/* ---------- Aviso ---------- */
.toast { position: fixed; left: 50%; top: calc(var(--nav-h) + 12px); z-index: 60; translate: -50% -20px; opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 999px; background: var(--char-950); color: #fff; font-size: .9rem; font-weight: 700; box-shadow: 0 16px 34px -12px rgba(0,0,0,.7); transition: opacity .3s var(--ease), translate .3s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.is-on { opacity: 1; translate: -50% 0; }
.toast b { color: var(--coral-hi); }

/* ---------- Aviso de boceto (quitar en la versión final) ---------- */

/* ---------- Hojas (selector y pedido) ---------- */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 520px; max-height: 92vh; background: transparent; color: var(--text); }
.sheet::backdrop { background: rgba(8,7,6,.7); }
.sheet[open] { animation: sheetUp .45s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet__inner { position: relative; background: var(--char-800); border-radius: 26px 26px 0 0; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.7); max-height: 92vh; overflow-y: auto; }
@media (min-width: 640px) { .sheet { margin: auto; } .sheet__inner { border-radius: 26px; padding-bottom: 26px; } }
.sheet__grip { width: 42px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 0 auto 16px; }
.sheet__title { margin: 0; font-family: var(--ff-display); font-size: 1.8rem; line-height: 1.1; }
.sheet__lead { margin: 6px 0 18px; color: var(--muted); font-size: .92rem; }
.sheet__options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; text-align: left; border: 0; cursor: pointer; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .2s, background .2s; }
.option.is-current { box-shadow: inset 0 0 0 2px var(--coral); background: rgba(234,106,46,.08); }
@media (hover: hover) and (pointer: fine) { .option:hover { box-shadow: inset 0 0 0 2px var(--coral); background: rgba(234,106,46,.08); } }
.option__name { font-weight: 800; font-size: 1.05rem; }
.option__addr { grid-column: 1; font-size: .85rem; color: var(--muted); }
.option__state { grid-row: 1 / span 2; grid-column: 2; font-size: .78rem; font-weight: 800; }
.option__state.is-open { color: var(--open); } .option__state.is-closed { color: var(--closed); }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); cursor: pointer; font-size: 1rem; }

/* Pedido */
.cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart__item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
.cart__name { font-weight: 800; line-height: 1.25; }
.cart__name small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.cart__line { font-family: var(--ff-display); font-weight: 700; }
.qty { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); cursor: pointer; font-size: 1.1rem; font-weight: 800; }
@media (hover: hover) and (pointer: fine) { .qty button:hover { background: rgba(255,255,255,.18); } }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.qty .qty__rm { margin-left: auto; width: auto; height: auto; padding: 6px 10px; border-radius: 8px; background: none; color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: underline; }
.cart__empty { color: var(--muted); text-align: center; padding: 20px 0; }
.cart__empty b { color: var(--coral); }
.cart__form { display: grid; gap: 16px; margin-top: 16px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,.15); font-weight: 700; }
.cart__total b { font-family: var(--ff-display); font-size: 1.8rem; color: var(--coral-hi); }
.cart__field { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart__field legend, .cart__field > span { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-weight: 700; text-align: center; cursor: pointer; }
.seg input:checked + span { background: rgba(234,106,46,.15); box-shadow: inset 0 0 0 2px var(--coral); }
.seg input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.cart__name input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--text); font: inherit; font-size: 16px; }
.cart__clear { justify-self: center; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }

.noscript { position: fixed; inset: auto 0 0 0; z-index: 99; padding: 14px; text-align: center; background: var(--coral); color: #fff; font-weight: 700; }

/* Solo se apagan los efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation-duration: 90s; }
  .hero__media img { animation: none; transform: none; }
  .hero__scroll span { animation: none; }
}

.ptable td .dish__nota { display: block; font-weight: 500; font-size: .78rem; }


/* Tabla compacta en celular */
.ptable { table-layout: fixed; }
.ptable--3 th:first-child { width: 31%; }
.ptable--2 th:first-child { width: 44%; }
.cat__table-wrap + .cat__list { margin-top: 14px; }
@media (max-width: 480px) {
  .ptable td:first-child { font-size: .86rem; }
  .ptable--3 .pbtn { min-width: 0; width: 100%; padding: 6px 4px; font-size: .84rem; }
  .ptable--3 .pbtn::after { display: none; }
  .ptable--3 th { letter-spacing: .08em; font-size: .62rem; }
}
/* Aviso de boceto: arriba, dentro de la portada */
.hero { padding-top: calc(var(--nav-h) + 56px); }

/* ---------- Portada: diapositivas de Instagram ---------- */
.hero__media img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; animation: none; transform: scale(1.1); }
.hero__media img.is-on { opacity: 1; animation: heroZoom 7s linear forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__media img:nth-child(2) { object-position: 50% 30%; }
.hero { padding-top: calc(var(--nav-h) + 16px); }

/* ---------- Selector "¿Qué querés hacer?" ---------- */
.choice { display: grid; gap: 12px; }
.choice__card { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; text-decoration: none; background: linear-gradient(140deg, var(--coral), #d4521c); color: #fff; box-shadow: 0 18px 40px -20px rgba(234,106,46,.9); transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .choice__card:hover { transform: translateY(-2px); } }
.choice__card--sea { background: linear-gradient(140deg, var(--sea-hi), var(--sea)); box-shadow: 0 18px 40px -20px rgba(15,95,99,.9); }
.choice__card img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.choice__text b { display: block; font-family: var(--ff-display); font-size: 1.5rem; line-height: 1.1; }
.choice__text span { display: block; font-size: .88rem; opacity: .9; margin-top: 2px; }
.choice__arrow { font-size: 1.4rem; font-weight: 800; }
.menu__alt { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.menu__alt a { color: var(--coral-hi); font-weight: 800; }

/* ---------- Instagram ---------- */
.insta { background: var(--char-900); }
.section__head--center { text-align: center; margin-inline: auto; }
.insta .section__title { font-size: clamp(1.9rem, 8vw, 3.6rem); word-break: break-word; }
.insta__lead { margin: 12px auto 0; color: var(--muted); max-width: 46ch; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 900px; margin: 0 auto; }
.insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--char-700); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.insta__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(234,106,46,.0), rgba(196,35,45,.0)); transition: background .4s; }
@media (hover: hover) and (pointer: fine) { .insta__item:hover img { transform: scale(1.06); } }
@media (hover: hover) and (pointer: fine) { .insta__item:hover::after { background: linear-gradient(140deg, rgba(234,106,46,.25), rgba(196,35,45,.25)); } }
@media (min-width: 760px) { .insta__grid { gap: 12px; } .insta__item { border-radius: 16px; } }
.insta__cta { display: flex; justify-content: center; margin-top: 28px; }
.btn--insta { background: linear-gradient(120deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; box-shadow: 0 16px 34px -14px rgba(221,42,123,.7); }
@media (hover: hover) and (pointer: fine) { .btn--insta:hover { transform: translateY(-2px); } }

/* Parqueo */
.branch__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-info { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(79,210,122,.12); color: #8fe3ad; font-size: .82rem; font-weight: 800; }

/* Portada más luminosa para que se vea la comida */
.hero__shade { background:
  radial-gradient(75% 55% at 50% 45%, rgba(14,13,12,.42), rgba(14,13,12,.68) 80%),
  linear-gradient(180deg, rgba(14,13,12,.5) 0%, rgba(14,13,12,.08) 38%, rgba(14,13,12,.25) 70%, rgba(20,18,16,1) 100%); }
.hero__tagline, .hero__sub { text-shadow: 0 2px 18px rgba(0,0,0,.6); }

/* ---------- Pedido para recoger ---------- */
.menu__pickup { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 8px 14px; border-radius: 999px; background: rgba(245,182,63,.14); box-shadow: inset 0 0 0 1px rgba(245,182,63,.45); color: var(--sun); font-size: .86rem; font-weight: 800; }
.menu__pickup svg { width: 18px; height: 18px; }
.order-status { margin: 12px auto 0; max-width: 560px; padding: 10px 14px; border-radius: 14px; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.order-status.is-open { background: rgba(79,210,122,.1); color: #9fe6b8; box-shadow: inset 0 0 0 1px rgba(79,210,122,.3); }
.order-status.is-closed { background: rgba(255,98,89,.12); color: #ffb3ad; box-shadow: inset 0 0 0 1px rgba(255,98,89,.4); }
.orders-off .add, .orders-off .pbtn { opacity: .35; filter: grayscale(1); cursor: not-allowed; box-shadow: none; }
.orders-off .ochip { opacity: .5; }

.pickup-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(245,182,63,.12); box-shadow: inset 0 0 0 1px rgba(245,182,63,.4); color: var(--sand-100); font-size: .9rem; }
.pickup-note svg { width: 22px; height: 22px; color: var(--sun); flex: none; margin-top: 1px; }
.pickup-note p { margin: 0; }
.pickup-note b { color: var(--sun); }
.cart__total { margin: 0; display: block; padding: 14px 0 0; border-top: 1px dashed rgba(255,255,255,.15); font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700; color: var(--sand-100); }
.cart__total b { font-size: 1.9rem; color: var(--coral-hi); }
.cart__total-note { margin: -8px 0 0; font-size: .8rem; color: var(--muted); }
.cart__closed { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255,98,89,.12); box-shadow: inset 0 0 0 1px rgba(255,98,89,.4); color: #ffb3ad; font-size: .9rem; font-weight: 600; }
[data-cart-send]:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
fieldset:disabled { opacity: .45; }

.picktime { display: flex; align-items: center; gap: 14px; }
.picktime input[type=range] { --p: 40%; flex: 1; height: 8px; border-radius: 99px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, var(--coral) var(--p), rgba(255,255,255,.14) var(--p)); outline: none; }
.picktime input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); box-shadow: 0 4px 12px rgba(0,0,0,.4); cursor: pointer; }
.picktime input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); cursor: pointer; }
.picktime output { min-width: 72px; text-align: center; padding: 8px 10px; border-radius: 12px; background: rgba(234,106,46,.15); color: var(--coral-hi); font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem; }
.picktime__marks { display: flex; justify-content: space-between; margin-right: 86px; font-size: .72rem; color: var(--muted); }
.picktime__at { margin: 4px 0 0; font-size: .88rem; color: var(--sand-200); }
.picktime__warn { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(245,182,63,.14); color: #ffd98a; font-size: .86rem; box-shadow: inset 0 0 0 1px rgba(245,182,63,.45); }

/* ---------- Cronómetro ---------- */
.tracker { position: fixed; left: 16px; right: 86px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 43; padding: 12px 14px 12px; border-radius: 20px; background: rgba(14,13,12,.96); color: var(--text); box-shadow: 0 20px 44px -14px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1); animation: cartIn .45s var(--ease); }
@supports (backdrop-filter: blur(10px)) { .tracker { background: rgba(14,13,12,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.tracker[hidden] { display: none; }
@media (min-width: 760px) { .tracker { left: auto; right: 92px; width: 360px; } }
.tracker__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tracker__top b { color: var(--coral-hi); }
.tracker__close { border: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; font-size: .8rem; }
.tracker__row { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.tracker__time { font-family: var(--ff-display); font-weight: 800; font-size: 2.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--sand-100); }
.tracker__msg { margin: 0; font-size: .84rem; color: var(--sand-200); line-height: 1.3; }
.tracker__bar { height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.tracker__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--sun)); border-radius: inherit; transition: width 1s linear; }
.tracker__warn { margin: 10px 0 0; padding: 9px 11px; border-radius: 12px; font-size: .84rem; line-height: 1.35; }
.tracker__warn.is-wait { background: rgba(245,182,63,.14); color: #ffd98a; box-shadow: inset 0 0 0 1px rgba(245,182,63,.45); }
.tracker__warn.is-ready { background: rgba(79,210,122,.14); color: #9fe6b8; box-shadow: inset 0 0 0 1px rgba(79,210,122,.4); }
.tracker.is-done .tracker__time { color: var(--open); }
.cartbar.is-raised { bottom: calc(196px + env(safe-area-inset-bottom)); }

/* ---------- Fondo quieto con una hoja abierta ---------- */
html.is-locked, html.is-locked body { overflow: hidden; }
.sheet__inner { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet::backdrop { background: rgba(8,7,6,.78); }

/* Última hora / pedido activo */
.order-status.is-last { background: rgba(245,182,63,.14); color: #ffd98a; box-shadow: inset 0 0 0 1px rgba(245,182,63,.5); }
.order-status__btn { display: inline-flex; margin: 8px auto 0; border: 0; padding: 8px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 800; font-size: .85rem; cursor: pointer; }
.cart__last { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(245,182,63,.14); box-shadow: inset 0 0 0 1px rgba(245,182,63,.5); color: #ffd98a; font-size: .9rem; font-weight: 700; }
.toast.is-long { white-space: normal; text-align: center; border-radius: 18px; line-height: 1.35; width: max-content; max-width: min(92vw, 460px); background: #3a2a0b; box-shadow: 0 16px 34px -12px rgba(0,0,0,.7), inset 0 0 0 1px rgba(245,182,63,.6); color: #ffe2a6; }

/* Confirmación */
.confirm { display: grid; gap: 10px; }
.sheet__lead b { color: var(--coral-hi); }

/* Cronómetro: botones y versión pequeña */
.tracker__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tracker__btn { border: 0; min-height: 40px; border-radius: 12px; background: var(--wa); color: #fff; font-weight: 800; font-size: .85rem; cursor: pointer; }
.tracker__btn--ghost { background: rgba(255,255,255,.08); color: var(--sand-100); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.tracker__chev { display: inline-block; font-size: 1.1rem; line-height: 1; transition: transform .25s; }
.tracker.is-min .tracker__body, .tracker.is-min .tracker__msg { display: none; }
.tracker.is-min { right: auto; width: auto; padding: 10px 12px; }
.tracker.is-min .tracker__time { font-size: 1.4rem; }
.tracker.is-min .tracker__chev { transform: rotate(180deg); }
.tracker.is-min .tracker__row { margin-top: 0; }

/* =========================================================
   Pulido final: respuesta al toque, animaciones, diseño y celular
   ========================================================= */
:root {
  --shadow: 0 24px 60px -24px rgba(14, 13, 12, .7);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);
}

/* ---- Portada: lista antes de 0.7 s ---- */
.hero__logo { animation: rise .5s var(--ease) 0ms both; }
.hero__tagline, .hero__sub { animation: rise .5s var(--ease) 60ms both; }
.status { animation: rise .5s var(--ease) 120ms both; }
.hero__ctas { animation: rise .5s var(--ease) 180ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Botones directos de la portada: Haz tu pedido / Ver menú / Llamar / WhatsApp */
.hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 420px; }
.hero__ctas .btn--lg { min-height: 54px; padding-inline: 14px; font-size: 1rem; }
.hero__ctas .btn--primary { grid-column: 1 / -1; min-height: 60px; font-size: 1.1rem; }
.hero__ctas .btn--secondary { grid-column: 1 / -1; }
@media (min-width: 640px) { .hero__ctas { grid-template-columns: 1fr 1fr; max-width: 460px; } }

/* ---- Secciones al bajar: más rápidas y con menos recorrido ---- */
[data-reveal] { transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* ---- Botón flotante: nada aparece desde cero ---- */
.fab { transform: scale(.9); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.fab.is-visible { transform: scale(1); opacity: 1; pointer-events: auto; }

/* ---- Hojas y barra del pedido: curva tipo iPhone ---- */
.sheet[open] { animation: sheetUp .3s var(--ease-sheet); }
@keyframes sheetUp { from { transform: translateY(32px); opacity: 0; } }
.cartbar { animation: cartIn .3s var(--ease-sheet); }
.tracker { animation: cartIn .3s var(--ease-sheet); }

/* ---- Respuesta al tocar los botones más usados ---- */
.chip, .group, .tab, .ochip, .option, .pbtn, .choice__card, .tracker__btn, .qty button, .seg span, .order-status__btn, .cartbar, .add {
  transition: transform .16s var(--ease), background .2s, color .2s, box-shadow .2s, filter .15s, opacity .15s;
}
.chip:active, .group:active, .tab:active, .ochip:active, .option:active, .pbtn:active, .choice__card:active,
.tracker__btn:active, .qty button:active, .seg label:active span, .order-status__btn:active, .cartbar:active { transform: scale(.97); }
.add:active { transform: scale(.92); }

/* + → ✓ como una sola transformación */
.add.is-swap, .pbtn.is-swap { filter: blur(2px); opacity: .7; }

/* ---- Barra del cronómetro sin recalcular la página ---- */
.tracker__bar span { width: 100% !important; transform: scaleX(0); transform-origin: left center; transition: transform 1s linear; }

/* ---- Colores: el coral es el único color de acción ---- */
.index a.is-on { background: var(--coral); }
.btn--sea { background: var(--coral); }

/* ---- Mayúsculas: solo en los títulos de categoría del menú ---- */
.eyebrow, .subhead, .cart__field legend, .cart__field > span, .tracker__top, .picks__title, .footer__cols h3,
.feature__tag, .tag, .ptable th, .match__league, .match__soon, .section__title--menu, .star-badge, .option__state {
  text-transform: none; letter-spacing: .01em;
}
.eyebrow { font-size: .9rem; font-weight: 700; }
.subhead { font-size: .95rem; font-weight: 700; }
.cart__field legend, .cart__field > span { font-size: .85rem; font-weight: 700; }
.tracker__top { font-size: .82rem; }
.picks__title { font-size: .92rem; }
.footer__cols h3 { font-size: .88rem; }
.feature__tag { font-size: .8rem; }
.tag { font-size: .72rem; }
.ptable th { font-size: .76rem; }
.section__title--menu { letter-spacing: -.02em; }

/* ---- Contraste del pie ---- */
.footer__legal { color: #9a8c78; }

/* ---- Navegación: marcar la sección visible ---- */
.nav__links a.is-on { color: var(--coral-hi); opacity: 1; }
.nav__links a { position: relative; }
.nav__links a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--coral); }

/* ---- Semana de promos: día y un punto; el nombre al tocar ---- */
.week li { padding: 0; overflow: visible; }
.week__day { display: grid; place-items: center; gap: 4px; width: 100%; min-height: 54px; padding: 8px 2px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; font-size: .92rem; font-weight: 800; cursor: pointer; }
.week__dot { width: 7px; height: 7px; border-radius: 50%; background: transparent; }
.week li.has-promo .week__dot { background: var(--coral); }
.week li.is-today .week__dot { background: #fff; }
.week li.has-promo::after { content: none; }
.week li.is-sel { box-shadow: inset 0 0 0 2px var(--coral); }
.week__info { margin: 10px 0 0; min-height: 1.4em; font-size: .92rem; color: var(--sand-200); }
.week__info b { color: var(--coral-hi); }

/* ---- Áreas de toque de al menos 44 px (se ven igual) ---- */
.add, .qty button, .tracker__close, .ochip, .pbtn, .sheet__close, .chip, .week__day { position: relative; }
.add::before, .qty button::before, .tracker__close::before, .ochip::before, .pbtn::before, .chip::before, .sheet__close::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
}
.sheet__close { position: absolute; }

/* ---- Avisos: hasta dos líneas, sin cortar nombres ---- */
.toast { white-space: normal; text-align: center; width: max-content; max-width: min(92vw, 440px); border-radius: 18px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Errores con "Volver a intentar" ---- */
.load-error { text-align: center; padding: 26px 18px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: var(--muted); }
.load-error p { margin: 0 0 14px; }

/* ---- El botón se encoge al tocarlo (va al final para ganarle al hover) ---- */
.btn:active { transform: scale(.97); }

/* ---- Reducir movimiento: solo lo que se mueve solo ---- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: opacity .3s linear; }
  .status__pill--open .status__dot { animation: none; }
  .ticker__track { animation: none; }
  .hero__media img.is-on { animation: none; }
  .hero__logo, .hero__tagline, .hero__sub, .status, .hero__ctas { animation-name: fadeOnly; }
  @keyframes fadeOnly { from { opacity: 0; } }
}

/* Enlace "o llamanos" debajo de los botones de la portada */
.hero__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 12px; color: var(--sand-100); font-weight: 700; font-size: .95rem; text-decoration: none; opacity: .9; animation: rise .5s var(--ease) 220ms both; }
.hero__call svg { width: 18px; height: 18px; color: var(--coral-hi); }
.hero__call:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .hero__call:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; } }
@media (prefers-reduced-motion: reduce) { .hero__call { animation-name: fadeOnly; } }

.ticket small, .branch__photo.is-missing::after { text-transform: none; letter-spacing: .01em; }
.ticket small { font-size: .8rem; }
.branch__photo.is-missing::after { font-size: .9rem; font-weight: 700; }

.branch__state { margin-bottom: 12px; }
.branch__state .status__pill { position: static; }
