@import url('font/stylesheet.css');

html { scroll-behavior: smooth; }

:root {
    --gold: #dcb96a;
    --gold-hover: #efca7a;
    --bg-center: #1f1b20;
    --bg-edge: #263a22;
    --grid-color: #be9e68;
}

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

html,
body {
    background: #050505;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.07;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 4px);
}

body {
    background: transparent;
}

body {
    color: #ffffff;
    font-family: 'TT Firs Neue', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
    min-height: 100vh;
}

/* Parallax Background */
.parallax-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 50%, #151515 0%, #050505 100%);
    overflow: hidden;
    pointer-events: none;
    transform: translateZ(0);
}

.main-content {
    position: relative;
    z-index: 1;
}

.parallax-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 150vh;
    will-change: transform;
}

.bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('img/background.webp');
    background-size: cover;
    background-position: center;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 75%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 75%, rgba(0,0,0,1) 100%);
}

.bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 80px 80px;
    background-image: 
        linear-gradient(to right, rgba(190, 158, 104, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(190, 158, 104, 0.15) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,1) 50%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,1) 50%);
}

.features-section {
    padding: 70px max(60px, calc(50vw - 720px));
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px max(60px, calc(50vw - 720px));
    position: sticky; /* Or absolute/fixed depending on layout, we'll keep it static/relative at top */
    top: 0;
    z-index: 10000;
    transform: translateZ(0); /* Force stacking context to fix mobile z-index bugs */
}
.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: -1;
    pointer-events: none;
}

.logo img {
    height: 60px; /* Исходный размер логотипа */
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.logo {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.btn-buy-header { display: inline-block; text-align: center; text-decoration: none; cursor: pointer; box-sizing: border-box;
    background: var(--gold);
    color: #000;
    border: 1px solid rgba(255,255,255,0.22);
    padding: 12px 30px;
    font-family: 'TT Firs Neue', sans-serif;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border-radius: 2px;
}

.btn-buy-header::after,
.btn-buy-large::after,
.btn-outline::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-buy-header:hover,
.btn-buy-header:focus-visible {
    transform: translateY(-2px);
    background: var(--gold-hover);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 0 0 1px rgba(220,185,106,0.28), 0 12px 24px rgba(0,0,0,0.25);
}

.btn-buy-header:hover::after,
.btn-buy-header:focus-visible::after,
.btn-buy-large:hover::after,
.btn-buy-large:focus-visible::after,
.btn-outline:hover::after,
.btn-outline:focus-visible::after {
    opacity: 0.45;
    transform: scaleX(1);
}

.btn-buy-header:active,
.btn-buy-large:active,
.btn-outline:active {
    transform: translateY(0);
}

/* Mobile Menu Hidden by default */
.mobile-menu-toggle, .hamburger {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0 max(60px, calc(50vw - 720px));
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: flex-end; /* glass-panel опускаем почти в самый низ */
    padding-bottom: 60px;
}

/* Hero Image smaller and not overlapping header */
.hero-image-container {
    position: absolute;
    top: 40px; /* shift below header area */
    right: max(5%, calc(50vw - 700px)); /* constrain on 4k */
    width: 45%;
    height: calc(100% - 40px);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1; /* За стеклом */
}

.hero-img {
    height: auto;
    max-height: calc(100vh - 120px); /* Не заходит на шапку */
    object-fit: contain;
    position: absolute;
    bottom: 0;
    right: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-content {
    width: 100%;
    max-width: 650px; /* Сделано более компактным */
    position: relative;
    z-index: 2; /* Над героем */
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 40px 50px; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.02);
    position: relative;
    z-index: 1;
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(220,185,106,0.16), transparent 22%) 0 0 / 100% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(220,185,106,0.12)) 0 100% / 100% 1px no-repeat;
}

.panel-top-decoration {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 20px;
}

.bracket-tl {
    width: 25px;
    height: 25px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    position: absolute;
    top: 25px;
    left: 25px;
}

.sec-text {
    color: var(--gold);
    font-family: 'TT Firs Neue', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
}

.main-title {
    font-size: 62px;
    line-height: 0.9;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 22px rgba(220,185,106,0.12);
}

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

.subtitle-wrapper {
    border-left: 3px solid var(--gold);
    padding-left: 25px;
    margin-bottom: 25px;
}

.subtitle {
    font-family: 'TT Firs Neue', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
    font-size: 19px; /* Сделан красивый размер для читаемости */
    line-height: 1.5;
    font-weight: 400;
    color: #eaeaea;
}

.bracket-br {
    width: 25px;
    height: 25px;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.info-row {
    display: flex;
    gap: 50px;
    margin-bottom: 45px;
    font-family: 'TT Firs Neue', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
}

.info-col h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-family: 'TT Firs Neue', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
    text-transform: uppercase;
}

.info-col p {
    font-size: 16px;
    color: #e0e0e0;
}

.info-col .gold-text.bold {
    color: var(--gold);
    font-weight: 700;
    font-size: 20px;
}

.info-col.with-border {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 40px;
}

.btn-buy-large { display: inline-block; text-align: center; text-decoration: none; cursor: pointer; box-sizing: border-box;
    background: var(--gold);
    color: #000;
    border: 1px solid rgba(255,255,255,0.24);
    padding: 18px 55px;
    font-family: 'TT Firs Neue', sans-serif;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border-radius: 2px;
}

.btn-buy-large { display: inline-block; text-align: center; text-decoration: none; cursor: pointer; box-sizing: border-box; animation: button-lock 2.8s ease-in-out infinite; }
@keyframes button-lock { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(0,0,0,0.18), 0 0 0 0 rgba(220,185,106,0); } 50% { box-shadow: inset 0 -4px 0 rgba(0,0,0,0.18), 0 0 0 1px rgba(220,185,106,0.22); } }
.btn-buy-large:hover,
.btn-buy-large:focus-visible {
    transform: translateY(-2px);
    background: var(--gold-hover);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 0 0 1px rgba(220,185,106,0.28), 0 14px 28px rgba(0,0,0,0.32);
}

.scroll-dummy {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'TT Firs Neue', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
    font-size: 24px;
    opacity: 0.5;
}

/* -------------------------------------
   Responsive for Tablets and Mobile
-------------------------------------- */
@media (max-width: 1200px) {
    .main-title { font-size: 62px; }
    .hero-image-container { right: -2%; width: 55%; }
}

@media (max-width: 992px) {
    /* Header Mobile Menu */
    .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Уменьшили высоту шапки по просьбе */
    position: sticky; 
    top: 0;
    z-index: 10000;
}
.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: -1;
    pointer-events: none;
}
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 101;
    }
    
    .logo img {
        height: 45px; /* Мобильный размер */
        max-width: 140px;
    }
    
    
    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    
    .header-right {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(0); /* Removed to prevent horizontal scroll */
        transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 100;
    }
    
    .mobile-menu-toggle:checked ~ .header-right {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
    
    .mobile-menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .nav a {
        font-size: 18px;
    }

    /* Hero Section Mobile */
    .hero-section {
        flex-direction: column;
        padding: 20px 20px 40px; /* Reduced top padding */
        align-items: center; /* back to center on mobile */
        min-height: auto; /* Allow content to dictate height */
    }
    
    .hero-image-container {
        position: relative;
        width: 100%;
        height: 280px; 
        top: 0; right: 0;
        margin-bottom: -50px; 
        justify-content: center;
        -webkit-mask-image: none;
        mask-image: none;
        contain: paint;
    }
    
    .hero-img {
        position: relative;
        height: 100%;
        max-height: none;
        width: auto;
        will-change: transform;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .glass-panel {
        padding: 40px 25px 45px; /* Slightly more bottom padding */
    }
    
    .main-title {
        font-size: 44px; /* Reduced for TT Firs Neue on mobile */
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .subtitle-wrapper {
        margin-bottom: 25px; /* Tighter spacing */
    }
    
    .tags-wrapper {
        display: none;
    }
    
    .info-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px; /* Tighter spacing before button */
    }
    
    .info-col.with-border {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
        padding-left: 0;
        padding-top: 15px;
    }
    
    .btn-buy-large { display: inline-block; text-align: center; text-decoration: none; cursor: pointer; box-sizing: border-box;
        width: 100%;
        padding: 15px 30px; /* Slightly smaller button padding */
        font-size: 16px;
    }

    .bottom-cta .btn-buy-large {
        width: auto;
        max-width: calc(100vw - 40px);
        padding-inline: 34px;
    }
    
    .sec-text {
        font-size: 10px; /* Сильно уменьшено на моб */
        letter-spacing: 1px;
    }
    
    .bracket-tl {
        top: 0; left: 0; 
        margin: 0;
    }
    .bracket-br {
        bottom: 0; right: 0; 
        margin: 0;
    }
}

@media (max-width: 576px) {
    .main-title { font-size: 33px; }
    .hero-image-container { height: 250px; margin-bottom: -30px; }
    .glass-panel { padding: 30px 15px; }
    .tags-wrapper { gap: 10px; }
    .tag { font-size: 13px; padding: 5px 10px; }
}

/* NEW BLOCKS CSS */
.about-section, .location-section, .exhibitors-section {
    padding: 100px max(60px, calc(50vw - 720px));
    position: relative;
    z-index: 2;
}

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

.variant-1 .about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-text { flex: 1; }
.about-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #eaeaea;
}
.about-text .highlight-text {
    color: var(--gold);
    font-weight: bold;
    font-size: 20px;
}
.about-video {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.1);
}
.about-video video {
    width: 100%;
    display: block;
}

/* Variant 2: Background video */
.variant-2 .video-bg-container {
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 60px;
}
.video-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    z-index: 0;
}
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,10,10,0.6);
    z-index: 1;
}
.about-content-overlay {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.about-content-overlay p {
    font-size: 18px; line-height: 1.6; color: #eaeaea; margin-bottom: 15px;
}
.about-content-overlay .highlight-text { color: var(--gold); font-weight: bold; }

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.location-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.address-block {
    margin-top: 30px;
    padding: 20px;
    background: rgba(220,185,106,0.1);
    border-left: 2px solid var(--gold);
    font-size: 18px;
    font-weight: bold;
}
.location-images {
    display: flex;
    gap: 20px;
}
.loc-img {
    flex: 1;
    width: 100%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}

.subsection-title {
    font-size: 32px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    color: var(--gold);
}
.schema-container {
    padding: 20px;
    text-align: center;
}
.schema-scroll {
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.1);
}
.schema-scroll img {
    min-width: 800px;
    max-width: 100%;
    display: block;
}
.scroll-hint {
    margin-top: 15px;
    color: #888;
    font-size: 14px;
}

/* Exhibitors */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.btn-outline {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(220,185,106,0.28), 0 12px 24px rgba(0,0,0,0.25);
}
.exhibitors-desc {
    font-size: 16px;
    color: #aaa;
    margin-top: 10px;
}

.exhibitors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.exhibitor-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
.stand-number {
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.exhibitor-card h4 {
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
}
.exhibitor-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #ccc;
    flex: 1;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    position: relative;
    z-index: 2;
}
.footer p { color: #888; font-size: 14px; }
.footer a { text-decoration: none; }

/* Responsive New Blocks */
@media (max-width: 992px) {
    /* Performance fixes for mobile GPU */
    .header::before, .glass-panel, .footer {
        backdrop-filter: blur(7px) !important;
        -webkit-backdrop-filter: blur(7px) !important;
    }
    .glass-panel {
        box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.02) !important;
    }
    
    .variant-1 .about-content { flex-direction: column; }
    .location-grid { grid-template-columns: 1fr; }
    .location-images { flex-direction: column; }
    .section-header-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .about-section, .location-section, .exhibitors-section { padding: 60px 20px; }
    .variant-2 .video-bg-container { padding: 30px 20px; }
}

/* Stats */
.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold);
    line-height: 1;
}
.stat-label {
    font-size: 14px;
    color: #ccc;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Gallery / Что нас ждет */
.gallery-section {
    padding: 80px max(60px, calc(50vw - 720px));
    position: relative;
    z-index: 2;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.02);
    border-color: var(--gold);
}

/* Exhibitors adjustments */
.exhibitor-card {
    position: relative;
}
.company-head {
    display: flex;
    align-items: center;
    gap: 15px;
}
.company-logo {
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
}

/* Map Section */
.map-section {
    padding: 60px max(60px, calc(50vw - 720px));
    position: relative;
    z-index: 2;
}
.map-container {
    padding: 10px;
}
.privacy-link {
    color: #888;
    text-decoration: underline;
    font-size: 12px;
}
.privacy-link:hover {
    color: var(--gold);
}


.location-images {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.loc-img {
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}


.hero-image-container {
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.schema-scroll img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}


/* Mobile fixes applied via powershell */
@media (max-width: 992px) {

    .main-content {
        position: relative;
        z-index: 1;
    }

    /* 4. ЗАНЯТЬ МЕСТО full width */
    .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    /* 6. Stats row overflow */
    .stats-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
    }
    .stat-item {
        border-left: none !important;
        padding-left: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
        width: 100%;
    }
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* 7. Video on top for about-content */
    .variant-1 .about-content {
        flex-direction: column-reverse !important;
    }
    
    
    
    /* Schema centering */
    .schema-scroll {
        justify-content: flex-start !important;
    }
    /* Fix inline overriding features-section */
    .features-section { padding: 60px 20px !important; }
    
    /* Stats compact on mobile */
    .stats-row { padding: 15px !important; margin-top: 20px !important; }
    .stat-number { font-size: 32px !important; }
    .stat-label { font-size: 12px !important; }
    .stat-item { padding-bottom: 10px !important; }
    
    /* Map/Schema fix */
    .schema-scroll img {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
    
}




















/* Inline Stats in About Section */
.inline-stats {
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: nowrap;
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-stat:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 15px;
}

.about-stat .stat-number {
    font-size: 34px;
    font-weight: 800;
    color: var(--gold);
}

.about-stat .stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .inline-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .inline-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 30px;
    }
    .about-stat {
        border-left: none !important;
        padding-left: 0 !important;
        width: auto;
    }
    .about-stat .stat-number {
        font-size: 32px;
    }
}


/* Current cleanup */
.about-section,
.location-section,
.exhibitors-section,
.gallery-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.features-section .section-title {
    margin-bottom: 32px;
}

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

.feature-card.glass-panel {
    background: rgba(18,18,18,0.78);
    padding: 26px;
    overflow: hidden;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.02) !important;
}

.feature-card.glass-panel::before {
    display: none;
}

.about-content.glass-panel {
    background: rgba(18,18,18,0.82);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.location-info.glass-panel,
.schema-container.glass-panel,
.map-container.glass-panel,
.legal-document.glass-panel,
.footer {
    background: rgba(18,18,18,0.8);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.location-info.glass-panel {
    box-shadow: 0 18px 36px rgba(0,0,0,0.48), inset 0 0 0 1px rgba(255,255,255,0.02) !important;
}

.schema-container.glass-panel,
.map-container.glass-panel,
.legal-document.glass-panel,
.footer {
    box-shadow: 0 20px 44px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02) !important;
}

.feature-card h4 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 20px;
    text-transform: uppercase;
}

.feature-card p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.5;
}

.section-cta {
    text-align: center;
    margin-top: 34px;
    position: relative;
    z-index: 2;
}

.bottom-cta {
    margin: 26px 0 46px;
}

.location-grid {
    margin-top: 30px;
    margin-bottom: 42px;
}

.location-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.loc-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 18px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.loc-stat-card h5 {
    color: var(--gold);
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}

.loc-stat-card p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: #ccc;
}

.schema-title {
    margin-top: 36px;
    margin-bottom: 26px;
}

.schema-container {
    overflow: hidden;
}

.schema-container > img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    display: block;
}

.exhibitors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 36px;
}

.exhibitor-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    text-align: center;
}

.exhibitor-logo-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid rgba(220,185,106,0.18);
    position: relative;
}

.exhibitor-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 10px;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.08);
}

.exhibitor-card:hover .exhibitor-logo-wrap {
    border-color: rgba(220,185,106,0.42);
}

.exhibitor-logo-wrap .company-logo {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border: 0;
    border-radius: 0;
}

.exhibitor-body h4 {
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 8px;
    text-transform: none;
}

.exhibitor-body .stand-number {
    color: rgba(255,255,255,0.55);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.exhibitor-body .stand-number::before,
.exhibitor-body .stand-number::after {
    content: '';
    width: 18px;
    height: 1px;
    background: rgba(220,185,106,0.45);
}

.exhibitor-body p {
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 31ch;
}

.map-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.map-container {
    text-align: center;
}

.map-container .section-title {
    margin-bottom: 16px;
}

.map-container p {
    color: #d7d7d7;
    font-size: 18px;
    line-height: 1.55;
    max-width: 760px;
    margin: 0 auto;
}

.yandex-map {
    width: 100%;
    height: 380px;
    margin-top: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    filter: invert(90%) hue-rotate(180deg) saturate(80%);
    display: block;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: background 0.3s;
}

.social-link:hover,
.social-link:focus-visible {
    background: rgba(255,255,255,0.1);
}

.privacy-row {
    margin-top: 15px;
}

/* Legal document */
.legal-page .parallax-layer {
    height: 100%;
}

.legal-main {
    padding: 70px max(20px, calc(50vw - 560px)) 90px;
}

.legal-header-right {
    margin-left: auto;
}

.legal-document {
    padding: 56px 64px;
}

.legal-kicker {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.legal-document h1 {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.legal-subtitle {
    color: rgba(255,255,255,0.72);
    font-size: 18px;
    margin-bottom: 34px;
}

.legal-document h2 {
    color: var(--gold);
    font-size: 22px;
    margin: 34px 0 14px;
    text-transform: uppercase;
}

.legal-document p,
.legal-document li,
.legal-details {
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    line-height: 1.7;
}

.legal-document p + p {
    margin-top: 10px;
}

.legal-document ul {
    margin: 10px 0 0 22px;
}

.legal-document li + li {
    margin-top: 8px;
}

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

.legal-details {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 24px;
    margin-top: 16px;
}

.legal-details dt {
    color: rgba(255,255,255,0.55);
}

.legal-details dd {
    margin: 0;
}

.legal-date {
    margin-top: 30px;
    color: rgba(255,255,255,0.58) !important;
}

@media (max-width: 1200px) {
    .exhibitors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .about-section,
    .location-section,
    .exhibitors-section,
    .features-section,
    .gallery-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .features-grid,
    .exhibitors-grid {
        grid-template-columns: 1fr !important;
    }

    .exhibitors-grid {
        gap: 38px;
    }

    .exhibitor-logo-wrap {
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .exhibitor-body h4 {
        font-size: 26px;
    }

    .yandex-map {
        height: 320px;
    }

    .legal-main {
        padding-top: 36px;
        padding-bottom: 60px;
    }

    .legal-document {
        padding: 42px 24px;
    }

    .legal-document h1 {
        font-size: 34px;
    }

    .legal-details {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}



