:root {
    --color-black: #1A1A1A;
    --color-black-soft: #111111;
    --color-black-bg: #090C14;
    --color-white: #FFFFFF;
    --color-surface-light: #F8FAFC;
    --color-surface-dark: #151515;
    --color-surface-muted: #27272A;
    --color-brand: #F97316;
    --color-brand-hover: #E0670F;
    --color-accent-lime: #CEF355;
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #CBD5E1;
    --color-text-muted: #94A3B8;
    --color-text-dark: #000000;
    --color-text-dark-muted: #5E6B82;
    --color-border-dark: #1E293B;
    --color-border-muted: #334155;
    --color-border-light: #E5E7EB;
    --color-border-card: #2A2A2A;
    --color-border-subtle: #FFFFFF1A;
    --color-text-gray: #9CA3AF;
    --color-text-soft: #A3A3A3;
    --color-text-legal: #6B7280;
    --color-surface-legal: #F7F7F7;

    --black: var(--color-black);
    --orange: var(--color-brand);
    --gray-light: #F5F5F5;
    --gray-dark: #333333;
    --white: var(--color-white);
    --black-bg: var(--color-black-bg);

    --font-main: 'Unbounded', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;

    --container-max: 1216px;
    --container-page-max: 1440px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 999px;
    --size-touch-target: 44px;
    --z-header: 100;
    --z-mobile-menu: 200;
    --transition-base: 0.2s ease;
    --transition-menu: 0.3s ease;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

@supports (overflow: clip) {
    html, body {
        overflow-x: clip;
    }
}


@media screen and (min-width: 1200px) {
  #rec2425783391 .t-menu-base__maincontainer_logoleft {
    position: relative;
  }

  #rec2425783391 .t-menu-base__leftwrapper_center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    margin-left: 0;
    z-index: 3;
  }

  #rec2425783391 .t-menu-base__rightwrapper {
    margin-left: auto;
  }
}


html {
    scroll-behavior: smooth;
}

body.is-menu-open {
    overflow: hidden;
}

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

.is-hidden {
    display: none !important;
}

.gallery-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F97316;
}

.gallery-link:hover {
    color: var(--color-brand-hover);
}

.btn-link-text {
    color: #ffffff !important;
}

/* Cookie уведомление */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #141414;
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 12px;
}
.cookie-text {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.cookie-icon {
    display: flex;
    height: 36px;
    width: 36px;
    align-items: center;
    justify-content: center;
    color: #E0670F;
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.cookie-consent.is-hidden {
    display: none;
}

.cookie-consent__content {
    max-width: 1216px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cookie-consent__content p {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-inter);
}

.cookie-consent__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: start;
    width: 100%;
}

.cookie-consent__links a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.cookie-consent__links a:hover {
    color: var(--color-brand-hover);
}
.cookie-btn {
    border: 1px solid var(--color-brand);
    width: calc(100% - 40px);
}

@media (min-width: 768px) {
    .cookie-consent__links {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: start;
        width: 100%;
    }
    .cookie-consent {
        flex-direction: row;
        gap: 14px;
        align-items: center;
        justify-content: center;
        padding: 20px 28px;
        border-radius: 2px;
        margin: 0;
    }
    .cookie-btn {
        width: fit-content;
        max-width: 195px;
    }
}

.error-section {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-20) var(--space-6);
}
.error-section h1 {
    font-size: 24px;
    color: var(--color-white);
    font-family: var(--font-main);
    text-align: center;
    font-weight: 800;
    margin-bottom: 16px;
    margin-top: 40px;
}
.error-section h1 span {
    color: var(--color-brand);
}
.error-section p {
    font-size: 18px;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 522px;
    margin-bottom: var(--space-10);
}
.error-code {
    font-size: clamp(112px, 34vw, 128px);
    line-height: 0.95;
    font-family: var(--font-main);
    color: #2C2C2C;
    font-weight: 800;
}
.error-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-code-text {
    font-size: 12px !important;
    color: #9CA3AF !important;
    text-align: center !important;
    width: 100%;
    margin-bottom: 32px !important;
    margin-top: 16px;
}
.error-code-text span {
    color: #FFFFFF66;
}
.footer-title {
    font-family: var(--font-main);
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--color-white);
}

.unbounded {
    font-family: var(--font-main); 
}
.inter {
    font-family: var(--font-inter); 
}

body {
    font-family: var(--font-inter);
    background: var(--color-black-bg);
    color: var(--color-black);
    line-height: 1.4;
}

h1, h2, h3, h4, .title, .subtitle, a, button, .logo__text, .card-badge, .logo {
    font-family: var(--font-main); 
}

.container {
    padding: 0;
    max-width: 100%;
}

svg {
    flex-shrink: 0;
}

main,
section,
.facility-layout > *,
.contact-hero__grid > *,
.split-grid > *,
.info-base__container > * {
    min-width: 0;
}

.icon-flip-x {
    transform: scaleX(-1);
}

.logo__text {
    font-size: 24px;
    line-height: 32px;
    font-weight: 800;
    color: var(--color-white);
    min-width: 0;
}
.logo__text span, .selected-page {
    color: var(--color-brand) !important;
}

/* Хедер */
.header {
    align-items: center;
    justify-content: center;
    display: flex;
    padding: var(--space-3) var(--space-4);
    background: var(--color-black-bg);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    border-bottom: 1px solid #262626;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
}
.logo span {
    color: var(--color-brand);
}

.logo__icon {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.burger {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
}

.burger:hover {
    color: var(--color-brand);
}

.burger span {
    height: 3px;
    background: var(--black);
    border-radius: 2px;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-black-bg);
    z-index: var(--z-mobile-menu);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition:
        transform var(--transition-menu),
        visibility 0s linear var(--transition-menu);
}

.mobile-menu.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform var(--transition-menu);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid #262626;
    color: var(--color-white);
}

.mobile-menu__body {
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-8) var(--space-5) var(--space-16);
}

.mobile-nav__list li {
    margin-bottom: var(--space-3);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
}

.mobile-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-touch-target);
}

.mobile-nav__list li .selected-page {
    color: var(--color-brand);
    text-decoration: underline;
}

.mobile-nav__list li:hover {
    color: var(--color-brand);
}

.btn {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: var(--color-brand);
    color: var(--color-white);
    padding: 14px var(--space-5);
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    gap: var(--space-2);
    font-family: var(--font-main);
    /*width: 100%;*/
}

.btn--primary {
    background: var(--color-brand);
    color: var(--color-white);
}

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

.btn--wide {
    padding: 16px 48px !important;
    font-size: 18px !important;
    line-height: 28px !important;
}

.btn--compact {
    padding: 12px 32px;
    font-size: 16px;
}

.btn--large {
    padding: 16px 40px;
    font-size: 18px;
}

.mobile-menu__btn {
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-weight: 700;
    width: 100% !important;
}

/* Видео-заглушка */
.video__placeholder {
    height: 864px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.btn--play {
    color: white;
}
.btn--play:hover {
    color: #F97316;
}

.play-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.halls {
    width: 100%;
    align-items: center;
    padding: 48px 0 0 0;
}

.halls .container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.halls .title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #F8FAFC;
    text-align: center;
    width: 100%;
}

.halls__text {
    color: #CBD5E1;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: 672px;
}

/* Навигация по залам */
.halls-nav-wrapper {
    width: 100%;
    max-width: 100vw;
    border-bottom: 1px solid #1E293B;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    contain: inline-size;
    scrollbar-width: none; /* скрываем ползунок в Firefox */
    -ms-overflow-style: none; /* скрываем в IE/Edge */
}

.halls-nav-wrapper::-webkit-scrollbar {
    display: none; /* скрываем ползунок в Chrome/Safari */
}

.halls-nav-container {
    max-width: 1216px;
    margin: 0 auto;
}

.location a {
    font-family: var(--font-inter);
}
.halls-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 72px;
    white-space: nowrap;
}
.hall-content {
    display: none;
}
.hall-content[hidden] {
    display: none !important;
}
.hall-content.active {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
}
.halls-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--size-touch-target);
    padding: 0 16px;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #CBD5E1;
    background: transparent;
    border-radius: 2px;
    border: 1px solid #334155;
    text-decoration: none;
    text-transform: uppercase;
    transition: all var(--transition-base);
    flex-shrink: 0;
    font-family: var(--font-main);
    cursor: pointer;
}

.halls-nav__link:hover {
    color: #F97316;
}

.halls-nav__link--active {
    border: 1px solid var(--color-brand);
    color: var(--color-text-primary);
    background: var(--color-brand);
}

.halls-nav__link--active:hover {
    background: var(--color-brand-hover);
    border: 1px solid var(--color-brand-hover);
    color: var(--color-text-primary);
}

.halls-nav__link--all {
    border: 1px solid transparent;
}

.halls__content {
    flex: 1;
    text-align: left;
    align-items: flex-start;
}
.hall__gallery {
    flex: 1;
}

.halls__h2 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.statistics .bold {
    font-size: 36px;
    line-height: 40px;
    font-weight: 800;
    font-family: var(--font-main);
    color: #F97316;
}

.halls__content h3 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.halls__content .subtitle {
    margin-bottom: 12px !important;
}
.halls_subtitle {
    display: none !important;
}

.halls__content .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    border: 1px solid #334155;
}

.div-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #334155;
    color: #F97316;
}

.div-icon-36 {
    width: 36px;
    height: 36px;
}

.users .div-icon {
    background: transparent;
    border: 1px solid #E5E7EB;
    width: 48px;
    height: 48px;
}

.halls__content .icon img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

h2, h3, h4 {
    color: #F8FAFC;
    margin-bottom: 12px;
    text-transform: uppercase;
}

h2 {
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
}

h3 {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
}

h4 {
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 20px;
}

.halls__content p {
    color: #CBD5E1;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
}
.hall-card-info {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    margin-bottom: 0 !important;
    font-family: var(--font-main);
}

.halls__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.equipment {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.equipment-block {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    padding: 20px;
    margin-bottom: 24px;
}

.white-container .equipment-block {
    background: #FFFFFF;
}

.halls__grid .card {
    background: #27272A;
    border: 1px solid #334155;
    border-radius: 2px;
    flex: 1;
    display: flex;
    padding: 16px;
    gap: 4px;
    flex-direction: column;
}

.hall-card-title {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #CBD5E1;
}

.halls__content .grid .hall-card-title img {
    height: 14px;
    width: 14px;
}

/* виды спорта */
/* Навигация по залам */
.sports-wrapper {
    width: 100%;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none; /* скрываем ползунок в Firefox */
    -ms-overflow-style: none; /* скрываем в IE/Edge */
}

.sports-wrapper::-webkit-scrollbar {
    display: none; /* скрываем ползунок в Chrome/Safari */
}

.sports-container {
    max-width: 100%;
}

.sports-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: wrap;
}

.sport-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #CBD5E1;
    background: #27272A;
    border-radius: 2px;
    border: 1px solid #334155;
    flex-shrink: 0;
}

.white-container .sport-item {
    color: #5E6B82;
    background: transparent;
    border-radius: 2px;
    border: 1px solid #5E6B82;
    flex-shrink: 0;
}

.sport-item--accent {
    color: var(--color-brand) !important;
}

.white-container .equipment-item {
    color: #5E6B82;
}

.facility-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-4);
    border-radius: var(--radius-xs);
    border: 1px solid;
}

.metric-card--dark {
    background: #27272A;
    border-color: #FFFFFF0D;
}

.metric-card--light {
    background: #FFFFFF;
    border-color: #E5E7EB;
}

.metric-card__value {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.metric-card__value--accent {
    color: var(--color-brand);
}

.metric-card__value--dark {
    color: #111111;
}

.metric-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6B7280;
}

.metric-card__label--light {
    color: #5E6B82;
}

.section-copy {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: var(--space-8);
}

.section-copy--dark {
    color: #9CA3AF;
}

.section-copy--light {
    color: #5E6B82;
}

.facility-subtitle {
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.facility-subtitle--light {
    color: var(--color-surface-muted);
}

.sport-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.equipment-block--spaced {
    margin-bottom: var(--space-8);
}

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.equipment-item {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
}

.equipment-item img, .equipment-item svg {
    color: #F97316;
    height: 16px;
    width: 16px;
}

.users {
    width: 100%;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    padding: 0 20px;
    padding-top: 48px;
    padding-bottom: 96px;
}

.users__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
}

.life {
    width: 100%;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    padding: 64px 20px;
}

.life__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.life__container > * {
    min-width: 0;
}

.divider-y-48 {
    height: 48px;
    width: 1px;
    background: #1E293B;
    display: none;
}

/* Hero блок */
.hero {
    width: 100%;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    padding: 48px 24px;
}

.hero__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.cost-card {
    background: #27272A;
    border: 1px solid #334155;
    border-radius: 2px;
    flex: 1;
    display: flex;
    padding: 20px;
    gap: 16px;
    flex-direction: column;
}

.cost-card--spaced {
    margin-bottom: var(--space-8);
}

.cost-card__title {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.cost-card__title--light {
    color: var(--color-text-dark);
}

.white-container .cost-card {
    background: #EDEDED;
    border: 1px solid #EDEDED;
}

.white-container .cost {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    color: #000000;
}

.cost {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    padding: 20px;
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.cost .bold {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.white-container .cost .bold, .white-container .cost .rub {
    color: #000000;
}

.cost .rub {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.cost__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.btn--cost {
    padding: 14px 24px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

/* Левая колонка с текстом */
.hero__left {
    flex: 1;
    text-align: left;
    padding-top: 16px;
    align-items: flex-start;
}

.hero__stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    max-width: 50%;
}

.stat {
    font-weight: 700;
    font-size: 32px;
    color: var(--black);
}

.hero__title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000000;
}

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

.hero__subtitle {
    font-size: 18px;
    color: #5D6983;
    line-height: 28px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}

.subtitle {
    font-size: 12px;
    color: var(--orange);
    font-weight: 600;
    line-height: 16px;
    margin-bottom: 24px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 288px;
}

.hero__text {
    color: #5E6B82;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 32px;
}

/* Правая колонка с карточками */
.hero__right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.gallery-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.gallery-card {
    background: #000000;
    /* aspect-ratio: 1 / 1; */
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.selected {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #334155;
    border-radius: 2px;
}

.btn-img {
    border: 1px solid #334155;
    border-radius: 2px;
}

/* .btn-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    pointer-events: none;
    z-index: 1;
} */

.btn-img--active {
    border: 1px solid #F97316;
}

.rent-gallery {
    flex-direction: column;
    gap: var(--space-6);
    justify-content: center;
    overflow: hidden;
    max-width: 582px;
}

.rent-gallery--mobile {
    display: flex;
    margin-bottom: var(--space-8);
}

.rent-gallery__image {
    border-radius: var(--radius-xs);
    aspect-ratio: 2 / 1;
    max-height: 300px;
}

.rent-gallery__thumbs {
    display: grid;
    gap: var(--space-4);
}

.rent-gallery__thumbs--desktop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 120px;
}

.rent-gallery__thumbs--mobile {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rent-gallery__thumbs--mobile-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facility-title {
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: clamp(22px, 7.2vw, 26px);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: var(--space-8);
    overflow-wrap: anywhere;
}

.facility-title--light {
    color: #000000;
}

.user-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(39, 39, 42, 0) 0%,
        rgb(0, 0, 0) 100%
    );
    pointer-events: none; /* чтобы не мешать кликам */
    z-index: 1;
    padding: 24px;
}

.format-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(39, 39, 42, 0) 0%,
        rgb(0, 0, 0) 100%
    );
    pointer-events: none; /* чтобы не мешать кликам */
    z-index: 1;
    padding: 24px;
}


/* Верхняя половина карточки */
.card-top {
    position: relative;
    overflow: hidden;
}
.card-top::before, .img-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(39, 39, 42, 0) 0%,
        rgb(0, 0, 0) 100%
    );
    pointer-events: none; /* чтобы не мешать кликам */
    z-index: 1;
}
/*.grad-top::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(0, 0, 0, 1) 0%,*/
/*        rgba(0, 0, 0, 0) 40%*/
/*    );*/
/*    pointer-events: none;*/
/*    z-index: 1;*/
/*}*/

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-bg-img-21 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 2/1;
}

.card-badge, .selected-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #F8FAFC;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    z-index: 2;
    font-family: var(--font-main);
    display: flex;
    gap: 8px;

}
.selected-badge {
    top: 17px;
    left: 17px;
    padding: 6px 12px;
}

.sguare-badge {
    position: absolute;
    bottom: 17px;
    right: 17px;
    color: #CBD5E1;
    font-weight: 400;
    font-size: 12px;
    padding: 6px 12px;
    z-index: 2;
    background: #27272A;
    border-radius: 2px;
    border: 1px solid #334155;
}

/* Нижняя половина карточки */
.card-bottom {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.card-title {
    font-weight: 800;
    font-size: 14px;
    color: #F8FAFC;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-text {
    font-size: 12px;
    color: #A1A1AA;
    line-height: 1.4;
    margin-bottom: 14px;
    max-width: 300px;
}

/* Новая строка с удобствами */
.card-amenities {
    display: flex;
    gap: 16px;
}

.amenity {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Секция залов */
.section-title {
    font-size: 28px;
    margin: 40px 0 20px;
    text-align: center;
}

.halls__selected {
    background: var(--gray-light);
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 20px;
    min-height: 200px;
}

.halls__carousel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.hall-card {
    flex: 0 0 280px;
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.hall-card.active {
    border-color: var(--orange);
    background: #FFF6E8;
}

/* Преимущества */
.stats-grid {
    display: flex;
    justify-content: space-around;
    margin: 24px 0;
}

.stat-card {
    text-align: center;
    font-weight: 800;
    font-size: 28px;
}

.stat-card span {
    display: block;
    font-size: 14px;
    font-weight: normal;
}

/* Партнеры */
.partners__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.partner-logo {
    background: #ddd;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: bold;
}

/* События */
.events__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: var(--gray-light);
    padding: 20px;
    border-radius: 24px;
}

.event-date {
    color: var(--orange);
    font-weight: 600;
}

/* Локация */
.location__info {
    background: var(--gray-light);
    padding: 20px;
    border-radius: 24px;
}

.map-placeholder {
    background: #ccc;
    height: 160px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Футер */
.footer {
    background: #111;
    color: white;
    padding: 40px 20px;
    margin-top: 48px;
    border-top: 1px solid #1F2937;
}

.tour-container {
    width: 100%;
    height: 800px;
    position: relative;
}

.tour-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

.tour-close-btn {
    position: absolute;
    top: var(--space-10);
    right: clamp(var(--space-4), 6vw, 100px);
    display: flex;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 12px;
    text-transform: uppercase;
}

.tour-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.tour-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.tour-step__number {
    flex: none;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--color-brand);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
}

.tour-step__title {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
}

.tour-step__text {
    color: var(--color-text-gray);
    font-size: 14px;
}

.content-section--dark-band {
    background: var(--color-surface-dark);
}

.map-frame-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.map-frame-link {
    color: #EEEEEE;
    font-size: 12px;
    position: absolute;
    left: 0;
    z-index: 1;
}

.map-frame-link--top {
    top: 0;
}

.map-frame-link--bottom {
    top: 14px;
}

.map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: var(--radius-lg);
}

.info-tile {
    display: flex;
    flex-direction: column;
    padding: var(--space-8);
    border-radius: var(--radius-xs);
    background: #151515;
    border: 1px solid #FFFFFF0D;
}

.info-tile--compact {
    gap: var(--space-2);
}

.info-tile--spacious {
    gap: var(--space-6);
}

.info-tile__icon {
    flex: none;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--color-brand);
    background: #F973161A;
    font-size: 20px;
}

.info-tile__icon--large {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.info-tile__title {
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: var(--space-4);
}

.info-tile__text {
    color: #9CA3AF;
    font-size: 14px;
}

.content-section {
    width: 100%;
    padding: var(--space-8) var(--space-4);
}

.content-section--compact {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.content-section--medium {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.section-heading {
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: clamp(22px, 7.2vw, 26px);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: var(--space-8);
    overflow-wrap: anywhere;
}

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

.section-heading--dark {
    color: #000000;
}

.section-intro {
    color: #9CA3AF;
    font-size: 16px;
    line-height: 1.2;
    max-width: 675px;
    margin-bottom: var(--space-16);
}

.section-intro--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-intro--wide {
    max-width: 832px;
}

.feature-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    width: 100%;
    max-width: 896px;
    padding: var(--space-8);
    border-radius: var(--radius-md);
    background: var(--color-surface-dark);
}

.feature-panel__title {
    color: var(--color-white);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
}

.feature-check-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.feature-check {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-text-gray);
    font-size: 16px;
}

.feature-check svg {
    color: var(--color-brand);
}

.split-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

.split-copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.split-copy__title {
    color: var(--color-white);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.framed-media {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--color-border-card);
    border-radius: var(--radius-md);
}

.framed-media__image {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-md);
}

.space-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-border-card);
}

.space-card__title {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    color: var(--color-white);
    font-family: var(--font-main);
    font-weight: 800;
    text-transform: uppercase;
}

.space-card__title svg {
    color: var(--color-brand);
}

.space-card__text {
    color: var(--color-text-gray);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
}

.benefit-item__icon {
    flex: none;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    color: var(--color-brand);
    background: #F973161A;
    font-size: 24px;
}

.benefit-item__title {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.benefit-item__text {
    color: var(--color-text-gray);
    font-size: 11px;
    text-align: center;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

.audience-card {
    overflow: hidden;
    border-radius: var(--radius-xs);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-border-card);
}

.audience-card__image {
    width: 100%;
    display: block;
}

.audience-card__body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: var(--space-5);
}

.audience-card__title {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.audience-card__text {
    color: var(--color-text-gray);
    font-size: 14px;
}

.media-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.media-mosaic__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xs);
    border: 1px solid var(--color-border-card);
}

.media-mosaic__item--wide {
    grid-column: span 2;
}

.media-mosaic__image {
    border-radius: var(--radius-xs);
}

.media-mosaic__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    color: var(--color-text-primary);
    font-family: var(--font-main);
    font-size: clamp(10px, 3.2vw, 12px);
    line-height: 1.2;
    text-transform: uppercase;
    padding: var(--space-4);
    overflow-wrap: anywhere;
}

.stat-line {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.stat-line__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-gray);
    font-size: 14px;
    text-align: center;
}

.stat-line__value {
    color: var(--color-brand);
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: 800;
}

.cta-panel {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-10) var(--space-5);
    border-radius: var(--radius-xs);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-border-dark);
}

.cta-panel__title {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
}

.notice-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 1px solid #FFFFFF0D;
    color: var(--color-text-gray);
}

.notice-card--dark {
    background: transparent;
}

.notice-card--light {
    background: #EDEDED;
    color: var(--color-text-dark-muted);
}

.notice-card__title {
    margin: 0;
    font-weight: 600;
}

.notice-card__title--accent {
    color: var(--color-brand);
}

.rent-comparison {
    display: grid;
    gap: var(--space-4);
}

.rent-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-5);
    border-radius: var(--radius-xs);
    background: var(--color-black);
    border: 1px solid var(--gray-dark);
    color: var(--color-white);
}

.rent-card__title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
}

.rent-card__rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.rent-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--gray-dark);
}

.rent-card__label,
.rent-card__price-label {
    color: #888888;
    font-size: 11px;
    text-transform: uppercase;
}

.rent-card__price {
    color: var(--color-brand);
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

.gallery-mosaic__button {
    overflow: hidden;
    border: 1px solid var(--color-border-card);
    border-radius: var(--radius-xs);
}

.gallery-mosaic__button--wide {
    grid-column: span 1;
}

.gallery-mosaic__image {
    width: 100%;
    display: block;
}

.gallery-mosaic__image--square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-mosaic__image--wide {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.machine-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.machine-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    border-radius: var(--radius-xs);
    border: 1px solid var(--color-border-subtle);
    background: var(--color-surface-dark);
    color: var(--color-brand);
    text-align: center;
}

.machine-feature__text {
    color: var(--color-text-gray);
    font-size: 12px;
    font-weight: 500;
}

.rent-pricing--dark {
    background: var(--color-surface-dark);
    border-color: var(--color-border-subtle);
}

.rent-pricing__title {
    margin: 0;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
}

.rent-pricing__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-xs);
    border: 1px solid var(--color-border-subtle);
    background: var(--color-black-soft);
}

.rent-pricing__name {
    color: var(--color-white);
    font-weight: 600;
}

.rent-pricing__note {
    color: var(--color-text-gray);
    font-size: 12px;
}

.rent-pricing__value {
    color: var(--color-brand);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
}

.policy-hero,
.policy-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-20) var(--space-5);
    background: var(--color-surface-legal);
    color: var(--color-text-legal);
    text-align: center;
}

.policy-hero__title {
    color: var(--color-text-dark);
    font-family: var(--font-main);
    font-size: clamp(16px, 5vw, 20px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.policy-hero__lead {
    max-width: 580px;
    font-size: 18px;
}

.policy-hero__date {
    font-size: 14px;
}

.policy-cta__title {
    color: var(--color-text-dark);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.policy-cta__text {
    max-width: 580px;
}

.footer--flush {
    margin-top: 0;
}

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

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

.text-lime {
    color: var(--color-accent-lime);
}

.divider--muted {
    background: #FFFFFF66;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    width: 100%;
    margin-bottom: var(--space-16);
}

.link-icon-accent {
    color: var(--color-brand);
}

.feedback-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-10);
}

.feedback-link {
    color: #64748B;
    gap: var(--space-1);
}

.feedback-rating {
    display: flex;
    gap: var(--space-1);
    color: var(--color-brand);
    font-size: 14px;
}

.feedback-copy {
    margin-bottom: var(--space-3);
}

.feedback-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.users-intro {
    max-width: 576px;
    margin-bottom: var(--space-8);
}

.users-title {
    margin-bottom: var(--space-6);
    font-size: 36px;
}

.users-text {
    color: #5D6983;
    font-size: 14px;
}

.audience-showcase {
    display: grid;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

.audience-showcase__nested {
    display: grid;
    gap: var(--space-4);
}

.audience-showcase__small-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.audience-feature {
    position: relative;
}

.audience-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.audience-overlay--compact {
    padding: var(--space-4);
}

.audience-overlay__title {
    color: var(--color-text-primary);
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.audience-overlay__title--compact {
    margin-bottom: var(--space-2);
}

.audience-overlay__text {
    color: var(--color-text-secondary);
    font-size: 12px;
}

.partners-title {
    margin-bottom: var(--space-8);
    font-size: clamp(26px, 8.5vw, 30px);
    text-align: center;
    overflow-wrap: anywhere;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
    max-width: var(--container-max);
}

.partner-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    flex: none;
}

.challenge__content {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.challenge__badges,
.challenge__logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.challenge__text {
    color: var(--color-text-gray);
    font-size: 20px;
    max-width: 540px;
}

.challenge__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-2);
}

.challenge__mobile-image {
    display: block;
}

.challenge__desktop-image {
    display: none;
}

.formats__title {
    color: #FAFAFA;
    font-size: clamp(28px, 9vw, 32px);
    overflow-wrap: anywhere;
}

.formats__lead {
    color: #A1A1AA;
    max-width: 500px;
    margin-bottom: var(--space-16);
}

.formats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.format-card {
    position: relative;
}

.format-info__title {
    color: var(--color-text-primary);
    font-family: var(--font-main);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.format-info__text {
    color: var(--color-text-secondary);
    font-size: 14px;
    max-width: 448px;
}

.to-book__text,
.life__text {
    color: var(--color-text-muted);
    max-width: 576px;
    overflow-wrap: anywhere;
}

.to-book__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    width: 100%;
}

.life__title {
    font-size: clamp(30px, 10vw, 48px);
    overflow-wrap: anywhere;
}

.life-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: var(--space-3);
    width: 100%;
}

.life-stat {
    min-width: 0;
    text-align: center;
}

.life-stat__value {
    color: var(--color-brand);
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 800;
}

.life-stat__label {
    color: #64748B;
    font-size: 12px;
    line-height: 16px;
}

.location-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.location-card-title {
    color: #64748B;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.location-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.location-contact {
    display: flex;
    gap: var(--space-3);
}

.location-contact__icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-color: var(--color-border-muted);
    background: #3F3F46;
    color: var(--color-text-muted);
}

.location-contact__icon--primary {
    border-color: var(--color-border-light);
    background: transparent;
    color: var(--color-brand);
}

.location-contact__body {
    color: var(--color-text-muted);
    font-size: 12px;
}

.location-contact__link,
.location-contact__value {
    color: #E2E8F0;
    font-size: 14px;
    font-weight: 500;
}

.location-contact__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-touch-target);
}

.route-card {
    padding: var(--space-4);
    border-radius: var(--radius-xs);
    border: 1px solid var(--color-border-dark);
}

.route-card__title {
    color: #64748B;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.route-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: 10px;
}

.route-row:last-child {
    margin-bottom: 0;
}

.route-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    border-color: var(--color-border-muted);
    background: #3F3F46;
    color: var(--color-text-muted);
    font-size: 12px;
}

.route-icon--metro {
    color: #F87171;
    background: #300e0e;
    border-color: #691e1e;
}

.route-text {
    color: var(--color-text-muted);
    font-size: 12px;
}

.footer a {
    font-family: var(--font-inter);
}
.footer a:hover {
    color: #F97316;
}

.site-footer__layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.site-footer__brand-icon {
    display: none;
}

.site-footer__tagline {
    color: #A3A3A3;
    font-size: 14px;
    margin-bottom: var(--space-10);
}

.site-footer__socials {
    display: none;
    gap: var(--space-4);
}

.site-footer__social-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #1F2937;
    background: #151515;
    color: #9CA3AF;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.site-footer__column {
    color: #9CA3AF;
    font-size: 14px;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-footer__brand,
.site-footer__links a,
.site-footer__phones a,
.site-footer__contact-item a {
    min-height: var(--size-touch-target);
}

.site-footer__links a,
.site-footer__phones a,
.site-footer__contact-item a {
    display: inline-flex;
    align-items: center;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.site-footer__contact-item {
    display: flex;
    gap: var(--space-3);
}

.site-footer__contact-icon {
    color: var(--color-brand);
}

.site-footer__phones {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.site-footer__copy {
    width: 100%;
    padding-top: var(--space-8);
    border-top: 1px solid #1F2937;
    color: #CCCCCC;
    font-size: 11px;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.footer__contacts {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer__docs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer__copy {
    font-size: 12px;
    text-align: center;
}

/* Десктопная навигация */
.desktop-nav {
    display: none;
}

.desktop-nav__list {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.desktop-nav__list li a {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-touch-target);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #D4D4D4;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.desktop-nav__list li a:hover {
    color: #F97316;
}

.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 70%,
        rgba(3, 7, 18, 0.4) 100%
    );
    pointer-events: none; /* чтобы не мешать кликам */
    z-index: 1;
}

.btn--challenge {
    align-items: center;
    padding: 13px 32px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    background: #CEF355;
    border: 1px solid #CEF355;
    color: #000000;
    white-space: nowrap;
    font-family: var(--font-inter);
    font-style: italic;
}

.btn--challenge-text {
    background: transparent;
    color: #9CA3AF;
    border: 1px solid #374151;
}

.btn--challenge:hover {
    background: #bcdb54;
}
.btn--challenge-text:hover {
    background: transparent;
    color: #bcdb54;
    border: 1px solid #bcdb54;
}

.marker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.marker-list__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #DADADA;
    letter-spacing: 1px;
}

.marker-list__item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #CEF355;
    border-radius: 50%;
    flex-shrink: 0;
}

.marker-list__item:first-child::before {
    display: none;
}

/* Кнопка "Забронировать" для десктопа */
.btn--desktop {
    display: none; /* скрыта на мобилке */
    align-items: center;
    max-width: 200px;
    padding: 12px 20px;
    gap: 8px;
    min-height: var(--size-touch-target);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    background: #F97316;
    color: #F8FAFC;
    text-transform: uppercase;
    text-align: center;
    border-radius: 2px;
    white-space: nowrap;
    font-family: var(--font-main);
}

.btn--desktop:hover, .mobile-menu__btn:hover {
    background: #e0670f;
}

.features-grid {
    display: flex;
    gap: 8px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #1E293B;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-border {
    width: 1px;
    height: 40px;
    background: #1E293B;
}

.feature-number {
    font-weight: 800;
    font-size: 22px;
    color: #000000;
    line-height: 32px;
    font-family: var(--font-main); 
}

.feature-label {
    font-size: 12px;
    line-height: 16px;
    color: #64748B;
    text-transform: lowercase;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn--hero {
    padding: 16px 32px 18px 32px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    line-height: 20px;
}

.btn--hero-primary {
    background: #F97316;
    color: #F8FAFC;
    border: none;
}

.btn--hero-primary:hover {
    background: #e0670f;
}

.btn--hero-large {
    padding: 16px 32px !important;
    font-size: 18px !important;
}

.btn--hero-secondary {
    background: transparent;
    color: #FFFFFF !important;
    border: 1px solid #374151;
}

.white-container .btn--hero-secondary {
    color: #5D6983;
    border: 1px solid #3F3F46;
}

.btn--hero-secondary:hover, .white-container .btn--hero-secondary:hover {
    border-color: #F97316;
    color: #F97316;
}

.btn--text {
    background: transparent;
    color: #9CA3AF !important;
    border: 1px solid #9CA3AF;
}
.btn--text:hover {
    background: transparent;
    color: #F8FAFC;
    border: 1px solid #F8FAFC;
}

.statistics {
    width: 100%;
    align-items: center;
    padding: 32px 112px;
    background: #111111;
    border-top: 1px solid #1E293B;
    border-bottom: 1px solid #1E293B;
}

.to-start {
    width: 100%;
    /* margin: 35px auto; */
    padding: 0 20px;
}

.to-start__container {
    max-width: 1216px;
    margin: 35px auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    border: 1px solid #1E293B;
    padding: 48px 20px;
}

.to-book__container {
    max-width: 1216px;
    width: 100%;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 2px;
    border: 1px solid #1E293B;
    padding: 32px 20px;
    gap: 16px;
}
.to-book {
    width: 100%;
    padding: 0 20px;
}

.challenge {
    width: 100%;
    padding: 32px 20px;
}

.challenge .img-logo {
    max-width: 100%;
    height: clamp(44px, 15vw, 52px);
    object-fit: contain;
}

.challenge__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    gap: var(--space-8);
    align-items: center;
}

.challenge h2 {
    font-size: 30px;
    line-height: 1.4;
    font-weight: 800;
    font-family: var(--font-montserrat);
    color: #FFFFFF;
    font-style: italic;
}

.challenge-bagde {
    border: 1px solid rgba(206, 243, 85, 0.3);
    background: rgba(206, 243, 85, 0.1);
    border-radius: 2px;
    padding: 2px 8px;
    font-size: 10px;
    color: #CEF355;
    line-height: 15px;
    font-weight: 500;
    font-family: var(--font-main);
    text-transform: uppercase;
}

.location {
    width: 100%;
    padding: 64px 20px;
}

.location__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
}

.formats {
    width: 100%;
    padding: 60px 20px;
}
.formats__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
}
.feedback__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
}
.feedback {
    display: block;
    width: 100%;
    padding: 64px 20px;
}

.feedback .subtitle {
    margin-bottom: 0;
}

.advantages {
    width: 100%;
    align-items: center;
    padding: 64px 20px;
}

.advantages .container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages .title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: #F8FAFC;
}

.to-start .title,
.to-book h2 {
    font-size: clamp(26px, 8vw, 30px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.25;
    text-transform: uppercase;
    text-align: center;
    color: #F8FAFC;
    overflow-wrap: anywhere;
}

.to-start .text, .to-book .text {
    color: #CBD5E1;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 32px;
    max-width: 520px;
    text-align: center;
}

.to-book h2,
.to-book .text {
    text-align: start;
}

.advantages-text {
    color: #CBD5E1;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 24px;
    max-width: 672px;
    min-height: 84px;
    text-align: center;
}

.divider {
    height: 2px;
    background: #F97316;
    width: 32px;
}

.advantage-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
    white-space: wrap;
    margin-bottom: 32px;
}

.adv-item {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 800;
    line-height: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F97316;
    background: rgb(249, 115, 22, 0.1);
    border-radius: 2px;
    border: 1px solid rgb(249, 115, 22, 0.25);
    font-family: var(--font-main);
    justify-content: center;
}

.adv-item-wide {
    grid-column: span 2;
}

.adv-item img {
    height: 12px;
    width: 12px;
}

.adv-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feedback-item {
    border: 1px solid #1E293B;
    border-radius: 2px;
    flex: 1;
    display: flex;
    gap: 11px;
    flex-direction: column;
    padding: 20px;
    align-items: flex-start;
    color: #94A3B8;
}

.adv-card {
    background: #27272A;
    border: 1px solid #3F3F46;
    border-radius: 2px;
    flex: 1;
    display: flex;
    min-width: 0;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.adv-card--top {
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.12) 0%, rgba(255, 119, 0, 0.04) 60%, rgba(255, 119, 0, 0.12) 90%, #27272A 110%);
    border: 1px solid rgba(255, 119, 0, 0.5);
}

.adv-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #3F3F46;
    background: #3F3F46;
    color: #94A3B8;
    margin-bottom: 24px;
}

.adv-card--top .icon {
    border: 1px solid rgba(255, 119, 0, 0.45);
    background: rgba(255, 119, 0, 0.18);
    color: #F97316;
}

.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 100%;
    border: 1px solid #E5E7EB;
    color: #F97316;
    font-size: 12px;
    line-height: 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-main);
}

.adv-card .icon img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.adv-card-title {
    font-weight: 800;
    font-size: 14px;
    line-height: 20px;
    color: #F8FAFC;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: var(--font-main);
    overflow-wrap: anywhere;
}

.adv-card p {
    max-width: 323px;
    color: #94A3B8;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
}

.adv-info {
    color: #475569;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    gap: 8px;
    padding-top: 16px;
    width: 100%;
    border-top: 1px solid #1E293B;
}

.adv-card--top .adv-info {
    border-top: 1px solid #E5E7EB;
}

.adv-info span {
    font-weight: 800;
    color: #F97316;
    font-family: var(--font-main);
}

.adv-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #F8FAFC;
    background: #F97316;
    border-radius: 2px;
    font-weight: 800;
    font-size: 12px;
    line-height: 16px;
    padding: 4px 10px;
    z-index: 2;
}

.adv-badge img {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.hero-info__container, .rent-info__container {
    width: 100%;
}

.page-hero {
    position: relative;
}

.page-hero__overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.page-hero__tour-overlay {
    position: absolute;
    inset: 0;
}

.page-hero__center {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 720px;
    height: 100%;
    padding: 0 16px;
}

.page-hero__title {
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: clamp(38px, 13vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 32px;
    overflow-wrap: anywhere;
}

.page-hero__title--compact {
    font-size: clamp(25px, 8vw, 28px);
}

.page-hero__title--tour {
    margin-bottom: 24px;
}

.page-hero__accent {
    color: var(--color-brand);
}

.page-hero__text {
    color: #9CA3AF;
    font-size: 16px;
    max-width: 653px;
}

.page-hero__text--spaced {
    margin-bottom: 24px;
}

.page-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.contact-hero {
    padding-top: 32px;
    padding-bottom: 32px;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-hero__title {
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    overflow-wrap: normal;
}

.contact-hero__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.contact-hero__group--muted {
    color: #9CA3AF;
}

.contact-hero__group--accent {
    color: var(--color-brand);
}

.contact-hero__heading {
    color: #FFFFFF;
    font-size: 20px;
    line-height: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-hero__note {
    color: var(--color-brand);
    font-size: 16px;
}

.contact-hero__muted {
    color: #9CA3AF;
    font-size: 16px;
}
.white-container {
    background: #F8FAFC;
}
.hero-info {
    min-height: 720px;
}
.rent-info {
    min-height: 353px;
}
.hero-info__content, .rent-info__content {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
}

.hero-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 720px;
}

.rent-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 353px;
}

.hero-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* чтобы не мешать кликам */
    z-index: 1;
    padding: 16px;
}
.modern {
    width: 100%;
    align-items: center;
    padding: 64px 16px;
}

.modern .container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}


.info-base__container {
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
}
.info-base {
    width: 100%;
    padding: 0 16px;
}

.facility-section {
    width: 100%;
    padding: 16px 16px;
}

.facility-layout {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    display: grid;
    gap: var(--space-16);
}
.info-list {
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #9CA3AF;
}

.info-list__item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #F97316;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0 !important;
}

.contact-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #9CA3AF;
}

.contact-list__item::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: #F97316;
    flex-shrink: 0;
}

/* ===== Десктоп ===== */

.steps__container {
    width: 100%;
    display: flex;
    position: relative;
}

/* Горизонтальная линия */
.step::before {
    content: '';
    position: absolute;
    top: 24px; /* половина высоты круга (56px / 2) */
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 119, 0, 0.2);
    z-index: 0;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F97316;
    color: #FFFFFF;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.step__content {
    max-width: 260px;
}

.step__title {
    font-size: 16px;
    font-weight: 600 !important;
    color: #F8FAFC;
    margin-bottom: 8px;
    font-family: var(--font-main);
    text-transform: none !important;
}

.step__desc {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.5;
    font-family: var(--font-inter);
}

/* ===== Мобильная версия (вертикально) ===== */
@media (max-width: 767px) {
    .steps {
        padding: 40px 16px;
    }
    .rent-gallery {
        max-width: 390px;
    }

    .steps__container {
        flex-direction: column;
        position: relative;
        padding: 0;
    }

    .step::before {
        left: 24px;
        top: 0;
        right: 0;
        width: 2px;
        height: 100%; /* минус высота первого и последнего круга */
        top: 24px;
    }

    .step {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        align-items: center;
        position: relative;
    }

    .step:last-child::before {
        display: none;
    }

    .step__content {
        max-width: 100%;
        padding-top: 4px;
    }

    .step__title {
        font-size: 14px;
    }

    .step__desc {
        font-size: 12px;
    }
}

/* ===== Планшет (768-1024px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .steps__container {
        flex-wrap: wrap;
    }

    .step {
        flex: 0 0 calc(50% - 10px);
    }

    .step__content {
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .step:first-child::before {
        left: 50%;
    }
    .step:last-child::before {
        right: 50%;
    }
}

/* CSS */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid button {
    overflow: hidden; /* чтобы изображение обрезалось по границам кнопки */
}

/* ===== Таблица цен ===== */
.prices-table__container {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto; /* для горизонтального скролла на мобилке */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.prices-table__table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-inter);
    font-size: 16px;
    min-width: 700px; /* чтобы таблица не сжималась на маленьких экранах */
}

/* ===== Заголовок ===== */
.prices-table__table thead {
    background: #151515;
    border-radius: 8px 8px 0 0;
}

.prices-table__table thead th {
    padding: 24px;
    text-align: center;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF1A;
}

/* Первый заголовок — скругление слева */
.prices-table__table thead th:first-child {
    border-radius: 8px 0 0 0;
    text-align: start;

}

/* Последний заголовок — скругление справа */
.prices-table__table thead th:last-child {
    border-radius: 0 8px 0 0;
}

/* ===== Ячейки ===== */
.prices-table__table tbody td {
    padding: 16px 20px;
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF0D;
    background: transparent;
    text-align: center;
}
.prices-table__table tbody td:first-child {
    text-align: start;
    font-weight: 600;
}

.prices-table__table tbody td:last-child {
    color: #F97316;
    font-weight: 600;
}

.prices-table__table tbody td:nth-child(2) {
    color: #F97316;
}

/* Убираем нижнюю границу у последней строки */
.prices-table__table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Скругление нижних углов таблицы ===== */
.prices-table__table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.prices-table__table tbody tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

/* Мобильная версия (до 768px) */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 40px 16px;
    }
    
    .hero__container, .hall-content.active {
        flex-direction: column;
        gap: 32px;
    }
    
    .hero__stats {
        justify-content: center;
        gap: 20px;
    }
    
    .stat {
        font-size: 24px;
    }
    
    .gallery-grid {
        gap: 8px;
    }
     .gallery-grid {
        gap: 8px;
    }
    
    .card-size {
        font-size: 10px;
        top: 8px;
        right: 8px;
        padding: 2px 6px;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
    }
    
    .card-icon img {
        width: 18px;
        height: 18px;
    }
    
    .card-title {
        font-size: 14px;
    }
    
    .card-desc {
        font-size: 12px;
    }

    .hero-info-bg {
        background: linear-gradient(
            to bottom,
            rgb(0, 0, 0, 0.3) 0%,
            rgb(0, 0, 0, 0.8) 50%,
            rgb(0, 0, 0, 1) 100%
        );
    }
}

@media (min-width: 768px) {
    .divider-48 { width: 48px }
    .divider-40 { width: 40px }
    .subtitle { max-width: 100% }
    .hero__text { font-size: 18px }
    .section-copy { font-size: 18px }
    .content-section {
        padding: 120px 60px;
    }
    .content-section--compact {
        padding-top: var(--space-4);
        padding-bottom: var(--space-4);
    }
    .content-section--medium {
        padding-top: var(--space-20);
        padding-bottom: var(--space-20);
    }
    .section-heading {
        font-size: 40px;
    }
    .section-intro {
        font-size: 20px;
    }
    .feature-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feature-check {
        font-size: 20px;
    }
    .space-card {
        padding: var(--space-8);
        gap: var(--space-6);
    }
    .space-card__title {
        flex-direction: row;
        align-items: center;
        font-size: 20px;
        line-height: 28px;
    }
    .benefit-grid {
        gap: var(--space-8);
    }
    .benefit-item {
        gap: var(--space-3);
    }
    .benefit-item__title {
        font-size: 16px;
    }
    .benefit-item__text {
        font-size: 14px;
    }
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-8);
    }
    .audience-card__body {
        padding: var(--space-6);
        gap: var(--space-3);
    }
    .audience-card__title {
        font-weight: 800;
    }
    .media-mosaic__label {
        padding: var(--space-6);
    }
    .stat-line__value {
        font-size: 60px;
    }
    .cta-panel {
        padding: var(--space-20);
        gap: var(--space-8);
    }
    .cta-panel__title {
        font-size: 40px;
    }
    .rent-comparison {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-mosaic {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .gallery-mosaic__button--wide {
        grid-column: span 2;
    }
    .machine-feature-grid {
        gap: var(--space-6);
    }
    .machine-feature__text {
        font-size: 14px;
    }
    .policy-hero__title {
        font-size: 32px;
    }
    .tour-steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tour-step__title {
        font-size: 20px;
    }
    .tour-step__text {
        font-size: 16px;
    }
    .cta-actions,
    .to-book__actions,
    .challenge__actions {
        flex-direction: row;
    }
    .users-text {
        font-size: 20px;
    }
    .formats__lead {
        font-size: 20px;
    }
    .formats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .format-info__title {
        font-size: 36px;
    }
    .format-info__text {
        font-size: 18px;
    }
    .life-stat__value {
        font-size: 30px;
    }
    .features-grid { gap: 24px }
    .feature-number { font-size: 24px }
    .facility-stats { gap: var(--space-6) }
    .metric-card { padding: var(--space-6) }
    .metric-card__value { font-size: 30px }
    .metric-card__value--small { font-size: 24px }
    .sport-tags {
        display: flex;
    }
    .btn { width: max-content }
    .hero__right { grid-template-columns: 1fr 1fr }
    .gallery-card--wide { grid-column: span 2 }
    .gallery-card--wide {
        flex-direction: row;
        max-height: 225px;
        width: 100%;
    }
    .gallery-card--wide img{
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .gallery-card--wide .card-bottom {
        padding: 20px;
    }
    .grad-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to right,
            rgba(39, 39, 42, 0) 0%,
            rgb(0, 0, 0) 100%
        );
        pointer-events: none; /* чтобы не мешать кликам */
        z-index: 1;
    }
    .halls .title {
        font-size: 48px;
        font-weight: 800;
        text-align: start;
    }
    .halls__text { 
        font-size: 18px; 
        margin-bottom: 56px;
    }
    .halls_subtitle { display: flex !important }
    .halls__h2 {
        font-size: 36px;
        line-height: 40px;
        font-weight: 800;
    }
    .facility-title {
        font-size: 40px;
    }
    .hall-card-info {
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 28px !important;
    }
    .equipment { grid-template-columns: 1fr 1fr }
    .cost__buttons { flex-direction: row }
    .advantages {
        padding-top: 184px;
        padding-bottom: 80px;
    }
    .advantages .title {
        font-size: 60px;
    }
    .advantages-text {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 32px;
    }
    .adv-grid-3 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .adv-card { padding: 32px }
    .to-start .title,
    .to-book h2 {
        font-size: 36px
    }
    .to-book__container {
    flex-direction: row;
    padding: 56px;
}
    .footer {
    padding: 80px 64px;
}
    .site-footer__layout {
        flex-direction: row;
        gap: var(--space-10);
    }

    .site-footer__tagline {
        font-size: 16px;
    }

    .site-footer__brand-icon {
        display: block;
    }

    .site-footer__copy {
        font-size: 14px;
    }

.hero-info-bg {
    background: linear-gradient(
        to right,
        rgb(0, 0, 0, 0.8) 0%,
        rgb(0, 0, 0, 0.4) 100%
    );
    padding: 24px;
}
.bg-grad-3d {
    background: linear-gradient(
        to right,
        rgb(36, 36, 36, 0) 0%,
        rgb(36, 36, 36, 0.3) 50%,
        rgb(36, 36, 36, 0.7) 100%
    );
    padding: 24px;
}
.modern {
    padding: 100px 16px;
}
.info-base {
    padding: 0 60px;
}
.facility-section {
    padding: 120px 60px;
}
.error-code {
    font-size: 256px;
    line-height: 256px;
}
.error-section h1 {
    font-size: 48px;
}
    .error-section {
    justify-content: center;
}
    .page-hero__actions {
        flex-direction: row;
    }

}


/* Планшет (от 768px до 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .hero__container, .hall-content.active {
        flex-direction: column;
        gap: 48px;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__title {
        font-size: 44px;
    }
}

@media (max-width: 1024px) {
    .feedback { display: none }
    .location-info {
        background: #1A1A1A;
        border-radius: 2px;
        border: 1px solid #2A2A2A;
        padding: 24px;
        width: 100%;
    }
}

/* 1024-1280 */
@media (max-width: 1280px) {
    .halls-nav {
        padding: 0;
    }
}

/* Десктоп (от 1024px) */
@media (min-width: 1024px) {
    .container {
        max-width: 1440px;
    }
    .adv-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .header { padding: 22px 16px }
    .error-code {
        font-size: 352px;
        line-height: 352px;
    }
    .mobile-menu__header { padding: 22px 16px }
    .logo__icon { height: 44px }

    .hero { padding: 96px 24px }
    .hero__title {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 24px;
    }
    .equipment-block {
        background: transparent;
        border: 0 solid transparent;
        padding: 0;
    }
    .advantage-list {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 80px;
    }
    .adv-item {
        font-size: 12px;
    }
    .user-info {
        padding: 48px;
    }

    .challenge {
        padding: 124px 20px;
    }
    .challenge .img-logo {
    height: 90px;
}
    .marker-list {
    gap: 40px;
}
.marker-list__item:first-child::before {
    display: inline-block;
}
.marker-list__item {
    font-size: 16px;
}
.marker-list__item::before {
    width: 8px;
    height: 8px;
}
.format-info {
    padding: 40px;
}
    .life__container {
    flex-direction: row;
    align-items: end;
}
    .life-stats {
        display: flex;
        width: auto;
        gap: var(--space-6);
    }
    .life-stats .divider-y-48 {
        display: block;
    }
    .location-layout {
        flex-direction: row;
    }
    .challenge__badges,
    .challenge__logos {
        gap: 26px;
    }
    .challenge__mobile-image {
        display: none;
    }
    .challenge__desktop-image {
        display: block;
        width: 100%;
        max-width: 420px;
        justify-self: end;
    }
    .challenge__container {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
    }
    .contact-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }

    .split-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero__title,
    .page-hero__title,
    .page-hero__title--compact {
        font-size: 72px;
    }

    .contact-hero__title {
        margin-bottom: var(--space-12);
    }

    .page-hero__text {
        font-size: 24px;
    }
    
    /* Остальные стили для десктопа (секции и т.д.) */
    .stats-grid {
        gap: 60px;
    }
    
    .partners__logos {
        gap: 40px;
    }
}

@media (min-width: 1280px) {
    .logo { font-size: 24px }
    .logo__icon { height: 52px }

    .header { padding: 22px 30px }

    .header__container {
        gap: 10px
    }

    .hero__title {
        font-size: 72px;
        line-height: 1.1;
        margin-bottom: 24px;
    }

    /* Показываем десктопное меню и кнопку, скрываем бургер */
    .burger {
        display: none;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .btn--desktop {
        display: flex;
    }

    .rent-gallery--desktop {
        display: flex;
    }

    .rent-gallery--mobile {
        display: none;
    }

    .facility-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__socials {
        display: flex;
    }

    .site-footer__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .facility-title {
        font-size: 48px;
    }

    .section-heading {
        font-size: 48px;
    }

    .benefit-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .audience-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .media-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .audience-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-6);
    }

    .audience-showcase__nested,
    .audience-showcase__small-grid {
        gap: var(--space-6);
    }

    .audience-overlay--compact {
        padding: var(--space-6);
    }

    .audience-overlay__title--large {
        font-size: 36px;
    }

    .audience-overlay__title {
        font-size: 24px;
        line-height: 32px;
    }

    .audience-overlay__text {
        font-size: 18px;
    }

    .partners-title {
        font-size: 60px;
        text-align: left;
    }

    .partners-grid {
        display: flex;
        justify-content: center;
        gap: var(--space-16);
    }

    .partner-slot {
        padding-left: 60px;
        padding-right: 60px;
    }

    .formats__lead {
        margin-bottom: 96px;
    }

    .cta-panel__title {
        font-size: 48px;
    }

    .header__container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
}

@media (min-width: 1360px) {
    .desktop-nav__list { gap: 32px }
}
    
/* Minimal local utilities replacing the removed Tailwind CDN. */

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

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.flex-col { flex-direction: column; }

.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }

.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.uppercase { text-transform: uppercase; }

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:gap-8 { gap: var(--space-8); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}