/* ============================================
   Тортугас — паб на Рязанском
   Main Stylesheet — Full Version
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black:        #0D0D0D;
    --marble:       #1A1A1A;
    --marble-card:  #1C1C1C;
    --gold:         #C9A84C;
    --gold-light:   #E8C97A;
    --gold-muted:   rgba(201,168,76,0.3);
    --cream:        #F5F0E8;
    --text-muted:   rgba(245,240,232,0.7);
    --font-serif:   'Playfair Display', Georgia, serif;
    --font-italic:  'Cormorant Garamond', Georgia, serif;
    --font-sans:    'Inter', system-ui, sans-serif;
    --transition:   0.4s cubic-bezier(0.4,0,0.2,1);
    --radius:       2px;
    --navbar-h:     80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--black);
    color: var(--cream);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

::-webkit-scrollbar            { width: 14px; height: 14px; }
::-webkit-scrollbar-track      { background: var(--marble); border-left: 1px solid var(--gold-muted); }
::-webkit-scrollbar-thumb      { background: var(--gold); border-radius: 7px; border: 3px solid var(--marble); }
::-webkit-scrollbar-thumb:hover{ background: var(--gold-light); border-color: var(--marble); }
::-webkit-scrollbar-corner     { background: var(--marble); }

/* Firefox */
html {
    scrollbar-width: auto;
    scrollbar-color: var(--gold) var(--marble);
}

/* === ACCESSIBILITY === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    background: var(--gold);
    color: var(--black);
    padding: 12px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

em {
    font-family: var(--font-italic);
    font-style: italic;
    color: var(--gold);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

/* === UTILITY === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hidden { display: none !important; }

/* Screen-reader-only content (WCAG 1.3.1) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.visually-hidden:focus,
.visually-hidden:active {
    position: static !important;
    width: auto; height: auto;
    margin: 0; padding: 8px 12px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--gold);
    color: var(--black);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--cream);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

section[id] {
    scroll-margin-top: calc(var(--navbar-h) + 24px);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn--primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 30px rgba(201,168,76,0.35);
    color: var(--black);
}

.btn--outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn--outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    z-index: -1;
}

.btn--outline:hover::before { transform: scaleX(1); }
.btn--outline:hover          { color: var(--black); }

.btn--full { width: 100%; }

.btn--sm {
    padding: 10px 24px;
    font-size: 0.72rem;
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================
   COOKIE POPUP
   ========================================== */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 860px;
    background: var(--marble);
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
    padding: 24px 32px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8),
                0 0 0 1px rgba(201,168,76,0.05);
    transition: opacity var(--transition), transform var(--transition);
}

.cookie-popup.cookie-popup--hiding {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.cookie-popup__icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.cookie-popup__text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.cookie-popup__title {
    display: block;
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 4px;
}

.cookie-popup__text a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-popup__text a:hover { color: var(--gold-light); }

.cookie-popup__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-popup__accept {
    padding: 10px 28px;
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.cookie-popup__accept:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 20px rgba(201,168,76,0.3);
}

.cookie-popup__decline {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(245,240,232,0.15);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.cookie-popup__decline:hover {
    color: var(--cream);
    border-color: rgba(245,240,232,0.35);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 40px;
    transition: background var(--transition),
                border-color var(--transition),
                padding var(--transition);
}

.navbar.scrolled {
    background: rgba(13,13,13,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-muted);
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Logo */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.navbar__logo:hover .navbar__logo-img {
    transform: rotate(8deg) scale(1.05);
    opacity: 0.85;
}

.navbar__name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    letter-spacing: 0.3em;
    color: var(--cream);
    transition: color var(--transition);
}

.navbar__logo:hover .navbar__name { color: var(--gold); }

/* Links */
.navbar__links {
    display: flex;
    list-style: none;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.navbar__links a {
    font-size: 0.73rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.navbar__links a:hover      { color: var(--cream); }
.navbar__links a:hover::after { width: 100%; }
.navbar__links a.active       { color: var(--gold); }
.navbar__links a.active::after { width: 100%; }

/* Time Toggle */
.navbar__toggle-wrap { flex-shrink: 0; }

.toggle-icon { font-size: 0.95rem; }

/* Burger */
.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.navbar__burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--cream);
    transition: all var(--transition);
    transform-origin: center;
}

.navbar__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(13,13,13,0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
    padding: 8px 20px;
    display: block;
}

.mobile-link:hover { color: var(--gold); }

.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color var(--transition);
    padding: 8px;
    line-height: 1;
}

.mobile-menu__close:hover { color: var(--cream); }

/* ==========================================
   HERO BLOCK
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: clamp(140px, 18vh, 280px);
    padding-bottom: 110px;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.9s ease;
    will-change: opacity;
}

.hero__image--day {
    background-color: #1a1208;
    opacity: 1 !important;
    /* Daytime: bright, warm, appetising. !important to prevent
       JS-driven mode-evening from hiding the only hero image on mobile. */
    filter: brightness(1.0) saturate(1.05);
}

/* mode-evening rules removed — single hero image, always visible */

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13,13,13,0.82) 0%,
        rgba(13,13,13,0.5)  55%,
        rgba(13,13,13,0.15) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 0 80px;
    max-width: 720px;
    width: 100%;
    animation: heroFadeIn 1.3s ease forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 36px;
    display: block;
}

.hero__title {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.08;
    margin-bottom: 28px;
    color: var(--cream);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.9;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero__divider {
    color: var(--gold);
    font-size: 0.55rem;
    opacity: 0.7;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    z-index: 1;
    animation: heroFadeIn 1.8s ease forwards;
}

.hero__scroll-line {
    width: 56px;
    height: 1px;
    background: var(--gold);
    animation: scrollPulse 2.2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { width: 56px; opacity: 1; }
    50%       { width: 88px; opacity: 0.4; }
}

/* ==========================================
   MENU SECTION
   ========================================== */
.menu-section {
    padding: 100px 0;
    background: var(--marble);
    position: relative;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.menu-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-muted), transparent);
}

/* Menu Grid */
.menu-grid {
    animation: menuFade 0.5s ease;
}

@keyframes menuFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.menu-grid__label {
    text-align: center;
    font-family: var(--font-italic);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

.menu-grid__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

/* Menu Card */
.menu-card {
    background: var(--marble-card);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    border-color: rgba(201,168,76,0.45);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5),
                0 0 0 1px rgba(201,168,76,0.08);
    transform: translateY(-6px);
}

.menu-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.menu-card[data-dish] {
    cursor: pointer;
}

.menu-card__image {
    height: 180px;
    overflow: hidden;
    background: var(--marble);
}

.menu-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.menu-card:hover .menu-card__image img {
    transform: scale(1.06);
}

.menu-card__body {
    padding: 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-card__tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    opacity: 0.85;
}

.menu-card__name {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--cream);
    line-height: 1.3;
}

.menu-card__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.65;
    flex: 1;
}

.menu-card__price {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold);
}

.menu-grid__cta {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Beer Teaser */
.beer-teaser {
    margin-top: 48px;
    padding: 28px 36px;
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
    background: rgba(201,168,76,0.03);
    transition: all var(--transition);
}

.beer-teaser:hover {
    border-color: rgba(201,168,76,0.5);
    background: rgba(201,168,76,0.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.beer-teaser__inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.beer-teaser__img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--gold-muted);
}

.beer-teaser__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.beer-teaser__content { flex: 1; min-width: 0; }

.beer-teaser__title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--cream);
    margin-bottom: 6px;
    line-height: 1.45;
}

.beer-teaser__sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews-section {
    padding: 100px 0;
    background: var(--marble);
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.reviews-stars {
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 0.25em;
    margin-bottom: 10px;
    display: block;
}

.reviews-rating {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 64px;
    letter-spacing: 0.04em;
}

.reviews-with-photo {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.reviews-photo {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gold-muted);
    aspect-ratio: 4/5;
}

.reviews-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.1) brightness(0.88);
    transition: transform 0.8s ease;
}

.reviews-photo:hover img { transform: scale(1.03); }

.reviews-slider-wrap { flex: 1; }

.reviews-slider {
    min-height: 160px;
    position: relative;
    margin-bottom: 36px;
}

.review-slide {
    display: none;
    animation: reviewFade 0.6s ease;
}

.review-slide.active { display: block; }

@keyframes reviewFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.review-text {
    font-family: var(--font-italic);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-style: italic;
    color: var(--cream);
    line-height: 1.75;
    margin-bottom: 28px;
}

.review-author {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.12em;
}

.reviews-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.reviews-dot {
    /* FIX PageSpeed: touch targets were 6px — too small for mobile.
       WCAG 2.5.5 requires ≥44x44px. We enlarge the clickable area
       via padding+box-sizing but visually keep the small dot look
       using background-origin: content-box. */
    width: 44px;
    height: 44px;
    padding: 18px;
    box-sizing: content-box;
    border: none;
    cursor: pointer;
    background-clip: content-box;
    background-color: transparent;
    background-origin: content-box;
    border-radius: 50%;
    transition: all var(--transition);
    position: relative;
}

.reviews-dot::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(201,168,76,0.35);
    transition: all var(--transition);
}

.reviews-dot.active::after {
    background: var(--gold);
    transform: translate(-50%, -50%) scale(1.5);
}

.reviews-dot:hover:not(.active)::after {
    background: rgba(201,168,76,0.65);
}

.reviews-dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ==========================================
   BOOKING SECTION — REMOVED
   (раздел бронирования удалён по запросу — 
    внешние сервисы бронирования больше не используются)
   ========================================== */

/* Empty placeholder — kept to preserve file structure */

/* ==========================================
   CONTACTS SECTION
   ========================================== */
.contacts-section {
    padding: 100px 0;
    background: var(--marble);
    position: relative;
}

.contacts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.contacts-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 48px;
    color: var(--cream);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.contact-item__icon { font-size: 1.2rem; margin-top: 1px; flex-shrink: 0; }

.contact-item__label {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.contact-item__value {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-item__value a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.contact-item__value a:hover { color: var(--gold); }

.contacts-social {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-link {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition);
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.social-link:hover          { color: var(--gold); }
.social-link:hover::after   { width: 100%; }

/* ==========================================
   MAPS — Yandex + 2GIS with black-marble overlay
   ========================================== */
.contacts-map {
    height: auto;
    min-height: 520px;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr;  /* 2GIS removed — single Yandex map */
    gap: 16px;
    width: 100%;
    height: 520px;
}

.map-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
    background: var(--marble-card);
    transition: border-color var(--transition);
}

.map-card:hover { border-color: rgba(201,168,76,0.5); }

.map-card__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* Slight desaturation + darken to harmonize with the dark theme
       before the overlay is applied. */
    filter: saturate(0.75) brightness(0.85) contrast(0.95);
}

/* The black-marble sticker that sits on top of the map iframe.
   mix-blend-mode: multiply lets the map show through while
   pushing the whole image toward the dark marble palette. */
.map-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(13,13,13,0.55) 0%,
            rgba(26,26,26,0.40) 50%,
            rgba(13,13,13,0.55) 100%),
        radial-gradient(ellipse at 30% 20%,
            rgba(201,168,76,0.06) 0%, transparent 60%);
    pointer-events: none;       /* let clicks pass through to the iframe */
    z-index: 2;
    mix-blend-mode: multiply;
    transition: opacity var(--transition);
}

/* Optional stronger marble variant for 2GIS (which tends to be brighter) */
.map-card__overlay--marble {
    background:
        linear-gradient(135deg,
            rgba(13,13,13,0.65) 0%,
            rgba(26,26,26,0.50) 50%,
            rgba(13,13,13,0.65) 100%),
        radial-gradient(ellipse at 70% 80%,
            rgba(201,168,76,0.05) 0%, transparent 60%);
}

.map-card:hover .map-card__overlay { opacity: 0.55; }

/* Floating badge sticker — top-left corner of each map card */
.map-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
    background: rgba(13,13,13,0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--gold-muted);
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

.map-card__badge-title {
    font-family: var(--font-serif);
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
}

.map-card__badge-sub {
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    line-height: 1.3;
}

/* ==========================================
   AEO SUMMARY
   ========================================== */
.aeo-summary {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--marble-card);
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
}
.aeo-summary__title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}
.aeo-summary__text {
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.85;
}
.aeo-summary__text strong {
    color: var(--gold);
    font-weight: 500;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: 100px 0;
    background: var(--marble);
}
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-muted), transparent);
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 4px 0;
}
.faq-item summary {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--cream);
    cursor: pointer;
    padding: 24px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 300;
    transition: transform var(--transition);
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item summary:hover {
    color: var(--gold);
}
.faq-item__answer {
    padding: 0 0 24px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
}

/* ==========================================
   FOOTER INFO — prep time + alcohol warning
   ========================================== */
.footer__info {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    text-align: center;
}

.footer__prep {
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer__alcohol {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .footer__info { padding: 0 20px 32px; margin-bottom: 32px; }
    .footer__alcohol { font-size: 0.68rem; }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--black);
    border-top: 1px solid var(--gold-muted);
    padding: 80px 0 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 320px;
}

.footer__logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    opacity: 0.85;
}

.footer__name {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.28em;
    color: var(--cream);
    margin-bottom: 10px;
}

.footer__tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.footer__links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 140px;
}

.footer__col-title {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.footer__col a {
    font-size: 0.84rem;
    color: var(--text-muted);
    transition: color var(--transition);
    line-height: 1.4;
}

.footer__col a:hover { color: var(--gold); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* FIX PageSpeed color contrast: previous rgba opacity 0.28 was unreadable.
   Bumped to 0.55 — minimum 4.5:1 ratio for cream-on-black text. */
.footer__copy {
    font-size: 0.78rem;
    color: rgba(245,240,232,0.55);
}

.footer__motto {
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 0.88rem;
    color: rgba(201,168,76,0.65);
}

/* ==========================================
   RESPONSIVE — 1280px
   ========================================== */
@media (max-width: 1280px) {
    .navbar__links { gap: 22px; }
    .navbar__links a { font-size: 0.7rem; }
}

/* ==========================================
   RESPONSIVE — 1024px
   ========================================== */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }

    .navbar { padding: 16px 24px; }
    .navbar.scrolled { padding: 12px 24px; }
    .navbar__links { display: none; }
    .navbar__toggle-wrap { display: none; }
    .navbar__burger { display: flex; }

    .hero { padding-top: clamp(120px, 15vh, 200px); padding-bottom: 90px; }
    .hero__content { padding: 0 40px; max-width: 100%; }
    .hero__scroll-hint { left: 40px; }

    .menu-section { padding: 72px 0; }
    .menu-grid__items { grid-template-columns: repeat(2, 1fr); }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contacts-map { min-height: 360px; }
    .maps-grid { height: 360px; }

    .footer__top { flex-direction: column; gap: 40px; }
    .footer__brand { max-width: 100%; }
    .footer__links { gap: 40px; }

    .reviews-with-photo {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reviews-photo {
        aspect-ratio: 16/7;
        max-height: 220px;
    }

    .beer-teaser__img { width: 60px; height: 60px; }
}

/* ==========================================
   RESPONSIVE — 768px
   ========================================== */
@media (max-width: 768px) {
    :root { --navbar-h: 64px; }

    .navbar { padding: 14px 20px; }
    .navbar.scrolled { padding: 10px 20px; }
    .navbar__name { font-size: 0.95rem; }
    .navbar__logo-img { width: 34px; height: 34px; }

    .hero { min-height: 100svh; padding-top: clamp(110px, 14vh, 160px); padding-bottom: 70px; }
    .hero__content { padding: 0 20px; padding-top: 0; }
    .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero__actions { flex-direction: column; gap: 12px; }
    .hero__actions .btn { width: 100%; }
    .hero__meta { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 0; }
    .hero__divider { display: none; }
    .hero__scroll-hint { display: none; }

    .menu-grid__items { grid-template-columns: 1fr; }

    .beer-teaser__inner { flex-direction: column; text-align: center; gap: 16px; }

    .reviews-section { padding: 72px 0; }

    .contacts-section { padding: 72px 0; }
    .contacts-map { min-height: 300px; }
    .maps-grid { grid-template-columns: 1fr; height: 380px; }
    .map-card { min-height: 380px; }

    .footer { padding: 60px 0 32px; }
    .footer__links { gap: 28px; }
    .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }

    .cookie-popup {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 24px 20px;
        gap: 16px;
    }

    .cookie-popup.cookie-popup--hiding {
        transform: translateY(20px);
    }

    .cookie-popup__actions { width: 100%; flex-direction: column; gap: 10px; }
    .cookie-popup__accept,
    .cookie-popup__decline { width: 100%; text-align: center; padding: 14px; }

    .mobile-link { font-size: 1.6rem; }
}

/* ==========================================
   RESPONSIVE — 480px
   ========================================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__content { padding: 0 16px; padding-top: 0; }
    .section-title { font-size: 1.75rem; }
    .footer__col { min-width: 100%; }
    .beer-teaser { padding: 20px; }
    .beer-teaser__title { font-size: 0.92rem; }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html { scroll-behavior: auto; }
}

/* ==========================================
   PRINT
   ========================================== */
@media print {
    .navbar,
    .cookie-popup,
    .mobile-menu,
    .hero__scroll-hint,
    .maps-grid,
    .reviews-section { display: none !important; }

    body { background: white; color: black; }
    .section-title { color: black; }
    em { color: #8a6a1a; }
}

/* ==========================================
   LEGAL PAGES — cookie / privacy / offer
   ========================================== */
.page-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13,13,13,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-muted);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.page-nav .navbar__logo-img {
    width: 36px;
    height: 36px;
}

.page-nav .navbar__name {
    font-size: 1rem;
    letter-spacing: 0.28em;
}

.back-link {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.back-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
.back-link:hover { color: var(--gold); }
.back-link:hover::after { width: 100%; }
.back-link__arrow {
    color: var(--gold);
    font-size: 1rem;
    line-height: 1;
}

.legal-page {
    padding: 180px 0 100px;
    background: var(--black);
    min-height: 100vh;
    position: relative;
}

.legal-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.legal-header {
    text-align: center;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gold-muted);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin: 16px 0 24px;
    color: var(--cream);
}

.legal-meta {
    font-size: 0.74rem;
    color: var(--text-muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 64px;
}

.legal-content section:last-of-type { margin-bottom: 0; }

.legal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    line-height: 1.3;
}

.legal-content h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--cream);
    margin: 32px 0 16px;
    font-weight: 400;
}

.legal-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.legal-content p strong,
.legal-content p b {
    color: var(--cream);
    font-weight: 500;
}

.legal-content p em {
    color: var(--gold);
    font-style: italic;
}

.legal-content ul,
.legal-content ol {
    list-style: none;
    margin: 16px 0 24px;
    padding-left: 0;
}

.legal-content ul li,
.legal-content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.legal-content ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.6rem;
    top: 0.7em;
}

.legal-content ol {
    counter-reset: legal-counter;
}

.legal-content ol li {
    counter-increment: legal-counter;
    padding-left: 40px;
}

.legal-content ol li::before {
    content: counter(legal-counter) '.';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 1rem;
    top: 0;
    line-height: 1.85;
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.legal-content a:hover { color: var(--gold-light); }

.legal-content blockquote {
    border-left: 2px solid var(--gold);
    padding: 20px 28px;
    margin: 28px 0;
    background: rgba(201,168,76,0.04);
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.7;
}

.legal-contact {
    margin-top: 80px;
    padding: 36px 40px;
    background: var(--marble-card);
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
}

.legal-contact h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 24px;
    font-weight: 400;
}

.legal-contact p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-contact a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-contact a:hover { color: var(--gold-light); }

.legal-toc {
    background: var(--marble-card);
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-bottom: 80px;
}

.legal-toc__title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
}

.legal-toc ol li {
    position: relative;
    counter-increment: toc-counter;
    padding-left: 32px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.legal-toc ol li::before {
    content: counter(toc-counter) '.';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 0.95rem;
}

.legal-toc a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.legal-toc a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
    .page-nav { padding: 14px 20px; }
    .legal-page { padding: 140px 0 80px; }
    .legal-header { margin-bottom: 60px; padding-bottom: 40px; }
    .legal-content h2 { font-size: 1.25rem; }
    .legal-content p,
    .legal-content ul li,
    .legal-content ol li { font-size: 0.88rem; }
    .legal-contact,
    .legal-toc { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .page-nav { padding: 12px 16px; }
    .page-nav .navbar__name { font-size: 0.85rem; letter-spacing: 0.22em; }
    .legal-page { padding: 120px 0 60px; }
}

/* ============================================================
   КАРТОЧКИ БЛЮД — overlay-режим
   (перенесено из inline-<style> страниц: раньше правила
   дублировались в каждом HTML и расходились между собой)
   ============================================================ */

.menu-card__more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color var(--transition);
}
.menu-card__more:hover { color: var(--gold-light); }
.menu-card__more::after {
    content: ' →';
    transition: margin var(--transition);
}
.menu-card__more:hover::after { margin-left: 4px; }

/* ============================================================
   НОВЫЙ ДИЗАЙН КАРТОЧЕК БЛЮД (overlay-режим)
   — картинка заполняет карточку целиком
   — весь текст размещён поверх картинки (с градиентом снизу)
   — вся карточка является <a href="..."> ссылкой на страницу блюда
   — на карточках домашней страницы больше не открывается модалка
   ============================================================ */
.menu-card.menu-card--overlay {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    padding: 0;
    color: var(--cream);
    text-decoration: none;
    background: var(--marble);
}

/* Картинка — на весь размер карточки */
.menu-card.menu-card--overlay .menu-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--marble);
}

.menu-card.menu-card--overlay .menu-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.menu-card.menu-card--overlay:hover .menu-card__image img,
.menu-card.menu-card--overlay:focus-visible .menu-card__image img {
    transform: scale(1.08);
}

/* Градиент-затемнение снизу — для читаемости текста.
   ::before используется чтобы не плодить лишний DOM-узел. */
.menu-card.menu-card--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(13, 13, 13, 0.96) 0%,
        rgba(13, 13, 13, 0.88) 28%,
        rgba(13, 13, 13, 0.50) 58%,
        rgba(13, 13, 13, 0.05) 100%
    );
    pointer-events: none;
    transition: opacity var(--transition);
}

/* Текстовый блок прижат к низу картинки */
.menu-card.menu-card--overlay .menu-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 22px 22px;
    background: none;
    flex: none;
    flex-direction: column;
    gap: 6px;
}

.menu-card.menu-card--overlay .menu-card__tag {
    margin-bottom: 4px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.menu-card.menu-card--overlay .menu-card__name {
    margin-bottom: 6px;
    color: var(--cream);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

.menu-card.menu-card--overlay .menu-card__desc {
    color: rgba(245, 240, 232, 0.88);
    margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    /* Ограничиваем 2 строками — все карточки одинаковой высоты */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: none;
}

.menu-card.menu-card--overlay .menu-card__price {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.menu-card.menu-card--overlay .menu-card__more {
    margin-top: 0;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Hover-эффекты срабатывают при наведении на всю карточку */
.menu-card.menu-card--overlay:hover .menu-card__more {
    color: var(--gold-light);
}
.menu-card.menu-card--overlay:hover .menu-card__more::after {
    margin-left: 4px;
}

.menu-card.menu-card--overlay:hover {
    border-color: rgba(201, 168, 76, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65),
                0 0 0 1px rgba(201, 168, 76, 0.08);
    transform: translateY(-6px);
}

.menu-card.menu-card--overlay:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Responsive: квадратные карточки на планшете, ниже — 4:3 */
@media (max-width: 1024px) {
    .menu-card.menu-card--overlay {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .menu-card.menu-card--overlay {
        aspect-ratio: 4 / 3;
    }

}

/* ============================================================
   ИСПРАВЛЕНИЯ (аудит 29.10.2026)
   ============================================================ */

/* 1. Баннер cookie: авторский display:flex перебивал атрибут hidden,
      из-за чего баннер нельзя было закрыть. */
.cookie-popup[hidden] { display: none !important; }

/* 2. Скрытое мобильное меню не должно ловить фокус с клавиатуры. */
.mobile-menu {
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.mobile-menu.open { visibility: visible; }

/* 3. Статичные карточки (без ссылки) не должны выглядеть кликабельными. */
.menu-card--static { cursor: default; }
.menu-card.menu-card--overlay.menu-card--static:hover {
    transform: none;
    border-color: rgba(201,168,76,0.1);
    box-shadow: none;
}
.menu-card.menu-card--overlay.menu-card--static:hover .menu-card__image img {
    transform: none;
}

/* ============================================================
   АРЕНДА ЗАЛА
   ============================================================ */
.hall-section {
    padding: 120px 0;
    position: relative;
    background: var(--marble);
}

.hall-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-muted), transparent);
}

.hall-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: start;
}

.hall-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    line-height: 1.25;
    color: var(--cream);
    margin: 18px 0 24px;
}

.hall-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 60ch;
    margin-bottom: 40px;
}

.hall-terms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(201,168,76,0.18);
    border: 1px solid rgba(201,168,76,0.18);
}

.hall-term {
    background: var(--black);
    padding: 24px 24px 22px;
}

.hall-term__label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.hall-term__value {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--cream);
    line-height: 1.3;
    margin-bottom: 6px;
}

.hall-term__note {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hall-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hall-card {
    background: var(--marble-card);
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
    padding: 40px 36px;
}

.hall-card__eyebrow {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hall-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.hall-card__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--cream);
    line-height: 1.65;
}

.hall-card__list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.6rem;
    color: var(--gold);
    line-height: 2.1;
}

.hall-card__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid rgba(201,168,76,0.18);
    padding-top: 20px;
}

/* ============================================================
   AEO-БЛОК (обёртка под карточку .aeo-summary)
   ============================================================ */
.aeo-wrap {
    padding: 100px 0;
    background: var(--black);
}

.aeo-wrap .aeo-summary__text a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================
   ПРЕИМУЩЕСТВА
   ============================================================ */
.features-section {
    padding: 110px 0;
    background: var(--marble);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--marble-card);
    border: 1px solid rgba(201,168,76,0.14);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    border-color: rgba(201,168,76,0.45);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.feature-card__icon {
    font-size: 1.6rem;
    line-height: 1;
}

.feature-card__title {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    color: var(--cream);
    line-height: 1.35;
}

.feature-card__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================================================
   СТРАНИЦА МЕНЮ
   ============================================================ */
.menu-subsection { margin-top: 72px; }

.menu-grid--three .menu-grid__items {
    grid-template-columns: repeat(3, 1fr);
}

.menu-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ============================================================
   АДАПТИВ ДЛЯ НОВЫХ БЛОКОВ
   ============================================================ */
@media (max-width: 1024px) {
    .hall-inner { grid-template-columns: 1fr; gap: 48px; }
    .hall-card { padding: 32px 28px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-grid--three .menu-grid__items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hall-section { padding: 72px 0; }
    .features-section { padding: 72px 0; }
    .aeo-wrap { padding: 72px 0; }
    .hall-title { font-size: 1.6rem; }
    .hall-term { padding: 20px 18px; }
    .hall-term__value { font-size: 1.15rem; }
    .hall-actions .btn { width: 100%; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .menu-grid--three .menu-grid__items { grid-template-columns: 1fr; }
    .menu-subsection { margin-top: 48px; }
}

@media (max-width: 480px) {
    .hall-terms { grid-template-columns: 1fr; }
}

/* ============================================================
   4. Reveal-анимации не должны прятать контент без JS.
      Класс .js ставится инлайн-скриптом в <head>; если JS
      отключён или упал — блоки просто видны сразу.
   ============================================================ */
.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .reveal:nth-child(4) { transition-delay: 0.3s; }

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   5. Список позиций без фото (название — цена)
   ============================================================ */
.menu-plain {
    list-style: none;
    padding: 0;
    margin: -24px 0 48px;
    border-top: 1px solid rgba(201,168,76,0.14);
}

.menu-plain li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(201,168,76,0.14);
    font-size: 0.9rem;
    color: var(--cream);
    line-height: 1.55;
}

.menu-plain__price {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--gold);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .menu-plain li { font-size: 0.84rem; gap: 12px; }
}

/* ============================================================
   6. Иконки контактов (SVG) и номера в карточках преимуществ
   ============================================================ */
.contact-item__icon {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.contact-item__icon svg { display: block; }

.feature-card__icon {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: var(--gold);
    opacity: 0.9;
}

/* ============================================================
   7. Карточки меню с полным описанием (страница «Меню»)
      В overlay-режиме фиксированный 4:5 обрезал текст и цену,
      поэтому на странице меню карточка растёт по контенту:
      фото сверху, текст под ним.
   ============================================================ */
.menu-card.menu-card--plain {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background: var(--marble-card);
}

.menu-card.menu-card--plain::before { display: none; }

.menu-card.menu-card--plain .menu-card__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 220px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(201,168,76,0.12);
}

.menu-card.menu-card--plain .menu-card__body {
    position: static;
    inset: auto;
    padding: 20px 20px 22px;
    background: transparent;
    gap: 0;
}

.menu-card.menu-card--plain .menu-card__desc {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    margin-bottom: 16px;
    flex: 1;
    color: var(--text-muted);
    text-shadow: none;
}

.menu-card.menu-card--plain .menu-card__name,
.menu-card.menu-card--plain .menu-card__tag { text-shadow: none; }

.menu-card.menu-card--plain .menu-card__price { margin-top: auto; }

@media (max-width: 768px) {
    .menu-card.menu-card--plain .menu-card__image { height: 200px; }
}

@media (max-width: 480px) {
    .menu-card.menu-card--plain .menu-card__image { height: 180px; }
}

/* Название позиции в списке без фото */
.menu-plain__name { flex: 1; min-width: 0; }

/* ============================================================
   Соц-иконки в шапке и подвале (ВК, Дзен, ОК, Pinterest, RuTube, MAX)
   ============================================================ */
.socials-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.socials-row__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--cream);
    background: transparent;
    border: 1px solid var(--gold-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    text-decoration: none;
}
.socials-row__link:hover,
.socials-row__link:focus-visible {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    outline: none;
}
.socials-row__link .social-ico {
    width: 18px;
    height: 18px;
    display: block;
}
.navbar .socials-row { margin-left: 16px; }
.footer-social .socials-row { margin-top: 10px; }
@media (max-width: 900px) {
    .navbar .socials-row { display: none; }
}

/* ============================================================
   Попап оферты — 1 раз за сессию при клике на CTA
   ============================================================ */
.offer-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,13,13,0.75);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    padding: 20px;
}
.offer-popup.is-open { opacity: 1; visibility: visible; }
.offer-popup__panel {
    position: relative;
    background: var(--marble);
    border: 1px solid var(--gold-muted);
    border-radius: var(--radius);
    max-width: 560px;
    width: 100%;
    padding: 32px 32px 28px;
    transform: translateY(20px) scale(0.98);
    transition: transform var(--transition);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.offer-popup.is-open .offer-popup__panel { transform: translateY(0) scale(1); }
.offer-popup__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--cream);
    margin: 0 0 12px;
}
.offer-popup__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 20px;
}
.offer-popup__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.offer-popup__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.offer-popup__btn {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
    display: inline-block;
}
.offer-popup__btn--primary { background: var(--gold); color: var(--black); }
.offer-popup__btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.offer-popup__btn--ghost:hover { background: var(--gold); color: var(--black); }
.offer-popup__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: 0;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.offer-popup__close:hover { color: var(--gold); }
@media (max-width: 560px) {
    .offer-popup__panel { padding: 24px 20px 22px; }
    .offer-popup__actions { flex-direction: column; }
    .offer-popup__btn { width: 100%; text-align: center; }
}

/* Плавная анимация появления */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: fadeUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; }
    .reveal.visible { animation: none; }
}
