/* =====================================================
   BANYADORA — Y2K Luxury Sauna — Real 2000s Vibe
   ===================================================== */

@font-face {
    font-family: 'Rhombic';
    src: url('../fonts/rhombic.woff2') format('woff2'),
         url('../fonts/rhombic.ttf')   format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

/* ── SELF-HOSTED WEB FONTS ──
   Self-hosted копии шрифтов Google Fonts, отдаются нашим Caddy через HTTP/2 multiplexing.
   Browser качает только нужный subset по unicode-range.
   font-display: fallback — system fonts видны сразу, web font подменяется
   когда докачается (если успеет за блок-период), иначе остаётся system. */

/* Cinzel — заголовки (3 weights, 2 subsets, файл-переменный для всех weights) */
@font-face {
    font-family: 'Cinzel';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/cinzel-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Cinzel';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/cinzel-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cinzel';
    font-style: normal; font-weight: 600; font-display: fallback;
    src: url('../fonts/cinzel-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Cinzel';
    font-style: normal; font-weight: 600; font-display: fallback;
    src: url('../fonts/cinzel-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cinzel';
    font-style: normal; font-weight: 700; font-display: fallback;
    src: url('../fonts/cinzel-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Cinzel';
    font-style: normal; font-weight: 700; font-display: fallback;
    src: url('../fonts/cinzel-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IM Fell English — body (2 styles, latin only) */
@font-face {
    font-family: 'IM Fell English';
    font-style: italic; font-weight: 400; font-display: fallback;
    src: url('../fonts/imfell-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IM Fell English';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/imfell-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Press Start 2P — заголовки (4 subsets: latin, latin-ext, cyrillic, cyrillic-ext) */
@font-face {
    font-family: 'Press Start 2P';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/pressstart2p-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Press Start 2P';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/pressstart2p-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Press Start 2P';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/pressstart2p-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Press Start 2P';
    font-style: normal; font-weight: 400; font-display: fallback;
    src: url('../fonts/pressstart2p-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@400;500;600&family=Press+Start+2P&display=swap');

:root {
    --fn-logo: 'Rhombic', 'Press Start 2P', cursive;
    --bg:      #0a0500;
    --bg2:     #120800;
    --gold:    #D4AF37;
    --gold2:   #FFD700;
    --gold3:   #B8860B;
    --cream:   #F5E6C0;
    --red:     #8B1A00;
    --text:    #E8D8A0;
    --muted:   #8A7040;
    --fn-head:  'Cormorant Garamond', serif;
    --fn-body:  'Montserrat', sans-serif;
    --fn-title: 'Press Start 2P', cursive;
}

* { margin:0; padding:0; box-sizing:border-box; scroll-behavior:smooth; }

/* ── prefers-reduced-motion ──
   Юзер попросил систему минимизировать анимации (vestibular disorder, эпилепсия, batt.saver).
   Останавливаем декоративные animation/transition. JS-эффекты дополнительно
   проверяют этот флаг в каждом модуле и пропускают инициализацию. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fn-body);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ── HERO ENTRANCE ──
   Pure CSS animations — нет JS-зависимости, нет «черного экрана пока качается JS».
   Запускаются как только CSS применен. */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
@keyframes heroFadeUpLarge {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
}
.hero-ornament      { animation: heroFadeUp 1s 0.3s both ease-out; }
.gold-title         { animation: heroFadeUpLarge 1.2s 0.5s both cubic-bezier(0.215, 0.61, 0.355, 1); }
.hero-divline       { animation: heroFadeUp 0.8s 0.9s both; }
.hero-sub           { animation: heroFadeUp 0.8s 1.0s both ease-out; }
#hero .hero-cta-row { animation: heroFadeUp 0.8s 1.4s both ease-out; }

/* ── SCROLL REVEALS ──
   Элементы помечаются классом .reveal. IntersectionObserver добавляет .is-revealed.
   Без JS (или если observer упал) safety-timeout в reveals.js раскрывает всё. */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}
.reveal.is-revealed {
    opacity: 1;
    transform: none;
}

/* ── STARS CANVAS ──
   На мобиле скрыт полностью: effects-bg.js не инициализирует rAF-цикл (canvas
   пустой), а CSS убирает элемент из render tree — нет лишнего compositor layer. */
#stars {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
@media (max-width: 768px) {
    #stars { display: none; }
}

/* ── NAV ── */
.nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, rgba(10,5,0,0.95), rgba(10,5,0,0.7));
    border-bottom: 1px solid rgba(212,175,55,0.25);
    backdrop-filter: blur(8px);
    transition: background 0.3s, border-bottom-color 0.3s;
}
.nav.scrolled {
    background: rgba(10,5,0,0.97);
    border-bottom-color: rgba(212,175,55,0.5);
}

.nav-logo {
    font-family: var(--fn-logo);
    font-size: 2rem; color: var(--gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 12px rgba(212,175,55,0.6), 0 0 30px rgba(212,175,55,0.2);
}

.nav-links a {
    font-family: var(--fn-head);
    color: var(--cream); text-decoration: none;
    margin-left: 2.2rem; font-size: 0.8rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    transition: color 0.3s, text-shadow 0.3s;
}
.nav-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212,175,55,0.5);
}

/* ── BURGER ── */
.burger {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
    display: block; width: 26px; height: 1px;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(212,175,55,0.6);
    transition: transform 0.35s, opacity 0.35s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.mob-nav {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10,5,0,0.97);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s;
}
.mob-nav.open { opacity: 1; pointer-events: all; }
.mob-nav a {
    font-family: var(--fn-title);
    font-size: 1rem; color: var(--gold); text-decoration: none;
    letter-spacing: 0.08em;
    text-shadow: 0 0 20px rgba(212,175,55,0.5);
    transition: color 0.2s;
}
.mob-nav a:hover { color: var(--gold2); }

/* ── HERO ── */
.hero {
    height: 100vh; height: 100svh;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}

.hero-photo {
    position: absolute; inset: -8%;
    width: 116%; height: 116%;
    background-color: #0a0500;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: transform; transition: transform 0.2s ease-out;
}
/* Гарантированный single-download: каждое правило имеет media-условие → браузер
   качает только подходящий файл. Базовое правило НЕ содержит background-image. */
@media (max-width: 768px) {
    .hero-photo { background-image: url('../img/hero-bg-mobile.webp'); }
}
@media (min-width: 769px) {
    .hero-photo { background-image: url('../img/hero-bg.webp'); }
}

.hero-veil {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.4) 80%,
        rgba(0,0,0,0.9) 100%);
}

.sparks-wrap {
    position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.spark {
    position: absolute;
    bottom: 0;
    left: var(--lx, 50%);
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
    animation: sparkRise var(--sd, 6s) var(--dl, 0s) infinite ease-out;
    pointer-events: none;
}
@keyframes sparkRise {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(var(--dx, 20px)) scale(0.3); opacity: 0; }
}

.hero-box {
    position: relative; z-index: 3;
    display: flex; flex-direction: column; align-items: center;
    padding: 2rem;
    transition: transform 0.15s ease-out;
}

.hero-ornament {
    font-size: 1.2rem; color: var(--gold);
    text-shadow: 0 0 12px rgba(212,175,55,0.7);
    letter-spacing: 1rem; margin-bottom: 1.5rem;
    animation: ornGlow 3s ease-in-out infinite;
}
@keyframes ornGlow {
    0%,100% { opacity: 0.7; }
    50%      { opacity: 1; text-shadow: 0 0 20px rgba(212,175,55,1), 0 0 40px rgba(212,175,55,0.4); }
}

/* ── GOLD TITLE ── */
.gold-title img {
    max-width: 100%;
    width: 220px;
    height: auto;
    display: block;
}
.gold-title {
    margin: 0 auto 1.5rem;
    line-height: 1;
}
.nav-logo img { height: 44px; width: 44px; display: block; }
.footer-logo img { height: 80px; width: 80px; display: block; margin: 0 auto; }

.hero-divline {
    display: flex; align-items: center; gap: 1rem;
    width: 320px; margin-bottom: 1.2rem;
}
.hero-divline span:first-child,
.hero-divline span:last-child {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.dia { color: var(--gold); font-size: 1rem; text-shadow: 0 0 10px var(--gold); }

.hero-sub {
    font-family: var(--fn-head);
    font-size: 1rem; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--cream);
    margin-bottom: 1rem;
}

/* ── GOLD BUTTON ── */
.gold-btn {
    display: inline-block; text-decoration: none;
    font-family: var(--fn-head);
    font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: #0a0500;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #FFD700 100%);
    background-size: 200% 100%;
    padding: 1rem 2.8rem;
    border: none; cursor: pointer;
    box-shadow: 0 0 20px rgba(212,175,55,0.4), 0 4px 15px rgba(0,0,0,0.5);
    transition: background-position 0.4s, box-shadow 0.4s, transform 0.2s;
    position: relative; overflow: hidden;
}
.gold-btn::after {
    content: '';
    position: absolute; top: -50%; left: -60%;
    width: 30%; height: 200%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0%,100% { left: -60%; opacity: 0; }
    40%      { opacity: 1; }
    50%      { left: 130%; opacity: 0; }
}
.gold-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 0 35px rgba(212,175,55,0.7), 0 6px 20px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}
.gold-btn.large { font-size: 1rem; padding: 1.2rem 3.5rem; }

.gold-btn.ghost {
    color: var(--gold2);
    background: transparent;
    border: 1px solid rgba(212,175,55,0.55);
    box-shadow: 0 0 14px rgba(212,175,55,0.15) inset;
}
.gold-btn.ghost::after { display: none; }
.gold-btn.ghost:hover {
    background: rgba(212,175,55,0.08);
    border-color: var(--gold);
    box-shadow: 0 0 22px rgba(212,175,55,0.35);
    transform: translateY(-2px);
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

.section-title {
    font-family: var(--fn-title);
    font-size: 1.4rem; color: var(--gold);
    text-shadow: 0 0 20px rgba(212,175,55,0.4);
    margin-bottom: 1.5rem; letter-spacing: 0.05em;
    line-height: 1.6;
}
.section-title.center { text-align: center; }

.gold-line {
    width: 120px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin-bottom: 2rem;
}
.gold-line.center { margin: 0 auto 2.5rem; }

.section-sub {
    text-align: center; color: var(--muted); font-style: italic;
    margin-bottom: 4rem; font-size: 1rem;
}

/* ── PANELS ── */
.panels-section {
    display: grid; grid-template-columns: 1fr 1fr;
    height: 500px; position: relative; z-index: 1;
}
.panel { position: relative; overflow: hidden; }
.panel-img {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s;
}
.panel:hover .panel-img { transform: scale(1.06); }

/* ── RESERVE ── */
.reserve-section {
    padding: 4rem 0 5rem;
    background:
        radial-gradient(ellipse at top, rgba(255,215,0,0.09) 0%, transparent 55%),
        linear-gradient(180deg, #0a0500 0%, #1a0e02 40%, #0a0500 100%);
    position: relative; z-index: 1;
}
.reserve-box {
    max-width: 560px; margin: 0 auto; text-align: center;
    border: 1px solid rgba(212,175,55,0.3);
    padding: 3rem 2.5rem;
    background: rgba(20,10,0,0.7);
    box-shadow: 0 0 60px rgba(212,175,55,0.05);
}
.rb-ornament {
    font-size: 2rem; color: var(--gold);
    text-shadow: 0 0 15px rgba(212,175,55,0.5);
    display: block; margin: 0.5rem 0 1.5rem;
    animation: ornGlow 3s ease-in-out infinite;
}
.reserve-desc {
    font-family: var(--fn-head);
    font-size: 0.82rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 2rem;
}
.reserve-price {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem; color: var(--muted);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.reserve-price span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem; color: var(--gold2);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.reserve-price small {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    color: var(--cream);
    letter-spacing: 0.05em;
}
.reserve-extra {
    font-family: var(--fn-body);
    font-size: 0.88rem; color: var(--muted);
    margin-top: -1.4rem; margin-bottom: 1.2rem;
}
.reserve-deposit {
    font-family: var(--fn-body);
    font-size: 0.9rem; color: var(--cream);
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
    white-space: pre-line;
}
.reserve-deposit strong { color: var(--gold); }

/* ── CONTACT ── */
.contact-section {
    padding: 4rem 0 5rem;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(212,175,55,0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(139,26,0,0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0a0500 0%, #120800 50%, #050200 100%);
    position: relative; z-index: 1;
    border-top: 1px solid rgba(212,175,55,0.1);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.contact-card {
    background: linear-gradient(145deg, rgba(212,175,55,0.06), rgba(0,0,0,0.3));
    border: 1px solid rgba(212,175,55,0.25);
    padding: 2.2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(.3,.1,.3,1.3),
                border-color 0.35s cubic-bezier(.3,.1,.3,1.3),
                box-shadow 0.35s cubic-bezier(.3,.1,.3,1.3);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212,175,55,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.15);
}
.contact-card:hover::before { opacity: 1; }
.ct-icon { font-size: 2rem; margin-bottom: 0.8rem; position: relative; }
.ct-label {
    font-family: var(--fn-head);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    position: relative;
}
.ct-value {
    font-family: var(--fn-body);
    font-size: 1rem;
    color: var(--cream);
    position: relative;
}

/* ── MAP ── */
.map-wrap {
    max-width: 1100px;
    margin: 3rem auto 0;
    position: relative;
    border: 1px solid rgba(212,175,55,0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.08);
    overflow: hidden;
}
.map-wrap iframe {
    width: 100%;
    height: 400px;
    display: block;
    filter: sepia(20%) saturate(0.8) brightness(0.85) hue-rotate(-5deg);
}
.map-overlay {
    position: absolute;
    bottom: 1rem; right: 1rem;
    background: rgba(0,0,0,0.85);
    color: var(--gold);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    font-family: var(--fn-head);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 2px;
    transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
}
.map-overlay:hover {
    background: rgba(212,175,55,0.15);
    border-color: var(--gold);
    color: var(--gold2);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .map-wrap iframe { height: 260px; }
    .map-overlay { font-size: 0.6rem; padding: 0.5rem 0.8rem; bottom: 0.6rem; right: 0.6rem; }
    .map-wrap { margin-top: 2rem; }
}

/* ── STICKY BOOK ── */
.sticky-book {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 900;
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #000;
    text-align: center;
    padding: 1rem;
    font-family: var(--fn-head);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.3);
    transition: opacity 0.3s, transform 0.3s;
    animation: stickyPulse 2.4s ease-in-out infinite;
}
@keyframes stickyPulse {
    0%,100% { box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.3); }
    50%     { box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 35px rgba(255,215,0,0.6); }
}

/* ── FOOTER ── */
.footer {
    padding: 3rem 0; text-align: center;
    border-top: 1px solid rgba(212,175,55,0.15);
    background: rgba(5,2,0,0.95);
    position: relative; z-index: 1;
}
.footer-logo {
    font-family: var(--fn-logo);
    font-size: 2.5rem; color: var(--gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(212,175,55,0.5);
    margin-bottom: 0.8rem;
}
.footer-ornament {
    color: var(--gold3); font-size: 1rem;
    letter-spacing: 1rem; margin-bottom: 1rem; opacity: 0.6;
}
.footer-copy { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; }
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
    flex-wrap: wrap;
}
.footer-links a {
    font-family: var(--fn-head);
    font-size: 0.78rem;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.ft-sep { color: var(--muted); }


/* ── PANEL IMAGE VARIANTS — desktop full-size + mobile responsive ── */
.panel-img--g2 { background-image: url('../img/g2.webp'); }
.panel-img--g4 { background-image: url('../img/g4.webp'); }
@media (max-width: 768px) {
    .panel-img--g2 { background-image: url('../img/g2-panel-m.webp'); }
    .panel-img--g4 { background-image: url('../img/g4-panel-m.webp'); }
}

/* ── DESCRIPTION ── */
.about-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(180deg, #07030a 0%, #0f0600 50%, #07030a 100%);
    position: relative; z-index: 1;
}
.desc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.desc-card:nth-child(4), .desc-card:nth-child(5) {
    grid-column: span 1;
}
.desc-card:nth-child(4) { grid-column: 1 / 2; grid-row: 2; }
.desc-card:nth-child(5) { grid-column: 2 / 4; grid-row: 2; }
@media (max-width: 900px) {
    .desc-grid { grid-template-columns: 1fr 1fr; }
    .desc-card:nth-child(n) { grid-column: auto; grid-row: auto; }
}
.desc-card {
    background: rgba(15, 8, 2, 0.92);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 2px;
    padding: 2.5rem 2.2rem;
    position: relative;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.desc-card::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 2px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(212,175,55,0.6);
}
.desc-card:hover {
    border-color: rgba(212,175,55,0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.desc-card:hover::before { width: 80px; transition: width 0.3s ease; }
.desc-h {
    font-family: var(--fn-head);
    font-size: 1.35rem;
    color: var(--gold2);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    margin-top: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}
.desc-p {
    font-family: var(--fn-body);
    font-size: 1.05rem;
    color: #F5E6C0;
    line-height: 1.8;
}
.desc-p strong { color: var(--gold2); font-weight: 600; }
.desc-list {
    list-style: none;
    font-family: var(--fn-body);
    color: var(--text);
}
.desc-list li {
    padding: 0.35rem 0 0.35rem 1.2rem;
    border-bottom: 1px dashed rgba(212,175,55,0.1);
    font-size: 0.94rem;
    position: relative;
}
.desc-list li::before {
    content: '✦';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    top: 0.55rem;
}
.desc-list li:last-child { border-bottom: none; }
.desc-list em { color: var(--muted); font-size: 0.85rem; }
.desc-price-big {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold2);
    letter-spacing: 0.03em;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(255,215,0,0.3);
}
.desc-price-big span {
    font-size: 1rem;
    color: var(--cream);
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ── GALLERY ── */
.gallery-section {
    padding: 4rem 0;
    background: var(--bg2);
    position: relative; z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}

.gallery-item {
    position: relative; overflow: hidden;
    border: 1px solid rgba(212,175,55,0.2);
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: var(--fn-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(10,5,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.4s;
}
.gallery-overlay span {
    font-size: 2.5rem; color: var(--gold);
    text-shadow: 0 0 20px rgba(212,175,55,0.8);
    opacity: 0; transform: scale(0.5);
    transition: opacity 0.4s, transform 0.4s;
}
.gallery-item:hover .gallery-overlay {
    background: rgba(10,5,0,0.45);
    border: 1px solid rgba(212,175,55,0.5);
}
.gallery-item:hover .gallery-overlay span {
    opacity: 1; transform: scale(1);
}

/* tall/wide variants */
.gi-tall  { grid-row: span 2; }
.gi-wide  { grid-column: span 2; }

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(5,2,0,0.96);
    display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }

.lb-img {
    max-width: 88vw; max-height: 88vh;
    object-fit: contain;
    border: 1px solid rgba(212,175,55,0.4);
    box-shadow: 0 0 60px rgba(212,175,55,0.15);
}

.lb-close, .lb-prev, .lb-next {
    position: absolute;
    font-size: 1.5rem; color: var(--gold);
    cursor: pointer; background: none; border: none;
    text-shadow: 0 0 12px rgba(212,175,55,0.6);
    transition: color 0.2s, transform 0.2s;
    user-select: none;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold2); transform: scale(1.2); }
.lb-counter {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: var(--fn-head);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    z-index: 10001;
}
.lb-close { top: 1.5rem; right: 2rem; font-size: 2rem; }
.lb-prev  { left: 2rem;  top: 50%; transform: translateY(-50%); font-size: 2.5rem; }
.lb-next  { right: 2rem; top: 50%; transform: translateY(-50%); font-size: 2.5rem; }
.lb-prev:hover { transform: translateY(-50%) scale(1.2); }
.lb-next:hover { transform: translateY(-50%) scale(1.2); }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
    /* Gallery: 2 columns, no spanning */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
        gap: 10px;
    }
    .gi-tall, .gi-wide { grid-row: span 1; grid-column: span 1; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Base */
    body { font-size: 14px; }
    .wrap { padding: 0 1.2rem; }

    /* Nav */
    .nav        { padding: 1rem 1.2rem; }
    .nav-logo   { font-size: 1.5rem; }
    .nav-links  { display: none; }
    .burger     { display: flex; }

    /* Hero */
    .gold-title img { width: 180px; }
    .nav-logo img   { height: 38px; width: 38px; }
    .footer-logo img{ height: 70px; width: 70px; }
    .hero-ornament  { font-size: 0.8rem; letter-spacing: 0.4rem; }
    .hero-divline   { width: 200px; }
    .hero-sub       { font-size: 0.65rem; letter-spacing: 0.15em; }
    .gold-btn       { padding: 0.85rem 1.8rem; font-size: 0.65rem; }
    .gold-btn.large { width: 100%; padding: 1rem; font-size: 0.65rem; }

    /* About */
    .about-section  { padding: 4rem 0; }

    /* Section titles */
    .section-title  { font-size: 0.85rem; line-height: 1.8; }
    .section-sub    { font-size: 0.8rem; }

    /* Panels */
    .panels-section { grid-template-columns: 1fr; height: auto; }
    .panel          { height: 260px; }

    /* Description */
    .about-section { padding: 4rem 0; }
    .desc-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
    .desc-card { padding: 1.5rem 1.2rem; }
    .desc-h { font-size: 1rem; }
    .desc-p { font-size: 0.9rem; }
    .desc-list li { font-size: 0.88rem; }
    .desc-price-big { font-size: 1.8rem; }

    .reserve-deposit { font-size: 0.82rem; padding: 0.7rem 1rem; }

    /* Gallery — single column on mobile */
    .gallery-section { padding: 4rem 0; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 8px;
    }
    .gi-tall, .gi-wide {
        grid-row: span 1 !important;
        grid-column: span 1 !important;
    }

    /* Reserve */
    .reserve-section  { padding: 4rem 0 5rem; }
    .reserve-box      { padding: 2rem 1.2rem; }
    .reserve-price span { font-size: 2rem; }
    .reserve-price      { font-size: 0.85rem; }

    /* Sticky book on mobile: show but disable box-shadow pulse (repaint every frame) */
    .sticky-book { display: block; animation: none; }
    body { padding-bottom: 4.5rem; }

    /* Contact */
    .contact-section { padding: 4rem 0; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 2rem; }
    .contact-card { padding: 1.4rem 0.8rem; }
    .ct-icon { font-size: 1.4rem; }
    .ct-label { font-size: 0.6rem; }
    .ct-value { font-size: 0.82rem; }

    /* Footer */
    .footer-links { gap: 0.5rem; font-size: 0.7rem; margin: 0.8rem 0; }
    .footer-links a { font-size: 0.7rem; letter-spacing: 0.1em; }
    .footer         { padding: 2.5rem 1rem; }
    .footer-logo    { font-size: 1.8rem; }
    .footer-ornament{ letter-spacing: 0.4rem; font-size: 0.8rem; }
    .footer-copy    { font-size: 0.6rem; letter-spacing: 0.05em; }

    /* Lightbox arrows closer on mobile */
    .lb-prev { left: 0.8rem; }
    .lb-next { right: 0.8rem; }
    .lb-close { top: 1rem; right: 1rem; }
}

/* Small phones */
@media (max-width: 390px) {
    .hero-divline { width: 160px; }
    .section-title { font-size: 0.72rem; }
    .gallery-grid { grid-auto-rows: 190px; }
}
