/* ================================================
   FORMULA 7 — ГЛОБАЛЬНЫЕ СТИЛИ
   ================================================ */

/* ===== CSS-ПЕРЕМЕННЫЕ ===== */
:root {
    --gold:         #c8a97e;
    --gold-light:   #d4b37e;
    --gold-bright:  #e0c090;
    --bg-base:      #111111;
    --bg-card:      #1a1a1a;
    --bg-input:     #111111;
    --bg-footer:    #0a0a0a;
    --border-dark:  #1a1a1a;
    --border-mid:   #2a2a2a;
    --border-light: #333333;
    --text-primary: #ffffff;
    --text-muted:   #888888;
    --text-body:    #cccccc;
    --text-dark:    #111111;
    --error:        #ff6b6b;
    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    12px;
    --transition:   0.3s ease;
    --shadow-card:  0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 10px 35px rgba(0, 0, 0, 0.6);
    --max-width:    1300px;
    --font-main:    'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --z-overlay:    998;
    --z-menu:       999;
}

/* ===== ШРИФТЫ ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./assets/fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./assets/fonts/inter-v20-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./assets/fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./assets/fonts/montserrat-v31-cyrillic_latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./assets/fonts/montserrat-v31-cyrillic_latin-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('./assets/fonts/montserrat-v31-cyrillic_latin-900.woff2') format('woff2');
}

/* ===== СБРОС И БАЗА ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== ДОСТУПНОСТЬ — ФОКУС ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.f7-antispam-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.f7-captcha {
    grid-column: span 2;
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: rgba(200, 169, 126, 0.06);
}

.f7-captcha label {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.4;
}

.f7-captcha input {
    max-width: 180px;
}


/* ================================================
   КНОПКИ (общие, переиспользуемые)
   ================================================ */

.btn-gold,
.btn-outline,
.btn-gold-card {
    display: inline-block;
    padding: 18px 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    cursor: pointer;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
}

.btn-gold {
    background: var(--gold);
    color: var(--text-dark) !important;
    border: 2px solid var(--gold);
}
.btn-gold:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--text-dark) !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold) !important;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--text-dark) !important;
}

.btn-gold-card {
    background: var(--gold);
    color: var(--text-dark) !important;
    padding: 13px 24px;
    border: 1px solid var(--gold);
    min-width: 265px;
    max-width: 100%;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-gold-card:hover {
    background: var(--text-primary);
    color: var(--text-dark) !important;
}

.btn-minimal {
    color: var(--gold);
    text-decoration: none;
    border: 1px solid rgba(200, 169, 126, 0.65);
    text-transform: uppercase;
    padding: 13px 24px;
    min-width: 265px;
    max-width: 100%;
    height: 50px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.btn-minimal:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* ===== ОБЩИЕ СТИЛИ ФОРМ ===== */
.form-field {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
    font-family: var(--font-main) !important;
    transition: border-color var(--transition);
}
.form-field:focus {
    border-color: var(--gold);
    outline: none;
}
.form-field-line  { height: 54px; padding: 0 15px; }
.form-field-area  { padding: 15px; resize: none; }


/* ================================================
   ГЛАВНАЯ СТРАНИЦА — HERO
   ================================================ */

.hero-section {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.65);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin: 0 0 20px;
    color: var(--text-primary);
    line-height: 1.1;
}
.hero-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold);
    margin-bottom: 60px;
    max-width: 800px;
    line-height: 1.6;
    font-weight: 400;
}
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ================================================
   ГЛАВНАЯ СТРАНИЦА — БРОНИРОВАНИЕ
   ================================================ */

.booking-section {
    width: 100%;
    padding: 100px 20px;
    background: var(--bg-base);
}
.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 60px;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}
.booking-container h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
}
.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
    font-family: var(--font-main) !important;
    transition: border-color var(--transition);
}
.booking-form input,
.booking-form select   { height: 54px; padding: 0 15px; line-height: 54px; }
.booking-form textarea { padding: 15px; grid-column: span 2; height: 120px; resize: none; }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus { border-color: var(--gold); outline: none; }

.booking-form select {
    grid-column: span 2;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23c8a97e%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 24px;
    cursor: pointer;
}
.booking-form select option { background: var(--bg-base); color: var(--text-primary); }

.booking-form button {
    grid-column: span 2;
    background: var(--gold);
    color: var(--text-dark);
    border: none;
    padding: 20px;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    width: 100%;
}
.booking-form button:hover { background: var(--text-primary); }


/* ================================================
   СТРАНИЦА МЕНЮ
   ================================================ */

.menu-page-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
}
.menu-page-container h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    margin: 0 0 60px;
}
.menu-cat-section { width: 100%; margin-bottom: 20px; }
.menu-cat-section h2 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(200, 169, 126, 0.5);
    margin-bottom: 0;
    padding-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    user-select: none;
    transition: color var(--transition), border-color var(--transition);
    overflow-wrap: anywhere;
}
.menu-cat-section h2:hover { color: var(--text-primary); border-color: var(--text-primary); }
.menu-cat-section h2::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition);
    margin-right: 10px;
    flex-shrink: 0;
}
.menu-cat-section h2.active { margin-bottom: 40px; border-color: var(--gold); }
.menu-cat-section h2.active::after { transform: rotate(-135deg); }

.menu-items-grid { display: none; gap: 30px; width: 100%; }
.menu-items-grid.active {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.menu-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.menu-item-card:hover {
    border-color: var(--gold);
    background: #222222;
    transform: translateY(-5px);
}
.menu-item-card h3 { color: var(--text-primary); margin: 0 0 15px; font-size: 1.3rem; overflow-wrap: anywhere; }
.card-description   { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin: 0 0 5px; flex-grow: 1; }
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}
.card-weight { color: var(--text-muted); font-size: 0.9rem; }
.card-price  { color: var(--gold); font-size: 1.4rem; font-weight: bold; }


/* ================================================
   СТРАНИЦА КОНТАКТОВ
   ================================================ */

.contacts-page-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
}
.contacts-page-container h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    margin: 0 0 60px;
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.feedback-page-container .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.contact-card:hover {
    border-color: var(--gold);
    background: #222222;
    transform: translateY(-5px);
}
.contact-card .icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.contact-card .icon svg        { width: 48px; height: 48px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-card .icon-filled svg { color: var(--gold); fill: currentColor; width: 32px; height: 32px; }
.contact-card h2 {
    color: var(--gold);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.contact-card p    { color: var(--text-body); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.contact-card a    { color: var(--gold) !important; text-decoration: none; font-weight: bold; overflow-wrap: anywhere; }

.map-container { width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-mid); }
.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
    filter: grayscale(80%) invert(90%) hue-rotate(180deg);
}


/* ================================================
   СТРАНИЦА О РЕСТОРАНЕ
   ================================================ */

.about-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
}
.about-hero { text-align: center; margin-bottom: 80px; }
.about-hero h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 20px;
}
.about-hero p {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-section { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.about-section:nth-child(even) { flex-direction: row-reverse; }
.about-text { flex: 1; }
.about-text h2 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(200, 169, 126, 0.3);
    padding-bottom: 15px;
    display: inline-block;
}
.about-text p { color: var(--text-body); font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }

.about-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-mid);
    position: relative;
}
.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.85);
}
.about-image:hover img { transform: scale(1.05); filter: brightness(1); }

.about-gallery-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 40px; }
.about-gallery-split .about-image img { height: 400px; }


/* ================================================
   БЛОК DUAL SERVICES (главная)
   ================================================ */

.dual-services {
    background: #000;
    padding: 60px 0;
}
.dual-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.service-card {
    flex: 1;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid rgba(200, 169, 126, 0.2);
    transition: border-color var(--transition);
}
.service-card:hover { border-color: rgba(200, 169, 126, 0.5); }

.ds-corner-tl,
.ds-corner-br {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 3;
    transition: opacity var(--transition);
}
.ds-corner-tl {
    top: 20px;
    left: 20px;
    border-top: 1px solid rgba(200, 169, 126, 0.5);
    border-left: 1px solid rgba(200, 169, 126, 0.5);
}
.ds-corner-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 1px solid rgba(200, 169, 126, 0.5);
    border-right: 1px solid rgba(200, 169, 126, 0.5);
}
.service-card:hover .ds-corner-tl,
.service-card:hover .ds-corner-br { opacity: 0.9; }

.ds-divider {
    width: 40px;
    height: 1px;
    background: rgba(200, 169, 126, 0.5);
    margin: 0 auto 20px;
    flex-shrink: 0;
}
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 36px;
    transition: background var(--transition);
}
.service-card:hover .card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.icon-wrap {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: var(--gold);
    border: 1px solid rgba(200, 169, 126, 0.55);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.35);
}
.icon-wrap svg { width: 34px; height: 34px; display: block; }

.dual-container h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 2px;
    margin: 0 0 12px;
    font-weight: bold;
}
.dual-container p {
    color: #bbbbbb;
    font-size: 1rem;
    margin: 0 0 18px;
    line-height: 1.4;
    height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-meta {
    height: 88px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.service-status {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.service-phones {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-phones a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 5px;
    transition: color var(--transition);
    overflow-wrap: anywhere;
}
.service-phones a:last-child { margin-bottom: 0; }
.service-phones a:hover { color: var(--gold); }


/* ================================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ
   ================================================ */

.legal-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    background: var(--bg-base);
}
.legal-content-area {
    flex: 1;
    padding: 80px 20px 120px;
    display: flex;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}
.legal-box {
    width: 100%;
    max-width: var(--max-width);
    background: var(--bg-card);
    padding: 60px;
    border: 1px solid #222222;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-heavy);
}
.legal-box h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 50px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.legal-box h2 {
    color: var(--gold);
    font-size: 1.55rem;
    margin: 50px 0 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(200, 169, 126, 0.15);
}
.legal-box p   { line-height: 1.75; margin-bottom: 1.4em; }
.legal-box a   { color: var(--gold-light); text-decoration: none; transition: color var(--transition); }
.legal-box a:hover { color: var(--text-primary); text-decoration: underline; }


/* ================================================
   ОБРАТНАЯ СВЯЗЬ
   ================================================ */

.fb-form-wrap {
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-md);
    padding: 60px;
    box-shadow: var(--shadow-card);
}
.fb-form-wrap h2 {
    color: var(--gold);
    text-align: center;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0 0 40px;
}
.fb-form     { display: flex; flex-direction: column; gap: 20px; }
.fb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.fb-form input,
.fb-form textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
    font-family: var(--font-main) !important;
    transition: border-color var(--transition);
}
.fb-form input          { height: 54px; padding: 0 15px; }
.fb-form textarea       { padding: 15px; height: 150px; resize: none; }
.fb-form input:focus,
.fb-form textarea:focus { border-color: var(--gold); outline: none; }

.fb-form button {
    background: var(--gold);
    color: var(--text-dark);
    border: none;
    padding: 20px;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    width: 100%;
}
.fb-form button:hover { background: var(--text-primary); }

.fb-success {
    color: var(--gold);
    text-align: center;
    border: 1px solid var(--gold);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}
.fb-error {
    color: var(--error);
    text-align: center;
    border: 1px solid var(--error);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}
.fb-error a { color: var(--error); }


/* ================================================
   ФУТЕР
   ================================================ */

.site-footer {
    background-color: var(--bg-footer);
    color: var(--text-muted);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-dark);
    font-size: 0.9rem;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px;
}
.footer-col h4 {
    color: var(--gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.footer-col p               { color: var(--text-muted); line-height: 1.7; margin: 0; }
.footer-col ul               { list-style: none; padding: 0; margin: 0; }
.footer-col ul li            { margin-bottom: 12px; }
.footer-col ul li a          { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-col ul li a:hover    { color: var(--text-primary); }

.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 30px 20px 0;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copy { font-size: 0.8rem; }


/* ================================================
   COOKIE CONSENT
   ================================================ */

.f7-cookie-consent {
    position: fixed;
    left: 22px;
    right: 92px;
    bottom: 22px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 760px;
    padding: 18px 20px;
    background: rgba(18, 18, 18, 0.96);
    border: 1px solid rgba(200, 169, 126, 0.36);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    color: var(--text-primary);
    border-radius: var(--radius-md);
}
.f7-cookie-consent[hidden] { display: none; }
.f7-cookie-consent__text {
    display: grid;
    gap: 5px;
    line-height: 1.45;
    font-size: 0.92rem;
}
.f7-cookie-consent__text strong {
    color: var(--gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.86rem;
}
.f7-cookie-consent__text span { color: var(--text-muted); }
.f7-cookie-consent__text a {
    color: var(--gold-light);
    text-decoration: none;
    width: max-content;
}
.f7-cookie-consent__text a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.f7-cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}
.f7-cookie-consent__button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: var(--text-dark);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.86rem;
    font-weight: 700;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.f7-cookie-consent__button:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
}
.f7-cookie-consent__button--ghost {
    background: transparent;
    color: var(--gold-light);
    border-color: rgba(200, 169, 126, 0.45);
}
.f7-cookie-consent__button--ghost:hover {
    background: rgba(200, 169, 126, 0.12);
    border-color: var(--gold);
    color: var(--text-primary);
}


/* ================================================
   НАВИГАЦИЯ — ОВЕРЛЕЙ И МОБИЛЬНОЕ МЕНЮ
   ================================================ */

#nav-overlay.active {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
    z-index: var(--z-overlay);
}

.mobile-menu-container,
.nav-menu {
    z-index: var(--z-menu);
}


/* ================================================
   АДАПТИВНОСТЬ
   ================================================ */

@media (max-width: 1024px) {
    .menu-items-grid.active { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 992px) {
    .about-section,
    .about-section:nth-child(even) { flex-direction: column; gap: 40px; }
    .about-image img               { height: 400px; }
    .about-gallery-split           { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-section                                      { height: 100svh; min-height: 560px; padding: 96px 20px 48px; }
    .hero-section h1                                  { font-size: 2.4rem; letter-spacing: 3px; }
    .hero-section p                                   { font-size: 1.05rem; margin-bottom: 36px; line-height: 1.5; }
    .menu-items-grid.active                              { grid-template-columns: 1fr !important; }
    .menu-page-container h1,
    .contacts-page-container h1                         {
        font-size: clamp(1.65rem, 7.5vw, 2.15rem);
        letter-spacing: 1.5px;
        line-height: 1.2;
        margin-bottom: 40px;
        overflow-wrap: anywhere;
    }
    .menu-page-container,
    .contacts-page-container                            { padding: 40px 20px; }
    .menu-cat-section h2                                { font-size: 1.5rem; }
    .contacts-grid                                      { grid-template-columns: 1fr; }
    .feedback-page-container .contacts-grid             { grid-template-columns: 1fr; }
    .about-hero h1                                      { font-size: 2.2rem; }
    .about-text h2                                      { font-size: 1.6rem; }
    .about-container                                    { padding: 40px 20px; }
    .hero-btns                                          { flex-direction: column; width: 100%; max-width: 320px; gap: 15px; }
    .hero-btns .btn-gold,
    .hero-btns .btn-outline,
    .hero-btns .btn-gold-card                          { width: 100%; padding-left: 18px; padding-right: 18px; }
    .booking-form                                       { grid-template-columns: 1fr; }
    .booking-form textarea,
    .booking-form select,
    .booking-form button                                { grid-column: span 1; }
    .f7-captcha                                         { grid-column: span 1; }
    .f7-captcha input                                   { max-width: 100%; }
    .booking-container                                  { padding: 40px 20px; }
    .footer-container                                   { grid-template-columns: 1fr 1fr; }
    .footer-bottom                                      { flex-direction: column; gap: 20px; text-align: center; }
    .legal-box                                          { padding: 40px 25px; }
    .legal-box h1                                       { font-size: clamp(1.35rem, 4.5vw, 1.75rem); letter-spacing: 0; }
    .f7-cookie-consent                                  { left: 18px; right: 18px; bottom: 86px; flex-direction: column; align-items: stretch; gap: 16px; }
    .f7-cookie-consent__actions                         { width: 100%; flex-direction: column-reverse; }
    .f7-cookie-consent__button                          { width: 100%; flex: 1 1 auto; padding-left: 12px; padding-right: 12px; }
    .fb-form-row                                        { grid-template-columns: 1fr; }
    .fb-form-wrap                                       { padding: 40px 20px; }
    .dual-container                                     { flex-direction: column; gap: 15px; }
    .service-card                                       { height: 430px; min-height: 430px; border-radius: var(--radius-md); }
    .card-overlay                                       { padding: 30px 20px; justify-content: center; }
    .dual-container h2                                  { font-size: 1.4rem; margin: 0 0 10px; }
    .dual-container p                                   { font-size: 0.9rem; margin: 0 0 14px; }
    .service-phones a                                   { font-size: 1.1rem; }
    .ds-corner-tl, .ds-corner-br                       { width: 14px; height: 14px; }
    .icon-wrap                                          { width: 48px; height: 48px; margin-bottom: 14px; }
    .service-page-wrapper .hero-section                 { min-height: 560px !important; height: 100svh !important; }
    .service-page-wrapper .menu-page-container          { padding-top: 70px !important; padding-bottom: 70px !important; }
}

@media (max-width: 480px) {
    .btn-gold,
    .btn-outline,
    .btn-gold-card,
    .btn-minimal                                        { padding: 15px 18px; font-size: 0.9rem; min-width: 0; width: 100%; }
    .booking-section                                    { padding: 70px 16px; }
    .booking-container,
    .fb-form-wrap,
    .contact-card                                       { padding: 32px 18px; }
    .booking-container h2,
    .fb-form-wrap h2                                    { font-size: 1.45rem; letter-spacing: 1px; }
    .service-card                                       { height: 420px; min-height: 420px; }
    .f7-cookie-consent                                  { padding: 16px; }
    .f7-cookie-consent__button                          { width: 100%; }
    .footer-container { grid-template-columns: 1fr; }
    .legal-box { padding: 36px 16px; }
    .legal-box h1 { font-size: clamp(1rem, 5vw, 1.35rem); letter-spacing: 0; }
}
