/* Public restaurant website */
:root {
    --ink: #1c1917;
    --ink-soft: #57534e;
    --muted: #a8a29e;
    --paper: #fffaf3;
    --card: #ffffff;
    --line: #efe6d8;
    --brand: #c2410c;
    --brand-dark: #9a3412;
    --gold: #d9a441;
    --green: #15803d;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(28, 25, 23, .08);
    --shadow-lg: 0 24px 60px rgba(28, 25, 23, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.site img { max-width: 100%; display: block; }
.site a { color: inherit; text-decoration: none; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn-s {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
    font: 600 15px/1 'Inter', sans-serif; cursor: pointer; transition: .2s;
}
.btn-s.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(194, 65, 12, .32); }
.btn-s.primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-s.ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-s.ghost:hover { background: #fff; color: var(--ink); }
.btn-s.outline { border-color: var(--ink); color: var(--ink); }
.btn-s.outline:hover { background: var(--ink); color: #fff; }
.btn-s.block { width: 100%; }
.btn-s:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50; transition: .3s;
    padding: 18px 0; color: #fff;
}
.nav.solid, .nav.always-solid {
    background: rgba(255, 250, 243, .94); backdrop-filter: blur(12px);
    color: var(--ink); padding: 12px 0; box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 24px 'Playfair Display', serif; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff;
    display: grid; place-items: center; font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn-s) { opacity: .9; position: relative; }
.nav-links a:not(.btn-s):hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav.solid .nav-links a.active, .nav.always-solid .nav-links a.active,
.nav.solid .nav-links a:not(.btn-s):hover, .nav.always-solid .nav-links a:not(.btn-s):hover { color: var(--brand); }
.cart-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font-weight: 600; font-size: 14px;
}
.nav.solid .cart-pill, .nav.always-solid .cart-pill { background: #fff; border-color: var(--line); }
.cart-count {
    min-width: 22px; height: 22px; border-radius: 999px; background: var(--brand); color: #fff;
    font-size: 12px; display: grid; place-items: center; padding: 0 6px;
}
.burger { display: none; background: none; border: 0; color: inherit; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center; color: #fff; position: relative;
    background: linear-gradient(105deg, rgba(20, 12, 6, .88) 25%, rgba(20, 12, 6, .35)),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80') center/cover;
}
.hero-content { max-width: 640px; padding-top: 70px; }
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: .22em; font-size: 12px;
    font-weight: 700; color: var(--gold); margin-bottom: 18px;
}
.hero h1 { font: 700 clamp(40px, 6.5vw, 76px)/1.05 'Playfair Display', serif; margin: 0 0 20px; }
.hero p { font-size: 18px; color: rgba(255, 255, 255, .85); margin: 0 0 34px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 44px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 700 32px 'Playfair Display', serif; color: var(--gold); }
.hero-stats span { font-size: 13px; opacity: .8; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 54px; }
.section-head h2 { font: 700 clamp(30px, 4vw, 44px)/1.15 'Playfair Display', serif; margin: 6px 0 14px; }
.section-head p { color: var(--ink-soft); margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 26px; text-align: center; transition: .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ico {
    width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 18px;
    display: grid; place-items: center; font-size: 28px; background: #ffedd5;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.cat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.cat-chip {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 14px; text-align: center; font-weight: 600; transition: .2s;
}
.cat-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }

/* ---------- Dish cards ---------- */
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.dish {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dish-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f5ebdb; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dish:hover .dish-img img { transform: scale(1.07); }
.veg-dot {
    position: absolute; top: 14px; left: 14px; width: 24px; height: 24px; border-radius: 6px; background: #fff;
    border: 2px solid var(--green); display: grid; place-items: center;
}
.veg-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.veg-dot.non { border-color: #b91c1c; }
.veg-dot.non::after { background: #b91c1c; }
.dish-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.dish h3 { margin: 0; font: 700 20px 'Playfair Display', serif; }
.dish p { margin: 0; color: var(--ink-soft); font-size: 14px; flex: 1; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-weight: 700; font-size: 18px; }
.add-btn {
    border: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
    font: 600 14px 'Inter', sans-serif; cursor: pointer; transition: .2s;
}
.add-btn:hover { background: var(--brand); }
.qty { display: inline-flex; align-items: center; gap: 4px; background: #ffedd5; border-radius: 999px; padding: 3px; }
.qty button {
    width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--brand);
    font-size: 18px; font-weight: 700; cursor: pointer;
}
.qty span { min-width: 26px; text-align: center; font-weight: 700; }

/* ---------- Menu page ---------- */
.page-hero {
    padding: 150px 0 70px; color: #fff; text-align: center;
    background: linear-gradient(rgba(20, 12, 6, .72), rgba(20, 12, 6, .72)), var(--bg) center/cover;
}
.page-hero h1 { font: 700 clamp(36px, 5vw, 58px) 'Playfair Display', serif; margin: 0 0 10px; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, .8); }
.menu-tools {
    position: sticky; top: 64px; z-index: 30; background: rgba(255, 250, 243, .95); backdrop-filter: blur(10px);
    padding: 14px 0; border-bottom: 1px solid var(--line);
}
.menu-tools .container { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; overflow-x: auto; flex: 1; padding-bottom: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; font: 600 14px 'Inter', sans-serif; cursor: pointer; transition: .2s;
}
.tab.on, .tab:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.search {
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font: 14px 'Inter', sans-serif; width: 230px; outline: none;
}
.search:focus { border-color: var(--brand); }
.menu-section { margin-bottom: 56px; scroll-margin-top: 140px; }
.menu-section h2 { font: 700 30px 'Playfair Display', serif; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.menu-section h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.empty { text-align: center; color: var(--ink-soft); padding: 60px 0; }

/* ---------- Floating cart bar ---------- */
.cart-bar {
    position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); z-index: 60;
    background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 16px 14px 26px;
    display: flex; align-items: center; gap: 22px; box-shadow: var(--shadow-lg); transition: .35s;
    width: min(560px, 92%); justify-content: space-between;
}
.cart-bar.show { transform: translate(-50%, 0); }

/* ---------- Forms / cards ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 18px; font: 700 22px 'Playfair Display', serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border: 1px solid #e7dccb; border-radius: 12px; background: #fffdf9;
    font: 15px 'Inter', sans-serif; color: var(--ink); outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(194, 65, 12, .12); }
.field textarea { resize: vertical; min-height: 90px; }
.err { color: #b91c1c; font-size: 13px; margin-top: 5px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14.5px; }
.alert.ok { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.alert.bad { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg label {
    border: 2px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; text-align: center;
    font-weight: 600; transition: .2s; display: block;
}
.seg label small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.seg input { display: none; }
.seg label.on { border-color: var(--brand); background: #fff7ed; color: var(--brand); }

.checkout-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; }
.summary { position: sticky; top: 100px; }
.cart-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .info b { display: block; font-size: 15px; }
.cart-line .info small { color: var(--ink-soft); }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-soft); }
.totals .grand { color: var(--ink); font-weight: 700; font-size: 20px; border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 14px; }
.rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; }
.rm:hover { color: #b91c1c; }

/* ---------- Success ---------- */
.success-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.check {
    width: 90px; height: 90px; border-radius: 50%; background: #dcfce7; color: var(--green);
    display: grid; place-items: center; font-size: 44px; margin: 0 auto 22px;
}
.ref { display: inline-block; background: #fff7ed; border: 1px dashed var(--brand); color: var(--brand-dark); padding: 8px 20px; border-radius: 999px; font-weight: 700; letter-spacing: .08em; }
.details { text-align: left; margin-top: 30px; }
.details .row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.details .row span:first-child { color: var(--ink-soft); }
.details .row span:last-child { font-weight: 600; text-align: right; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-img .badge-float {
    position: absolute; right: -24px; bottom: 36px; background: var(--gold); color: var(--ink);
    padding: 20px 26px; border-radius: 20px; text-align: center; box-shadow: var(--shadow);
}
.badge-float b { display: block; font: 700 34px 'Playfair Display', serif; line-height: 1; }
.split h2 { font: 700 clamp(30px, 4vw, 44px)/1.15 'Playfair Display', serif; margin: 6px 0 18px; }
.split p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.ticks li::before { content: '✓'; color: var(--brand); font-weight: 800; margin-right: 10px; }

.cta {
    background: linear-gradient(rgba(154, 52, 18, .92), rgba(194, 65, 12, .92)),
        url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=70') center/cover;
    color: #fff; text-align: center; padding: 90px 0;
}
.cta h2 { font: 700 clamp(30px, 4.5vw, 48px) 'Playfair Display', serif; margin: 0 0 14px; }
.cta p { margin: 0 auto 30px; max-width: 520px; opacity: .9; }
.cta .btn-s.light { background: #fff; color: var(--brand-dark); }
.cta .btn-s.light:hover { background: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; transition: .3s; }
.gallery img:hover { transform: scale(1.03); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.info-card { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border: 0; }
.info-card .ico { width: 46px; height: 46px; border-radius: 14px; background: #ffedd5; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.info-card b { display: block; }
.info-card span, .info-card a { color: var(--ink-soft); font-size: 14.5px; }
.map { border: 0; border-radius: var(--radius); width: 100%; height: 340px; margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { background: #1c1410; color: #d6cfc7; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; margin: 0 0 16px; font: 700 17px 'Playfair Display', serif; }
.footer a { display: block; padding: 4px 0; color: #d6cfc7; font-size: 14.5px; }
.footer a:hover { color: var(--gold); }
.footer p { font-size: 14.5px; margin: 0 0 8px; }
.footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; text-align: center; font-size: 13px; color: #8d857c; }

.toast {
    position: fixed; top: 90px; right: 20px; z-index: 100; background: var(--ink); color: #fff;
    padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px;
    opacity: 0; transform: translateY(-10px); transition: .3s; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .burger { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); color: var(--ink);
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px 6%; display: none;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .1);
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.btn-s) { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .nav-links .btn-s { margin: 12px 0 6px; }
    .split, .contact-grid, .checkout-layout { grid-template-columns: 1fr; gap: 36px; }
    .summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .split-img .badge-float { right: 10px; }
    section.block { padding: 70px 0; }
    .search { width: 100%; }
    .menu-tools { top: 56px; }
}
@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; }
    .panel { padding: 22px; }
}
