:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-2: #fbfbfc;
    --text: #10233f;
    --text-soft: #63748a;
    --text-muted: #8d99aa;
    --line: #e7ebf0;
    --line-strong: #d8dee7;
    --brand: #c40000;
    --brand-dark: #a50000;
    --brand-soft: #fff3f3;
    --shadow-soft: 0 8px 30px rgba(16, 35, 63, 0.06);
    --shadow-card: 0 10px 24px rgba(16, 35, 63, 0.07);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --max: 960px;
    --header-h: 76px;
    --font-main: Inter, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), transparent 30%),
        linear-gradient(180deg, #f8f9fb 0%, #f4f6f8 100%);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(231, 235, 240, 0.9);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    font-weight: 800;
    color: var(--text);
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
}

.brand span {
    font-size: 1rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.82rem 1.1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition:
        transform 0.14s ease,
        background 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.14s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(196, 0, 0, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--brand-dark);
}

.btn-secondary,
.btn-call {
    background: #fff;
    color: var(--text);
    border-color: var(--line-strong);
}

.btn-secondary:hover,
.btn-call:hover {
    background: var(--surface-2);
    border-color: #c9d1dc;
}

/* Hero */
.page-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.5rem 1rem 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 900;
    color: var(--text);
}

.page-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

/* Shell */
.menu-shell {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(231, 235, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.menu-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.menu-toolbar strong {
    font-size: 1.05rem;
    font-weight: 850;
    color: var(--text);
}

/* Filter tabs */
.menu-filter-bar {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 1rem;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.menu-filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex: 0 0 auto;
    border: 1px solid transparent;
    background: #f2f4f7;
    color: var(--text-soft);
    padding: 0.72rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.14s ease,
        color 0.14s ease,
        border-color 0.14s ease;
}

.filter-btn:hover {
    background: #eceff3;
    color: var(--text);
}

.filter-btn.active {
    background: var(--brand-soft);
    color: var(--brand);
    border-color: rgba(196, 0, 0, 0.12);
}

/* Menu list */
.menu-grid {
    display: grid;
    gap: 0.8rem;
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px rgba(16, 35, 63, 0.025);
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        border-color 0.14s ease;
}

.menu-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
    border-color: #d9e0e8;
}

.menu-item > div {
    min-width: 0;
}

.menu-item h3 {
    margin: 0 0 0.38rem;
    font-size: 1.1rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
    font-weight: 850;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.menu-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 46ch;
}

.menu-item strong {
    color: var(--brand);
    font-size: 1rem;
    font-weight: 850;
    white-space: nowrap;
    align-self: center;
    background: #fff6f6;
    border: 1px solid #ffe3e3;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
    vertical-align: middle;
}

.badge.hot {
    background: #ffe3e3;
    color: var(--brand);
}

.badge.vegan {
    background: #e7f6eb;
    color: #1d7a43;
}

.badge.veg {
    background: #fff1d8;
    color: #8b6210;
}

/* Small optional helper */
.menu-note {
    margin-top: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 900px) {
    .page-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero .btn {
        width: 100%;
    }

    .menu-toolbar {
        align-items: stretch;
    }

    .menu-toolbar .btn {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 0 0.85rem;
    }

    .brand span {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-hero {
        padding: 1.15rem 1rem 0.85rem;
        gap: 0.85rem;
    }

    .page-wrap {
        padding: 0 0.8rem 1.25rem;
    }

    .menu-shell {
        padding: 0.85rem;
        border-radius: 22px;
    }

    .menu-filter-bar {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.68rem 0.9rem;
        font-size: 0.92rem;
    }

    .menu-item {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0.95rem;
    }

    .menu-item h3 {
        font-size: 1.02rem;
    }

    .menu-item p {
        font-size: 0.95rem;
        max-width: none;
    }

    .menu-item strong {
        justify-self: start;
        align-self: start;
        font-size: 0.97rem;
        padding: 0.5rem 0.72rem;
    }

    .btn {
        min-height: 46px;
        padding: 0.8rem 1rem;
    }

    .btn-call {
        min-height: 42px;
        padding: 0.72rem 0.9rem;
    }
}