:root {
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    --transition: 0.25s ease;
}

body.dark-mode {
    --bg: #1a120f;
    --bg-soft: #251814;
    --surface: #2f1f19;
    --surface-2: #3a261f;
    --text: #fff3ec;
    --text-muted: #e2c8bb;
    --line: rgba(255, 255, 255, 0.14);
    --brand: #ff7f50;
    --brand-2: #ffbc8d;
    --ok: #35df97;
}

body.light-mode {
    --bg: #fdf8f4;
    --bg-soft: #f9efe6;
    --surface: #ffffff;
    --surface-2: #fff7f2;
    --text: #271b16;
    --text-muted: #6f5145;
    --line: rgba(39, 27, 22, 0.13);
    --brand: #df5d2f;
    --brand-2: #f49f68;
    --ok: #0f9d66;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(60rem 40rem at 90% -10%, rgba(255, 127, 80, 0.17), transparent 60%),
        radial-gradient(40rem 35rem at -10% 10%, rgba(255, 188, 141, 0.15), transparent 55%),
        var(--bg);
    min-height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 85%, transparent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 18px rgba(255, 127, 80, 0.55);
}

.main-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.main-nav a {
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.94rem;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.theme-toggle {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
}

.page-main {
    padding-bottom: 4rem;
}

.hero-section {
    padding: 2.2rem 0 1.25rem;
}

.hero-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}

.hero-copy,
.hero-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.hero-copy {
    padding: 1.6rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand-2) 65%, transparent);
    color: var(--brand-2);
    background: color-mix(in srgb, var(--brand-2) 16%, transparent);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.lead {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0.9rem 0 0;
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0.76rem 1.25rem;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #ff6f3f);
    color: #1f120d;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn-ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.stats-grid article {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    background: color-mix(in srgb, var(--surface-2) 85%, transparent);
}

.stats-grid strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
}

.stats-grid span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-card {
    overflow: hidden;
    position: relative;
    min-height: 100%;
}

.hero-card-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(17, 10, 8, 0.76), rgba(17, 10, 8, 0.12)),
        url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.hero-card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
}

.hero-card-content p {
    margin: 0.3rem 0 0;
    color: #f3ddd2;
}

.section {
    padding: 2.4rem 0 0;
}

.section-soft {
    background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 2.2rem;
    padding-bottom: 2.4rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.section-head p {
    margin: 0;
    max-width: 34rem;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.info-card,
.dish-card,
.panel,
.menu-item,
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.info-card {
    padding: 1rem;
}

.info-card i {
    color: var(--brand-2);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.info-card h3,
.dish-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.info-card p,
.dish-card p,
.panel p,
.menu-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-muted);
}

.dish-card {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dish-card strong {
    color: var(--brand-2);
    font-size: 1.04rem;
}

.section-actions {
    margin-top: 1rem;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.panel,
.form-card {
    padding: 1.15rem;
}

.panel-label {
    color: var(--ok);
    font-weight: 800;
    font-size: 0.86rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.list {
    margin: 0.9rem 0 0;
    padding-left: 1rem;
    color: var(--text-muted);
}

.list li + li {
    margin-top: 0.35rem;
}

.page-header {
    padding-top: 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.menu-item {
    padding: 1rem;
}

.menu-category {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-2);
}

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0.35rem 0;
    gap: 0.5rem;
}

.menu-row h3 {
    font-size: 1.25rem;
}

.menu-row strong {
    color: var(--brand-2);
}

.form-card label {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    margin: 0.65rem 0 0.28rem;
}

.form-card input,
.form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-2) 88%, transparent);
    color: var(--text);
    border-radius: 10px;
    padding: 0.72rem 0.78rem;
    font: inherit;
}

.form-card textarea {
    resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--brand-2) 50%, transparent);
}

.form-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.form-submit {
    width: 100%;
    margin-top: 0.95rem;
}

.form-response {
    display: none;
    margin-top: 0.75rem;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.form-response.success {
    display: block;
    background: rgba(29, 197, 126, 0.18);
    color: #0ea364;
    border: 1px solid rgba(29, 197, 126, 0.45);
}

.form-response.error {
    display: block;
    background: rgba(239, 68, 68, 0.16);
    color: #e45656;
    border: 1px solid rgba(239, 68, 68, 0.45);
}

.site-footer {
    margin-top: 2.5rem;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-soft) 87%, transparent);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.45rem 0;
}

.footer-inner h3 {
    margin-bottom: 0.35rem;
}

.footer-inner p {
    margin: 0.2rem 0;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 0.75rem 0;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .cards-grid,
    .menu-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-card {
        min-height: 260px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav {
        position: fixed;
        top: 4.2rem;
        right: 1rem;
        left: 1rem;
        padding: 0.75rem;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: color-mix(in srgb, var(--surface) 94%, transparent);
        display: none;
        box-shadow: var(--shadow);
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        flex: 1 1 calc(50% - 0.45rem);
        text-align: center;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .form-inline {
        grid-template-columns: 1fr;
    }
}
