/* ==========================================================================
   Teglia Pizza — main stylesheet
   ========================================================================== */

:root {
    --bg: #0b0a09;
    --bg-2: #141210;
    --card: #1b1815;
    --card-2: #231f1b;
    --line: rgba(244, 237, 227, 0.1);
    --text: #f4ede3;
    --muted: #a99e91;
    --red: #d7261e;
    --red-dark: #b01d16;
    --cream: #f4ede3;
    --wood: #c27a42;
    --green: #5fae6a;
    --radius: 18px;
    --radius-sm: 10px;
    --header-h: 76px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-italic: "Playfair Display", Georgia, serif;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
iframe, video, select { max-width: 100%; }

/* Grid/flex children default to min-width:auto and can push the page wider than the screen. */
.hero-grid > *, .split > *, .feature-grid > *, .dish-grid > *, .review-grid > *, .value-grid > *,
.contact-cards > *, .contact-grid > *, .form-row > *, .footer-grid > *, .faq-layout > *,
.order-layout > *, .menu-item > *, .stats > *, .cta-inner > *, .section-head-row > * { min-width: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

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

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--muted); }

/* Food photos have black backgrounds — "lighten" lets them sit on any dark surface. */
.blend { mix-blend-mode: lighten; }

/* ---------- Typography ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: .98;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.02;
}
.h3 { font-size: 1.3rem; font-weight: 700; }
.accent { color: var(--red); }
.eyebrow {
    font-family: var(--font-italic);
    font-style: italic;
    color: var(--wood);
    font-size: 1.1rem;
    margin-bottom: .6rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d9d0c4; max-width: 38rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    line-height: 1.2;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: var(--cream); color: #111; }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-google { background: #fff; color: #1f1f1f; }
.btn-google:hover { background: #f1f1f1; }
.g-dot {
    display: inline-grid; place-items: center;
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    font-weight: 700; font-size: .85rem; color: #fff;
    background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
}
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
}
/* Background + blur live on a pseudo-element: backdrop-filter on the header itself
   would become the containing block for the fixed mobile nav and squash it. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: transparent; box-shadow: none;
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled::before {
    background: rgba(11, 10, 9, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}
body.nav-open .site-header::before { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.brand-text {
    font-family: var(--font-display); font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}
.brand-text span { color: var(--red); margin-left: .3rem; }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav ul a {
    text-decoration: none; font-weight: 500; color: #d9d0c4; position: relative; padding: .3rem 0;
}
.main-nav ul a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav ul a:hover, .main-nav ul a.active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.nav-phone { display: none; }

.nav-toggle {
    display: none; background: none; border: 0; padding: 10px; width: 46px; height: 46px;
    flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(215, 38, 30, .22), transparent 65%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy .lead { margin-block: 1.4rem 2rem; }
.hero-facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; color: var(--muted); font-size: .95rem; }
.hero-facts strong { color: var(--text); }
.hero-facts li { position: relative; padding-left: 1rem; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.hero-visual { position: relative; }
.hero-plate { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; }
.hero-plate img { width: 100%; height: 100%; object-fit: contain; }
.spin-slow { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-badge {
    position: absolute; left: 0; bottom: 8%;
    background: var(--cream); color: #111;
    padding: .9rem 1.2rem; border-radius: 16px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; line-height: 1.25;
    transform: rotate(-4deg);
}
.hero-badge-title { font-family: var(--font-italic); font-style: italic; color: var(--red); }
.hero-badge-hours { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: .9rem 0; transform: rotate(-1.2deg); margin-inline: -2%; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 35s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; }
.section-head-row .h2 { margin: 0; }
.section-lead { color: #d9d0c4; font-size: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem;
    transition: border-color .3s, transform .3s;
}
.feature:hover { border-color: rgba(215, 38, 30, .5); transform: translateY(-4px); }
.feature-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--red); line-height: 1; display: block; margin-bottom: 1rem; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); margin: 0; }

/* Dish cards */
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.dish-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    text-decoration: none; display: flex; flex-direction: column; transition: transform .3s, border-color .3s;
}
.dish-card:hover { transform: translateY(-6px); border-color: rgba(215, 38, 30, .5); }
.dish-img { aspect-ratio: 1; padding: 1rem; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #2a2320, var(--card) 70%); }
.dish-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.dish-card:hover .dish-img img { transform: scale(1.06) rotate(-3deg); }
.dish-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-size: 1.1rem; }
.dish-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.dish-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; max-width: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transform-origin: 60% 50%; }
.split-copy p { color: #d9d0c4; }
.split-copy .btn-row { margin-top: 1.6rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.review-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
    display: flex; flex-direction: column; gap: .7rem; position: relative; animation: fadeUp .5s both;
}
.review-card::after {
    content: "\201C"; position: absolute; right: 1.2rem; bottom: -.8rem;
    font-family: var(--font-italic); font-size: 6rem; color: rgba(215, 38, 30, .15); line-height: 1; pointer-events: none;
}
.review-head { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
    flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--red); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.review-name { font-size: 1rem; margin: 0; }
.review-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.review-g { width: 22px; height: 22px; margin-left: auto; flex: none; }
.review-visit { font-size: .78rem; color: var(--wood); margin: 0; letter-spacing: .02em; }
.review-text { margin: 0; color: #e3dace; font-size: .98rem; position: relative; z-index: 1; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

.review-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 2rem;
}
.review-cta .h3, .review-cta p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 45%); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-inner .h2 { margin-bottom: .4rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.88); }

/* ---------- Page hero ---------- */
.page-hero {
    padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
    background: radial-gradient(ellipse at 90% 0%, rgba(215, 38, 30, .22), transparent 55%);
    border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin-top: 1rem; margin-bottom: 0; }
.page-hero-compact .display { font-size: clamp(2.4rem, 6vw, 4.4rem); }

/* ---------- About ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.value img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 1rem; }
.value p { color: var(--muted); margin: 0; }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { padding: 2rem 1.2rem; text-align: center; display: flex; flex-direction: column; gap: .3rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--red); line-height: 1; text-transform: uppercase; }
.stat-label { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.info-card h2 { font-size: 1.15rem; }
.info-card address, .info-card p { color: #d9d0c4; }
.info-icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: rgba(215, 38, 30, .14); margin-bottom: 1rem;
}
.info-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.big-link { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.big-link:hover, .text-link:hover { color: var(--red); }
.text-link { color: var(--wood); font-weight: 700; text-decoration: none; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); color: #d9d0c4; font-size: .95rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.today { color: #fff; font-weight: 700; }
.hours-list li.today span:first-child::after { content: " · today"; color: var(--red); font-weight: 500; font-size: .8em; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--card); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .92rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text);
    background: var(--bg); border: 1px solid rgba(244, 237, 227, .18); border-radius: var(--radius-sm);
    padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s;
    font-size: 1rem; /* prevents iOS zoom */
}
.field textarea { resize: vertical; min-height: 3rem; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215, 38, 30, .25);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff6b61; }
.field-error { color: #ff8a82; font-size: .85rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
.alert-success { background: rgba(95, 174, 106, .15); border: 1px solid rgba(95, 174, 106, .5); }
.alert-error { background: rgba(215, 38, 30, .15); border: 1px solid rgba(215, 38, 30, .5); }
.form-msg { color: #ff8a82; font-size: .9rem; margin: 0; min-height: 0; }
.form-msg:empty { display: none; }
.fine-print { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.faq-aside nav { display: flex; flex-direction: column; gap: .2rem; }
.faq-aside nav a { text-decoration: none; padding: .6rem .9rem; border-radius: var(--radius-sm); color: #d9d0c4; border-left: 2px solid var(--line); }
.faq-aside nav a:hover { color: #fff; border-left-color: var(--red); background: var(--card); }
.faq-help { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.faq-help .h3, .faq-help p { margin: 0; }
.faq-group + .faq-group { margin-top: 2.8rem; }
.faq-group > .h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; color: var(--wood); }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(215, 38, 30, .45); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1.02rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--card-2); position: relative; transition: background .2s, transform .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-item[open] .faq-icon { background: var(--red); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: #d9d0c4; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--wood); font-weight: 500; }

/* ---------- Order page ---------- */
.cat-nav-wrap {
    position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 50;
    background: rgba(11, 10, 9, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.cat-nav { display: flex; gap: .5rem; overflow-x: auto; padding-block: .8rem; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
    flex: none; text-decoration: none; padding: .5rem 1rem; border-radius: 999px;
    border: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: #d9d0c4; transition: all .2s;
}
.cat-nav a:hover { border-color: var(--text); color: #fff; }
.cat-nav a.active { background: var(--red); border-color: var(--red); color: #fff; }

.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; color: var(--muted); font-size: .88rem; }
.tag {
    display: inline-block; font-size: .68rem; font-weight: 700; padding: .12rem .42rem; border-radius: 5px;
    vertical-align: middle; letter-spacing: .03em; margin-left: .15rem;
}
.tag-v { background: rgba(95, 174, 106, .18); color: #8fd39a; }
.tag-vg { background: rgba(95, 174, 106, .35); color: #c5f0cb; }
.tag-s { background: rgba(215, 38, 30, .2); color: #ff8a82; }

.menu-cat { margin-top: 2.2rem; }
.menu-cat-head { border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1rem; }
.menu-cat-head .h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; margin-bottom: .2rem; }
.menu-cat-head p { margin: 0; font-size: .95rem; }
.menu-items { display: grid; gap: .8rem; }
.menu-item {
    display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
    transition: border-color .2s;
}
.menu-item:hover { border-color: rgba(244, 237, 227, .25); }
.menu-item.has-img { grid-template-columns: 88px 1fr auto; }
.menu-item-img { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--card); }
.menu-item-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-body h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.menu-item-body p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.menu-item-buy { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.price { font-family: var(--font-display); font-size: 1.3rem; }
.btn-add {
    display: inline-flex; align-items: center; gap: .3rem; border: 0; border-radius: 999px;
    background: var(--cream); color: #111; font-weight: 700; font-size: .88rem; padding: .45rem .95rem;
    transition: background .2s, transform .15s;
}
.btn-add:hover { background: #fff; }
.btn-add:active { transform: scale(.94); }
.btn-add.added { background: var(--green); color: #fff; }

.cart { position: sticky; top: calc(var(--header-h) + 80px); }
.cart-inner {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
    max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto; overscroll-behavior: contain;
}
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-head .h3 { margin: 0; }
.cart-close { display: none; background: var(--card-2); border: 0; color: var(--text); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; }
.cart-empty { text-align: center; padding: 1.6rem 0 .6rem; color: #d9d0c4; }
.cart-empty img { margin: 0 auto .8rem; border-radius: 12px; opacity: .8; }
.cart-items { list-style: none; margin: 1rem 0 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart-line-name { font-weight: 500; }
.cart-line-price { font-weight: 700; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; width: max-content; }
.qty button { background: none; border: 0; color: var(--text); width: 32px; height: 30px; font-size: 1.1rem; line-height: 1; }
.qty button:hover { background: var(--card-2); }
.qty span { min-width: 1.8rem; text-align: center; font-weight: 700; font-size: .92rem; }
.cart-remove { background: none; border: 0; color: var(--muted); font-size: .82rem; text-decoration: underline; justify-self: end; align-self: center; padding: 0; }
.cart-remove:hover { color: #ff8a82; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .4rem; font-size: 1.1rem; }
.cart-total strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; }
.checkout { border-top: 1px solid var(--line); padding-top: 1rem; }
.checkout .btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.cart-fab {
    display: none; position: fixed; z-index: 90;
    left: var(--gutter); right: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 1rem 1.4rem;
    font-weight: 700; justify-content: space-between; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.cart-fab.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.04); } }
.cart-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 140; }

/* Confirmation modal */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .75); display: grid; place-items: center; padding: 1rem; }
.modal-box {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; text-align: center; animation: fadeUp .35s both;
}
.modal-check { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.confirm-items { list-style: none; padding: 0; margin: 1rem 0; text-align: left; border-block: 1px solid var(--line); }
.confirm-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.confirm-items li + li { border-top: 1px dashed var(--line); }
.confirm-total { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070605; border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; }
.footer-brand p { color: var(--muted); margin: 1rem 0 1.4rem; max-width: 22rem; }
.footer-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .04em; color: var(--wood); }
.site-footer address, .site-footer p { color: #d9d0c4; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--red); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; color: #d9d0c4; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
    border-top: 1px solid var(--line); margin-top: 3rem;
    padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    font-size: .88rem;
}
.footer-bottom p { margin: 0; color: var(--muted); }
.footer-italic { font-family: var(--font-italic); font-style: italic; }
body.page-order .footer-bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Touch screens: no "stuck" hover lift after tapping */
@media (hover: none) {
    .btn:hover, .feature:hover, .dish-card:hover { transform: none; }
    .dish-card:hover .dish-img img { transform: none; }
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .dish-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .order-layout { grid-template-columns: 1fr 340px; }
}

@media (max-width: 920px) {
    :root { --header-h: 68px; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
        flex-direction: column; align-items: stretch; gap: 1rem;
        background: var(--bg); padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
        transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
        visibility: hidden;
    }
    body.nav-open .main-nav { transform: none; visibility: visible; }
    html.scroll-lock { overflow: hidden; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a {
        display: block; padding: 1rem 0; border-bottom: 1px solid var(--line);
        font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; font-weight: 400;
    }
    .main-nav ul a::after { display: none; }
    .main-nav ul a.active { color: var(--red); }
    .nav-cta { padding: 1rem; font-size: 1.05rem; margin-top: .5rem; }
    .nav-phone { display: block; text-align: center; color: var(--muted); text-decoration: none; padding: .5rem; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: min(420px, 80vw); width: 100%; margin: 0 auto; }
    .map-wrap, .map-wrap iframe { min-height: 300px; }
    .hero-badge { left: 0; bottom: 4%; }

    .feature-grid, .value-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split-media { aspect-ratio: 4 / 3; }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .contact-cards .info-card:last-child { grid-column: 1 / -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

    .faq-layout { grid-template-columns: 1fr; }
    .faq-aside { position: static; }
    .faq-aside nav { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
    .faq-aside nav a { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; }
    .faq-help { display: none; }

    /* Basket becomes a slide-up drawer */
    .order-layout { grid-template-columns: 1fr; }
    .cart {
        position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 150;
        transform: translateY(105%); transition: transform .35s ease; visibility: hidden;
    }
    body.cart-open .cart { transform: none; visibility: visible; }
    .cart-inner {
        border-radius: var(--radius) var(--radius) 0 0; max-height: 88vh; max-height: 88dvh;
        padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
    }
    .cart-close { display: grid; place-items: center; }
    .cart-fab { display: flex; }
}

@media (max-width: 640px) {
    /* Let long button labels wrap instead of overflowing the screen */
    .btn { white-space: normal; text-align: center; }
    .btn-row { width: 100%; }
    .btn-row .btn { flex: 1 1 100%; }
    .btn-row.center .btn { flex: 1 1 auto; }
    .footer-brand .btn { width: 100%; }

    .hero-facts { gap: .5rem 1.2rem; }
    .hero-badge { padding: .7rem 1rem; }
    .hero-badge-hours { font-size: 1.15rem; }
    .feature, .info-card { padding: 1.5rem 1.3rem; }
    .value img { width: 120px; height: 120px; }
    .stat { padding: 1.5rem .8rem; }
    .faq-item summary { padding: 1rem 1.1rem; }
    .faq-answer { padding: 0 1.1rem 1.1rem; }
    .menu-cat-head .h3 { font-size: 1.6rem; }
    .cta-inner { flex-direction: column; align-items: stretch; }

    .dish-grid { gap: .8rem; }
    .dish-body { padding: .9rem 1rem 1.1rem; }
    .dish-body p { display: none; }
    .dish-body h3 { font-size: 1rem; }
    .review-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .btn-row .btn-lg { flex: 1 1 100%; }
    .cta-inner .btn-row { width: 100%; }
    .section-head-row .btn { width: 100%; }
    .menu-item { grid-template-columns: 1fr; gap: .7rem; padding: 1rem; }
    .menu-item.has-img { grid-template-columns: 72px 1fr; }
    .menu-item-img { width: 72px; height: 72px; }
    .menu-item-buy { flex-direction: row; justify-content: space-between; align-items: center; grid-column: 1 / -1; }
    .brand-text { font-size: 1.35rem; }
    .brand img { width: 38px; height: 38px; }
    .marquee-track span { font-size: 1.15rem; }
    .review-cta { padding: 1.4rem; }
    .review-cta .btn { width: 100%; }
}

@media (max-width: 380px) {
    .display { font-size: 2.2rem; }
    .h2 { font-size: 1.7rem; }
    .main-nav ul a { font-size: 1.6rem; }
    .dish-body { padding: .8rem .8rem 1rem; }
}

@media (max-width: 330px) {
    .dish-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}
