/* ==========================================================
   Taco Casa — Mexican Takeaway & Dining, Bryndwr
   Fiesta premium theme: night · rosa mexicano · marigold · agave
   ========================================================== */

:root {
    /* Core */
    --night: #140b09;
    --night-2: #1f1310;
    --night-3: #2b1b16;
    --cream: #fff6e6;
    --cream-2: #fbe9cc;
    --line: #ecd6b3;
    --ink: #1c110d;
    --muted: #6f5a4e;

    /* Fiesta colours */
    --rosa: #e5177e;
    --rosa-deep: #b10d61;
    --marigold: #ffb400;
    --naranja: #ff6a13;
    --chile: #e0261d;
    --agave: #10a697;
    --agave-deep: #0a5f57;
    --cobalt: #2f5fd0;
    --morado: #8a3ab9;
    --lima: #7cc242;

    --fiesta: linear-gradient(95deg, var(--marigold) 0%, var(--naranja) 38%, var(--rosa) 78%, var(--morado) 100%);
    --serape: repeating-linear-gradient(90deg,
        var(--rosa) 0 34px, var(--cream) 34px 37px, var(--naranja) 37px 58px, var(--marigold) 58px 80px,
        var(--night) 80px 83px, var(--lima) 83px 96px, var(--agave) 96px 124px, var(--cream) 124px 127px,
        var(--cobalt) 127px 146px, var(--morado) 146px 166px, var(--chile) 166px 190px);

    --talavera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='%232f5fd0'%3E%3Cg transform='translate(44 44)'%3E%3Cellipse ry='13' rx='5' cy='-15'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(45)'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(90)'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(135)'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(180)'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(225)'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(270)'/%3E%3Cellipse ry='13' rx='5' cy='-15' transform='rotate(315)'/%3E%3C/g%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='88' cy='0' r='14'/%3E%3Ccircle cx='0' cy='88' r='14'/%3E%3Ccircle cx='88' cy='88' r='14'/%3E%3C/g%3E%3Cg fill='%23ffb400'%3E%3Ccircle cx='44' cy='44' r='6'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='88' cy='0' r='6'/%3E%3Ccircle cx='0' cy='88' r='6'/%3E%3Ccircle cx='88' cy='88' r='6'/%3E%3Cpath d='M44 0l5 5-5 5-5-5zM44 78l5 5-5 5-5-5zM0 39l5 5-5 5-5-5zM88 39l5 5-5 5-5-5z'/%3E%3C/g%3E%3C/svg%3E");

    --font-display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
    --font-script: 'Kaushan Script', 'Brush Script MT', cursive;
    --font-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --strip-height: 40px;
    --header-height: 80px;
    --radius: 16px;
    --radius-lg: 26px;
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 44px);
    --shadow: 0 24px 50px -26px rgba(20, 11, 9, .55);
    --glow-rosa: 0 18px 40px -14px rgba(229, 23, 126, .55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--strip-height) + var(--header-height) + 16px); }
html.modal-open { overflow: hidden; }

body {
    margin: 0;
    padding-top: var(--strip-height);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; line-height: 1.02; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 3000;
    background: var(--night); color: var(--cream); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: calc(var(--strip-height) + 8px); }

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

/* ---------- Decorative pieces ---------- */
.serape { height: 12px; background: var(--serape); }
.serape.thin { height: 7px; }

.talavera-band { height: 30px; background: var(--talavera) center / 30px 30px repeat-x, var(--cream); border-block: 3px solid var(--cobalt); }

.papel-picado {
    display: block; width: 100%; height: 104px; pointer-events: none;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25));
}
.papel-wrap { position: absolute; inset: 0 0 auto 0; z-index: 1; overflow: hidden; }
.papel-wrap .papel-picado { transform-origin: 50% 0; animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-.35deg) translateY(-2px); } to { transform: rotate(.35deg) translateY(1px); } }

.script {
    font-family: var(--font-script); font-weight: 400; line-height: 1.1;
    color: var(--rosa); font-size: clamp(1.4rem, 2.6vw, 2rem);
}

/* ---------- Type ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-script); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.1;
    color: var(--rosa);
}
.eyebrow::before, .eyebrow::after {
    content: ""; width: 10px; height: 10px; background: var(--marigold); transform: rotate(45deg); border-radius: 2px;
}
.on-dark .eyebrow { color: var(--marigold); }
.on-dark .eyebrow::before, .on-dark .eyebrow::after { background: var(--rosa); }

.section-title {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: .005em;
    margin: 10px 0 14px;
}
.section-title .pop { color: var(--rosa); }
.on-dark .section-title { color: var(--cream); }
.on-dark .section-title .pop {
    background: var(--fiesta); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { color: var(--muted); max-width: 58ch; font-size: 1.08rem; }
.on-dark .section-lead { color: #d9c6b6; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }
.section-head > div { max-width: 680px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    border-radius: 999px; border: 2px solid transparent;
    font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(100deg, var(--rosa), var(--naranja)); color: #fff; box-shadow: var(--glow-rosa); }
.btn-primary:hover { filter: saturate(1.15) brightness(1.05); box-shadow: 0 22px 44px -14px rgba(229, 23, 126, .7); }
.btn-dark { background: var(--night); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.on-dark .btn-outline { color: var(--cream); }
.on-dark .btn-outline:hover { background: var(--cream); border-color: var(--cream); color: var(--night); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-marigold { background: var(--marigold); color: var(--night); box-shadow: 0 16px 34px -14px rgba(255, 180, 0, .6); }
.btn-marigold:hover { background: #ffc633; }

/* ==========================================================
   Status strip (injected by api/statusManager.js)
   ========================================================== */
.status-strip {
    position: fixed; inset: 0 0 auto 0; z-index: 1100;
    min-height: var(--strip-height);
    display: flex; align-items: center;
    background: var(--night); color: var(--cream);
    font-size: .88rem; font-weight: 600;
    transition: background-color .3s ease;
}
.status-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--serape); opacity: .9; }
.status-strip-inner {
    width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 11px;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px;
    text-align: center;
}
.status-strip-dot { width: 9px; height: 9px; border-radius: 50%; background: #a8998f; flex: none; }
.status-strip.open { background: #0b4f47; }
.status-strip.open .status-strip-dot { background: #6cf0a0; animation: pulse 2s infinite; }
.status-strip.closed { background: #5c0d34; }
.status-strip.closed .status-strip-dot { background: #ff8fc4; }
.status-strip.paused { background: #7a4a00; }
.status-strip.paused .status-strip-dot { background: var(--marigold); }
.status-strip-link {
    color: var(--night); background: var(--marigold); text-decoration: none;
    padding: 2px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800;
}
.status-strip-link:hover { background: #ffc633; }
.countdown-timer { font-variant-numeric: tabular-nums; color: var(--marigold); }

@media (max-width: 520px) {
    .status-strip { font-size: .78rem; }
    .status-strip-inner { gap: 4px 8px; padding-block: 6px 9px; }
    .status-strip-link { padding: 1px 10px; font-size: .74rem; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(108, 240, 160, .6); }
    70% { box-shadow: 0 0 0 8px rgba(108, 240, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 240, 160, 0); }
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
    position: sticky; top: var(--strip-height); z-index: 1000;
    background: rgba(20, 11, 9, .92);
    backdrop-filter: saturate(1.3) blur(12px);
    -webkit-backdrop-filter: saturate(1.3) blur(12px);
    color: var(--cream);
    transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.scrolled { background: rgba(20, 11, 9, .97); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); transition: transform .3s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.65rem; text-transform: uppercase; letter-spacing: .03em; color: var(--cream); }
.brand-sub { font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--marigold); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    position: relative; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 999px; color: #f3e3cf;
    transition: color .15s ease, background-color .15s ease;
}
.main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; border-radius: 3px;
    background: var(--fiesta); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:not(.btn):hover { color: #fff; }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--marigold); }
.header-cta { min-height: 46px; padding: 0 22px; }

.nav-toggle {
    display: none; width: 48px; height: 48px; border-radius: 14px; border: 2px solid rgba(255, 246, 230, .35);
    background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--cream); border-radius: 2px; position: relative;
    transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
    :root { --header-height: 68px; }
    .brand img { width: 50px; height: 50px; }
    .brand-name { font-size: 1.35rem; }
    .brand-sub { font-size: .58rem; }
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .main-nav {
        position: fixed; left: 0; right: 0;
        top: calc(var(--strip-height) + var(--header-height));
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 16px var(--gutter) 26px;
        background: var(--night); border-bottom: 4px solid var(--rosa);
        box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .main-nav a { padding: 14px 16px; font-size: 1.15rem; border-radius: 12px; }
    .main-nav a:not(.btn)::after { left: 16px; right: auto; width: 40px; bottom: 8px; }
    .main-nav .btn { margin-top: 10px; }
}
@media (min-width: 881px) { .main-nav .nav-order { display: none; } }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
    position: relative; overflow: hidden; color: var(--cream);
    background:
        radial-gradient(55% 60% at 88% 20%, rgba(229, 23, 126, .38), transparent 70%),
        radial-gradient(45% 55% at 0% 100%, rgba(255, 106, 19, .28), transparent 70%),
        radial-gradient(40% 40% at 50% 110%, rgba(16, 166, 151, .22), transparent 70%),
        var(--night);
}
.hero::before {
    content: ""; position: absolute; inset: 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .05; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
    display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 70px); align-items: center;
    padding-block: clamp(120px, 12vw, 150px) clamp(64px, 8vw, 104px);
}

.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.hero-place { font-weight: 700; font-size: .92rem; color: #d9c6b6; display: inline-flex; align-items: center; gap: 8px; }
.hero-place svg { width: 16px; height: 16px; color: var(--marigold); }

.open-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 15px; border-radius: 999px; font-size: .84rem; font-weight: 800;
    background: rgba(255, 246, 230, .1); color: #e8d7c6; border: 1px solid rgba(255, 246, 230, .18);
}
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a8998f; }
.open-badge.is-open { background: rgba(16, 166, 151, .2); color: #8ff5d6; border-color: rgba(16, 166, 151, .5); }
.open-badge.is-open::before { background: #3ef0b2; animation: pulse 2s infinite; }
.open-badge.is-closed { background: rgba(229, 23, 126, .16); color: #ffb3d6; border-color: rgba(229, 23, 126, .45); }
.open-badge.is-closed::before { background: var(--rosa); }
.light .open-badge { background: var(--cream-2); color: var(--muted); border-color: var(--line); }
.light .open-badge.is-open { background: #d7f5ee; color: var(--agave-deep); border-color: #9fe0d2; }
.light .open-badge.is-closed { background: #fde0ee; color: var(--rosa-deep); border-color: #f6b3d3; }

.hero-hello { margin-bottom: 6px; color: var(--marigold); }
.hero h1 {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(3.2rem, 8.4vw, 7rem); line-height: .9; letter-spacing: -.004em;
    margin-bottom: 22px;
    background: linear-gradient(180deg, #fff6e6 0%, #fff6e6 45%, #ffd27a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(5px 5px 0 var(--rosa));
}
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.26rem); color: #e2d0c0; max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero .btn-outline { color: var(--cream); }
.hero .btn-outline:hover { background: var(--cream); border-color: var(--cream); color: var(--night); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-facts > div {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
    background: rgba(255, 246, 230, .07); border: 1px solid rgba(255, 246, 230, .14);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.fact-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--night); flex: none; }
.fact-icon svg { width: 20px; height: 20px; }
.fact-icon.c1 { background: var(--marigold); }
.fact-icon.c2 { background: var(--agave); color: #fff; }
.hero-facts dt { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #bfa99a; }
.hero-facts dd { margin: 2px 0 0; font-weight: 800; font-size: 1rem; color: var(--cream); }
.hero-facts a { text-decoration: none; }
.hero-facts a:hover { color: var(--marigold); }

/* Arch collage */
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; width: 100%; margin-inline: auto; }
.hero-arch {
    position: absolute; inset: 0 16% 4% 6%;
    border-radius: 999px 999px 32px 32px; overflow: hidden;
    border: 8px solid var(--marigold);
    box-shadow: 0 0 0 8px var(--rosa), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero-round {
    position: absolute; right: 0; bottom: 6%; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    border: 7px solid var(--agave); box-shadow: 0 0 0 7px var(--cream), 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.hero-round img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute; left: -2%; top: 4%; width: 34%; aspect-ratio: 1; border-radius: 50%;
    background: var(--night); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8), 0 0 0 4px var(--marigold);
    display: grid; place-items: center;
}
.hero-badge img { width: 58%; height: 58%; object-fit: contain; position: relative; z-index: 1; }
.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.ring-text text { font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: .18em; fill: var(--marigold); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip {
    position: absolute; left: 4%; bottom: 0; z-index: 2;
    display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px;
    background: var(--cream); color: var(--night); font-weight: 800; box-shadow: var(--shadow);
    transform: rotate(-4deg);
}
.hero-chip span:first-child { width: 38px; height: 38px; border-radius: 50%; background: var(--rosa); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; padding-top: 118px; }
    .hero-visual { max-width: 480px; }
}
@media (max-width: 520px) {
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-facts > div { flex: 1 1 100%; }
    .hero h1 { filter: drop-shadow(3px 3px 0 var(--rosa)); }
}

/* ==========================================================
   Marquee (categories from get_menu)
   ========================================================== */
.marquee-band { background: var(--rosa); color: var(--cream); overflow: hidden; }
.marquee { padding-block: 16px; overflow: hidden; }
.marquee:empty { display: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span {
    font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem);
    padding-inline: 24px; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px;
}
.marquee-track span::after { content: "✹"; color: var(--marigold); font-size: .85em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   Sections
   ========================================================== */
.section { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.section.dark { background: var(--night); color: var(--cream); }
.section.dark::before { content: ""; position: absolute; inset: 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .045; pointer-events: none; }
.section > .wrap { position: relative; z-index: 1; }

/* Signature dishes rail */
.dish-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr);
    gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 10px var(--gutter) 26px; margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: thin; scrollbar-color: var(--rosa) transparent;
}
@media (min-width: 1240px) { .dish-rail { grid-auto-columns: calc((100% - 3 * 22px - 2 * var(--gutter)) / 4); } }

.dish-card {
    --accent: var(--rosa);
    scroll-snap-align: start; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column; position: relative;
    box-shadow: 0 2px 0 var(--line), 0 20px 40px -30px rgba(60, 20, 10, .5);
    transition: transform .25s ease, box-shadow .25s ease;
}
.dish-card:nth-child(6n+2) { --accent: var(--agave); }
.dish-card:nth-child(6n+3) { --accent: var(--naranja); }
.dish-card:nth-child(6n+4) { --accent: var(--cobalt); }
.dish-card:nth-child(6n+5) { --accent: var(--morado); }
.dish-card:nth-child(6n+6) { --accent: var(--chile); }
.dish-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.dish-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -26px rgba(60, 20, 10, .55); }
.dish-img { aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; position: relative; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dish-card:hover .dish-img img { transform: scale(1.07); }
.dish-body { padding: 20px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.45rem; line-height: 1.1; letter-spacing: .01em; margin-bottom: 8px; }
.dish-body p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.dish-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-size: 1.55rem; color: var(--chile); letter-spacing: .01em; white-space: nowrap; }
.dish-card .price { color: var(--accent); }
.dish-order {
    text-decoration: none; font-weight: 800; font-size: .88rem;
    padding: 9px 18px; border-radius: 999px; background: var(--accent); color: #fff;
    transition: filter .2s ease, transform .2s ease;
}
.dish-order:hover { filter: brightness(1.1); transform: translateY(-1px); }

.skeleton {
    border-radius: var(--radius-lg); min-height: 360px;
    background: linear-gradient(100deg, var(--cream-2) 30%, #fff3dd 50%, var(--cream-2) 70%);
    background-size: 300% 100%; animation: shimmer 1.4s infinite linear;
}
@keyframes shimmer { to { background-position: -150% 0; } }

/* About (agave) */
.about {
    background:
        radial-gradient(50% 60% at 100% 0%, rgba(255, 180, 0, .18), transparent 70%),
        linear-gradient(160deg, #0d7a70 0%, var(--agave-deep) 60%, #073f3a 100%);
    color: var(--cream);
}
.about::before { content: ""; position: absolute; inset: 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .06; pointer-events: none; }
.about .eyebrow { color: var(--marigold); }
.about .eyebrow::before, .about .eyebrow::after { background: var(--rosa); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-photos { position: relative; aspect-ratio: 1 / 1.05; max-width: 560px; width: 100%; }
.about-photos figure { margin: 0; position: absolute; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.about-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .p1 { inset: 0 26% 18% 0; border-radius: 999px 999px 26px 26px; border: 7px solid var(--marigold); }
.about-photos .p2 { inset: 46% 0 0 38%; border-radius: 26px; border: 7px solid var(--rosa); transform: rotate(4deg); }
.about-text .section-title { color: var(--cream); }
.about-text p { color: #d8ece8; font-size: 1.05rem; }
.about-sub { font-family: var(--font-script); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--marigold); margin-bottom: 18px; line-height: 1.2; }
.about-points { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-points li { border-radius: var(--radius); padding: 16px; font-weight: 700; font-size: .9rem; line-height: 1.35; color: var(--night); }
.about-points li:nth-child(1) { background: var(--marigold); }
.about-points li:nth-child(2) { background: var(--rosa); color: #fff; }
.about-points li:nth-child(3) { background: var(--cream); }
.about-points strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 4px; }
@media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-photos { margin: 0 auto; max-width: 460px; }
}
@media (max-width: 460px) { .about-points { grid-template-columns: 1fr; } }

/* Deals (rosa → morado) */
.deals {
    position: relative; overflow: hidden; color: var(--cream);
    background:
        radial-gradient(50% 50% at 0% 0%, rgba(255, 180, 0, .3), transparent 70%),
        linear-gradient(135deg, var(--rosa) 0%, var(--rosa-deep) 45%, #4a1570 100%);
    padding-top: clamp(130px, 13vw, 170px);
}
.deals .eyebrow { color: var(--marigold); }
.deals .eyebrow::before, .deals .eyebrow::after { background: var(--cream); }
.deals .section-title { color: var(--cream); }
.deals .section-lead { color: #ffd9ea; }
.deals-layout { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
.deals-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.deal-card {
    --accent: var(--marigold);
    position: relative; background: var(--night); border-radius: var(--radius-lg);
    padding: 26px 24px 22px; display: flex; flex-direction: column; min-height: 210px; overflow: hidden;
    box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .8);
    transition: transform .25s ease;
}
.deal-card:nth-child(5n+2) { --accent: var(--agave); }
.deal-card:nth-child(5n+3) { --accent: var(--naranja); }
.deal-card:nth-child(5n+4) { --accent: var(--lima); }
.deal-card:nth-child(5n+5) { --accent: #ff7fbf; }
.deal-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.deal-card::after {
    content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
    background: var(--accent); opacity: .12;
}
.deal-card:hover { transform: translateY(-5px) rotate(-.4deg); }
.deal-price { font-family: var(--font-display); font-size: 2.7rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.deal-card h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.35; margin-bottom: 8px; color: var(--cream); }
.deal-card p { color: #cbb8a8; font-size: .9rem; }
.deal-link { margin-top: auto; font-weight: 800; color: var(--cream); text-decoration: none; padding-top: 12px; }
.deal-link:hover { color: var(--accent); }
.deals-poster {
    display: block; width: 100%; border: 0; padding: 10px; background: var(--marigold); cursor: zoom-in;
    border-radius: var(--radius-lg); transform: rotate(2.5deg);
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); transition: transform .3s ease;
    position: sticky; top: calc(var(--strip-height) + var(--header-height) + 24px);
}
.deals-poster:hover { transform: rotate(0) scale(1.02); }
.deals-poster img { width: 100%; height: auto; border-radius: 16px; }
@media (max-width: 980px) {
    .deals-layout { grid-template-columns: 1fr; }
    .deals-poster { max-width: 360px; margin: 0 auto; position: static; }
}
@media (max-width: 560px) { .deals-grid { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 112px; gap: 14px; }
.gallery-item {
    position: relative; overflow: hidden; border-radius: var(--radius); border: 0; padding: 0;
    background: var(--night-3); cursor: zoom-in; display: block;
}
.gallery-item::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--marigold);
    transition: box-shadow .25s ease;
}
.gallery-item:hover::after { box-shadow: inset 0 0 0 5px var(--marigold); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 4; border-radius: 180px 180px var(--radius) var(--radius); }
.gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 5; grid-row: span 3; }
.gallery-item:nth-child(8) { grid-column: span 7; grid-row: span 3; }
.gallery-item:nth-child(9) { grid-column: span 12; grid-row: span 3; }
@media (max-width: 760px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; gap: 10px; }
    .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; border-radius: var(--radius); }
    .gallery-item:nth-child(1), .gallery-item:nth-child(9) { grid-column: span 2; grid-row: span 2; }
    .gallery-item:nth-child(1) { border-radius: 120px 120px var(--radius) var(--radius); }
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2100; background: rgba(15, 8, 6, .95);
    display: flex; align-items: center; justify-content: center; padding: 60px 16px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); border-radius: 14px; object-fit: contain; }
.lightbox button {
    position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--rosa); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #cbb8a8; font-size: .9rem; }

/* Visit / info cards */
.visit { background: var(--cream); }
.visit::before { content: ""; position: absolute; inset: 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .03; pointer-events: none; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; }
.visit-card {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px);
    overflow: hidden; box-shadow: 0 2px 0 var(--line), 0 30px 50px -36px rgba(60, 20, 10, .5);
}
.visit-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--serape); }
.visit-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; margin: 6px 0 18px; }
.info-list { list-style: none; margin: 6px 0 24px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.info-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--rosa); color: #fff; display: grid; place-items: center; }
.info-list li:nth-child(2) .info-icon { background: var(--agave); }
.info-list li:nth-child(3) .info-icon { background: var(--marigold); color: var(--night); }
.info-icon svg { width: 22px; height: 22px; }
.info-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info-value { font-weight: 800; font-size: 1.08rem; line-height: 1.4; }
.info-value a { text-decoration: none; }
.info-value a:hover { color: var(--rosa); text-decoration: underline; }

.hours-table { display: grid; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
.hours-row:nth-child(odd) { background: #fdf4e6; }
.hours-row .day { font-weight: 800; }
.hours-row .day em {
    font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    background: var(--rosa); color: #fff; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px;
}
.hours-row .time { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours-row.today { background: linear-gradient(90deg, rgba(255, 180, 0, .28), rgba(229, 23, 126, .12)); color: var(--rosa-deep); box-shadow: inset 4px 0 0 var(--rosa); }
.closed-day { color: var(--muted); }
.hours-loading { color: var(--muted); padding: 12px 0; }
.hours-unavailable { color: var(--muted); }
.hours-unavailable a { color: var(--rosa); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-2); min-height: 320px; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--agave); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(60% 90% at 100% 100%, rgba(138, 58, 185, .55), transparent 70%),
        linear-gradient(100deg, var(--naranja) 0%, var(--rosa) 70%);
}
.cta-band .papel-wrap { opacity: .95; }
.cta-inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-block: 140px 80px; }
.cta-inner .script { color: var(--marigold); display: block; margin-bottom: 4px; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.cta-inner h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 5.8vw, 4.4rem); max-width: 15ch; text-shadow: 4px 4px 0 rgba(20, 11, 9, .25); }
.cta-inner p { margin: 12px 0 0; font-size: 1.1rem; color: #ffe7f2; }

/* ==========================================================
   Page hero (menu / contact)
   ========================================================== */
.page-hero {
    position: relative; overflow: hidden; color: var(--cream);
    background:
        radial-gradient(50% 70% at 0% 100%, rgba(229, 23, 126, .35), transparent 70%),
        var(--night);
}
.page-hero-bg { position: absolute; inset: 0 0 0 38%; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--night) 0%, rgba(20, 11, 9, .7) 35%, rgba(20, 11, 9, .15) 100%);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .05; z-index: 1; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(140px, 14vw, 180px) clamp(64px, 8vw, 100px); }
.page-hero .eyebrow { color: var(--marigold); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--rosa); }
.page-hero h1 {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(3rem, 8.6vw, 6.4rem); line-height: .94; margin: 12px 0 18px; max-width: 12ch;
    filter: drop-shadow(4px 4px 0 var(--rosa));
}
.page-hero h1 .pop { color: var(--marigold); }
.page-hero p { max-width: 50ch; font-size: 1.12rem; color: #e6d4c4; margin-bottom: 28px; }
@media (max-width: 760px) {
    .page-hero-bg { inset: 0; }
    .page-hero-bg::after { background: linear-gradient(180deg, rgba(20, 11, 9, .55) 0%, rgba(20, 11, 9, .92) 75%); }
}

/* ==========================================================
   Menu page
   ========================================================== */
.menu-toolbar {
    position: sticky; top: calc(var(--strip-height) + var(--header-height)); z-index: 900;
    background: rgba(255, 246, 230, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line), 0 12px 24px -20px rgba(60, 20, 10, .45);
}
.menu-toolbar-inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.menu-search { position: relative; flex: 0 0 270px; }
.menu-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--rosa); pointer-events: none; }
.menu-search input {
    width: 100%; height: 46px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
    padding: 0 16px 0 44px; font: inherit; font-weight: 600; color: var(--ink);
}
.menu-search input:focus { outline: none; border-color: var(--rosa); box-shadow: 0 0 0 4px rgba(229, 23, 126, .15); }
.menu-tabs {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
    mask-image: linear-gradient(90deg, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
    padding-right: 30px;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
    flex: none; text-decoration: none; font-weight: 800; font-size: .9rem; white-space: nowrap;
    padding: 10px 17px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
    transition: all .15s ease;
}
.menu-tab:hover { border-color: var(--rosa); color: var(--rosa); }
.menu-tab.active { background: var(--rosa); border-color: var(--rosa); color: #fff; box-shadow: 0 10px 20px -10px rgba(229, 23, 126, .7); }
@media (max-width: 760px) {
    .menu-toolbar-inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .menu-search { flex: none; }
    .menu-tabs { margin-right: calc(var(--gutter) * -1); }
}

.menu-page { position: relative; }
.menu-page::before { content: ""; position: absolute; inset: 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .03; pointer-events: none; }
.menu-body { position: relative; padding-block: 44px 100px; counter-reset: cat; }
.menu-loading { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.menu-category { --accent: var(--rosa); padding-top: 44px; counter-increment: cat; }
.menu-category:nth-child(6n+2) { --accent: var(--agave); }
.menu-category:nth-child(6n+3) { --accent: var(--naranja); }
.menu-category:nth-child(6n+4) { --accent: var(--cobalt); }
.menu-category:nth-child(6n+5) { --accent: var(--morado); }
.menu-category:nth-child(6n+6) { --accent: var(--chile); }
.menu-category-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 3px dashed var(--line); }
.menu-category-head::before {
    content: counter(cat, decimal-leading-zero); flex: none;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 1.35rem;
    box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--accent);
}
.menu-category-head h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.1rem); flex: 1; }
.menu-category-count {
    font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
    color: var(--accent); border: 2px solid currentColor; padding: 4px 12px; border-radius: 999px;
}
.menu-category-desc { color: var(--muted); margin-top: -8px; }

.menu-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.menu-card {
    position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 2px 0 var(--line), 0 20px 36px -30px rgba(60, 20, 10, .5);
    transition: transform .25s ease;
}
.menu-card:hover { transform: translateY(-4px); }
.menu-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--accent); }
.menu-card-img { aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-body { padding: 16px 18px 22px; }
.menu-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.menu-card-head h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.menu-card-head .price { font-size: 1.35rem; color: var(--accent); }
.menu-card-body p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

.menu-rows {
    list-style: none; padding: 8px 24px; margin: 18px 0 0; background: #fff; border-radius: var(--radius-lg);
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px;
    box-shadow: 0 2px 0 var(--line); border-left: 6px solid var(--accent);
}
.menu-cards + .menu-rows { margin-top: 24px; }
.menu-row { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.menu-row-text { display: flex; flex-direction: column; min-width: 0; }
.menu-row-name { font-weight: 800; }
.menu-row-desc { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.menu-row-dots { flex: 1; border-bottom: 2px dotted #e3cda9; transform: translateY(-4px); min-width: 16px; }
.menu-row .price { font-size: 1.25rem; color: var(--accent); }
@media (max-width: 700px) { .menu-rows { grid-template-columns: 1fr; padding: 4px 18px; } }

.menu-empty, .menu-no-results { text-align: center; padding: 60px 16px; color: var(--muted); }
.menu-empty p, .menu-no-results p { font-size: 1.1rem; margin-bottom: 18px; }

.menu-note {
    margin-top: 64px; padding: 28px 30px; border-radius: var(--radius-lg); color: var(--cream);
    background: linear-gradient(110deg, var(--agave-deep), #0d7a70);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.menu-note p { margin: 0; font-weight: 700; font-size: 1.05rem; }
.menu-note a:not(.btn) { color: var(--marigold); }

@media (max-width: 560px) {
    .menu-cards { grid-template-columns: 1fr; gap: 12px; }
    .menu-card { flex-direction: row; border-radius: var(--radius); }
    .menu-card::after { top: 0; bottom: 0; left: auto; right: 0; width: 5px; height: auto; }
    .menu-card-img { aspect-ratio: auto; width: 112px; flex: none; }
    .menu-card-body { padding: 12px 18px 12px 14px; min-width: 0; }
    .menu-card-head { flex-direction: column; gap: 2px; }
    .menu-card-head h3 { font-size: .98rem; }
    .menu-card-head .price { font-size: 1.2rem; }
    .menu-card-body p { font-size: .84rem; }
    .menu-toolbar-inner { padding-block: 10px; }
    .menu-search input { height: 42px; }
    .menu-category-head::before { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ==========================================================
   Contact page
   ========================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: calc(clamp(44px, 6vw, 70px) * -1); position: relative; z-index: 3; }
.contact-card {
    --accent: var(--rosa);
    position: relative; overflow: hidden; background: #fff; border-radius: var(--radius-lg);
    padding: 30px 28px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.contact-card:nth-child(2) { --accent: var(--agave); }
.contact-card:nth-child(3) { --accent: var(--naranja); }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--accent); }
.contact-card .info-icon { margin-bottom: 12px; background: var(--accent); }
.contact-card h2 { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card p { color: var(--muted); margin: 0 0 16px; font-size: .96rem; }
.contact-card p.big { font-family: var(--font-display); text-transform: uppercase; font-size: 1.75rem; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.contact-card .big a { text-decoration: none; }
.contact-card .big a:hover { color: var(--accent); }
.contact-card .btn { margin-top: auto; align-self: flex-start; min-height: 46px; }
@media (max-width: 880px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: stretch; }
.contact-split .map-frame { min-height: 480px; }
@media (max-width: 880px) { .contact-split { grid-template-columns: 1fr; } }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-strip a { display: block; overflow: hidden; border-radius: var(--radius); }
.photo-strip a:nth-child(1) { border-radius: 999px 999px var(--radius) var(--radius); }
.photo-strip a:nth-child(3) { border-radius: 999px; }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.photo-strip a:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { position: relative; background: var(--night); color: #d9c6b6; }
.site-footer::before { content: ""; position: absolute; inset: 12px 0 0; background: var(--talavera) 0 0 / 88px 88px; opacity: .04; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 44px; padding-block: 76px 56px; }
.footer-brand img { width: 110px; height: 110px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.footer-brand p { font-size: .96rem; max-width: 34ch; }
.site-footer h3 { font-family: var(--font-script); font-weight: 400; font-size: 1.55rem; color: var(--marigold); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--rosa); }
.footer-hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .92rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours .day { font-weight: 800; color: #f3e3cf; }
.footer-hours .time { text-align: right; font-variant-numeric: tabular-nums; }
.footer-hours li.today, .footer-hours li.today .day { color: var(--marigold); }
.footer-contact { display: grid; gap: 14px; font-size: .96rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--rosa); }
.footer-contact .label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9d8778; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--night-3); color: #f3e3cf; transition: background-color .2s ease, transform .2s ease; }
.socials a:nth-child(1):hover { background: var(--cobalt); }
.socials a:nth-child(2):hover { background: var(--rosa); }
.socials a:hover { transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { position: relative; border-top: 1px solid #33241d; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; color: #9d8778; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* Floating order button (mobile) */
.floating-order { position: fixed; right: 16px; bottom: 16px; z-index: 950; display: none; }
@media (max-width: 880px) { .floating-order { display: inline-flex; } }

/* ==========================================================
   Offer popup (api/offerManager.js)
   ========================================================== */
.offer-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15, 8, 6, .82); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.offer-overlay.active { opacity: 1; visibility: visible; }
.offer-dialog {
    position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px);
    display: flex; flex-direction: column;
    background: var(--night); border-radius: 24px; padding: 12px; overflow: hidden;
    transform: translateY(24px) scale(.97); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
    box-shadow: 0 0 0 4px var(--marigold), 0 40px 80px -30px #000;
}
.offer-dialog::before { content: ""; display: block; height: 7px; margin: -12px -12px 12px; background: var(--serape); flex: none; }
.offer-overlay.active .offer-dialog { transform: none; }
.offer-poster { display: block; min-height: 0; flex: 1 1 auto; overflow: hidden; border-radius: 14px; }
.offer-poster img { width: 100%; height: 100%; object-fit: contain; object-position: top; background: #0b0706; }
.offer-alert { margin: 4px 4px 10px; padding: 10px 14px; border-radius: 12px; background: var(--marigold); color: var(--night); font-weight: 800; font-size: .95rem; }
.offer-alert-img { width: 100%; border-radius: 12px; margin-bottom: 10px; }
.offer-actions { display: flex; gap: 10px; padding-top: 12px; flex: none; }
.offer-actions .btn { flex: 1; min-height: 48px; padding: 0 14px; }
.offer-actions .btn-ghost { color: var(--cream); border-color: #4a3a31; }
.offer-actions .btn-ghost:hover { border-color: var(--cream); }
.offer-close {
    position: absolute; top: 28px; right: 22px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(0, 0, 0, .72); color: #fff; display: grid; place-items: center;
}
.offer-close:hover { background: var(--rosa); }
.offer-close svg { width: 18px; height: 18px; }

/* ==========================================================
   Reveal on scroll
   ========================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

body.ordering-disabled [data-order-url] { pointer-events: none; opacity: .5; }
