/* =========================================================
   Taquería El Paso — estilos compartidos
   Colores del local: paredes mango, madera, rojo chile + papel picado y talavera
   ========================================================= */

:root {
    --paper: #FFF4DF;
    --paper-2: #FBE3B8;
    --card: #FFFBF2;
    --wall: #F4962A;
    --ink: #2B1A10;
    --ink-soft: #5B4636;
    --line: #E4CFAE;

    --chile: #D3201A;
    --chile-dark: #8F130E;
    --rosa: #E0136F;
    --nopal: #17803A;
    --nopal-dark: #0E5726;
    --marigold: #FFB60F;
    --talavera: #1638A8;
    --adobe: #3A1E0C;
    --wood: #6E4320 url("images/wood.svg");

    --radius: 20px;
    --shadow: 0 2px 0 rgba(61, 35, 18, .06), 0 14px 32px -14px rgba(61, 35, 18, .35);

    --font-display: 'Alfa Slab One', Georgia, serif;
    --font-script: 'Yellowtail', cursive;
    --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --header-h: 96px;
    color-scheme: light;
}

html { font-size: 112.5%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--wall) url("images/wall.svg");
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--chile); text-underline-offset: 3px; }
a:hover { color: var(--chile-dark); }

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

.skip-link {
    position: absolute; left: 1rem; top: -100px;
    background: var(--ink); color: #fff; padding: .8rem 1.2rem;
    border-radius: 10px; z-index: 1000; font-weight: 800;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .3px; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.script {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--rosa);
    letter-spacing: 0;
}

/* ---------- Papel picado ---------- */
.papel-picado {
    height: 70px;
    background: url("images/papel-picado.svg") repeat-x left top / auto 70px;
    transform-origin: top center;
    animation: sway 6s ease-in-out infinite alternate;
}
.papel-picado.small { height: 52px; background-size: auto 52px; }
@keyframes sway {
    from { transform: skewX(-1.2deg); }
    to   { transform: skewX(1.2deg); }
}

.talavera-strip {
    height: 14px;
    background: url("images/talavera.svg") repeat-x center / 14px 14px;
    border-block: 2px solid var(--talavera);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(rgba(58, 30, 12, .55), rgba(58, 30, 12, .55)), url("images/wood.svg");
    border-bottom: 5px solid var(--adobe);
    box-shadow: 0 6px 18px rgba(58, 30, 12, .35);
}
.header-inner {
    display: flex; align-items: center; gap: 1.2rem;
    padding: .6rem 0;
}
.brand {
    display: flex; align-items: center; gap: .7rem;
    text-decoration: none; color: var(--ink);
    margin-right: auto;
    position: relative; width: 112px; height: 68px;
}
.brand img {
    position: absolute; top: -4px; left: 0; z-index: 2;
    width: 112px; height: auto; max-width: none;
    border: 4px solid var(--marigold); border-radius: 10px;
    box-shadow: 0 4px 0 var(--adobe), 0 16px 26px -8px rgba(0, 0, 0, .55);
    transition: transform .2s ease;
}
.brand:hover img { transform: translateY(2px) rotate(-1.5deg); }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.05; }
.brand-name small {
    display: block; font-family: var(--font-body); font-weight: 800;
    font-size: .78rem; color: var(--nopal); letter-spacing: .5px; text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    display: inline-flex; align-items: center; min-height: 48px;
    padding: .4rem .95rem; border-radius: 999px;
    font-weight: 800; font-size: 1.05rem; color: #FFF6E5; text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-links a:hover { background: rgba(0, 0, 0, .25); color: #fff; }
.nav-links a[aria-current="page"] {
    background: var(--marigold); color: var(--ink); text-shadow: none;
    box-shadow: 0 3px 0 var(--adobe);
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 58px; padding: .5rem 1.6rem;
    border-radius: 999px; border: 3px solid transparent;
    font-family: var(--font-body); font-size: 1.12rem; font-weight: 800;
    text-decoration: none; cursor: pointer; line-height: 1.2;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(3px); }
.btn-icon { font-size: 1.3em; line-height: 1; }

.btn-primary { background: var(--chile); color: #fff; box-shadow: 0 5px 0 var(--chile-dark); }
.btn-primary:hover { background: #B51A14; color: #fff; }
.btn-primary:active { box-shadow: 0 2px 0 var(--chile-dark); }

.btn-green { background: var(--nopal); color: #fff; box-shadow: 0 5px 0 var(--nopal-dark); }
.btn-green:hover { background: #126B30; color: #fff; }
.btn-green:active { box-shadow: 0 2px 0 var(--nopal-dark); }

.btn-outline { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn-outline:hover { background: var(--paper-2); color: var(--ink); }
.btn-outline:active { box-shadow: 0 2px 0 var(--ink); }

.btn-sm { min-height: 48px; padding: .4rem 1.1rem; font-size: 1rem; }
.header-call { white-space: nowrap; }
@media (max-width: 1100px) { .header-call .label-long { display: none; } }

/* ---------- Estado abierto / cerrado ---------- */
.status {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem 1.05rem; border-radius: 999px;
    font-weight: 800; font-size: 1rem;
    background: #E3F0DF; color: var(--nopal-dark);
    border: 2px solid #BFDCB8;
}
.status::before {
    content: ""; width: 12px; height: 12px; border-radius: 50%;
    background: currentColor; box-shadow: 0 0 0 4px rgba(46, 107, 47, .18);
}
.status.is-closed { background: #FBE4E1; color: var(--chile-dark); border-color: #F1C0BA; }
.status.is-closed::before { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
.status.is-soon { background: #FDF0D3; color: #7A4B00; border-color: #F4D58E; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: linear-gradient(rgba(58, 30, 12, .5), rgba(58, 30, 12, .5)), url("images/wood.svg"); }
.section-cream { background: var(--paper); }
.section-alt .section-head h2 { color: #FFF6E5; text-shadow: 3px 3px 0 var(--adobe); }
.section-alt .section-head .script { color: var(--marigold); text-shadow: 2px 2px 0 var(--adobe); }
.section-alt .section-head p { color: #FFF0D6; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head .script { display: block; font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: .1rem; transform: rotate(-2deg); }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }
.section-head h2::after {
    content: ""; display: block; width: 120px; height: 12px; margin: .7rem auto 0;
    background: url("images/talavera.svg") repeat-x center / 12px 12px;
    border-radius: 3px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero .script { font-size: clamp(2.2rem, 5vw, 3.2rem); display: inline-block; transform: rotate(-4deg); margin-bottom: .2rem; color: var(--chile-dark); text-shadow: 2px 2px 0 #FFE3B0; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.7rem); margin-bottom: .4em; }
.hero h1 .accent { color: var(--chile-dark); text-shadow: 3px 3px 0 #FFE3B0; }
.hero-lead { font-size: 1.25rem; color: var(--adobe); font-weight: 600; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.hero-status { margin-bottom: 1.1rem; }

.hero-art { position: relative; width: 100%; max-width: 380px; justify-self: center; padding: 18px 18px 0 0; }
.hero-art img {
    width: 100%; height: auto;
    border: 8px solid #fff; border-radius: 14px;
    box-shadow: 0 0 0 5px var(--adobe), 14px 14px 0 5px var(--chile), 0 30px 50px -10px rgba(58, 30, 12, .6);
}
.stamp {
    position: absolute; z-index: 3; right: -36px; top: -14px;
    width: 128px; height: 128px; border-radius: 50%;
    background: var(--rosa); color: #fff;
    display: grid; place-items: center; text-align: center;
    font-family: var(--font-display); font-size: .95rem; line-height: 1.1;
    transform: rotate(12deg);
    border: 4px dashed rgba(255, 255, 255, .7);
    outline: 5px solid var(--rosa);
    box-shadow: var(--shadow);
    padding: .8rem;
}

/* ---------- Info rápida ---------- */
.quick-info {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem;
    margin-top: -2.2rem; position: relative; z-index: 5;
}
.info-card { padding: 1.4rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; color: var(--ink); }
a.info-card:hover { transform: translateY(-2px); color: var(--ink); }
.info-card { transition: transform .15s ease; }
.info-icon {
    flex: none; width: 54px; height: 54px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.6rem;
}
.info-icon.red { background: #FBE4E1; }
.info-icon.green { background: #E3F0DF; }
.info-icon.gold { background: #FDF0D3; }
.info-label { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); margin: 0; }
.info-value { font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1.35; }

/* ---------- Platillos favoritos ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.dish-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.dish-card:hover { transform: translateY(-4px); color: var(--ink); }
.dish-img {
    aspect-ratio: 4 / 3; padding: .8rem;
    background: radial-gradient(circle, #FFF6E2 0%, var(--paper-2) 75%);
    border-bottom: 3px solid var(--line);
}
.dish-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(61, 35, 18, .25)); }
.dish-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.dish-body h3 { margin: 0; }
.dish-body p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.dish-foot { margin-top: auto; padding-top: .6rem; display: flex; justify-content: space-between; align-items: center; }

.price {
    font-family: var(--font-display);
    font-size: 1.15rem;
    background: var(--marigold); color: var(--ink);
    padding: .1rem .7rem; border-radius: 8px;
    display: inline-block; transform: rotate(-2deg);
    box-shadow: 2px 2px 0 var(--adobe);
    white-space: nowrap;
}

.center-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-frame {
    padding: 14px; border-radius: 28px;
    background: url("images/talavera.svg") center / 42px 42px;
    border: 4px solid var(--talavera);
    box-shadow: var(--shadow);
}
.about-frame-inner {
    background: var(--card); border-radius: 18px; padding: 1.5rem;
    aspect-ratio: 1; display: grid; place-items: center;
}
.about-frame-inner img { width: 100%; height: 100%; object-fit: contain; }
.about-text { padding: clamp(1.5rem, 4vw, 2.5rem); }
.about-text p { font-size: 1.15rem; }
.about-text .big-quote {
    font-family: var(--font-script); font-size: 2rem; color: var(--rosa);
    line-height: 1.2; margin: 1.2rem 0 0;
}
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.pill-list li {
    background: var(--card); border: 2px solid var(--line);
    padding: .4rem 1rem; border-radius: 999px; font-weight: 800;
}

/* ---------- Reseñas ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.review-card { padding: 1.3rem; display: flex; flex-direction: column; gap: .8rem; }
.review-photos { display: flex; gap: .5rem; }
.review-photos img {
    flex: 1; min-width: 0; height: 150px; object-fit: cover;
    border-radius: 12px; cursor: zoom-in; background: var(--paper-2);
}
.review-stars { color: #B86400; font-size: 1.35rem; letter-spacing: 3px; margin: 0; line-height: 1; }
.review-text { margin: 0; font-size: 1.05rem; }
.review-author { margin: auto 0 0; font-weight: 800; color: var(--nopal); }

/* ---------- Horario y ubicación ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.visit-card { padding: 2rem; }
.visit-card h3 { font-size: 1.7rem; display: flex; align-items: center; gap: .6rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.12rem; }
.hours-table th, .hours-table td { padding: .75rem .8rem; text-align: left; border-bottom: 2px dashed var(--line); }
.hours-table th { font-weight: 800; }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today { background: #FDF0D3; }
.hours-table tr.is-today th::after {
    content: "Today"; margin-left: .6rem; font-size: .75rem; vertical-align: middle;
    background: var(--chile); color: #fff; padding: .15rem .55rem; border-radius: 999px;
    text-transform: uppercase; letter-spacing: 1px;
}
.hours-table .closed { color: var(--chile); font-weight: 800; }

.address { font-size: 1.35rem; font-weight: 800; line-height: 1.4; margin-bottom: 1.4rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.note { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Banda "¿Se te antojó?" ---------- */
.cta-band {
    background: var(--chile); color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
    content: ""; position: absolute; left: 0; right: 0; height: 14px;
    background: url("images/talavera.svg") repeat-x center / 14px 14px;
}
.cta-band::before { top: 0; }
.cta-band::after { bottom: 0; }
.cta-band h2 { color: #fff; }
.cta-band .script { color: #FFD27A; font-size: 2rem; display: block; }
.cta-band p { font-size: 1.2rem; opacity: .95; }
.cta-band .btn-outline { border-color: #fff; box-shadow: 0 5px 0 var(--chile-dark); }
.phone-big {
    display: inline-block; font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.4rem); color: #fff; text-decoration: none;
    margin: .3rem 0 1.4rem;
}
.phone-big:hover { color: #FFD27A; }

/* ---------- Formulario ---------- */
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 760px; margin-inline: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 1.05rem; }
.field label .opt { font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
    font: inherit; font-size: 1.1rem; color: var(--ink);
    min-height: 56px; padding: .75rem 1rem;
    border: 2px solid #CDB28A; border-radius: 14px; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--talavera); outline: 3px solid rgba(30, 63, 138, .2); }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.consent input { width: 26px; height: 26px; margin-top: .15rem; accent-color: var(--nopal); flex: none; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-result { font-weight: 800; font-size: 1.05rem; margin: 0; }
.form-result.ok { color: var(--nopal); }
.form-result.err { color: var(--chile); }
.hidden { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(rgba(36, 16, 4, .82), rgba(36, 16, 4, .82)), url("images/wood.svg"); color: #F4E6CC; }
.site-footer a { color: #FFD27A; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand { display: inline-flex; }
.footer-brand img { width: 150px; height: auto; border: 4px solid var(--marigold); border-radius: 10px; }
.footer-brand .brand-name { color: #fff; font-size: 1.45rem; }
.footer-brand .brand-name small { color: #A9D49C; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: .7rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 1.2rem 0 1.6rem; font-size: .95rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
}
.footer-bottom .script { color: #FFD27A; font-size: 1.4rem; }

/* ---------- Barra fija para celular ---------- */
.action-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(28, 16, 8, .92);
    display: none; align-items: center; justify-content: center;
    padding: 4.5rem 1rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 82vh; object-fit: contain; transition: transform .1s ease-out; cursor: zoom-in; }
.lightbox-close {
    position: absolute; top: 1rem; right: 1rem;
    min-height: 54px; padding: 0 1.3rem; border-radius: 999px;
    background: #fff; color: var(--ink); border: 0;
    font: 800 1.1rem var(--font-body); cursor: pointer;
}
.lightbox-caption {
    position: absolute; top: 1.2rem; left: 1.2rem; right: 9rem;
    color: #fff; font-family: var(--font-display); font-size: 1.3rem;
}

/* ---------- Páginas legales ---------- */
.legal { max-width: 800px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem); }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal p, .legal li { font-size: 1.08rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--ink-soft); font-weight: 700; }
.legal .callout {
    background: #E3F0DF; border-left: 6px solid var(--nopal);
    padding: 1rem 1.2rem; border-radius: 12px; margin: 1.5rem 0;
}

/* =========================================================
   MENÚ
   ========================================================= */
.menu-hero { text-align: center; padding: 2rem 0 1.5rem; }
.menu-hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: .2em; }
.menu-hero .script { font-size: clamp(2rem, 4.5vw, 2.8rem); display: block; transform: rotate(-3deg); color: var(--chile-dark); text-shadow: 2px 2px 0 #FFE3B0; }
.menu-hero p { font-size: 1.15rem; color: var(--adobe); font-weight: 600; max-width: 46ch; margin: 0 auto; }

.menu-tools {
    position: sticky; top: var(--header-h); z-index: 50;
    background: var(--wall) url("images/wall.svg");
    padding: .8rem 0;
    border-bottom: 4px solid var(--adobe);
    box-shadow: 0 6px 14px rgba(58, 30, 12, .2);
}
.search-wrap { position: relative; max-width: 640px; margin: 0 auto .8rem; }
.search-wrap .search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; pointer-events: none; }
#menuSearch {
    width: 100%; min-height: 60px;
    padding: .8rem 3.4rem .8rem 3.2rem;
    font: inherit; font-size: 1.15rem; color: var(--ink);
    border: 3px solid var(--ink); border-radius: 999px; background: #fff;
}
#menuSearch:focus { outline: 4px solid var(--marigold); outline-offset: 2px; }
.search-clear {
    position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--paper-2); font-size: 1.2rem; cursor: pointer; color: var(--ink);
}

.cat-nav {
    display: flex; gap: .6rem; overflow-x: auto; padding: .2rem .2rem .5rem;
    scrollbar-width: thin; scroll-snap-type: x proximity;
}
.cat-nav a {
    flex: none; scroll-snap-align: start;
    display: inline-flex; align-items: center; gap: .4rem;
    min-height: 50px; padding: .3rem 1.1rem; border-radius: 999px;
    background: var(--card); border: 2px solid var(--line);
    font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.cat-nav a:hover { border-color: var(--ink); color: var(--ink); }
.cat-nav a.active { background: var(--chile); border-color: var(--chile); color: #fff; }

.menu-body { padding: 2rem 0 4rem; }
.menu-cat { margin-bottom: 2.2rem; scroll-margin-top: calc(var(--header-h) + 170px); overflow: hidden; }
.menu-cat-head {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.6rem;
    background: linear-gradient(rgba(58, 30, 12, .55), rgba(58, 30, 12, .55)), url("images/wood.svg");
    border-bottom: 4px solid var(--adobe);
    position: relative;
}
.menu-cat-head::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 14px;
    background: url("images/talavera.svg") repeat-x center / 14px 14px;
}
.cat-emoji {
    width: 60px; height: 60px; border-radius: 50%; flex: none;
    display: grid; place-items: center; font-size: 1.9rem;
    background: var(--card); border: 3px solid var(--marigold);
}
.menu-cat-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 0; color: #FFF6E5; text-shadow: 3px 3px 0 var(--adobe); }
.menu-cat-head p { margin: 0; color: #FFF0D6; font-weight: 800; }

.menu-list { list-style: none; margin: 0; padding: 1.4rem 1.6rem .4rem; }
.menu-item {
    display: grid; grid-template-columns: 112px 1fr; gap: 1.2rem; align-items: center;
    padding: 1.1rem 0; border-bottom: 2px dashed var(--line);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item.no-img { grid-template-columns: 1fr; }
.menu-item > .item-img { grid-column: 1; grid-row: 1; }
.menu-item > div { grid-column: 2; grid-row: 1; }
.menu-item.no-img > div { grid-column: 1; }
.item-img {
    width: 112px; height: 112px; padding: 4px; border-radius: 16px;
    background: radial-gradient(circle, #FFF6E2, var(--paper-2));
    border: 2px solid var(--line); cursor: zoom-in;
    display: grid; place-items: center;
}
.item-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.item-img:hover img { transform: scale(1.08); }
.item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.item-name { font-weight: 900; font-size: 1.22rem; line-height: 1.3; margin: 0; font-family: var(--font-body); }
.item-desc { color: var(--ink-soft); margin: .3rem 0 0; font-size: 1.02rem; }
.item-note { display: inline-block; margin-top: .4rem; font-size: .95rem; font-weight: 800; color: #A80E52; }

.meat-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .6rem 0 0; }
.meat-list li { background: var(--paper-2); border-radius: 999px; padding: .3rem .9rem; font-weight: 700; font-size: .98rem; }
.meat-list li b { font-weight: 900; }

.no-results { text-align: center; padding: 2rem 1rem; font-size: 1.2rem; }
.menu-footnote { font-size: .95rem; color: var(--adobe); font-weight: 600; text-align: center; max-width: 70ch; margin: 1rem auto 0; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1000px) {
    .dish-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    /* En celular el header no se queda pegado: la barra de abajo ya tiene "Llamar" */
    .site-header { position: relative; }
    .header-inner { flex-wrap: wrap; gap: .5rem; padding-bottom: .4rem; }
    .brand { margin-inline: auto; }
    .brand { width: 96px; height: 137px; }
    .brand img { position: static; width: 96px; margin-top: .3rem; }
    .brand-name { font-size: 1.15rem; }
    .header-call { order: 2; }
    .site-nav { order: 3; width: 100%; }
    .nav-links { justify-content: space-between; overflow-x: auto; gap: .15rem; }
    .nav-links a { padding: .3rem .75rem; font-size: .98rem; min-height: 46px; }

    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-art { max-width: 280px; }
    .stamp { right: -22px; }
    .stamp { width: 104px; height: 104px; font-size: .8rem; }

    .quick-info { grid-template-columns: 1fr; margin-top: 0; }
    .about-grid, .visit-grid { grid-template-columns: 1fr; }
    .about-frame { max-width: 380px; margin-inline: auto; }
    .form-grid { grid-template-columns: 1fr; }

    /* Barra inferior fija: Llamar · Menú · Mapa */
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .action-bar {
        display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .5rem;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
        padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
        background: linear-gradient(rgba(58, 30, 12, .6), rgba(58, 30, 12, .6)), url("images/wood.svg"); border-top: 4px solid var(--marigold);
        box-shadow: 0 -8px 24px rgba(61, 35, 18, .18);
    }
    .action-bar a {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        min-height: 60px; border-radius: 14px; text-decoration: none;
        font-weight: 900; font-size: .98rem; line-height: 1.15; color: var(--ink);
        background: var(--paper);
    }
    .action-bar a span { font-size: 1.35rem; }
    .action-bar a.call { background: var(--chile); color: #fff; }
}

@media (max-width: 560px) {
    .container { width: calc(100% - 2rem); }
    .header-call { display: none; }
    .nav-links a { padding: .3rem .55rem; font-size: .95rem; }
    .dish-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .menu-list { padding: 1.2rem 1rem .2rem; }
    .menu-cat-head { padding: 1rem; }
    .menu-item { grid-template-columns: 88px 1fr; gap: .9rem; }
    .item-img { width: 88px; height: 88px; }
    .item-top { flex-direction: column; gap: .3rem; }
    .visit-card { padding: 1.4rem; }
    .review-photos img { height: 170px; }
}

/* ---------- Selector de idioma (contacto) ---------- */
.lang-switch {
    display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap;
    margin: -1rem auto 1.6rem;
}
.lang-btn {
    min-height: 56px; padding: .4rem 1.5rem; border-radius: 999px;
    font: 800 1.1rem var(--font-body); cursor: pointer;
    background: var(--card); color: var(--ink);
    border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}
.lang-btn:hover { background: var(--paper-2); }
.lang-btn[aria-pressed="true"] { background: var(--nopal); border-color: var(--nopal-dark); color: #fff; box-shadow: 0 4px 0 var(--nopal-dark); }

/* Solo para lectores de pantalla */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
