/* Taquería Jalisciense — preview build stylesheet (self-contained, no external CSS) */

:root {
    --red: #b3271b;
    --red-dark: #8a1c13;
    --masa: #f6b31c;
    --agave: #2e7d4f;
    --cream: #fdf5e8;
    --cream-2: #f6ead2;
    --ink: #241a15;
    --muted: #6d5f54;
    --line: #e7d6bb;
    --shadow: 0 14px 40px rgba(60, 30, 10, .16);
    --radius: 14px;
    --wrap: 1160px;
    --font-head: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.eyebrow {
    font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--red); font-size: .78rem; margin: 0 0 .6rem;
}
.section { padding: 84px 0; }
.section--alt { background: var(--cream-2); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin: 0 auto 2.4rem; }

/* buttons */
.btn {
    display: inline-block; font-family: var(--font-head); font-weight: 600;
    padding: 14px 26px; border-radius: 50px; cursor: pointer; border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-size: 1rem;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(179,39,27,.32); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: #fff; color: var(--red); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* preview banner */
.preview-ribbon {
    background: repeating-linear-gradient(45deg, #241a15, #241a15 12px, #2e2019 12px, #2e2019 24px);
    color: var(--masa); text-align: center; font-size: .82rem; font-weight: 600;
    padding: 7px 14px; letter-spacing: .02em;
}
.preview-ribbon b { color: #fff; }

/* header */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(253,245,232,.96);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span b { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--red); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* hero */
.hero { position: relative; color: #fff; text-align: center; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,15,8,.62), rgba(30,15,8,.78)); }
.hero__inner { position: relative; padding: 120px 22px 128px; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero p { font-size: 1.2rem; color: #ffe9c9; margin: 0 auto 2rem; max-width: 560px; }
.hero__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__strip { position: relative; background: var(--red); color: #fff; }
.hero__strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; justify-content: center; padding: 16px 22px; font-weight: 600; font-size: .96rem; }
.hero__strip b { color: var(--masa); }

/* featured cards */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease; }
.card:hover { transform: translateY(-5px); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.card__body p { margin: 0; color: var(--muted); }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; }

/* menu */
.menu-cat { margin-bottom: 46px; }
.menu-cat__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.menu-cat__head h3 { font-size: 1.7rem; margin: 0; color: var(--red-dark); }
.menu-cat__head::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.menu-note { color: var(--muted); font-style: italic; margin: 0 0 18px; font-size: .95rem; }
.menu-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 44px; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dotted var(--line); }
.menu-item__name { font-weight: 600; white-space: nowrap; }
.menu-item__desc { color: var(--muted); font-size: .92rem; flex: 1; }
.menu-item__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.menu-item__price { font-family: var(--font-head); font-weight: 700; color: var(--red); }
.menu-media { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.menu-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; position: sticky; top: 96px; }
.menu-media .menu-layout { grid-template-columns: 1fr; }
.menu-disclaimer { color: var(--muted); font-size: .85rem; font-style: italic; margin-top: 30px; }
.muted-note { color: var(--muted); font-size: .85rem; }

/* nav active state */
.nav-links a.active { color: var(--red); }

/* page banner (inner pages) */
.page-banner { position: relative; color: #fff; text-align: center; overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,15,8,.62), rgba(30,15,8,.82)); }
.page-banner__inner { position: relative; padding: 92px 22px 78px; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .6rem; text-shadow: 0 2px 22px rgba(0,0,0,.4); }
.page-banner p { color: #ffe9c9; margin: 0 auto; max-width: 560px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 14px 0 0; padding: 0; font-weight: 600; font-size: .88rem; justify-content: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "›"; color: var(--masa); }
.breadcrumb a { color: #ffe1bf; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; }

/* teaser helpers on the home page */
.teaser-cta { margin-top: 28px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 26px; }
.cat-chips a { background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 8px 18px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.cat-chips a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.gallery--teaser { max-width: 900px; margin: 0 auto; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.08); }

/* info: hours + location */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--red); }
.info-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.info-card h3 { margin-top: 0; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-line svg { flex: none; width: 22px; height: 22px; fill: var(--red); margin-top: 3px; }

/* order band */
.order-band { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; text-align: center; }
.order-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.order-band p { color: #ffe0c8; max-width: 560px; margin: 0 auto 1.8rem; }
.order-band .btn--primary { background: #fff; color: var(--red); }
.order-band .btn--primary:hover { background: var(--masa); color: var(--ink); }

/* footer */
.site-footer { background: var(--ink); color: #d9cbbc; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 34px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); margin: 0 0 14px; font-size: 1.05rem; }
.site-footer a { color: #d9cbbc; }
.site-footer a:hover { color: var(--masa); }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.social a:hover { background: var(--red); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; font-size: .84rem; color: #9c8b7c; }
.foot-note b { color: var(--masa); }

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

/* responsive */
@media (max-width: 900px) {
    .grid--3 { grid-template-columns: 1fr; }
    .split, .info-grid { grid-template-columns: 1fr; gap: 30px; }
    .menu-layout { grid-template-columns: 1fr; }
    .menu-media { grid-template-columns: 1fr; }
    .menu-media img { position: static; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .nav-links {
        position: fixed; inset: 74px 0 auto 0; background: var(--cream);
        flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .28s ease; box-shadow: var(--shadow);
    }
    .nav-links.open { transform: none; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 14px; }
    .nav-cta { margin: 10px auto; }
    .nav-toggle { display: block; }
    .section { padding: 60px 0; }
}
@media (max-width: 520px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { padding: 84px 20px 90px; }
}
