:root{
    --bg:#F4F2EC;
    --bg-soft:#E9EBE1;
    --card:#FFFFFF;
    --text:#3F3C39;
    --muted:#6E6A66;
    --green:#35552F;
    --green-dark:#284225;
    --green-soft:#D9DCCF;
    --orange:#F36A21;
    --orange-dark:#D95C1B;
    --border:#D8D5CF;
    --shadow:0 10px 30px rgba(26,26,26,.08);
    --radius:20px;
    --radius-sm:14px;
    --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.5;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}

.container{
    width:min(calc(100% - 32px), var(--container));
    margin:0 auto;
}

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(10px);
    background:rgba(244,242,236,.88);
    border-bottom:1px solid rgba(0,0,0,.06);
}
.header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:76px;
}
.brand{display:flex;align-items:center}
.brand-logo{height:42px;width:auto}
.brand-text{
    font-size:30px;
    font-weight:800;
    color:var(--green);
    letter-spacing:.02em;
}
.main-nav{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}
.main-nav a{
    color:var(--muted);
    font-weight:600;
}
.main-nav a:hover{color:var(--green)}
.header-phone{
    font-weight:700;
    white-space:nowrap;
}

.flash{
    margin-top:16px;
    padding:14px 18px;
    border-radius:14px;
}
.flash-success{background:#e5f4e7;color:#214d2a}
.flash-error{background:#fdeaea;color:#7c2323}

.hero{
    padding:44px 0 36px;
}
.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:32px;
    align-items:center;
}
.hero-content h1{
    margin:.2rem 0 1rem;
    font-size:clamp(40px, 7vw, 72px);
    line-height:1.02;
}
.eyebrow{
    margin:0 0 8px;
    color:var(--orange);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:12px;
}
.hero-text{
    font-size:18px;
    color:var(--muted);
    max-width:650px;
}
.hero-meta{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin:24px 0;
}
.meta-item{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    padding:16px;
}
.meta-label{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin-bottom:4px;
}
.hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 18px;
    border:none;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
    background:var(--green);
    color:#fff;
    box-shadow:var(--shadow);
}
.btn-primary:hover{background:var(--green-dark)}
.btn-secondary{
    background:#fff;
    color:var(--text);
    border:1px solid var(--border);
}
.btn-secondary:hover{
    border-color:var(--orange);
    color:var(--orange);
}
.btn-outline{
    background:transparent;
    color:var(--green);
    border:1px solid var(--green);
}
.btn-outline:hover{
    background:var(--green);
    color:#fff;
}
.btn-accent{
    background:var(--orange);
    color:#fff;
}
.btn-accent:hover{background:var(--orange-dark)}
.btn-block{width:100%}

.hero-visual{
    min-height:420px;
    border-radius:28px;
    overflow:hidden;
    background:var(--green-soft);
    box-shadow:var(--shadow);
}
.hero-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.hero-placeholder{
    min-height:420px;
    display:grid;
    place-items:center;
    padding:30px;
    background:linear-gradient(135deg, var(--green-soft), #cfd4c1);
    color:var(--green-dark);
    font-size:24px;
    font-weight:700;
    text-align:center;
}

.section{padding:72px 0}
.section-soft{background:var(--bg-soft)}
.section-head{
    margin-bottom:28px;
}
.section-head h2{
    margin:0;
    font-size:clamp(28px, 5vw, 46px);
    line-height:1.08;
}
.section-head-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.cards-grid{
    display:grid;
    gap:20px;
}
.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.advantage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

.card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:22px;
}
.offer-card h3,.advantage-card h3,.dish-card h4{
    margin:0 0 10px;
}
.offer-dates{
    margin-top:12px;
    color:var(--muted);
    font-size:14px;
}
.adv-icon{
    width:52px;
    height:52px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:var(--green-soft);
    font-size:24px;
    margin-bottom:14px;
}

.menu-chips{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:20px;
}
.menu-chip{
    padding:10px 16px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--border);
    color:var(--text);
    font-weight:600;
}
.menu-chip:hover{border-color:var(--green);color:var(--green)}

.menu-category-block + .menu-category-block{margin-top:42px}
.menu-category-head{
    margin-bottom:18px;
}
.menu-category-head h3{
    margin:0 0 6px;
    font-size:28px;
}
.menu-category-head p{margin:0;color:var(--muted)}

.dish-card{padding:0;overflow:hidden}
.dish-image-wrap{
    aspect-ratio:4/3;
    background:var(--green-soft);
}
.dish-image-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.dish-placeholder,
.gallery-placeholder{
    width:100%;
    height:100%;
    min-height:200px;
    display:grid;
    place-items:center;
    color:var(--green-dark);
    background:var(--green-soft);
}
.dish-body{padding:18px}
.dish-top{
    display:flex;
    justify-content:space-between;
    gap:10px;
    align-items:flex-start;
}
.dish-price{
    white-space:nowrap;
    font-weight:800;
    color:var(--green);
}
.dish-desc{
    color:var(--muted);
    margin:10px 0 12px;
}
.dish-meta{
    font-size:14px;
    color:var(--muted);
}
.tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.tag{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 10px;
    background:#f2f4ee;
    border-radius:999px;
    font-size:13px;
    color:var(--green-dark);
}

.gallery-card{
    margin:0;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
}
.gallery-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
}
.gallery-card figcaption{
    padding:14px 16px;
    color:var(--muted);
}

.contacts-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    align-items:start;
}
.contact-list{
    display:grid;
    gap:18px;
    margin-bottom:24px;
}
.contact-item strong{
    display:block;
    margin-bottom:6px;
}
.contact-item p{
    margin:0;
    color:var(--muted);
}
.map-wrap{
    overflow:hidden;
    border-radius:24px;
    background:#fff;
    min-height:360px;
    box-shadow:var(--shadow);
}
.map-wrap iframe,
.map-wrap .map-placeholder{
    width:100%;
    height:360px;
    border:0;
}
.map-placeholder{
    display:grid;
    place-items:center;
    color:var(--muted);
}

.site-footer{
    padding:28px 0 40px;
    border-top:1px solid rgba(0,0,0,.06);
}
.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}
.footer-inner p{
    margin:6px 0 0;
    color:var(--muted);
}

.modal{
    position:fixed;
    inset:0;
    display:none;
    z-index:100;
}
.modal.is-open{display:block}
.modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}
.modal-dialog{
    position:relative;
    max-width:620px;
    margin:6vh auto;
    background:#fff;
    border-radius:24px;
    padding:24px;
    box-shadow:var(--shadow);
    width:min(calc(100% - 24px), 620px);
}
.modal-close{
    position:absolute;
    right:16px;
    top:12px;
    border:none;
    background:none;
    font-size:32px;
    cursor:pointer;
}
.booking-form{
    display:grid;
    gap:14px;
}
.booking-form label{
    display:grid;
    gap:8px;
}
.booking-form input,
.booking-form textarea,
.booking-form select{
    min-height:48px;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid var(--border);
    background:#fff;
}
.booking-form textarea{min-height:120px;resize:vertical}
.form-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.form-note,.empty-note{
    color:var(--muted);
}
.hp-field{
    position:absolute !important;
    left:-9999px !important;
    opacity:0 !important;
}

@media (max-width: 980px){
    .hero-grid,
    .contacts-grid,
    .offers-grid,
    .advantage-grid,
    .menu-grid,
    .gallery-grid{
        grid-template-columns:1fr;
    }
    .main-nav{display:none}
}

@media (max-width: 640px){
    .header-row{
        min-height:68px;
        gap:12px;
    }
    .header-phone{font-size:14px}
    .hero-meta,
    .form-row{
        grid-template-columns:1fr;
    }
    .hero{padding-top:24px}
    .section{padding:56px 0}
}
