:root {
    --bg: #f4efe6;
    --paper: #fffdf9;
    --ink: #161311;
    --muted: #6f675f;
    --line: #e4dacb;
    --red: #e10600;
    --header: #0c0c0c;
    --gold: #e3c27a;
    --header-h: 118px;
    --shadow: 0 18px 50px rgba(22, 19, 17, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Sora", "Noto Sans", "Noto Sans Arabic", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
body:lang(ru) { font-family: "Noto Sans", sans-serif; }
body:lang(ar) { font-family: "Noto Sans Arabic", "Noto Sans", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, .hero-caption h2, .group-title {
    font-family: "Fraunces", "Noto Sans Arabic", "Noto Sans", serif;
    font-weight: 560;
    letter-spacing: -.03em;
    line-height: 1.15;
}
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ru) h1, :lang(ru) h2, :lang(ru) h3 {
    font-family: "Noto Sans Arabic", "Noto Sans", serif;
    letter-spacing: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--header);
    color: #fff;
    direction: ltr;
}
.header-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}
.logo img { height: 74px; width: auto; }
.logo-word { color: #fff; font-size: 1.4rem; text-decoration: none; }
.header-side { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lang-switch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 2px; }
.lang-switch a {
    color: #c8beb4;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 4px 8px;
    border-radius: 999px;
}
.lang-switch a.is-active { color: #fff; background: var(--red); }
.main-nav { display: flex; gap: 8px 22px; }
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}
.main-nav a.is-active, .main-nav a:hover { border-bottom-color: var(--red); }
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.2);
    background: transparent;
    border-radius: 12px;
    padding: 12px 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.hero {
    position: relative;
    height: calc(100vh - var(--header-h));
    min-height: 460px;
    background: #111;
    overflow: hidden;
    direction: ltr;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img, .slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.slide iframe { position: absolute; inset: 0; }
.slide-youtube { overflow: hidden; background: #000; }
.slide-youtube .yt-cover {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: #000;
}
.slide-youtube .yt-cover iframe {
    position: absolute;
    inset: auto;
    top: 50%;
    left: 50%;
    width: max(100%, 177.78vh);
    height: max(100%, 56.25vw);
    max-width: none;
    transform: translate(-50%, -50%) scale(1.35);
    border: 0;
    pointer-events: none;
}
.hero-caption {
    position: absolute;
    z-index: 2;
    left: 6%;
    right: 6%;
    bottom: 10%;
    text-align: center;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.hero-caption h2 { margin: 0; font-size: clamp(2.1rem, 5vw, 4.5rem); }
.hero-caption p { margin: 12px 0 0; font-size: clamp(1rem, 2vw, 1.35rem); }
.slide-text .hero-caption { top: 50%; bottom: auto; transform: translateY(-50%); }
.hero-arrow, .hero-dots button, .lb-close, .lb-prev, .lb-next, .slider-knob, .send-btn {
    cursor: pointer;
}
.hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(12,12,12,.55);
    color: #fff;
    font-size: 30px;
    line-height: 1;
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hero-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
}
.hero-dots button.is-active { background: #fff; }

.section { padding: 64px 0 80px; }
.section-head { margin-bottom: 28px; }
.section-head h2, .page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.section-head p, .page-hero p { margin: 8px 0 0; color: var(--muted); }
.page-hero {
    direction: ltr;
    color: #fff;
    padding: 54px 0;
    background:
        linear-gradient(90deg, rgba(12,12,12,.78), rgba(12,12,12,.35)),
        url("../../uploads/slides/slayt-1.jpg") center/cover no-repeat;
}
.page-hero h1, .page-hero p { text-shadow: 0 8px 24px rgba(0,0,0,.35); }
.page-hero p { color: #f3ece3; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.cat-card {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background: #1b140f;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.72));
}
.cat-card.is-shared::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wash);
    mix-blend-mode: multiply;
    z-index: 1;
}
.cat-card span {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 16px 16px;
    font-size: 1.2rem;
    font-weight: 650;
}

.menu-layout {
    direction: ltr;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}
.side { position: sticky; top: calc(var(--header-h) + 18px); }
.side-label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--ink);
}
.side-nav a.is-child { padding-left: 26px; color: var(--muted); font-size: .95rem; }
.side-nav a.is-active, .side-nav a:hover { background: #fff; color: var(--red); }
.group-title { margin: 8px 0 0; font-size: 1.8rem; }
.dish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.dish h3 { margin: 0 0 6px; font-size: 1.55rem; }
.ingredients { margin: 0; color: var(--muted); }
.ingredients span {
    display: inline-block;
    margin-inline-end: 6px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.price { margin: 10px 0 0; color: var(--red); font-weight: 700; font-size: 1.15rem; }
.dish-photo {
    width: 168px;
    height: 168px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
}
.dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.dish-photo.is-logo img { object-fit: contain; padding: 12px; }
.empty { color: var(--muted); }

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 36px;
    align-items: start;
}
.prose p { margin: 0 0 16px; font-size: 1.05rem; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photo {
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
    aspect-ratio: 1;
}
.about-photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.text-link { color: var(--red); font-weight: 700; }

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: start;
}
.contact-card, .form-card {
    background: var(--paper);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.contact-card { display: grid; gap: 22px; }
.info-label {
    margin: 0 0 4px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.contact-card p { margin: 0; }
.contact-card a { color: var(--ink); }
.form-card { display: grid; gap: 14px; position: relative; }
.form-card h2 { margin: 0 0 4px; }
.form-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form-card input, .form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--ink);
}
.form-card input:focus, .form-card textarea:focus {
    outline: 2px solid rgba(225, 6, 0, .25);
    border-color: var(--red);
}
.notice { margin: 0; padding: 12px 14px; border-radius: 12px; }
.notice-ok { background: #e8f6ec; color: #146233; }
.notice-err { background: #fde8e6; color: #9d1c14; }
.slider-captcha { direction: ltr; }
.slider-track {
    position: relative;
    height: 52px;
    border-radius: 999px;
    background: #efe7db;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}
.slider-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: #d9efe0;
}
.slider-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 14px;
    pointer-events: none;
}
.slider-knob {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 6px 16px rgba(225, 6, 0, .35);
}
.slider-knob::before { content: "››"; color: #fff; font-weight: 700; }
.slider-captcha.is-done .slider-knob { background: #1d8a45; }
.slider-captcha.is-done .slider-label { color: #146233; font-weight: 700; }
.send-btn {
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    min-height: 52px;
    font-weight: 700;
}
.send-btn:disabled { background: #c8bfb4; cursor: not-allowed; }

.site-footer { background: var(--header); color: #f4efe6; direction: ltr; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr;
    gap: 28px;
    padding: 42px 0 28px;
    align-items: start;
}
.footer-logo img { height: 72px; width: auto; }
.footer-links, .footer-social { display: grid; gap: 8px; justify-items: start; }
.footer-links p, .footer-social p {
    margin: 0 0 4px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; }
.social-row a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
}
.social-row svg { width: 20px; height: 20px; fill: currentColor; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0 22px; color: #b7aea4; font-size: 13px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8, 7, 6, .92);
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 86vh; margin: 0 auto; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
}
.lb-close { top: 12px; right: 18px; }
.lb-prev { left: 10px; top: 50%; }
.lb-next { right: 10px; top: 50%; }

@media (max-width: 980px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-layout, .about-layout, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
    .side { position: static; }
    .logo img { height: 58px; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .header-side {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111;
        padding: 12px 18px 20px;
        align-items: stretch;
    }
    .site-header.is-open .header-side { display: flex; }
    .main-nav { flex-direction: column; }
    .lang-switch { justify-content: flex-start; }
    .dish { grid-template-columns: 1fr; }
    .dish-photo { width: 100%; height: 220px; }
    .hero { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
