:root {
    --cream: #faf5ef;
    --terracotta: #c9572a;
    --terracotta-dark: #a24421;
    --olive: #556b2f;
    --olive-2: #3f5422;
    --ink: #1f1f1f;
    --graphite: #2a2a2a;
    --stone: #6b6b6b;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: min(1100px, 92%);
    margin-inline: auto;
}
img {
    max-width: 100%;
    display: block;

    height: auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Topbar */
.topbar {
    background: var(--ink);
    color: var(--white);
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

/* Header */
.header {
    position: relative;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    font-family: "Italiana", serif;
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    letter-spacing: 0.5px;
    color: var(--ink);
    text-decoration: none;
}
.logo--small {
    font-size: 1.4rem;
}

.nav__toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.nav__bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    border-radius: 2px;
}

/* Desktop nav */
.nav__menu {
    display: flex;
    gap: 22px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav__menu a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}
.nav__menu a:hover {
    color: var(--terracotta);
}
.btn {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition: 0.2s transform ease, 0.2s background ease, 0.2s box-shadow ease;
    white-space: nowrap;
}
.btn:hover {
    transform: translateY(-1px);
    background: var(--terracotta-dark);
}
.btn--ghost {
    background: transparent;
    border: 2px solid var(--terracotta);
    color: var(--terracotta);
}
.btn--ghost:hover {
    background: var(--terracotta);
    color: var(--white);
}
.btn--sm {
    padding: 8px 14px;
    font-size: 0.95rem;
}
.full {
    display: block;
    text-align: center;
}

/* Mobile nav panel */
@media (max-width: 900px) {
    .nav__toggle {
        display: block;
    }
    .nav__menu {
        position: fixed;
        inset: 64px 0 auto 0; /* ниже хедера */
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px 12px;
        z-index: 49;
    }
    .nav__menu.open {
        display: flex;
    }
    .nav__menu li {
        width: 100%;
    }
    .nav__menu a {
        display: block;
        padding: 14px 10px;
        border-radius: 12px;
    }
}

@media (max-width: 900px) {
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: fixed;
        inset: 64px 0 auto 0; /* ниже хедера */
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 8px 12px;
        z-index: 49;

        /* анимация */
        overflow: hidden;
        max-height: 0; /* закрыто */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 240ms ease, visibility 0s linear 360ms; /* скрыть клики после схлопывания */
    }

    .nav__menu.open {
        max-height: var(--menuH, 480px); /* вычисляем высоту из JS */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: max-height 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 240ms ease;
    }

    .nav__menu li {
        width: 100%;
    }
    .nav__menu a {
        display: block;
        padding: 14px 10px;
        border-radius: 12px;
    }
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .nav__menu {
        transition: none;
    }
    .nav__menu.open {
        transition: none;
    }
}

/* Hero */
.hero {
    display: flex;
    position: relative;
    overflow: hidden;
    height: 60vh;
    text-align: center;
    place-items: center;

    background: linear-gradient(
        0deg,
        rgba(20, 15, 12, 0.363),
        rgba(41, 32, 22, 0.384)
    );
}
.hero__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    inset: 0px;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("images/hero-oven.jpg") center/cover no-repeat;
}
.hero__content {
    padding: auto auto;
    color: #fff;
    text-align: center;
}
.hero__title {
    font-family: "Italiana", serif;
    letter-spacing: 0.5px;
    font-size: clamp(1.9rem, 6.5vw, 4rem);
    margin: 0 0 12px;
}
.hero__subtitle {
    font-family: "Playfair Display", serif;
    font-size: clamp(1rem, 3.8vw, 1.4rem);
    max-width: min(820px, 92%);
    margin: 0 auto 22px;
    opacity: 0.95;
}
.hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__cta .btn {
    width: auto;
}
.hero__badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}
.hero__badges span {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.9rem;
    opacity: 0.9;
}
.divider {
    height: 14px;
    background: linear-gradient(90deg, var(--terracotta), var(--olive));
    opacity: 0.9;
}
.divider--olive {
    background: linear-gradient(90deg, var(--olive), var(--terracotta));
}

/* Sections */
.section {
    padding: clamp(48px, 8vw, 72px) 0;
}
.section--cream {
    background: var(--cream);
}
.section--olive {
    background: linear-gradient(180deg, #f7f9f3, #eef3e6);
}
.section__title {
    font-family: "Italiana", serif;
    font-size: clamp(1.4rem, 4.6vw, 2.2rem);
    margin: 0 0 18px;
    color: var(--olive-2);
    letter-spacing: 0.5px;
}
.kicker {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--terracotta);
    margin: 0 0 10px;
}

/* Layout helpers */
.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 28px;
}
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 900px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Cards & photo */
.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}
.photo-card {
    padding: 0;
    overflow: hidden;
    position: relative;
}
.photo-card img {
    width: 100%;
    height: 100%;
    display: block;
}
.photo-card__caption {
    position: absolute;
    inset: auto 12px 12px auto;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Lists */
.list {
    padding-left: 18px;
    margin: 12px 0;
}
.list--ticks {
    list-style: none;
    padding: 0;
}
.list--ticks li {
    position: relative;
    padding-left: 24px;
    margin: 8px 0;
}
.list--ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--olive);
    font-weight: 700;
}

.muted {
    color: var(--ink);
}
.small {
    font-size: 0.95rem;
}

/* Menu */
.menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .menu {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .menu {
        grid-template-columns: 1fr;
    }
}

.menu__group {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 18px 8px;
}
.menu__heading {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    margin: 0 0 10px;
    color: var(--terracotta);
}
.menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu__row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.menu__name {
    font-weight: 700;
    font-size: clamp(1rem, 2.8vw, 1.05rem);
}
.menu__dots {
    flex: 1;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.menu__price {
    font-weight: 800;
    color: var(--olive);
}
.menu__desc {
    margin: 6px 0 12px;
    color: var(--stone);
    font-size: clamp(0.95rem, 2.6vw, 1rem);
}
.menu__note {
    margin-top: 16px;
    text-align: center;
    color: var(--stone);
}

/* Specials */
.price-tag {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 6px 0 12px;
    flex-wrap: wrap;
}
.price-tag__big {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 800;
    color: var(--terracotta);
    font-family: "Playfair Display", serif;
}
.price-tag__note {
    color: var(--ink);
}

/* Gallery */
.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
}
.gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}
.gallery img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
}
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reviews */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 1024px) {
    .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .reviews {
        grid-template-columns: 1fr;
    }
}
.review {
    margin: 0;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: "Playfair Display", serif;
    font-size: clamp(1rem, 3.2vw, 1.05rem);
}
.review footer {
    margin-top: 8px;
    color: var(--stone);
    font-family: Inter, sans-serif;
}

/* Form & Contact */
.form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (max-width: 700px) {
    .form {
        grid-template-columns: 1fr;
    }
}
.form__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form input,
.form select {
    padding: 12px 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    font: inherit;
    width: 100%;
}
.form button {
    grid-column: 1/-1;
    margin-top: 6px;
}
#reserveMsg {
    margin: 6px 0 0;
}

.contact {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
}

.contact__list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}
.contact__list a {
    color: var(--terracotta);
    text-decoration: none;
}
.contact__list a:hover {
    text-decoration: underline;
}

.contact .btn {
    font-size: 13.33px;
    line-height: normal;
    margin-top: 32px;
}

.hours {
    display: grid;
    gap: 6px;
    margin-top: auto;
}

.hours div {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Map */
.map-embed {
    height: 360px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #e9eedf;
    display: grid;
    place-items: center;
}
.map-embed__placeholder {
    color: var(--olive-2);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer {
    background: var(--graphite);
    color: #ddd;
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dop ul {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
}

blockquote {
    margin: 0;
}

.dop ul a {
    color: #fff;
}

.footer__brand .logo {
    color: #fff;
    font-weight: 700;
}

.footer .socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer .socials a {
    color: #ddd;
    transition: color 0.25s ease;
}

.footer .socials a:hover {
    color: var(--terracotta); /* или оливковый: var(--olive) */
}

.footer__legal {
    font-size: 0.9rem;
    color: #aaa;
}

/* Mobile column layout */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer .socials {
        justify-content: center;
    }

    .footer__legal {
        margin-top: 12px;
    }

    .dop ul {
        align-items: center;
        justify-content: center;
    }

    footer p {
        text-align: center;
    }
}

/* Focus */
a {
    outline: none;
}

input:focus,
select:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

a:focus,
button:focus {
    outline: none;
    background-color: transparent;
}

/* Extra tiny tweaks */
@media (max-width: 480px) {
    .topbar {
        display: none;
    } /* экономим вертикаль */
    .hero__cta .btn {
        width: 100%;
    } /* кнопки в столбец */

    .contact .btn {
        margin-top: 32px;
    }
}

/* Socials */
.socials {
    position: relative;
    text-align: center;
    overflow: hidden;
}
.socials__subtitle {
    margin: 0 auto 32px;
    max-width: 520px;
    color: var(--stone);
    font-size: clamp(0.95rem, 2.6vw, 1.1rem);
}

.socials__wrap {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.socials__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}
.socials__item:hover {
    background: var(--terracotta);
    color: #fff;
    transform: translateY(-3px);
}
.socials__item i {
    font-size: 1.2rem;
}

a {
    text-decoration: none;
}

/* Decorative olive branch shapes */
.socials__decor {
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(
        circle at 30% 30%,
        var(--olive) 0%,
        transparent 70%
    );
    opacity: 0.15;
    transform: rotate(25deg);
}
.socials__decor--left {
    top: -40px;
    left: -60px;
}
.socials__decor--right {
    bottom: -40px;
    right: -60px;
    transform: rotate(-25deg);
}

.hint {
    color: var(--stone);
    font-size: 0.9rem;
    margin-top: 4px;
}

/*   НАСТРОЙКА SCROLL-BAR   */
::-webkit-scrollbar {
    width: 0.4em;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 100vw;
    margin: 10px 0;
}

::-webkit-scrollbar-thumb {
    border-radius: 100vw;
    background-color: var(--terracotta);
}

::-webkit-scrollbar-thumb:active {
    background-color: #fff;
}

.left ul {
    padding: 0;
    list-style: none;
}

.left section {
    padding-bottom: 40px;
}

.left h1 {
    margin-bottom: 30px;
}
.left a {
    color: #000;
    font-weight: 600;
}
.partners {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners img {
    width: 150px;
}
