:root {
    --ink: #211a17;
    --muted: #6f625c;
    --paper: #fffaf4;
    --surface: #ffffff;
    --line: #eadfd4;
    --brand: #b8372d;
    --brand-dark: #87251f;
    --teal: #1c6d66;
    --gold: #d69b2d;
    --shadow: 0 18px 45px rgba(33, 26, 23, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: rgba(255, 250, 244, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 185px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #fff;
    background: var(--brand);
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.site-nav a {
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 750;
    font-size: 0.94rem;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--brand-dark);
    background: #f7e9df;
}

.site-nav .admin-link {
    color: var(--teal);
}

.hero {
    min-height: calc(100vh - 78px);
    display: grid;
    align-items: center;
    padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(21, 15, 12, 0.82), rgba(21, 15, 12, 0.54) 48%, rgba(21, 15, 12, 0.18)),
        url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content {
    max-width: 780px;
}

.hero h1,
.page-hero h1,
.admin-top h1 {
    margin: 0;
    max-width: 940px;
    font-size: clamp(2.45rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero p {
    max-width: 620px;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.card-footer,
.admin-top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn,
.text-btn,
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.btn {
    padding: 11px 18px;
}

.btn svg,
.icon-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.primary {
    color: #fff;
    background: var(--brand);
}

.primary:hover {
    background: var(--brand-dark);
}

.secondary {
    color: var(--ink);
    background: #fff4e4;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.text-btn {
    color: var(--teal);
}

.section,
.category-block,
.content-page,
.admin-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 32px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-heading h2,
.split-section h2,
.panel h2,
.content-page h2,
.values h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.1;
}

.section-heading a {
    color: var(--teal);
    font-weight: 850;
    text-decoration: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.menu-card,
.message-card,
.values article,
.stats-grid article {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.menu-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.menu-card > div,
.message-card,
.values article,
.stats-grid article {
    padding: 20px;
}

.menu-card h3,
.message-card h3 {
    margin: 4px 0 8px;
    line-height: 1.15;
}

.menu-card p,
.message-card p,
.values p {
    color: var(--muted);
}

.category {
    margin: 0;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card-footer {
    justify-content: space-between;
    margin-top: 18px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 32px);
}

.split-section img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.split-section p {
    color: var(--muted);
}

.info-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    color: #fff;
    background: var(--ink);
}

.info-band div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 92px;
    padding: 24px clamp(18px, 4vw, 44px);
    background: #2b211d;
}

.info-band svg,
.contact-list svg,
.values svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex: 0 0 auto;
}

.page-hero {
    padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(25, 18, 14, 0.83), rgba(25, 18, 14, 0.46)),
        url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero.compact {
    min-height: 360px;
    display: grid;
    align-content: center;
}

.page-hero p {
    max-width: 700px;
}

.page-hero.booking {
    background:
        linear-gradient(90deg, rgba(25, 18, 14, 0.83), rgba(25, 18, 14, 0.46)),
        url("https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero.about {
    background:
        linear-gradient(90deg, rgba(25, 18, 14, 0.83), rgba(25, 18, 14, 0.42)),
        url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero.contact {
    background:
        linear-gradient(90deg, rgba(25, 18, 14, 0.83), rgba(25, 18, 14, 0.42)),
        url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.form-layout,
.contact-layout {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 32px);
}

.form-layout.narrow {
    max-width: 560px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.panel {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8c9bd;
    border-radius: 8px;
    color: var(--ink);
    background: #fffdf9;
    font: inherit;
}

textarea {
    resize: vertical;
}

.order-items {
    display: grid;
    gap: 12px;
}

.order-row {
    grid-template-columns: 76px minmax(0, 1fr) 86px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf9;
}

.order-row img {
    width: 76px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.order-row small {
    display: block;
    color: var(--muted);
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 750;
}

.notice p {
    margin: 0;
}

.notice p + p {
    margin-top: 5px;
}

.success {
    color: #0f4f3f;
    background: #e4f7ef;
    border: 1px solid #9bd9c1;
}

.error {
    color: #7b1d18;
    background: #fff0ed;
    border: 1px solid #efb4ab;
}

.map {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 8px;
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-list p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 32px);
}

.content-page {
    max-width: 820px;
    color: var(--muted);
}

.content-page h2 {
    color: var(--ink);
    margin-top: 30px;
}

.offer-pop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(20, 14, 12, 0.62);
    opacity: 1;
    visibility: visible;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.offer-pop.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.offer-pop-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1fr);
    width: min(880px, 100%);
    overflow: hidden;
    border-radius: 8px;
    background: #fffaf4;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.offer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.offer-close svg {
    width: 20px;
    height: 20px;
}

.offer-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 330px;
}

.offer-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-copy {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: clamp(24px, 5vw, 44px);
}

.offer-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    line-height: 1;
}

.offer-copy p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding: clamp(34px, 5vw, 60px) clamp(18px, 4vw, 56px);
    color: #fff;
    background: #211a17;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
}

.footer-grid h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.footer-grid p {
    margin: 0 0 6px;
    color: #d7cac0;
}

.admin-hero {
    min-height: 300px;
    background:
        linear-gradient(90deg, rgba(24, 31, 29, 0.9), rgba(24, 31, 29, 0.52)),
        url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.admin-top {
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 68px) clamp(18px, 4vw, 32px) 18px;
}

.admin-top h1 {
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 4rem);
}

.admin-top p {
    margin: 6px 0 0;
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px clamp(18px, 4vw, 32px) 18px;
}

.stats-grid article {
    box-shadow: none;
}

.stats-grid span {
    display: block;
    font-size: 2rem;
    font-weight: 950;
    color: var(--brand);
}

.stats-grid p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

td small {
    color: var(--muted);
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--teal);
}

.empty-state {
    padding: 26px;
    border: 1px dashed #d8c9bd;
    border-radius: 8px;
    color: var(--muted);
    background: #fffdf9;
}

.message-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 940px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .menu-grid,
    .values,
    .stats-grid,
    .info-band,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: static;
    }

    .site-nav a {
        padding: 8px 9px;
        font-size: 0.88rem;
    }

    .hero {
        min-height: 620px;
    }

    .menu-grid,
    .values,
    .stats-grid,
    .info-band,
    .contact-layout,
    .footer-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-row {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .order-row input {
        grid-column: 1 / -1;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .offer-pop-card {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 36px);
        overflow-y: auto;
    }

    .offer-images {
        min-height: 190px;
    }
}
