/* Los Amigos — cantina theme on the Ordaforma craft system.
 * Chile red, talavera cobalt, marigold and agave green; woodtype display type
 * (Alfa Slab One), a script flourish (Yellowtail), Manrope for reading.
 * Colors are PROVISIONAL until the official logo is sampled: swap --chile,
 * --cobalt, --gold, --agave only.
 * Generated from src/site.css.tpl by scripts/build.mjs — edit the template.
 */
:root {
  color-scheme: light;
  --chile: #b3261e; --chile-dk: #7a1712; --cobalt: #1d4f9e; --cobalt-dk: #12336b;
  --gold: #f3a712; --gold-dk: #c47f00; --agave: #3c7d3a; --rosa: #d63a7a;
  --cream: #fbf1df; --paper: #fffaf0; --ink: #2b150e; --ink-2: #6b4a3a; --hair: #ead8bd;
  --glass: rgba(255, 250, 240, 0.72); --glass-strong: rgba(255, 250, 240, 0.92); --glass-brd: rgba(122, 23, 18, 0.16);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow: 0 2px 4px rgba(43, 21, 14, 0.06), 0 18px 40px -18px rgba(122, 23, 18, 0.35);
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1); --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --wrap: 1200px;
  --tile: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2060%22%3E%3Crect%20width%3D%2260%22%20height%3D%2260%22%20fill%3D%22%23fbf1df%22%2F%3E%3Cpath%20d%3D%22M30%206c8%208%208%2016%200%2024-8-8-8-16%200-24zM30%2054c-8-8-8-16%200-24%208%208%208%2016%200%2024zM6%2030c8-8%2016-8%2024%200-8%208-16%208-24%200zM54%2030c-8%208-16%208-24%200%208-8%2016-8%2024%200z%22%20fill%3D%22%231d4f9e%22%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2230%22%20r%3D%225%22%20fill%3D%22%23f3a712%22%2F%3E%3Cpath%20d%3D%22M0%200h8v8zM60%200h-8v8zM0%2060h8v-8zM60%2060h-8v-8z%22%20fill%3D%22%231d4f9e%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%23b3261e%22%2F%3E%3Ccircle%20cx%3D%2260%22%20r%3D%223%22%20fill%3D%22%23b3261e%22%2F%3E%3Ccircle%20cy%3D%2260%22%20r%3D%223%22%20fill%3D%22%23b3261e%22%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2260%22%20r%3D%223%22%20fill%3D%22%23b3261e%22%2F%3E%3C%2Fsvg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; padding-bottom: calc(92px + env(safe-area-inset-bottom)); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--chile-dk); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0 0 0.35em; letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--ink-2); } .small { font-size: 0.86rem; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 46ch; }
.script { font-family: var(--script); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1; color: var(--chile); margin: 0 0 0.2em; transform: rotate(-3deg); transform-origin: left; }
.center .script { transform-origin: center; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chile-dk); margin-bottom: 0.4em; }
.i { width: 20px; height: 20px; flex: none; }
.price { font-family: var(--display); color: var(--chile); white-space: nowrap; font-size: 1.1rem; }
.price .ph { font-family: var(--font); font-size: 0.72rem; white-space: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* placeholders */
.ph { outline: 1.5px dashed rgba(179, 38, 30, 0.7); outline-offset: 2px; border-radius: 4px; background: rgba(243, 167, 18, 0.18); color: #7a2d1a; font-family: var(--font); font-weight: 600; font-size: 0.9em; padding: 0 3px; letter-spacing: 0; text-transform: none; }
.ph::after { content: attr(data-ph); display: inline-block; margin-left: 6px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--chile-dk); padding: 1px 6px; border-radius: 99px; vertical-align: middle; }
h1 .ph, h2 .ph { font-size: 0.42em; vertical-align: middle; }
.ph-mini { font-size: 0.56rem; display: block; margin-top: 3px; outline-width: 1px; max-width: 30ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-mini::after { display: none; }
.hero .ph, .cantina .ph, .page-hero .ph, .footer .ph { background: rgba(255, 250, 240, 0.92); }
.art-note { margin: 10px 0 0; font-size: 0.8rem; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 800 0.98rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn-primary { background: linear-gradient(180deg, #c9352b, var(--chile-dk)); color: #fff; box-shadow: 0 10px 22px -10px rgba(122, 23, 18, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-gold { background: linear-gradient(180deg, #ffc23d, var(--gold)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(196, 127, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-outline { color: var(--cream); border-color: rgba(251, 241, 223, 0.7); background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-outline-dark { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost { color: var(--chile-dk); border-color: var(--hair); background: transparent; margin-top: 8px; }
.btn-primary .ph, .btn-gold .ph { background: rgba(255, 255, 255, 0.85); }
.btn-mark { width: 28px; height: 28px; }
.is-disabled { cursor: default; flex-wrap: wrap; height: auto; padding-block: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 6px; }
.cta-row.center { justify-content: center; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--chile); }
.text-link .i { width: 16px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(60, 125, 58, 0.14); color: var(--agave); font-weight: 800; font-size: 0.8rem; }
.pill-warn { background: rgba(179, 38, 30, 0.12); color: var(--chile-dk); }

/* banners */
.announce { background: var(--ink); color: var(--gold); text-align: center; font-weight: 700; font-size: 0.92rem; }
.announce p, .announce a { margin: 0; padding: 9px 16px; display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--gold); text-decoration: none; }
.preview-ribbon { position: sticky; top: 0; z-index: 60; background: repeating-linear-gradient(135deg, #2b150e 0 14px, #3d2016 14px 28px); color: #ffd79a; text-align: center; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px; }
.hiring { margin: 10px auto 0; padding: 10px 16px; border-radius: var(--r-md); background: var(--agave); color: #fff; font-size: 0.92rem; }

/* papel picado + nav */
.papel-wrap { background: var(--chile); padding-top: 4px; }
.page-drinks .papel-wrap { background: var(--cobalt-dk); } .page-giftcards .papel-wrap { background: #a3215b; }
.papel { display: block; width: 100%; height: 46px; pointer-events: none; }
.papel-top { height: 40px; }
.nav-wrap { position: sticky; top: 8px; z-index: 50; padding-top: 6px; }
.nav { width: min(var(--wrap), 100% - 20px); margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--glass-brd); box-shadow: var(--sheen), var(--shadow); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.wordmark { font-family: var(--display); font-size: 1.45rem; color: var(--chile); }
.brand-logo { height: 46px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.92rem; padding: 10px 14px; border-radius: 999px; }
.nav-links a:hover { background: rgba(179, 38, 30, 0.08); }
.nav-links a[aria-current="page"] { background: var(--chile); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-brd); background: var(--paper); color: var(--ink); cursor: pointer; }
.nav-toggle .i { margin: auto; }
@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-call span { display: none; } .nav-call { width: 46px; padding: 0; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 10px; right: 10px; flex-direction: column; padding: 10px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1.02rem; }
}

/* tile helpers */
.tile-strip { height: 26px; background: var(--tile) repeat-x; background-size: 26px 26px; border-block: 3px solid var(--gold); }
.tile-frame { padding: 10px; border-radius: var(--r-xl); background: var(--tile); background-size: 44px 44px; box-shadow: var(--shadow); }
.panel-in { background: var(--paper); border-radius: calc(var(--r-xl) - 8px); padding: clamp(20px, 3vw, 34px); height: 100%; }

/* hero */
.hero { position: relative; color: var(--cream); margin-top: -76px; padding-top: 76px;
  background: radial-gradient(900px 500px at 85% 30%, rgba(243, 167, 18, 0.32), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(122, 23, 18, 0.9), transparent 70%), var(--chile); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.hero h1 { color: var(--cream); font-size: clamp(2.7rem, 6.4vw, 5.2rem); text-shadow: 0 4px 0 var(--chile-dk), 0 10px 30px rgba(0, 0, 0, 0.25); }
.hero .script { color: var(--gold); }
.hero-eyebrow { font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: #ffd9a0; }
.hero .lede { color: #ffe9d2; }
.hero-scene { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(60, 10, 5, 0.45)); }
.arch-photo .photo { border-radius: 260px 260px 24px 24px; aspect-ratio: 4 / 4.4; object-fit: cover; border: 8px solid var(--gold); }
.status-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 99px; background: var(--paper); color: var(--ink); font-weight: 800; font-size: 0.9rem; margin: 6px 0 0; box-shadow: var(--shadow); }
.status-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #a8a29e; }
.status-chip[data-state="open"] .dot { background: var(--agave); box-shadow: 0 0 0 4px rgba(60, 125, 58, 0.2); }
.status-chip[data-state="soon"] .dot { background: var(--gold-dk); }
.status-chip[data-state="closed"] .dot { background: var(--chile); }

.info-ribbon { background: var(--cobalt-dk); color: var(--cream); }
.info-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 12px 0; }
.info-inner a { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); text-decoration: none; font-weight: 700; min-height: 40px; }
.info-inner .i { color: var(--gold); }

/* sections */
.section { padding: clamp(40px, 7vw, 84px) 0; }
.section-head { margin-bottom: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: 6px 6px 0 var(--ink); }
.art { display: block; width: 100%; height: auto; }
.art-sm { width: 96px; height: 96px; flex: none; }
.art-md { width: 46%; }
.art-lg { width: min(280px, 70%); margin-inline: auto; }
.art-xl { width: min(420px, 100%); margin-inline: auto; }

/* today ticket */
.today { margin-top: -36px; position: relative; z-index: 2; }
.ticket { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: var(--gold); border-radius: var(--r-lg); padding: 20px 28px; box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket-art { background: var(--paper); border-radius: 50%; padding: 14px; }
.ticket-art .photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.ticket h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ticket .tag { color: var(--ink); }
.ticket p { margin-bottom: 0.8em; }

/* lotería cards */
.loteria-section { background: var(--paper); border-block: 1px solid var(--hair); }
.loteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); }
.loteria { display: flex; flex-direction: column; gap: 14px; }
.lot-card { position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; padding: 12px; box-shadow: 8px 8px 0 var(--cobalt); transition: transform 0.3s var(--spring); }
.loteria:nth-child(3n+2) .lot-card { box-shadow: 8px 8px 0 var(--chile); transform: rotate(1.2deg); }
.loteria:nth-child(3n+3) .lot-card { box-shadow: 8px 8px 0 var(--agave); transform: rotate(-1deg); }
.loteria:nth-child(3n+1) .lot-card { transform: rotate(-1.4deg); }
.lot-card:hover { transform: rotate(0) translateY(-4px); }
.lot-num { position: absolute; top: 18px; left: 20px; z-index: 1; font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.lot-art { border: 2px solid var(--ink); border-radius: 6px; aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 10%;
  background: radial-gradient(circle at 50% 45%, #fff6e2 0 40%, transparent 70%), var(--tile); background-size: auto, 34px 34px; }
.lot-art .art { filter: drop-shadow(0 10px 12px rgba(43, 21, 14, 0.25)); }
.lot-art .photo { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.lot-art:has(.photo) { padding: 0; }
.lot-name { margin: 10px 0 2px; text-align: center; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
.lot-name .ph { font-size: 0.55em; }
.lot-copy { padding: 0 6px; }
.lot-card.small { width: 100%; max-width: 260px; }

/* cantina (drinks on home) */
.cantina { color: var(--cream); background: radial-gradient(800px 500px at 80% 50%, rgba(29, 79, 158, 0.9), transparent 70%), var(--cobalt-dk); }
.cantina-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: clamp(40px, 7vw, 80px) 0; }
.cantina h2 { color: var(--cream); }
.script.light { color: var(--gold); }
.week { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); font-weight: 700; }
.cantina-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.cantina-art .art-xl { grid-column: 1 / -1; width: min(360px, 90%); }
.cantina-art .art-md { width: 80%; margin: -30px auto 0; }

/* menu boards (dotted leaders) */
.board { list-style: none; padding: 0; margin: 8px 0 18px; }
.board li { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px dashed var(--hair); }
.board .b-name { font-weight: 800; font-size: 1.05rem; }
.board .b-name em { display: block; font-style: normal; font-weight: 600; font-size: 0.85rem; opacity: 0.8; }
.b-dots { flex: 1; border-bottom: 3px dotted currentColor; opacity: 0.35; transform: translateY(-4px); min-width: 20px; }
.board.light li { border-color: rgba(255, 255, 255, 0.18); }
.board.light .price { color: var(--gold); }
.paper-menu { background: var(--paper); border: 3px double var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: 0 0 0 10px var(--paper), 0 0 0 13px var(--chile), var(--shadow); max-width: 860px; }
.paper-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }

/* gift */
.gift-band { background: radial-gradient(700px 400px at 80% 40%, rgba(214, 58, 122, 0.22), transparent 60%), #fde4cf; }
.gift-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }

/* hours */
.hours { margin: 12px 0; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; }
.hours-row + .hours-row { border-top: 1px dashed var(--hair); }
.hours-row dt { font-weight: 800; }
.hours-row dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.hours-row.is-today { background: var(--gold); border-color: transparent; }
.hours-row.is-today dd { color: var(--ink); font-weight: 800; }
.holidays { margin-top: 12px; padding: 12px; border-radius: var(--r-md); background: rgba(243, 167, 18, 0.18); }
.big-addr { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; }
.map { border: 3px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: 8px 8px 0 var(--cobalt); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-link { padding: 24px; background: var(--paper); }

/* about + gallery + faq */
.about { background: var(--paper); border-top: 1px solid var(--hair); }
.about-inner { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.arch { margin: 0; }
.arch .photo, .arch-slot { border-radius: 200px 200px 14px 14px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border: 4px solid var(--gold); }
.arch-slot { display: grid; place-items: center; padding: 18%; background: radial-gradient(circle at 50% 40%, #fff6e2 0 35%, transparent 70%), var(--tile); background-size: auto, 34px 34px; }
.arch figcaption { text-align: center; padding: 8px 4px; font-weight: 700; font-size: 0.9rem; }
.faq details { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 4px 18px; margin-bottom: 12px; box-shadow: 4px 4px 0 var(--gold); }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.faq details p { margin: 0 0 14px; color: var(--ink-2); }

/* inner pages */
.page-hero { color: var(--cream); margin-top: -76px; padding-top: 76px; background: radial-gradient(800px 400px at 85% 40%, rgba(243, 167, 18, 0.3), transparent 60%), var(--chile); }
.page-hero.cobalt { background: radial-gradient(800px 400px at 85% 40%, rgba(243, 167, 18, 0.25), transparent 60%), var(--cobalt-dk); }
.page-hero.rosa { background: radial-gradient(800px 400px at 85% 40%, rgba(243, 167, 18, 0.3), transparent 60%), #a3215b; }
.page-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: clamp(32px, 5vw, 60px) 0 clamp(22px, 4vw, 40px); }
.page-hero h1 { color: var(--cream); text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.page-hero .script { color: var(--gold); }
.page-hero .lede { color: #ffe9d2; }
.page-hero-art .art-xl { width: min(340px, 100%); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35)); }
.tabs-wrap { position: sticky; top: 74px; z-index: 40; padding: 10px 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; border-radius: 999px; scrollbar-width: none; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.92rem; padding: 10px 16px; border-radius: 999px; }
.tabs a[aria-current="true"] { background: var(--cobalt); color: #fff; }
.tabs a[aria-current="true"] .ph { color: var(--ink); }
.menu { padding-bottom: 48px; }
.menu-cat { padding-top: 40px; }
.menu-cat-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.menu-cat-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 150px; }
.dishes { background: var(--paper); border: 3px double var(--ink); border-radius: var(--r-lg); padding: 10px clamp(16px, 3vw, 30px); margin: 0; }
.dish { display: flex; gap: 14px; align-items: flex-start; }
.dish-photo { width: 92px; flex: none; } .dish-photo .photo { aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.dish-main { flex: 1; min-width: 0; }
.dish-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dish-line .b-dots { min-width: 30px; }
.dish-desc { color: var(--ink-2); margin: 4px 0 0; font-size: 0.95rem; }
.dish.sold-out .b-name { text-decoration: line-through; opacity: 0.6; }
.menu-note { margin-top: 28px; }
.drink-card { display: flex; gap: 16px; align-items: flex-start; }
.drink-card > div { flex: 1; min-width: 0; }

/* footer */
.footer { margin-top: 0; background: var(--chile-dk); color: var(--cream); padding: 0 0 22px; font-size: 0.94rem; }
.footer .papel { margin-bottom: 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer-name { font-family: var(--display); font-size: 1.5rem; color: var(--gold); margin-bottom: 0.4em; line-height: 1.1; }
.footer .eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.foot-hours { display: flex; justify-content: space-between; max-width: 260px; margin: 0 0 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer a { color: var(--cream); font-weight: 700; }
.foot-links .btn { min-height: 0; padding: 0; border: 0; margin: 0; font-weight: 700; font-size: inherit; color: var(--cream); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.84rem; opacity: 0.92; }
.footer-base p { margin: 0; }
.owner-link { display: inline-flex; align-items: center; gap: 4px; } .owner-link .i { width: 14px; height: 14px; }

/* sticky phone call bar */
.callbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 22px;
  background: rgba(255, 250, 240, 0.8); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); }
.callbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.76rem; }
.callbar a:first-child { background: linear-gradient(180deg, #c9352b, var(--chile-dk)); color: #fff; }
.callbar .i { width: 22px; height: 22px; } .bar-mark { width: 28px; height: 28px; }
@media (min-width: 961px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* marks reused from marks.js */
.mark { display: inline-block; flex: none; width: 48px; height: 48px; }

/* responsive */
@media (max-width: 960px) {
  .hero-inner, .page-hero-inner, .cantina-inner, .gift-inner, .split, .footer-grid, .about-inner, .menu-cat-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 26px; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .loteria-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .page-hero-art .art-xl { width: min(240px, 70%); }
  .menu-cat-side { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .lot-card.small { max-width: 150px; padding: 8px; }
  .lot-card.small .lot-num { top: 12px; left: 14px; font-size: 1.1rem; }
  .lot-card.small .lot-name { font-size: 0.9rem; }
  .about-inner .art-lg { width: 200px; }
  .tabs-wrap { top: 70px; }
}
@media (max-width: 560px) {
  .ticket { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .ticket-art { width: 150px; margin: 0 auto; }
  .ticket .btn { margin-inline: auto; }
  .cta-row .btn { flex: 1 1 auto; }
  .info-inner { flex-direction: column; }
  .menu-cat-side .btn { flex: 1 1 100%; }
}

/* motion: content is visible at rest; reveal only animates elements below the fold */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .reveal.d2 { transition-delay: 0.08s; } .js-reveal .reveal.d3 { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .loteria .lot-card { transform: none !important; } }
