/* ==============================================================================
   MAFIA CLUB DESIGN SYSTEM (Перово & Лефортово)
   lefortovo.mafgu.ru | BALAGAN / Mafia Game Universe
   ============================================================================== */

/* --- Fonts Preloading & Declaration --- */
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-cyrillic.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0400-04FF, U+0500-052F;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC;
}

@font-face {
    font-family: 'Tektur';
    src: url('../fonts/Tektur-cyrillic.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0400-04FF, U+0500-052F;
}

@font-face {
    font-family: 'Tektur';
    src: url('../fonts/Tektur-latin.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF;
}

/* --- Design Tokens --- */
:root {
    --bg-primary: #0c0c0e;
    --bg-secondary: #141418;
    --bg-card: #1c1c24;
    --bg-card-hover: #262633;
    --bg-overlay: rgba(12, 12, 14, 0.85);

    --gold: #f2b626;
    --gold-bright: #ffd043;
    --gold-dark: #d4a82a;
    --gold-glow: 0 0 35px rgba(242, 182, 38, 0.4);

    --purple: #a449f5;
    --purple-deep: #7818df;
    --purple-dark: #19005c;
    --purple-glow: 0 0 32px 12px rgba(164, 73, 245, 0.5), 0 0 22px rgba(164, 73, 245, 0.8);
    --purple-glow-sm: 0 0 16px rgba(164, 73, 245, 0.6);

    --white: #f5f5f5;
    --white-dim: rgba(245, 245, 245, 0.8);
    --text-muted: #a8a7b6;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(242, 182, 38, 0.35);
    --border-purple: rgba(164, 73, 245, 0.4);

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Tektur', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --container-max: 1200px;
    --transition: 0.25s ease;
}

/* --- CSS Reset & Global --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--white);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-primary);
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    outline: none;
}

.text-gold {
    color: var(--gold) !important;
}

.text-purple {
    color: var(--purple) !important;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

/* --- Ambient Glow Spots --- */
.ambient-glow {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.ambient-glow-yellow-top {
    top: -150px;
    right: -100px;
    width: 650px;
    opacity: 0.85;
}

.ambient-glow-purple-top {
    top: 50px;
    left: -200px;
    width: 700px;
    opacity: 0.75;
}

.ambient-glow-yellow-mid {
    top: 35%;
    left: -150px;
    width: 600px;
    opacity: 0.6;
}

.ambient-glow-purple-mid {
    top: 60%;
    right: -200px;
    width: 750px;
    opacity: 0.65;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-purple {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
    color: var(--white);
    box-shadow: var(--purple-glow-sm);
}

.btn-purple:hover {
    box-shadow: var(--purple-glow);
    background: linear-gradient(135deg, #b862ff 0%, #8724f5 100%);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dark) 100%);
    color: #111;
    box-shadow: var(--gold-glow);
}

.btn-gold:hover {
    box-shadow: 0 0 45px rgba(242, 182, 38, 0.7);
}

.btn-telegram {
    background: #24A1DE;
    color: var(--white);
    box-shadow: 0 0 20px rgba(36, 161, 222, 0.4);
}

.btn-telegram:hover {
    background: #33b2f0;
    box-shadow: 0 0 30px rgba(36, 161, 222, 0.7);
}

.btn-telegram svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--white);
}

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

/* --- Site Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: padding var(--transition), background var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
    padding: 12px 0;
    background: rgba(12, 12, 14, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-img {
    height: 38px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white-dim);
    text-transform: uppercase;
}

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

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone-wrap {
    text-align: right;
}

.header-phone-note {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.header-phone {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
}

.header-phone:hover {
    color: var(--gold-bright);
}

.header-menu-btn {
    display: none;
    padding: 8px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 860px;
}

.hero-network-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(164, 73, 245, 0.12);
    border: 1px solid var(--border-purple);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #dbb3ff;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-network-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--white-dim);
    line-height: 1.5;
    margin-bottom: 35px;
    max-width: 680px;
}

/* Location Selector Tabs */
.location-selector {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 35px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.location-tabs-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.location-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.location-tab {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--white-dim);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    transition: var(--transition);
}

.location-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.location-tab.is-active {
    background: rgba(242, 182, 38, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(242, 182, 38, 0.2);
}

.location-tab-metro {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

.location-tab.is-active .location-tab-metro {
    color: var(--white-dim);
}

/* Upcoming Schedule Widget */
.upcoming-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.upcoming-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.upcoming-card:hover {
    border-color: var(--border-purple);
    background: rgba(255, 255, 255, 0.05);
}

.upcoming-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upcoming-card-day {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.upcoming-card-time {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.upcoming-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.upcoming-card-spots {
    font-weight: 600;
}

.upcoming-card-price {
    color: var(--white-dim);
    font-weight: 600;
}

.upcoming-card .btn {
    width: 100%;
    margin-top: 4px;
}

/* Hero CTA Action Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* --- Section Global Styling --- */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.12;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--white-dim);
    max-width: 650px;
    margin-bottom: 50px;
}

.section-center {
    text-align: center;
}

.section-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-text {
    font-size: 0.95rem;
    color: var(--white-dim);
}

.about-visual {
    position: relative;
}

.about-mask-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Video Facade Block */
.rules-video-wrap {
    margin-top: 45px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    aspect-ratio: 16 / 9;
}

.rules-video-facade {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rules-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter var(--transition), transform var(--transition);
}

.rules-video-facade:hover .rules-video-poster {
    filter: brightness(1);
    transform: scale(1.02);
}

.rules-video-play-btn {
    position: absolute;
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gold-glow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.rules-video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #111;
    margin-left: 4px;
}

.rules-video-facade:hover .rules-video-play-btn {
    transform: scale(1.15);
    box-shadow: 0 0 50px rgba(242, 182, 38, 0.8);
}

/* --- For Whom Section --- */
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.for-whom-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.for-whom-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-purple);
    box-shadow: var(--purple-glow-sm);
}

.for-whom-card-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.for-whom-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    text-transform: uppercase;
}

.for-whom-card-text {
    font-size: 0.95rem;
    color: var(--white-dim);
    line-height: 1.5;
}

/* --- 13 Roles Section --- */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.role-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: var(--transition);
}

.role-card:hover {
    background: var(--bg-card);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.role-badge-mafia {
    background: rgba(214, 21, 123, 0.2);
    color: #ff54a4;
    border: 1px solid rgba(214, 21, 123, 0.4);
}

.role-badge-civil {
    background: rgba(36, 161, 222, 0.2);
    color: #55c8ff;
    border: 1px solid rgba(36, 161, 222, 0.4);
}

.role-badge-neutral {
    background: rgba(242, 182, 38, 0.2);
    color: var(--gold);
    border: 1px solid rgba(242, 182, 38, 0.4);
}

.role-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.role-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Photo Collage Gallery --- */
.gallery-collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.gallery-photo {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-photo.span-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-photo.row-2 {
    grid-row: span 2;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-photo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* --- B2B Corporate Calculator Section --- */
.calculator-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.calc-group {
    margin-bottom: 32px;
}

.calc-group-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.calc-option-label {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.calc-option-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calc-option-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.calc-option-label:has(input:checked) {
    background: rgba(164, 73, 245, 0.15);
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(164, 73, 245, 0.25);
}

.calc-option-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.calc-option-label:has(input:checked) .calc-option-name {
    color: #dbb3ff;
}

.calc-option-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Calculator Summary & Output */
.calc-summary {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.calc-price-wrap {
    display: flex;
    flex-direction: column;
}

.calc-price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-price-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
}

.calc-included-list {
    margin-bottom: 25px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.calc-included-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--white-dim);
}

.calc-included-item svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
    flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item[open] {
    border-color: var(--border-purple);
}

.faq-summary {
    padding: 22px 26px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.faq-item[open] .faq-icon-plus {
    display: none;
}

.faq-item:not([open]) .faq-icon-minus {
    display: none;
}

.faq-body {
    padding: 0 26px 24px;
    font-size: 1rem;
    color: var(--white-dim);
    line-height: 1.6;
}

/* --- Locations & Contacts Section --- */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.location-card-metro {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 14px;
}

.location-card-address {
    font-size: 1.05rem;
    color: var(--white-dim);
    margin-bottom: 20px;
}

.location-card-features {
    list-style: none;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-card-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Final CTA Section with Mascot --- */
.cta-final {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(164, 73, 245, 0.15) 0%, transparent 70%);
}

.cta-final-box {
    background: linear-gradient(135deg, rgba(28, 28, 36, 0.9) 0%, rgba(20, 20, 24, 0.95) 100%);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: center;
    gap: 40px;
    box-shadow: var(--purple-glow);
}

.cta-final-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
}

.cta-final-subtitle {
    font-size: 1.15rem;
    color: var(--white-dim);
    margin-bottom: 32px;
}

.cta-raccoon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-raccoon-img {
    max-width: 320px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Site Footer --- */
.site-footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- 1-Step Booking Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay[aria-hidden="false"] {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-md);
    padding: 38px 32px;
    box-shadow: var(--purple-glow);
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

.form-field {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(242, 182, 38, 0.25);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.35;
    cursor: pointer;
}

.form-consent input {
    margin-top: 3px;
    accent-color: var(--purple);
}

.form-consent a {
    color: var(--gold);
    text-decoration: underline;
}

.modal-error {
    color: #ff6b6b;
    font-size: 0.88rem;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-sm);
}

/* Success Panel */
.modal-success-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: center;
}

.modal-success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 12px;
}

.modal-success-desc {
    text-align: center;
    font-size: 1rem;
    color: var(--white-dim);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* --- Gallery Lightbox --- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox[aria-hidden="false"] {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.gallery-lightbox__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.gallery-lightbox__nav-btn:hover {
    background: var(--purple);
}

.gallery-lightbox__prev { left: 24px; }
.gallery-lightbox__next { right: 24px; }

/* --- Mobile Menu Modal --- */
.mobile-menu-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: var(--bg-primary);
    padding: 30px;
    display: none;
    flex-direction: column;
}

.mobile-menu-modal[aria-hidden="false"] {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-menu-nav a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

    .header-menu-btn {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .cta-final-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
    }

    .cta-raccoon-wrap {
        order: -1;
    }

    .gallery-collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 60px;
    }

    .header-contacts {
        display: none;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-tabs {
        flex-direction: column;
    }

    .calculator-box {
        padding: 24px 18px;
    }

    .calc-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .calc-summary .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
