/* ================= RESET & BASICS ================= */
* {
    font-family: 'Muller', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    color: #040304;
    background-color: #040304;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 568px) {
    .container {
        padding: 0 12px;
    }
}

/* ================= BUTTONS ================= */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #8E24AA;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #811674;
}

.btn-dark {
    background-color: #0f0f0f;
    border: 1px solid #0f0f0f;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.btn-dark .btn-anim__inner {
    position: initial;
}

.btn-dark .btn-anim__text--clone {
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: #040304;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-dark:hover .btn-anim__text--clone {

}

.btn-outline {
    border: 1px solid rgba(4, 3, 4, 0.15);
    border-radius: 8px;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    transition: all 0.3s ease;
}

.btn-outline .btn-anim__text--clone {
    background: #040304;
    color: #ffffff;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease !important;
    color: #ffffff;
    background: transparent;
    transform: translateY(0);
}
@media (max-width: 1024px) {}
@media (max-width: 568px) {
    .header { padding: 12px 0; }
}

.header.header-hidden {
    transform: translateY(-100%);
}
body:has(.mega-menu-wrapper.active) .header-hidden {
    transform: translateY(0%);
}
.header.header-hidden.search-active {
    transform: translateY(0%);
}

.header .icon-btn {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
}

.header .icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header.header-dark-theme {
    color: #1a1a1a;
    background: rgb(241 241 241 / 90%);
    backdrop-filter: blur(10px);
}

.header.header-dark-theme .icon-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

.header.header-dark-theme .icon-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}
@media (max-width: 1024px) {
    .header-content {
        position: relative;
        z-index: 1000;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo svg {
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 15px;

    /*pointer-events: none;*/
}
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
}

.nav-links > li {
    position: relative;
    list-style: none;
}

.has-dropdown:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 30px;
    left: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
    padding: 10px 0;
}

.nav-links a:hover {
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    color: #1a1a1a;
    min-width: 180px;
    padding: 10px 0;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 8px 20px;
    font-size: 14px;
    display: block;
}

.dropdown-menu li a:hover {
    background-color: #f7f7f7;
    opacity: 1;
}

/* ================= UNIFIED MEGA MENU ================= */
.mega-menu-wrapper {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(4, 3, 4, 0.05);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    max-height: 0;
    transform: translateY(-10px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 90;
    padding-top: 10px;
    margin-top: -10px;
}

/* Активное состояние обертки */
.mega-menu-wrapper.active {
    top: 88px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 100vh;
    pointer-events: auto;
}
body:has(.mega-menu-wrapper.active) header {
    background: #ffffff;
}
body:has(.mega-menu-wrapper.active) header .logo svg path {
    fill: #040304;
}
body:has(.mega-menu-wrapper.active) header .nav-links a {
    color: #040304;
}
body:has(.mega-menu-wrapper.active) header .icon-btn {
    color: #040304;
}
body:has(.mega-menu-wrapper.active) header.header-dark-theme {
    background: #ffffff;
}
body:has(.mega-menu-wrapper.active) header.header-dark-theme .logo svg path {
    fill: #040304;
}
body:has(.mega-menu-wrapper.active) header.header-dark-theme .icon-btn {
    color: #040304;
}

body:has(.mega-menu-wrapper.active) .header-hidden {
    /*opacity: 0;*/
    /*visibility: hidden;*/
    /*max-height: 0;*/
}

/* Внутренний контейнер с фиксированной высотой (предотвращает скачки) */
.mega-menu-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 20px;
    position: relative;
    min-height: 460px; /* Высота под картинку + контент */
}

/* Панели накладываются друг на друга */
.mega-panel {
    position: absolute;
    top: 32px; left: 20px; right: 20px; bottom: 32px;
    opacity: 0;
    visibility: hidden;
    /*transform: translateY(15px) scale(0.98);*/
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mega-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* Внутренняя сетка (Figma layout) */
.mega-layout {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
}

.mega-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.mega-links-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.mega-col { display: flex; flex-direction: column; }

.mega-col a {
    display: flex; align-items: center; padding: 8px 0;
    font-family: 'Muller', sans-serif; font-weight: 400; font-size: 24px;
    line-height: 100%; color: #040304; text-decoration: none;
    transition: all 0.3s ease;
}
.mega-links-grid:hover a {
    color: rgba(4, 3, 4, 0.15);
}

.mega-links-grid:hover a:hover {
    color: #040304;
}

.mega-btn {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    padding: 16px 28px; background-color: #040304; border-radius: 8px;
    border: none; cursor: pointer; width: fit-content;
    transition: background-color 0.3s ease;
}
.mega-btn span {
    font-family: 'Muller', sans-serif; font-weight: 500; font-size: 14px;
    line-height: 140%; letter-spacing: -0.01em; color: #ffffff;
}
.mega-btn:hover { background-color: #222222; }

.mega-right {
    display: flex; flex-direction: row; justify-content: flex-end; align-items: flex-start; gap: 50px; flex: 1;
}
.mega-right img {
    width: 294px; height: 380px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.mega-info {
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%;
}
.mega-info p {
    font-family: 'Helvetica', sans-serif; font-weight: 300; font-size: 16px;
    line-height: 140%; color: rgba(4, 3, 4, 0.7); max-width: 380px;
}
.mega-contacts {
    display: flex; justify-content: flex-end; align-items: flex-end; gap: 28px; flex-wrap: wrap;
}
.mega-contacts a {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Muller', sans-serif; font-weight: 500; font-size: 14px;
    line-height: 140%; letter-spacing: -0.01em; color: #040304;
    text-decoration: none; padding-bottom: 1px; transition: opacity 0.2s ease;
    position: relative;
}
.mega-contacts a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #040304;

    /* Вместо width используем масштабирование */
    transform: scaleX(1);
    /* Точка опоры при уходе мыши — правый край (линия схлопывается вправо) */
    transform-origin: bottom left;

    transition: transform 0.5s ease;
}

.mega-contacts a:hover:after {
    /* Точка опоры при наведении — левый край (линия растет слева направо) */
    transform-origin: bottom right;
    transform: scaleX(0);
}

@media (min-width: 1025px) {
    .mobile-menu-overlay { display: none; }
}
/* ================= MOBILE MENU (≤1024px) ================= */
@media (max-width: 1024px) {
    /* Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100svh;
        background: #ffffff;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 24px 20px;
        padding-top: calc(24px + 88px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    @media (max-width: 568px) {
        .mobile-menu-overlay {
            /*top: 64px;*/
            /*height: calc(100dvh - 64px);*/
            padding-top: calc(24px + 64px);
        }
    }

    .mobile-menu-overlay.active {
        transform: translateX(0);
        pointer-events: auto;
    }
    .header:has(.mobile-menu-overlay.active) {
        background: #ffffff;
    }
    @media (max-width: 568px) {
        .header:has(.mobile-menu-overlay.active) .logo svg path {}
    }
    .header:has(.mobile-menu-overlay.active) .logo svg path {
        fill: #040304;
    }
    @media (max-width: 568px) {
        .header:has(.mobile-menu-overlay.active) .logo svg {}
    }

    .mobile-menu-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Levels */
    .mobile-menu-level {
        width: 100%;
        display: none;
        flex-direction: column;
        /*align-items: center;*/
        gap: 16px;
        animation: fadeIn 0.3s ease;
    }

    .mobile-menu-level.active {
        display: flex;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    /* Header with close/back buttons */
    .mobile-menu-header {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 4px 0;
    }

    .mobile-menu-back {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 4px;
        background: none;
        border: none;
        cursor: pointer;
        font-family: 'Muller', sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 150%;
        letter-spacing: -0.01em;
        color: rgba(4, 3, 4, 0.4);
        text-decoration: underline;
    }


    /* Search */
    .mobile-menu-search {
        width: 100%;
    }
    .mobile-menu-search > svg {
        min-width: 20px;
    }

    .mobile-menu-search {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 16px;
        background-color: #f1f1f1;
        border-radius: 8px;
        border: none;
        appearance: none;
    }
    .mobile-menu-search input {
        width: 100%;
        border: none;
        outline: none;
        background: none;
        font-family: 'Muller', sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #040304;
        appearance: none;
    }
    .mobile-menu-search input::placeholder {
        color: rgba(4, 3, 4, 0.15);
    }


    /* Navigation items */
    .mobile-menu-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border: none;
        border-bottom: 1px solid rgba(4, 3, 4, 0.1);
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        font-family: 'Muller', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 120%;
        letter-spacing: -0.01em;
        color: #040304;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .mobile-menu-item:hover {
        opacity: 0.7;
    }

    .mobile-menu-item svg {
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .mobile-menu-item.has-submenu:hover svg {
        /*transform: rotate(90deg);*/
    }

    /* Contacts */
    .mobile-menu-contacts {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding-top: 24px;
        margin-top: auto;
    }

    .mobile-contact-link {
        display: flex;
        align-items: center;
        gap: 10px;
        border: none;
        border-bottom: 1px solid #040304;
        font-family: 'Muller', sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: -0.01em;
        color: #040304;
        text-decoration: none;
        padding-bottom: 2px;
        transition: opacity 0.2s ease;
    }

    .mobile-contact-link:hover {
        opacity: 0.7;
    }

    /* Action button */
    .mobile-menu-action {
        width: fit-content;
        margin-top: 24px;
        border-radius: 8px;
        padding: 16px 28px;
        background-color: #040304;
        border: none;
        cursor: pointer;
        font-family: 'Muller', sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: -0.01em;
        color: #ffffff;
        transition: background-color 0.3s ease;
    }

    .mobile-menu-action:hover {
        background-color: #222222;
    }

    /* MENU BUTTON in header */
    .menu-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border-radius: 8px;
        width: 95px;
        height: 40px;
        border: none;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.1);
        font-family: "Muller", sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: -0.01em;
        text-align: center;
        color: #fff;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .menu-button:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .menu-button.active {
        background: #1a1a1a;
    }
    .menu-button.active span {
        color: #fff;
    }
    .menu-button svg path {

    }
    .menu-button svg path:nth-child(2) {
        transform: translateY(0px);
        transition: transform 0.3s ease;
    }
    .menu-button.active path {
        stroke: #fff;
    }
    .menu-button.active path:nth-child(1) {
        display: none;
    }
    .menu-button.active path:nth-child(2) {
        transform: translateY(-4px);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
@media (max-width: 1024px) {
    .header-actions {
        display: none;
    }
}

.icon-btn {
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.3s ease;
}

.lang-selector {
    position: relative;
    margin-left: 8px;

    pointer-events: none;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    height: 40px;
}

.lang-trigger:hover {
    opacity: 0.7;
}

.lang-selector .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 80px;
}
.lang-selector:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-button {
    display: none;
}
@media (max-width: 1024px) {
    .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border-radius: 8px;
        width: 95px;
        height: 40px;
        border: none;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.1);
        font-family: "Muller", sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: -0.01em;
        text-align: center;
        color: #fff;
    }
    .header-dark-theme .menu-button {
        color: #1a1a1a;
    }
}

/* ================= SEARCH LOGIC (FIXED) ================= */


/* Хедер в режиме поиска */
.header.search-active {
    background: #ffffff;
    color: #040304;
}
.header.search-active .nav-links,
.header.search-active .nav-links a,
.header.search-active .nav-links svg,
.header.search-active .logo svg path {
    color: rgba(4, 3, 4, 0.15) ;
    fill: rgba(4, 3, 4, 0.15) ;
    pointer-events: none;
}

/* Скрываем лишнее при поиске */
.header.search-active .search-trigger,
.header.search-active .lang-selector {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute; /* Убираем из потока, чтобы не занимали место */
}

/* Группа поиска */
.search-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    /*transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);*/
    pointer-events: none;
}

.header.search-active .search-input-group {
    opacity: 1;
    visibility: visible;
    transform: translateX(50px);
    pointer-events: auto;
    z-index: 1;
    background: #fff;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f1f1f1;
    border-radius: 8px;
    white-space: nowrap;
}

.search-icon { flex-shrink: 0; color: #040304; }

.search-divider {
    width: 1px;
    height: 24px;
    background: rgba(4, 3, 4, 0.15);
}

.search-input {
    border: none;
    background: transparent;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #040304;
    outline: none;
    width: 180px;
    padding: 0;
}

.search-input::placeholder { color: rgba(4, 3, 4, 0.3); }

.btn-search-close {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #040304;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.btn-search-close:hover { background-color: #222; }
.btn-search-close span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #ffffff;
}

/* Панель результатов */
.search-results-wrapper {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(4, 3, 4, 0.05);
    z-index: 88;

    /* Скрыто */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden; /* Предотвращает вылеты контента */
}
@media (max-width: 1024px) {
    .search-results-wrapper {
        top: 168px;
        z-index: 100;
        height: calc(100% - 168px);
    }
}
@media (max-width: 568px) {
    .search-results-wrapper {
        top: 148px;
        height: calc(100% - 148px);
    }
}

.search-results-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.search-results-container {
    padding: 32px 20px;
    min-height: 300px;
}
@media (max-width: 1024px) {
    .search-results-container {

    }
}
@media (max-width: 568px) {
    .search-results-container {
        padding: 20px 12px;
    }
}

/* Состояния внутри панели */
.search-state {
    display: none;
}
.search-state.active {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 93px;
    animation: fadeUp 0.3s ease;
}
@media (max-width: 1024px) {
    .search-state.active {
        flex-direction: column;
    }
}
@media (max-width: 568px) {
    .search-state.active {
        gap: 32px;
    }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-left-col {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    gap: 44px;
    width: 268px;
    min-width: 268px;
}
@media (max-width: 568px) {
    .search-left-col {
        width: 100%;
        gap: 16px;
    }
}
.search-state-results .search-left-col {
    justify-content: space-between;
}

.search-right-col {
    display: flex;
    flex-direction: column;
    gap: 44px;
    flex: 1;
}
@media (max-width: 568px) {
    .search-right-col {
        padding-bottom: 32px;
    }
}

.search-label {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
    margin: 0;
}

/* Теги */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-tag {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(4,3,4,0.15);
    background: transparent;
    font-family: 'Muller', sans-serif;
    font-size: 14px;
    color: #040304;
    cursor: pointer;
    transition: 0.2s;
}
@media (max-width: 568px) {
    .search-tag {
        padding: 8px 15px;
        height: 36px;
    }
}
.search-tag:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Кнопка Showing results */
.btn-search-show-results {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background-color: #040304;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #ffffff;
    transition: background 0.3s ease;
    width: fit-content;
}
@media (max-width: 568px) {
    .btn-search-show-results {
        position: absolute !important;
        bottom: 12px;
    }
}
.btn-search-show-results:hover { background-color: #222; }

/* Сетка категорий */
.search-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.search-categories-grid.single-col {
    /*flex-direction: column;*/
    /*gap: 24px;*/
}
.search-cat-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.search-cat-card .img {
    width: 325px;
    height: 241px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
@media (max-width: 568px) {
    .search-cat-card .img {
        width: 100%;
    }
}
.search-cat-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.search-cat-card:hover img {
    transform: scale(1.05);
}
.search-cat-card h3 {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    margin: 0;
}

/* Табы */
.search-results-tabs {
    display: flex;
    gap: 40px;
    /*margin-bottom: 20px;*/
}
.search-tab-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Muller', sans-serif;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.3);
    cursor: pointer;
}
.search-tab-btn.active,
.search-tab-btn:hover { color: #040304; }

.search-tab-content { display: none; }
.search-tab-content.active { display: block; }

/* Список страниц */
.search-pages-list {
    display: flex;
    flex-direction: column;
    max-width: 670px;
    max-height: calc(281px + 32px);
    margin-bottom: -32px;
    padding-bottom: 32px;
    padding-right: 20px;
    overflow-y: auto;
}
@media (max-width: 568px) {
    .search-pages-list {
        max-height: calc(100vh - 20px - 32px - 120px - 32px - 20px - 64px - 90px);
    }
}
.search-pages-list::-webkit-scrollbar {
    width: 4px;
}
.search-pages-list::-webkit-scrollbar-track { background: transparent;

}
.search-pages-list::-webkit-scrollbar-thumb {
    background: #f1f1f1;
    border-radius: 4px;
    border: 1px solid #ffffff;
    border-top: 24px solid #ffffff;
    border-bottom: 24px solid #ffffff;
}
.search-page-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(4, 3, 4, 0.1);
    text-decoration: none;
    color: inherit;
}
.search-page-content { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.search-page-content h4 {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin: 0;
}
.search-page-content p {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: rgba(4,3,4,0.7);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Адаптив */
@media (max-width: 1024px) {
    .search-state { flex-direction: column; gap: 40px; }
    .search-categories-grid { display: flex; flex-direction: column; gap: 24px; }
    .search-cat-card img { width: 100%; height: auto; aspect-ratio: 325/241; }
    .search-input { width: 140px; }
    .mobile-search-close-btn {
        border: none;
        width: fit-content;
        /*height: 20px;*/
        background: #1a1a1a;
        color: #fff;
        margin: -8px 0;
        margin-right: -16px;
        padding: 8px;
        height: calc(100% + 16px);
        border-radius: 8px;
    }
}

@media (max-width: 568px) {
    .search-input-wrapper { padding: 8px 12px; }
    .search-input { width: 110px; font-size: 13px; }
    .btn-search-close span { display: none; }
    .btn-search-close { padding: 8px; }
}

/* ================= SEARCH CATEGORIES SLIDER ================= */
/* Сбрасываем flex у сетки, если это слайдер */
.search-categories-grid.swiper {
    display: block !important; /* Перебиваем display: flex из оригинала */
    overflow: visible !important;
    width: 100%;
}

.search-categories-grid.swiper .swiper-wrapper {
    display: flex !important;
    align-items: stretch;
}
@media (max-width: 568px) {
    .search-categories-grid.swiper .swiper-wrapper {
        flex-direction: column;
        gap: 32px;
        overflow-y: auto;
        height: calc(100vh - 20px - 32px - 120px - 32px - 20px - 64px - 130px);
        padding-bottom: 32px;
    }
}

/* Настройка слайдов */
.search-cat-card.swiper-slide {
    width: auto; /* Важно: ширина определяется контентом (картинкой) */
    height: auto;
    flex-shrink: 0; /* Запрещаем сжиматься */
}
@media (max-width: 568px) {
    .search-cat-card.swiper-slide {
        /*padding-bottom: 32px;*/
    }
}


/* ================= FOOTER ================= */
.footer {
    background-color: #040304; /* Точный цвет из макета */
    /*border-top: 1px solid #393939;*/
    color: #ffffff;
    position: relative;
}

.footer-label {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.4);
}

.footer-top {
    border-bottom: 1px solid #252424;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 20px;
}
@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }
}
@media (max-width: 568px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
}

.footer-top-grid > div {
    border-right: 1px solid #252424;
    height: 190px;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width: 1024px) {
    .footer-top-grid > div {
        height: 160px;
        padding: 20px;
    }
}
@media (max-width: 568px) {
    .footer-top-grid > div {
        flex-direction: row;
        height: auto;
        padding: 16px 12px;
    }
}

.footer-top-grid > div:first-child {
    padding-left: 0;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1024px) {
    .footer-top-grid > div:first-child {
        border-bottom: 1px solid #252424;
        align-items: flex-start;
        padding-left: 20px;
    }
    .footer-top-grid > div:nth-child(2) {
        border-bottom: 1px solid #252424;
    }
}
@media (max-width: 568px) {
    .footer-top-grid > div:first-child {
        padding: 28px 20px;
        justify-content: flex-start;
    }
    .footer-top-grid > div:first-child svg {
        height: 28px;
        width: auto;
    }
    .footer-top-grid > div:nth-child(2) {
        border-bottom: none;
    }
}

.footer-top-grid > div:last-child {
    border-right: none;
    padding-right: 0;
}
@media (max-width: 1024px) {
    .footer-top-grid > div:last-child {
        padding-right: 20px;
    }
}
@media (max-width: 568px) {
    .footer-top-grid > div:last-child {
        padding-right: 12px;
        border-bottom: none;
    }
}

.footer-logo-wrap svg {
    max-width: 238px;
    height: auto;
    display: block;
}

.footer-info-block p {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
}
@media (max-width: 568px) {
    .footer-info-block p {
        font-size: 14px;
        /*min-width: 180px;*/
        min-width: 220px;
    }
}

.footer-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
@media (max-width: 568px) {
    .footer-contact-header {
        flex-direction: column;
        width: fit-content;
        align-items: flex-start;
    }
}

.footer-time {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    text-align: right;
    color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 568px) {
    .footer-time {
        text-align: left;
    }
}
.footer-time span {
    color: #ffffff;
}

.footer-email {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-middle {
    padding: 90px 0 190px;
}
@media (max-width: 1024px) {
    .footer-middle {
        padding: 40px 0 88px;
    }
}
@media (max-width: 568px) {
    .footer-middle {
        padding: 20px 0 32px;
    }
}

.footer-middle-grid {
    display: flex;
    align-items: flex-start;
    gap: 96px;
    position: relative;
}
@media (max-width: 1024px) {
    .footer-middle-grid {
        flex-direction: column;
        gap: 44px;
    }
}

.footer-slogan {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #fff;
    min-width: 280px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 37px;
    width: 100%;
    max-width: 660px;
}
@media (max-width: 1024px) {
    .footer-links-group {
        max-width: 100%;
    }
}
@media (max-width: 568px) {
    .footer-links-group {
        display: flex;
        flex-wrap: wrap;
        gap: 36px;
    }
}

.footer-link-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (max-width: 568px) {
    .footer-link-col {
        min-width: 142px;
        gap: 16px;
    }
}

.footer-link-col .footer-label {

}

.footer-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-col ul a {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
    display: block;
    width: fit-content;
    position: relative;
}
@media (max-width: 568px) {
    .footer-link-col ul a {
        font-size: 14px;
    }
}

.footer-link-col ul a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;

    /* Вместо width используем масштабирование */
    transform: scaleX(0);
    /* Точка опоры при уходе мыши — правый край (линия схлопывается вправо) */
    transform-origin: bottom right;

    transition: transform 0.5s ease;
}

.footer-link-col ul a:hover:after {
    /* Точка опоры при наведении — левый край (линия растет слева направо) */
    transform-origin: bottom left;
    transform: scaleX(1);
}

.footer-action {
    position: absolute;
    right: 0;
    top: 0;
}
@media (max-width: 1024px) {
    .footer-action {
        position: static;
        margin-top: calc(51px - 44px);
    }
}

.footer-action .btn-rounded {
    background: #811674;
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-action .btn-rounded:hover {
    background: #811674;
}

.footer-bottom {
    padding-bottom: 20px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 1024px) {
    .footer-bottom-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.footer-bottom-flex * {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 96px;
}
@media (max-width: 1024px) {
    .footer-bottom-left {
        width: 100%;
        gap: 56px;
    }
}
@media (max-width: 568px) {
    .footer-bottom-left {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

.footer-copy {
    min-width: 280px;
}
@media (max-width: 1024px) {
    .footer-copy {
        min-width: 136px;
    }
}

.footer-legal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 37px;
    width: 100vw;
    max-width: 660px;
}
@media (max-width: 1024px) {
    .footer-legal {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 568px) {
    .footer-legal {
        display: flex;
        gap: 16px;
    }
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-madeby {
    color: rgba(255, 255, 255, 0.4);
}
.footer-madeby a {
    color: #ffffff;
}

/* ================= HERO SLIDER ================= */
.hero-slider-section {
    position: relative;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 0;
    background-color: #111;
    touch-action: pan-y;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-slide-container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 48px;
    padding: 20px 20px 100px;
    position: relative;
    z-index: 3;
}
@media (max-width: 568px) {
    .hero-slide-container {
        padding: 20px 12px 82px;
    }
}

.hero-slide-content {
    color: #ffffff;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
@media (max-width: 1024px) {
    .hero-slide-content {
        gap: 40px;
        padding-bottom: 40px;
    }
}

.hero-slide.active {
    z-index: 2;
}

.hero-slide.incoming {
    z-index: 3;
    animation: slideUpOver 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes slideUpOver {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.reveal-wrap {
    overflow: hidden;
}

.reveal-item {
    display: block;
    transform: translate3d(0, -50px, 0);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
    will-change: transform, opacity;
}

.hero-slide-content h1 {
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #fff;
}
@media (max-width: 1024px) {
    .hero-slide-content h1 {
        font-size: 56px;
    }
}

.btn-hero {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 111px;
    height: 52px;
    background: #811674;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
    text-transform: none; /* Убираем капс, чтобы было "Discover" */
    transition: background-color 0.3s ease !important;
    transition-delay: 0s !important;
}

.btn-hero:hover {
    background-color: #811674;
}

/* Общие стили кнопки */
.btn-anim {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Скрываем вылетающий текст */
    text-decoration: none;
    /* Добавьте ваши стили кнопки: background, padding, border-radius и т.д. */
}

/* Контейнер для текстов */
.btn-anim__inner {
    /*position: relative;*/
    display: block;
    /* Высота должна быть равна высоте текста, а не всей кнопки,
       чтобы translate-110% работал корректно. Лучше задавать padding для .btn-anim */
}

/* Общие стили для оригинального и клонированного текста */
.btn-anim__text {
    display: block;
    transition: all 0.5s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    text-align: center; /* Центрируем текст внутри */
}

/* Стили для оригинального (базового) текста */
.btn-anim__text--base {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Стили для клонированного текста (выезжает снизу) */
.btn-anim__text--clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Изначально скрыт */
    /* Пред-позиционирование: сдвинут вниз на 110% */
    transform: translate3d(0, 110%, 0);
}

/* --- АНИМАЦИЯ ПРИ НАВЕДЕНИИ --- */

/* Оригинальный текст уезжает вверх */
.btn-anim:hover .btn-anim__text--base {
    opacity: 0;
    transform: translate3d(0, -110%, 0); /* Ваша анимация уезда вверх */
}

/* Клонированный текст встает на место */
.btn-anim:hover .btn-anim__text--clone {
    opacity: 1; /* Становится видимым */
    transform: translate3d(0, 0, 0); /* Встает на позицию 0,0,0 */
}

.hero-slide.active .reveal-item {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.hero-slide.active .reveal-wrap:nth-child(1) .reveal-item {
    transition-delay: 0.4s;
}

.hero-slide.active .reveal-wrap:nth-child(2) .reveal-item {
    transition-delay: 0.55s;
}

.hero-slide.active .reveal-wrap:nth-child(3) .reveal-item {
    transition-delay: 0.7s;
}

.hero-slide.active .reveal-wrap:nth-child(4) .reveal-item {
    transition-delay: 0.85s;
}

.hero-slide:not(.active):not(.incoming) .reveal-item {
    transform: translate3d(0, -50px, 0);
    opacity: 0;
    transition-delay: 0s;
}

.hero-pagination-wrapper {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
}

.hero-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    pointer-events: auto;
}
@media (max-width: 1024px) {
    .hero-pagination {
        justify-content: flex-start;
    }
}

.hero-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.7s ease;
    cursor: pointer;
}

.hero-dot.active {
    width: 12px;
    height: 6px;
    background-color: #fff;
    border-radius: 3px;
}

/* ================= CATEGORY / INSTRUMENTS ================= */
.category-section {
    min-height: 100vh;
    padding: 112px 0;
    position: relative;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
}
@media (max-width: 1024px) {
    .category-section {
        min-height: auto;
        padding: 88px 0;
        gap: 64px;
    }
}


.category-title-small {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(0, 0, 0, 0.3);
}
@media (max-width: 568px) {
    .category-title-small {
        font-size: 16px;
    }
}

.category-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}
@media (max-width: 1024px) {
    .category-list {
        padding-bottom: 44px;
    }
}
@media (max-width: 568px) {
    .category-list {
        gap: 16px;
    }
}

.category-item {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(4, 3, 4, 1);
    cursor: pointer;
    transition: opacity 0.3s ease, font-weight 0.3s ease;
}
@media (max-width: 1024px) {
    .category-item {
        font-size: 40px;
    }
}
@media (max-width: 568px) {
    .category-item {
        font-size: 26px;
    }
}

.category-list:hover .category-item {
    opacity: 0.15;
}

.category-list .category-item:hover {
    opacity: 1;
}

.category-preview {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 8px;
    width: 324px;
    height: 408px;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (max-width: 1024px) {
    .category-preview {
        display: none;
    }
}

.category-preview.visible {
    opacity: 1;
    visibility: visible;
}

/* ================= CREATION PROCESS ================= */
.creation-section {
    background: #040304;
    color: #ffffff;
    padding: 112px 0;
    padding-bottom: 400px;
    position: relative;
    position: sticky;
    top: 0;
}
@media (max-width: 1024px) {
    .creation-section {
        padding: 88px 0;
        min-height: 130vh;
        overflow: hidden;
    }
}
@media (max-width: 568px) {
    .creation-section {
        padding: 72px 0;
    }
}

.creation-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (max-width: 1024px) {
    .creation-wrapper {
        gap: 88px;
    }
}
@media (max-width: 568px) {
    .creation-wrapper {
        gap: 64px;
    }
}

.creation-left {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    max-width: 800px;
    z-index: 1;
}
@media (max-width: 1024px) {
    .creation-left {
        gap: 40px;
    }
}

.creation-left .section-title {
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #fff;
}
@media (max-width: 1024px) {
    .creation-left .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .creation-left .section-title {
        font-size: 35px;
    }
}

.creation-left .btn {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 52px;
    padding: 0;
    background: #811674;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
}
.creation-left .btn:hover {
    background-color: #811674;
}

.creation-main-img {
    border-radius: 8px;
    width: 574px;
    height: 488px;
    position: absolute;
    z-index: 0;
    left: calc(134px - 20px);
    border: 0;
}
@media (max-width: 1024px) {
    .creation-main-img {
        bottom: -100%;
        left: auto;
    }
}

.creation-main-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.creation-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.creation-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 574px;
    position: relative;
    z-index: 1;
}
@media (max-width: 1024px) {
    .creation-list {
        max-width: 100%;
    }
}

.creation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 22px 0px;
    opacity: 1;
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    color: #fff;
    transition: opacity 0.3s ease, color 0.3s ease;
}
@media (max-width: 568px) {
    .creation-item {
        font-size: 18px;
        padding: 19px 0;
    }
}

.creation-item svg {
    transition: opacity 0.3s ease;
}

.creation-list:hover .creation-item {
    opacity: 0.3;
}

.creation-list:hover .creation-item svg {
    opacity: 0;
}

.creation-list .creation-item:hover {
    opacity: 1;
    color: #ffffff;
}

.creation-list .creation-item:hover svg {
    opacity: 1;
}

.creation-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 188px;
    height: 127px;
    object-fit: cover;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 50;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1024px) {
    .creation-preview {
        display: none;
    }
}

.creation-preview.visible {
    opacity: 1;
    visibility: visible;
}

/* ================= COOPERATION SLIDER (Блок 4) ================= */
.cooperation-section {
    position: relative;
    height: 400vh;
    background-color: #000;
    z-index: 10;
}

.coop-sticky-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}

.coop-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease; /* Плавный Fade */
    z-index: 1;
}

.coop-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.coop-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.coop-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%);
    z-index: 2;
}

.coop-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 48px;
    padding: 112px 20px;
}
@media (max-width: 1024px) {
    .coop-content {
        padding: 88px 20px;
        gap: 32px;
    }
}
@media (max-width: 568px) {
    .coop-content {
        padding: 72px 20px;
    }
}

.coop-content .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #fff;
}
@media (max-width: 1024px) {
    .coop-content .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .coop-content .section-title {
        font-size: 35px;
    }
}

.coop-content p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 568px) {
    .coop-content p br {
        display: none;
    }
}

.coop-pagination-wrapper {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 10;
}
@media (max-width: 1024px) {
    .coop-pagination-wrapper {
        bottom: 20px;
    }
}

.coop-pagination {
    display: flex;
    gap: 20px;
}
@media (max-width: 568px) {
    .coop-pagination {
        gap: 10px;
    }
}

.coop-pag-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.coop-pag-item.active,
.coop-pag-item.completed {
    opacity: 1;
}

.coop-pag-track {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.coop-pag-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #ffffff;
}

.coop-pag-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
}
@media (max-width: 568px) {
    .coop-pag-label {
        font-size: 10px;
        gap: 4px;
    }
}

.coop-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: block;
    transition: background-color 0.3s ease;
}

.coop-pag-item.active .coop-dot,
.coop-pag-item.completed .coop-dot {
    background-color: #ffffff;
}

/* ================= RECOMMENDED ================= */
.recommended-section {
    background-color: #ffffff;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    position: relative;
}
@media (max-width: 1024px) {
    .recommended-section {
        padding: 88px 0;
        flex-direction: column;
    }
}
@media (max-width: 568px) {
    .recommended-section {
        padding: 72px 0;
        min-height: auto;
    }
}

.recommended-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 88px;
    width: 100%;
}
@media (max-width: 1024px) {
    .recommended-wrapper {
        flex-direction: column;
        gap: 48px;
    }
}
@media (max-width: 568px) {
    .recommended-wrapper {
        gap: 32px;
    }
}

.recommended-image {
    border-radius: 8px;
    width: 498px;
    height: 588px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .recommended-image {
        width: 100%;
        height: 620px;
    }
}
@media (max-width: 568px) {
    .recommended-image {
        height: 320px;
    }
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 1024px) {
    .recommended-image img {
        object-position: top;
    }
}

.recommended-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 500px;
}
@media (max-width: 1024px) {
    .recommended-content {
        max-width: 100%;
        gap: 40px;
    }
}
@media (max-width: 568px) {
    .recommended-content {
        gap: 24px;
    }
}

.recommended-content .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 1024px) {
    .recommended-content .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .recommended-content .section-title {
        font-size: 35px;
    }
}

.recommended-content p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}

.recommended-content .btn-dark {
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 111px;
    height: 52px;
    background: #040304;
    border: 1px solid #040304;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
    transition: background-color 0.3s ease;
}

.recommended-content .btn-dark:hover {
    background: transparent;
    color: #040304;
}


/* ================= MODELS (Bestsellers) ================= */
.models-section {
    background: #040304;
    color: #ffffff;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 0px 0;
    position: sticky;
    top: 0;
}
@media (max-width: 1024px) {
    .models-section {
        max-height: 100svh;
    }
}

.models-wrapper {
    display: grid;
    grid-template-columns: 714px 1fr;
    gap: 24px;
    align-items: center;
    width: 100%;
    min-height: 100svh;
}
@media (max-width: 1024px) {
    .models-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 88px 20px 52px;
    }
}
@media (max-width: 568px) {
    .models-wrapper {
        padding: 72px 12px 40px;
    }
}

.models-left {
    display: flex;
    flex-direction: column;
    gap: 102px;
}
@media (max-width: 1024px) {
    .models-left {
        width: 100%;
        gap: 64px;
    }
}
@media (max-width: 568px) {
    .models-left {
        gap: 50px;
    }
}

.models-subtitle {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 568px) {
    .models-subtitle {
        font-size: 16px;
    }
}

.models-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
@media (max-width: 568px) {
    .models-list {
        gap: 16px;
    }
}

.model-item {
    display: block;
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 1);
    transition: opacity 0.4s ease;
}
@media (max-width: 1024px) {
    .model-item {
        font-size: 40px;
    }
}
@media (max-width: 568px) {
    .model-item {
        font-size: 26px;
    }
}

@media (min-width: 1025px) {
    .models-list:hover .model-item {
        opacity: 0.3;
    }

    .models-list .model-item:hover {
        opacity: 1;
    }
}

.models-right {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1024px) {
    .models-right {
        height: 86vw;
    }
}
@media (max-width: 568px) {
    .models-right {
        height: 140vw;
        height: calc(100svh - 200px - 72px);
    }
}

.model-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.model-img.active {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 1024px) {
    .model-img.active {
        position: static;
    }
}


/* ================= HIGHLIGHT SLIDER (Блок 7) ================= */
.highlight-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #040304;
    color: #ffffff;
    overflow: hidden;
    margin-top: -1px;
    position: sticky;
    top: 0;
}
@media (max-width: 568px) {
    .highlight-slider-section {
        /*padding-bottom: 200px;*/
    }
}

.highlight-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.highlight-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.highlight-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


@media (max-width: 1024px) {
    .highlight-slide picture {
        position: absolute;
        width: 100%;
        height: 62%;
        bottom: 0;
    }
    .highlight-slide picture:after {
        content: '';
        position: absolute;
        z-index: 2;
        top: -2px;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
    }
}
@media (max-width: 568px) {
    .highlight-slide picture {
        height: 56%;
    }
}

.highlight-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
@media (max-width: 1024px) {
    .highlight-bg {
        object-position: top right;
        /*height: 62%;*/
        inset: auto;
        bottom: 0;
    }
}
@media (max-width: 568px) {
    .highlight-bg {
        object-position: 80% 50%;
        object-position: center;
        /*height: 56%;*/
    }
}

.highlight-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding: 112px 20px;
}
.highlight-slider-section-about .highlight-container {
    gap: 88px;
}
@media (max-width: 1024px) {
    .highlight-container {
        padding: 88px 20px;
    }
    .highlight-slider-section-about .highlight-container {
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }
}
@media (max-width: 568px) {
    .highlight-container {
        padding: 72px 12px;
    }
}
@media (max-width: 375px) {
    .highlight-slider-section-about .highlight-container {
        gap: 40px;
    }
}

.highlight-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    max-width: 945px;
}
.highlight-slider-section-about .highlight-content {
    max-width: 690px;
}
@media (max-width: 1024px) {
    .highlight-content {
        gap: 40px;
        max-width: 100%;
    }
    .highlight-slider-section-about .highlight-content {
        max-width: 100%;
    }
}
@media (max-width: 568px) {
    .highlight-content {
        gap: 32px;
    }
}

.badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    height: 36px;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
}

.highlight-content .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #fff;
}
@media (max-width: 1024px) {
    .highlight-content .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .highlight-content .section-title {
        font-size: 35px;
    }
}

.highlight-content p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    max-width: 490px;
}
@media (max-width: 1024px) {
    .highlight-content p {
        max-width: 100%;
    }
}

.highlight-img {
    width: 395px;
    height: 560px;
    border-radius: 8px;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .highlight-img {
        width: 352px;
        height: 500px;
        border-radius: 4px;
        height: auto;
        width: 53vw;
    }
}
@media (max-width: 568px) {
    .highlight-img {
        height: calc(100% - 280px - 64px - 40px);
        width: auto;
    }
}
@media (max-width: 375px) {
    .highlight-img {
        height: calc(100% - 280px - 64px - 40px);
        width: auto;
    }
}

.highlight-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}
@media (max-width: 568px) {
    .highlight-actions {
        gap: 16px;
    }
}

.btn-text {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: rgba(255, 255, 255, 1);
}

.highlight-controls-container {
    position: absolute;
    bottom: 112px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}
@media (max-width: 568px) {
    .highlight-controls-container {
        bottom: 72px;
    }
}

.highlight-controls {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.control-btn {
    background: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 8px;
    width: 72px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;

    transition: background 0.3s ease, opacity 0.3s ease;
}
.control-btn svg path{
    fill:black;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.control-btn span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.01em;
    text-align: center;
    color: #000;
    margin-top: 4px;
}

.control-btn.prev {
    /*opacity: 0.5;*/
}

.control-btn.prev:hover {
    /*opacity: 1;*/
}

#highlightPrev.disabled,
#highlightNext.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}


/* ================= ARTISTS IMPRESSIONS (Блок 8) ================= */
.artists-section {
    padding: 112px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}
@media (max-width: 1024px) {
    .artists-section {
        padding: 88px 0;
    }
}
@media (max-width: 568px) {
    .artists-section {
        padding: 72px 0;
    }
}

.artists-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}
@media (max-width: 1024px) {
    .artists-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
}

.artists-header .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 1024px) {
    .artists-header .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .artists-header .section-title {
        font-size: 35px;
    }
}

.artists-header .btn-outline {
    border: 1px solid rgba(4, 3, 4, 0.15);
    border-radius: 8px;
    padding: 16px 28px;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    transition: all 0.3s ease;
    width: fit-content;
}
@media (max-width: 1024px) {
    .artists-section .btn-outline {
        width: fit-content;
        margin: auto;
        margin-top: 40px;
        display: flex;
    }
}
@media (max-width: 568px) {
    .artists-section .btn-outline {
        margin-top: 32px;
    }
}
.artists-header .btn-outline:hover {
    /*background-color: #040304;*/
    /*color: #fff;*/
}


.artists-swiper {
    overflow: visible;
    padding-bottom: 50px;
}
@media (max-width: 1024px) {
    .artists-swiper {
        padding-bottom: 40px;
    }
}

.artists-slide {
    width: 388px;
    height: 512px;
}
@media (max-width: 568px) {
    .artists-slide {
        width: 348px;
        height: 480px;
    }
}

.artist-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111111;
}
@media (max-width: 568px) {
    .artist-card {
        aspect-ratio: 366/480;
    }
}

.artist-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-play-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.artist-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.artist-info-link {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100% - 24px);
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    z-index: 10;
    transition: background 0.3s ease;
}

.artist-info-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.artist-avatar {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.artist-text h4 {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
}

.artist-text p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artist-arrow {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.artist-info-link:hover .artist-arrow {
    opacity: 1;
}

.artist-mail {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    transition: all 0.3s ease;
}
.artist-info-link:hover .artist-mail {
    background-color: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.0);
}

.artists-section .artists-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f1f1f1;
}

.artists-scrollbar .swiper-scrollbar-drag {
    background: #040304 !important;
    cursor: grab;
}


/* ================= ASSEMBLY (Блок 9) ================= */
.assembly-section {
    padding: 0px;
    background-color: #ffffff;
    position: relative;
}

.assembly-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 88px;
}
@media (max-width: 1024px) {
    .assembly-section .container {
        gap: 40px;
    }
}
@media (max-width: 568px) {
    .assembly-section .container {
        gap: 32px;
    }
}

.assembly-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
}
@media (max-width: 1024px) {
    .assembly-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .assembly-title {
        font-size: 35px;
    }
}

.assembly-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .assembly-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 568px) {
    .assembly-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background-color: #ffffff;
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 44px;
}
@media (max-width: 568px) {
    .step-card {
        padding: 20px;
        gap: 32px;
    }
}

.step-card:hover {

}

.step-number {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.4);
    background: #f1f1f1;
}

.step-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #040304;
}
@media (max-width: 568px) {
    .step-title {
        font-size: 18px;
    }
}

.step-desc {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}

.assembly-action {
    text-align: center;
}

.assembly-action .btn-rounded {
    border-radius: 8px;
    padding: 16px 24px;
    width: fit-content;
    background: #040304;
    border: 1px solid #040304;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
}
.assembly-action .btn-rounded:hover {
    /*background: #fff;*/
    /*color: #040304;*/
}

/* ================= NEWS (Блок 10) ================= */
.news-section {
    padding: 112px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}
@media (max-width: 1024px) {
    .news-section {
        padding: 88px 0;
    }
}
@media (max-width: 568px) {
    .news-section {
        padding: 72px 0;
    }
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}
@media (max-width: 1024px) {
    .news-header {
        align-items: center;
        margin-bottom: 40px;
    }
}
@media (max-width: 568px) {
    .news-header {
        margin-bottom: 32px;
    }
}

.news-header .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 1024px) {
    .news-header .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .news-header .section-title {
        font-size: 35px;
    }
}

.news-swiper {
    overflow: visible;
    padding-bottom: 50px;
}
@media (max-width: 1024px) {
    .news-swiper {
        padding-bottom: 40px;
    }
}

.news-slide {
    width: 320px;
}
@media (max-width: 568px) {
    .news-slide {
        width: 348px;
    }
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-img-wrap {
    width: 100%;
    height: 432px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f5f5f5;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-card-link:hover .news-img-wrap img {
    transform: scale(1.05);
}

.news-date {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.4);
    margin-bottom: 8px;
}

.news-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
}


.news-section .news-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f1f1f1;
}

.news-scrollbarr .swiper-scrollbar-drag {
    background: #040304 !important;
    cursor: grab;
}

/* ================= MAP / SHOWROOMS (Блок 11) ================= */
.showrooms-section {
    padding: 0px 0;
    background-color: #f1f1f1;
    position: relative;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .showrooms-section {
        padding: 88px 0 0;
    }
}
@media (max-width: 568px) {
    .showrooms-section {
        padding: 72px 0 0;
    }
}

.showrooms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: start;
    min-height: 100vh;
    position: relative;
}
@media (max-width: 1024px) {
    .showrooms-grid {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
}

.showrooms-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 112px 0 326px;
}
@media (max-width: 1024px) {
    .showrooms-content {
        padding: 0;
        gap: 40px;
    }
}
@media (max-width: 568px) {
    .showrooms-content {
        gap: 32px;
    }
}

.showrooms-content .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 1024px) {
    .showrooms-content .section-title {
        font-size: 56px;
    }
}
@media (max-width: 568px) {
    .showrooms-content .section-title {
        font-size: 35px;
    }
}

.showrooms-content p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}

.showrooms-content .btn-rounded {
    width: fit-content;
}
.showrooms-content .btn-rounded .btn-anim__text--clone {
    background: #f1f1f1;
}

.showrooms-map {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}
@media (max-width: 1024px) {
    .showrooms-map {
        position: relative;
        width: 100%;
        height: 100vw;
        top: auto;
        bottom: 0;
    }
}

.map-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 70%;
    display: block;
}
@media (max-width: 1024px) {
    .map-bg-image {
        /*height: auto;*/
        /*object-position: 50% 50%;*/
    }
}

.map-marker {
    position: absolute;
    z-index: 10;
}

.marker-btn {
    width: 40px;
    height: 40px;
    background-color: #050505;
    color: #ffffff;
    border-radius: 50%;
    border: none;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.marker-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.marker-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-14%) translateY(10px);
    width: 224px;
    height: 140px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.map-marker-right .marker-popup {
    transform: translateX(-8%) translateY(10px);
    right: 50%;
    left: auto;
}

.marker-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.marker-city {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.map-marker.active {
    z-index: 20;
}

.map-marker.active .marker-btn {
    background-color: #8E24AA;
}

.map-marker.active .marker-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-14%) translateY(-10px);
    pointer-events: auto;
}

.map-marker-right.active .marker-popup {
    transform: translateX(-8%) translateY(-10px);

}

/**/
/**/
/**/

/* ================= ABOUT PAGE - HERO ================= */
.about-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /*min-height: 900px;*/
    overflow: hidden;
    background: #040304;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.about-hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}
.about-footer-section .about-hero-container {
    justify-content: flex-start;
    padding-top: 112px;
}

.about-hero-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
}
.about-footer-section .about-hero-title {
    max-width: 1036px;
}

@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 56px;
        padding: 0 40px;
    }
}

@media (max-width: 568px) {
    .about-hero-section {
        min-height: 60vh;
    }

    .about-hero-title {
        font-size: 35px;
        padding: 0 10px;
    }
}

/* ================= ABOUT BLOCK 2 - CARDS STACK ================= */
.about-cards-track {
    position: relative;
    /* Высоту задаст JS автоматически на основе CONFIG.scrollDistance */
    background-color: #f1f1f1;
    overflow: hidden;
}

.about-cards-pinned {
    position: relative;
    height: 100vh;
    overflow: hidden; /* Скрываем улетающую карточку */
    display: flex;
    align-items: center;
}
@media (max-width: 1024px) {
    .about-cards-pinned {
        height: auto;
        padding: 88px 0 88px;
        align-items: flex-start;
        overflow: visible;
    }
}


.about-cards-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 119px;
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto;
}


@media (max-width: 1024px) {
    .about-cards-track {
        overflow: visible;
    }

    .about-cards-wrapper { flex-direction: column; gap: 48px; align-items: center; }
}
@media (max-width: 568px) {
    .about-cards-wrapper {
        padding: 0 12px;
        flex-direction: column;
    }

}

/* --- Left Text --- */
.about-cards-text { width: 45%; }
@media (max-width: 1024px) { .about-cards-text { width: 100%; text-align: center; } }

.about-cards-text .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin-bottom: 48px;
}
@media (max-width: 1024px) {
    .about-cards-text .section-title {
        font-size: 56px;
        margin-bottom: 40px;
        text-align: left;
        max-width: 500px;
    }
}
@media (max-width: 568px) {
    .about-cards-text .section-title {
        font-size: 35px;
        margin-bottom: 32px;
    }
}

.about-text-desc {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}
@media (max-width: 1024px) {
    .about-text-desc { text-align: left; }
}

/* --- Right Stack --- */
.about-cards-stack {
    width: 650px;
    height: 623px;
    position: relative;
}
@media (max-width: 1024px) {
    .about-cards-stack {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin: 0 auto;
    }
}
@media (max-width: 568px) {
    .about-cards-stack {
        gap: 20px;
    }
}

.about-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;

    /* Критично для эффекта колоды: масштабирование строго от верха */
    transform-origin: top center;
    will-change: transform;
    backface-visibility: hidden;
}
@media (max-width: 1024px) {
    .about-card {
        position: relative;
        top: auto;
        left: auto;
    }
}

.card-inner {
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 27px;
}
@media (max-width: 568px) {
    .card-inner {
        padding: 20px 20px 58px;
        padding-bottom: 20px;
        gap: 20px;
    }
}

.card-number {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 120px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: rgba(4, 3, 4, 0.10);
}
@media (max-width: 1024px) {
    .card-number { font-size: 100px; }
}
@media (max-width: 568px) {
    .card-number { font-size: 72px; }
}

.card-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: #040304;
}
@media (max-width: 1024px) {
    .card-title { font-size: 18px; }
}
@media (max-width: 568px) {
    .card-title { font-size: 16px; }
}

.card-image { width: 100%; height: 320px; }
@media (max-width: 1024px) {}
@media (max-width: 568px) {
    .card-image { height: 232px; }
}
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ================= HISTORY TIMELINE (BLOCK 3) ================= */
.history-section {
    background-color: #040304;
    padding: 112px 0;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .history-section {
        padding: 88px 0;
    }
}

.history-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 102px;
}

@media (max-width: 1024px) {
    .history-title {
        font-size: 56px;
        margin-bottom: 80px;
        text-align: left;
    }
}

@media (max-width: 568px) {
    .history-title {
        font-size: 35px;
        margin-bottom: 64px;
    }
}

.history-wrapper {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding: 0 20px;
    touch-action: pan-y;
}

/* Timeline */
.timeline-wrapper {
    position: relative;
    width: 100%;
    height: 108px;
    /*padding: 0 20px;*/
}
@media (max-width: 1024px) {
    .timeline-wrapper { height: 92px; }
}

.timeline-line {
    position: absolute;
    top: calc(77% + 13px);
    left: -20px;
    width: 100vw;
    transform: translateY(-50%);
    z-index: 1;
}
@media (max-width: 1024px) {
    .timeline-line {
        top: calc(78% + 8px);
    }
}
@media (max-width: 568px) {
    .timeline-line {
        top: calc(60% + 8px);
    }
}
.timeline-line:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    opacity: 0.2;
}

.timeline-line svg {
    width: 100%;
    height: 2px;
}

.timeline-dots-container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    z-index: 2;
    gap: 830px; /* Расстояние между годами как в макете */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 1024px) {
    .timeline-dots-container {
        gap: 400px;
    }
}
@media (max-width: 568px) {
    .timeline-dots-container {
        gap: 180px;
        padding: 0 22px 0 0;
    }
}

.timeline-year-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    cursor: pointer;
    flex-shrink: 0;
    width: 140px;
    transition: opacity 0.3s ease;
}
@media (max-width: 568px) {
    .timeline-year-item {
        gap: 24px;
    }
}

.timeline-year-item:not(.active):not(.next) {
    opacity: 0.3;
}

.timeline-year-text {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #393939;
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .timeline-year-text {
        font-size: 40px;
    }
}

@media (max-width: 568px) {
    .timeline-year-text {
        font-size: 26px;
    }
}

.timeline-year-item.active .timeline-year-text {
    color: #ffffff;
}

.timeline-year-item.next .timeline-year-text {
    color: #393939;
}

.timeline-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.timeline-dot svg {
    transition: all 0.3s ease;
}

.timeline-year-item.active .timeline-dot svg {
    width: 20px;
    height: 20px;
}

.timeline-year-item:not(.active) .timeline-dot svg {
    width: 15px;
    height: 15px;
}

/* Content */
.history-content-wrapper {
    display: flex;
    gap: 24px;
    /*padding-left: 112px;*/
    width: 100%;
}

@media (max-width: 1024px) {
    .history-content-wrapper {
        flex-direction: column;
        padding: 0;
        gap: 24px;
    }
}

.history-image-block {
    flex-shrink: 0;
    width: 412px;
    height: 299px;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .history-image-block {
        width: 100%;
        height: 380px;
    }
}

@media (max-width: 568px) {
    .history-image-block {
        height: 232px;
    }
}

.history-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.history-img.active {
    opacity: 1;
    visibility: visible;
}

.history-text-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    flex-grow: 1;
    min-height: 299px;
    max-width: 520px;
}
@media (max-width: 1024px) {
    .history-text-block {
        max-width: 100%;
        min-height: auto;
    }
}

.history-text-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.history-text-content.active {
    opacity: 1;
    transform: translateY(0);
}

.history-text-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #ffffff;
    margin-bottom: 24px;
}

.history-text-desc {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
}

.history-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 72px;
    height: 36px;
}

.history-btn span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

.history-btn:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.2);
}

.history-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ================= PRODUCTION FEATURES (Блок 2) ================= */
.production-features-section {
    background-color: #040304;
    padding: 112px 0;
    position: relative;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .production-features-section { padding: 88px 0; }
}
@media (max-width: 568px) {
    .production-features-section { padding: 72px 0; }
}

/* Фоновая картинка через img */
.production-features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

.production-features-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 200px;
    padding: 0;
}
@media (max-width: 1024px) {
    .production-features-container { gap: 120px; padding: 0 20px; }
}
@media (max-width: 568px) {
    .production-features-container { gap: 80px; }
}

.production-features-text {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
}
@media (max-width: 1024px) {
    .production-features-text { font-size: 24px; }
}
@media (max-width: 568px) {
    .production-features-text { font-size: 18px; }
}

.production-features-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}
@media (max-width: 1024px) {
    .production-features-grid {
        flex-direction: column;
        gap: 64px;
    }
}
@media (max-width: 568px) {
    .production-features-grid { gap: 12px; }
}

.feature-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 0 40px;
    flex: 1;
}
@media (max-width: 1024px) {
    .feature-col {
        align-items: flex-start;
        text-align: center;
        padding: 0 20px;
    }
}
@media (max-width: 568px) {
    .feature-col { gap: 20px; padding: 20px; }
}

/* Вертикальные разделители между колонками */
.feature-col + .feature-col {
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}
@media (max-width: 1024px) {
    .feature-col + .feature-col { border-left: none; }
}

.feature-number {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.20);
}
@media (max-width: 1024px) {
    .feature-number { font-size: 56px; }
}
@media (max-width: 568px) {
    .feature-number { font-size: 35px; }
}

.feature-desc {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #ffffff;
}
@media (max-width: 1024px) {
    .feature-desc { text-align: left; }
}
@media (max-width: 568px) {
    .feature-desc { font-size: 16px;}
}

.feature-img {
    width: 100%;
    max-width: 387px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 1024px) {
    .feature-img {
        height: 308px;
        max-width: 100%;
    }
}
@media (max-width: 568px) {
    .feature-img { height: 232px; }
}

/* ================= PRODUCTION STAGES  ================= */
.production-stages-section {
    background-color: #ffffff;
    position: relative;
    /*overflow: hidden;*/
}
@media (max-width: 1024px) {
    .production-stages-section {
        padding: 88px 0;
    }
}
@media (max-width: 568px) {
    .production-stages-section {
        padding: 72px 0;
    }
}

.production-stages-wrapper {
    /*height: 600vh;*/
    position: relative;
}

.production-stages-pinned {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .production-stages-pinned {
        height: auto;
        position: static;
    }
}

.production-stages-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 59px;
    /*padding-top: 112px;*/
    height: 100%;
    position: relative;
}

@media (max-width: 1024px) {
    .production-stages-layout {
        flex-direction: column;
        gap: 48px;
        /*padding-top: 88px;*/
    }
}

@media (max-width: 568px) {
    .production-stages-layout {
        /*padding-top: 72px;*/
        gap: 24px;
    }
}

/* --- Left Side: Navigation --- */
.production-stages-nav {
    display: flex;
    flex-direction: column;
    gap: 88px;
    min-width: 450px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .production-stages-nav {
        min-width: 100%;
        gap: 48px;
        padding: 0 20px;
    }
}
@media (max-width: 568px) {
    .production-stages-nav { gap: 24px; }
}

.production-stages-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .production-stages-title {
        font-size: 56px;
        margin-bottom: 40px;
    }
}

@media (max-width: 568px) {
    .production-stages-title {
        font-size: 35px;
        margin-bottom: 24px;
    }
}

.production-stages-list {
    display: flex;
    flex-direction: column;
    padding: 0 48px 0 0;
}

@media (max-width: 1024px) {
    .production-stages-list {
        padding: 0;
        display: none;
    }
}

.stage-item {
    display: flex;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(4, 3, 4, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
@media (max-width: 568px) {
    .stage-item { padding: 12px 0; }
}

.stage-item:first-child {
    border-top: 1px solid rgba(4, 3, 4, 0.15);
}

.stage-item.active .stage-name {
    color: #040304;
}

/* Горизонтальная линия-индикатор прогресса для активного пункта */
.stage-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #040304;
    transition: width 0.3s linear;
}

.stage-item.active::after {
    width: 100%;
}

.stage-item.completed::after {
    /*width: 100%;*/
}

.stage-name {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: rgba(4, 3, 4, 0.30);
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .stage-name {
        font-size: 20px;
    }
}

@media (max-width: 568px) {
    .stage-name {
        font-size: 16px;
    }
}

/* --- Right Side: Content --- */
.production-stages-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (max-width: 1024px) {
    .production-stages-content {
        width: 100%;
    }
}
@media (max-width: 568px) {
    .production-stages-content { gap: 24px; }
}

.stages-image-wrapper {
    width: 100%;
    height: 487px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

@media (max-width: 1024px) {
    .stages-image-wrapper {
        height: 400px;
    }
}

@media (max-width: 568px) {
    .stages-image-wrapper {
        height: 280px;
    }
}

.stages-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.stage-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: none;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.stage-img:nth-child(1) {z-index: 1 !important;}

/* Активное изображение */
.stage-img.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Изображение, которое уезжает вверх (предыдущее) */
.stage-img.slide-out {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Изображение, которое въезжает снизу (новое) */
.stage-img.slide-in {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.stages-text-wrapper {
    min-height: 46px;
    position: relative;
}

.stage-description {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    /*opacity: 0;*/
    /*visibility: hidden;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.1s ease, visibility 0.1s ease;
    background-color: #ffffff;
    will-change: opacity;
    transform: translateZ(0);
}
@media (max-width: 1024px) {

}
@media (max-width: 568px) {
    .stage-description {
        font-size: 14px;
    }
}

.stage-description.active {
    opacity: 1;
    visibility: visible;
    /*position: relative;*/
}

/* ================= MOBILE MODE FOR BLOCK 3 ================= */
@media (max-width: 1024px) {
    /* Скрываем десктопные элементы, если JS не успел обработать */
    /*.production-stages-nav { display: none !important; }*/
    .production-stages-layout {
        flex-direction: column;
        gap: 0;
        margin: 0 -24px;
        width: calc(100% + 48px);
    }
    .production-stages-content { width: 100%; }

    /* Swiper контейнер */
    .production-mobile-swiper {
        width: 100%;
        /*padding-bottom: 40px;*/
        padding: 0 20px;
    }
    .production-mobile-swiper .swiper-wrapper { align-items: flex-start; }

    /* Слайд */
    .mobile-stage-slide {
        width: 85vw !important; /* Широкий слайд на мобильном */
        max-width: 684px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* Картинка */
    .mobile-slide-image-wrapper {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        height: 580px;
    }

    .mobile-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Текст */
    .mobile-slide-text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-right: 24px;
    }

    .mobile-slide-title {
        font-family: "Muller", sans-serif;
        font-weight: 400;
        font-size: 24px;
        line-height: 100%;
        color: #040304;
        margin: 0;
    }

    .mobile-slide-desc {
        font-family: "Helvetica", sans-serif;
        font-weight: 300;
        font-size: 16px;
        line-height: 140%;
        color: rgba(4, 3, 4, 0.70);
        margin: 0;
    }
}
@media (max-width: 568px) {
    .mobile-stage-slide { gap: 16px; }
    .mobile-slide-image-wrapper { height: 260px;}
    .mobile-slide-title { font-size: 18px; }
    .mobile-slide-text { gap: 12px; }
}

/* ================= PRODUCTION SLIDER (Блок 4) ================= */
.production-slider-section {
    background-color: #f1f1f1;
    padding: 112px 0;
    overflow: hidden; /* Обрезаем всё, что выходит за пределы экрана */
    width: 100%;
}
@media (max-width: 1024px) {
    .production-slider-section { padding: 88px 0; }
}
@media (max-width: 568px) {
    .production-slider-section { padding: 72px 0; }
}

.production-slider-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*gap: 32px;*/
    width: 100%;
}

.production-slider-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    margin: auto;
    /*margin-bottom: 88px;*/
    padding: 0 20px;
    max-width: 920px;
}

@media (max-width: 1024px) {
    .production-slider-title { font-size: 56px; }
}
@media (max-width: 568px) {
    .production-slider-title { font-size: 35px; }
}

/* Swiper */
.production-swiper {
    width: 100%;
    padding: 88px 0 32px 0;
    overflow: visible; /* Позволяет боковым слайдам выходить за границы */
}
@media (max-width: 1024px) {
    .production-swiper { padding: 40px 0 32px 0; }
}
@media (max-width: 568px) {
    .production-swiper { padding: 32px 0 32px 0; }
}

.swiper-wrapper {
    align-items: center;
    overflow: visible;
}

/* Слайд: фиксированная ширина для стабильной математики Swiper */
.production-slide {
    width: 832px !important;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Внутренняя обертка отвечает за масштабирование */
.slide-inner {
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-image-wrapper {
    width: 832px;
    height: 556px;
    border-radius: 8px;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Неактивные слайды уменьшаются */
.production-slide:not(.swiper-slide-active) .slide-inner {
    transform: scale(0.674); /* 560 / 832 ≈ 0.674 */
}

.production-slide:not(.swiper-slide-active) .slide-img {
    opacity: 0.70;
}

/* Описание */
.production-slider-desc-container {
    position: relative;
    width: 100%;
    max-width: 526px;
    margin: 0 auto;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.production-slider-desc {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    text-align: center;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #000000;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.production-slider-desc.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .production-slider-desc { font-size: 16px; }
}
@media (max-width: 568px) {
    .production-slider-desc { font-size: 14px; padding: 0 20px; }
    .production-slider-desc-container { height: 80px; padding: 0 20px; }
}

/* Навигация */
.production-slider-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.production-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: rgba(4, 3, 4, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.production-nav-btn:hover { background-color: rgba(4, 3, 4, 0.1); }

.production-nav-btn.production-prev {
    /*background-color: rgba(4, 3, 4, 0.10);*/
    /*opacity: 0.20;*/
    pointer-events: none;
}

.production-nav-btn span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
}

/* Адаптив */
@media (max-width: 1024px) {
    .production-slide { width: 640px !important; }
    .slide-image-wrapper { width: 640px; height: 480px; }
    .production-slide:not(.swiper-slide-active) .slide-inner { transform: scale(1); } /* 420/620 */
}

@media (max-width: 568px) {
    .production-slide { width: 348px !important; }
    .slide-image-wrapper { width: 348px; height: 260px; }
    .production-slide:not(.swiper-slide-active) .slide-inner { transform: scale(1); } /* 240/360 */
    .production-nav-btn { padding: 8px 12px; }
    .production-nav-btn span { font-size: 12px; }
}

/* ================= CONFIGURATOR / SCATTERED (Блок 6) ================= */
.configurator-section {
    position: relative;
    height: 300vh; /* Высота для скролла (3 экрана) */
    background-color: #040304;
    /*overflow: hidden;*/
}
@media (max-width: 1024px) {
    .configurator-section {
        height: 100svh;
        min-height: 100svh;
    }
    .configurator-sticky-header {
        height: 100svh;
        min-height: 100svh;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 1024px) {
        .configurator-section {
            height: 100dvh;
            min-height: 100dvh;
        }
        .configurator-sticky-header {
            height: 100dvh;
            min-height: 100dvh;
        }
    }
}

/* Липкий заголовок */
.configurator-sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    z-index: 10;
    pointer-events: none; /* Пропускаем скролл сквозь область текста */
}

.configurator-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
    max-width: 642px;
}

/* Кнопку делаем кликабельной обратно */
.configurator-sticky-header .btn {
    pointer-events: auto;
}

/* Трек с картинками */
.configurator-images-track {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.config-img {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    transform-origin: center center;
    will-change: transform;
}

html.is-ios .config-img {
    will-change: auto;
}

.config-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Позиционирование (Desktop) */
.config-img:nth-child(1) { top: 15%;  left: 5%;  width: 320px; height: 380px; }
.config-img:nth-child(2) { top: 2%;  left: 32%; width: 280px; height: 332px; }
.config-img:nth-child(3) { top: 10%; right: 6%; width: 320px; height: 380px; }
.config-img:nth-child(4) { top: 49%; left: 5%;  width: 320px; height: 380px; }
.config-img:nth-child(5) { top: 35%; left: 32%; width: 280px; height: 332px;  }
.config-img:nth-child(6) { top: 47%; right: 6%;width: 320px; height: 380px;  }

.config-img:nth-child(7)  { top: 83%;  left: 5%;  width: 320px; height: 380px; }
.config-img:nth-child(8)  { top: 68%;  left: 32%; width: 280px; height: 332px; }
.config-img:nth-child(9)  { top: 84%;  right: 6%; width: 320px; height: 380px; }
.config-img:nth-child(10) { top: 117%; left: 5%;  width: 320px; height: 380px; }
.config-img:nth-child(11) { top: 101%; left: 32%; width: 280px; height: 332px; }
.config-img:nth-child(12) { top: 121%; right: 6%; width: 320px; height: 380px; }

/* Адаптив */
@media (max-width: 1024px) {
    .configurator-title { font-size: 56px; }
    .config-img { opacity: 0.85; }
    .config-img:nth-child(1) { width: 280px; height: 332px; left: 20px; top: 58svh; }
    .config-img:nth-child(2) { width: 220px; height: 260px; left: 20px; top: 88px; }
    .config-img:nth-child(3) { width: 280px; height: 332px; right: 20px; top: 220px; }
    .config-img:nth-child(4) { width: 280px; height: 332px; left: 20px;  display: none; }
    .config-img:nth-child(5) { width: 220px; height: 260px; left: 20px; display: none; }
    .config-img:nth-child(6) { width: 280px; height: 332px; right: 20px; display: none; }
    .config-img:nth-child(7) { width: 280px; height: 332px; right: 20px; display: none; }
    .config-img:nth-child(8) { width: 280px; height: 332px; right: 20px; display: none; }
    .config-img:nth-child(9) { width: 280px; height: 332px; right: 20px; display: none; }
    .config-img:nth-child(10) { width: 280px; height: 332px; right: 20px; display: none; }
    .config-img:nth-child(11) { width: 280px; height: 332px; right: 20px; display: none; }
    .config-img:nth-child(12) { width: 280px; height: 332px; right: 20px; display: none; }
}

@media (max-width: 568px) {
    .configurator-title { font-size: 35px; }
    .configurator-sticky-header { gap: 32px; }
    .config-img {

    }
    .config-img:nth-child(1) { width: 180px; height: 214px; top: 68svh; }
    .config-img:nth-child(2) { width: 120px; height: 142px; top: 72px; }
    .config-img:nth-child(3) { width: 180px; height: 214px; top: 144px; }
    .config-img:nth-child(4) { }
    .config-img:nth-child(5) { }
    .config-img:nth-child(6) { }
    .config-img:nth-child(7) { }
    .config-img:nth-child(8) { }
    .config-img:nth-child(9) { }
    .config-img:nth-child(10) { }
    .config-img:nth-child(11) { }
    .config-img:nth-child(12) { }
}

/* ================= ARTISTS PAGE ================= */
.artists-page-section {
    padding: 112px 0;
    background-color: #f1f1f1;
    min-height: 100vh;
}

.artists-page-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin-bottom: 24px;
}

/* --- Filters System --- */
.artists-filters-wrapper {
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 8px;
    max-height: 70px;
    transition: max-height 0.3s ease;
}
.artists-filters-wrapper:hover { max-height: 350px; }

.filters-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    min-height: 38px;
    white-space: nowrap;
}

.filters-bar:hover {

}

.filters-bar-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.filters-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
}

.active-filters-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
@media (max-width: 568px) {
    .active-filters-container {
        display: none;
    }
}

.filter-tag {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #000000;
    cursor: pointer;
}

.filters-dropdown-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.80);
}
@media (max-width: 568px) {
    .filters-dropdown-trigger {
        font-size: 12px;
    }
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

/* Фильтры скрыты по умолчанию */
.filters-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Показываем при наведении на ОБЕРТКУ */
.artists-filters-wrapper:hover .filters-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.artists-filters-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.filter-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(4, 3, 4, 0.15);
    background-color: transparent;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #040304;
    cursor: pointer;
    transition: all 0.3s ease;
}
@media (max-width: 568px) {
    .filter-btn { font-size: 12px; }
}
.filter-btn path {
    stroke: #040304;
}

.filter-btn:hover {
    background-color: rgba(4, 3, 4, 0.05);
}

.filter-btn.active {
    background-color: #040304;
    border-color: #040304;
    color: #ffffff;
}
.filter-btn.active path { stroke: #ffffff; }

/* --- Artists Grid & Card --- */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 88px;
}

/* Карточка теперь ссылка */
.artists-page-section .artist-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 512px; /* Жесткая высота */
    background-color: #111111;
    transition: transform 0.3s ease;
}
@media (max-width: 1024px) {}
@media (max-width: 568px) {
    .artists-page-section .artist-card { height: 100%; }
}

.artists-page-section .artist-card:hover {
    transform: translateY(-4px);
}

.artists-page-section .artist-card img.artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Link стал дивом */
.artists-page-section .artist-card .artist-info-link {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100% - 24px);
    gap: 12px;
    z-index: 10;
    transition: background 0.3s ease;
}

.artists-page-section .artist-card:hover .artist-info-link {
    background: rgba(255, 255, 255, 0.4);
}

.artists-page-section .artist-card .artist-text {

    gap: 12px;
}

.artist-text h4 {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
}

.artist-text p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
}

.artist-arrow {
    flex-shrink: 0;
    opacity: 0.7;
}

a.artist-card:hover .artist-arrow {
    opacity: 1;
}

/* --- Pagination --- */
.artists-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 8px 20px;
    background-color: rgba(4, 3, 4, 0.05);
    border-radius: 8px;
    border: none;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #040304;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: rgba(4, 3, 4, 0.10);
}

.pagination-btn.active {
    background-color: #040304;
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.20;
    cursor: not-allowed;
}

.pagination-btn.prev,
.pagination-btn.next {
    padding: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .artists-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .artists-page-title { font-size: 56px; }
    .artists-filters-wrapper { margin-bottom: 40px; }
}

@media (max-width: 568px) {
    .artists-grid { grid-template-columns: 1fr; }
    .artists-page-title { font-size: 35px; }
    a.artist-card { height: 480px; }
}

/**/
/**/
/**/

/* ================= ARTIST DETAIL PAGE ================= */
.artist-detail-section {
    background-color: #f1f1f1;
    padding: 88px 0 112px;
}

@media (max-width: 1024px) {
    .artist-detail-section {
        padding: 112px 0 88px;
    }
}

@media (max-width: 568px) {
    .artist-detail-section {
        padding: 112px 0 64px;
    }
}

.artist-detail-wrapper {
    display: flex;
    flex-direction: row;
    gap: 80px;
    padding: 0 112px;
}

@media (max-width: 1024px) {
    .artist-detail-wrapper {
        flex-direction: column;
        padding: 0px;
        gap: 48px;
    }
}

@media (max-width: 568px) {
    .artist-detail-wrapper {

        gap: 32px;
    }
}

/* Artist Image */
.artist-detail-image {
    flex-shrink: 0;
}

.artist-detail-image img {
    width: 480px;
    height: 615px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .artist-detail-image {
        width: 100%;
        height: 620px;
        margin: 0 auto;
    }

    .artist-detail-image img {
        width: 100%;
        height: 100%;
        object-position: top;
    }
}

@media (max-width: 568px) {
    .artist-detail-image {
        height: 100%;
        aspect-ratio: 366/480;
    }
}

/* Artist Content */
.artist-detail-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

@media (max-width: 1024px) {
    .artist-detail-content {
        gap: 32px;
    }
}
@media (max-width: 568px) {
    .artist-detail-content { gap: 24px; }
}

.artist-detail-name {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

@media (max-width: 1024px) {
    .artist-detail-name {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .artist-detail-name {
        font-size: 35px;
    }
}

.artist-detail-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

@media (max-width: 1024px) {
    .artist-detail-title {
        font-size: 16px;
    }
}

@media (max-width: 568px) {
    .artist-detail-title {
        font-size: 14px;
    }
    .artist-detail-title br {
        display: none;
    }
}

.artist-choice-btn {
    width: fit-content;
    padding: 16px 28px;
}

.artist-video-modal {
    justify-content: flex-end;
}

.modal-content.artist-video-modal-content {
    width: 420px;
    width: fit-content;
    max-width: min(420px, 100vw);
    max-width: 100%;
    height: 100dvh;
    padding: 24px 16px;
    background-color: #040304;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1024px) {
    .modal-content.artist-video-modal-content {
        Width: 100%;
    }
}

.artist-video-modal-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-video-modal-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
    border-radius: 12px;
}

.artist-video-modal-content .modal-close-btn {
    mix-blend-mode: normal;
}

@media (max-width: 568px) {
    .artist-video-modal-content {
        width: 100%;
        max-width: 100%;
        padding: 64px 12px 12px;
    }

    .artist-video-modal-player {
        border-radius: 8px;
    }
}

/* Accordion */
.artist-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-item {
    border-top: 1px solid rgba(4, 3, 4, 0.10);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item:first-child { border-top: none; }

.accordion-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 12px 0px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    /*background-color: rgba(4, 3, 4, 0.02);*/
}

.accordion-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
    margin: 0;
}

.accordion-icon {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 ;
    transition: all 0.5s ease;
    transition-delay: 0s !important;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 12px 0;
}

.accordion-content p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
}

@media (max-width: 568px) {
    .accordion-header {
        padding: 16px 0px;
    }

    .accordion-item.active .accordion-content {
        padding: 0 0px 20px 0px;
    }

    .accordion-content p {
        font-size: 14px;
    }
}

/* ================= PERFORMANCES SECTION ================= */
.performances-section {
    padding: 112px 0px;
    background-color: #040304;
}
@media (max-width: 1024px) {
    .performances-section { padding: 88px 0px; }
}
@media (max-width: 568px) {
    .performances-section { padding: 72px 0px; }
}

.performances-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .performances-title { font-size: 56px; }
}

@media (max-width: 568px) {
    .performances-title { font-size: 35px; }
}

/* Tabs */
.performances-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    border: none;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-btn.active { background-color: #811674; }
.tab-btn:hover:not(.active) { background-color: rgba(255, 255, 255, 0.20); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* === VIDEO LAYOUT === */
.video-playlist-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

@media (max-width: 1024px) {
    .video-playlist-wrapper {
        flex-direction: column;
    }
}

.video-main-swiper {
    flex: 1;
    max-width: 1145px;
}
@media (max-width: 1024px) {
    .video-main-swiper {
        aspect-ratio: 16/9;
        width: 100%;
    }
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    height: 656px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .video-embed-wrapper {
        height: auto;
        aspect-ratio: 16/9;
    }
}

.video-player-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-poster {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    z-index: 3;
}

.video-frame-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: auto;
}

.video-frame-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    pointer-events: auto;
}

.video-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 11px 22px;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.video-play-btn:hover {
    background-color: rgba(255, 255, 255, 0.20);
}

.video-play-btn.playing {
    display: none;
}

/* Desktop Sidebar */
.video-playlist-sidebar {
    position: relative;
    width: 231px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .video-playlist-sidebar {
        display: none; /* Скрываем сайдбар на мобильных */
    }
}

.video-playlist-sidebar.hidden {
    display: none;
}

/* Vertical Navigation Arrows (Up/Down) */
.playlist-nav {
    position: absolute;
    top: 16px;
    left: 97px;
    width: 38px;
    height: 624px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none; /* Пропускаем клики сквозь контейнер */
}

.playlist-nav.hidden {
    display: none;
}

.playlist-nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: #1d1c1d;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    pointer-events: auto; /* Кнопки кликабельны */
    transition: background-color 0.3s ease;
    width: 38px;
    height: 38px;
}

.playlist-nav-btn:hover {
    background-color: #2d2c2d;
}

.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 656px;
    overflow: hidden;
}

.video-playlist-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    opacity: 0.60;
    transition: opacity 0.3s ease;
}

.video-playlist-item.active {
    opacity: 1;
}

.video-playlist-item:hover {
    opacity: 1;
}

.playlist-thumb {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #000;
}

.playlist-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.80);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-playlist-item.active .playlist-title {
    color: #ffffff;
}

/* Mobile Navigation Buttons */
.video-nav-mobile {
    display: none; /* Скрыты на десктопе */
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 20px;
    justify-content: center;
    width: 100%;
}

@media (max-width: 1024px) {
    .video-nav-mobile {
        display: flex; /* Показываем на мобильных */
    }
}

.video-nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 72px;
    height: 36px;
}

.video-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.20);
}

.video-nav-btn.prev.disabled {
    opacity: 0.30;
    pointer-events: none;
}

.video-nav-btn.next.disabled {
    opacity: 0.30;
    pointer-events: none;
}

.video-nav-btn span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

/* === AUDIO LAYOUT === */
.audio-player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

.audio-current-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background-color: #811674;
    width: 100%;
}

@media (max-width: 568px) {
    .audio-current-track {
        gap: 12px;
        padding: 12px;
    }
}

.track-cover {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 8px;
    outline: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    flex-shrink: 0;
}
@media (max-width: 568px) {
    .track-cover { width: 80px; height: 80px; }
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.track-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.track-pause-btn:hover {
    background-color: rgba(255, 255, 255, 0.20);
}

.track-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 67px;
    flex: 1;
}

@media (max-width: 568px) {
    .track-info {
        width: 100%;
        gap: 18px;
    }
}

.track-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (max-width: 568px) {
    .track-meta { gap: 4px; }
}

.track-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 568px) {
    .track-title { font-size: 14px; }
}

.track-artist {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.40);
    margin: 0;
}
@media (max-width: 568px) {
    .track-artist { font-size: 12px; }
}

.track-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
@media (max-width: 568px) {
    .track-controls { gap: 8px; }
}

.track-prev,
.track-next {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.3s ease;
}
@media (max-width: 568px) {
    .track-prev, .track-next { width: 20px; height: 20px; padding: 5px; }
}

.track-prev:hover,
.track-next:hover {
    opacity: 0.8;
}

.track-progress {
    flex: 1;
    max-width: 600px;
    height: 2px;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.20);
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.1s linear;
}

.track-time {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.40);
    white-space: nowrap;
}
@media (max-width: 568px) {
    .track-time { font-size: 14px; }
}

.audio-playlist {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.audio-track-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 16px 32px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 1024px) {
    .audio-track-item {
        gap: 20px;
        padding: 16px 20px;
    }
}
@media (max-width: 568px) {
    .audio-track-item { gap: 16px; padding: 16px 12px; }
}

.audio-track-item:hover {
    background-color: rgba(4, 3, 4, 0.05);
}

.audio-track-item.active {
    background-color: rgba(4, 3, 4, 0.05);
}

.track-number {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: rgba(4, 3, 4, 0.40);
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.track-number-text {
    display: block;
}

.track-play-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    background-color: rgba(4, 3, 4, 0.05);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-track-item:hover .track-number-text {
    opacity: 0;
}

.audio-track-item:hover .track-play-icon {
    opacity: 1;
}

.audio-track-item.active .track-number-text,
.audio-track-item.active .track-play-icon {
    display: none;
}

.sound-waves {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 20px;
}

.audio-track-item.active .sound-waves {
    display: flex;
}

.sound-waves svg {
    transform-origin: bottom;
    transform: scaleY(0.4);
    transition: transform 0.2s ease;
}

.sound-waves.playing svg {
    animation: soundWave 0.8s ease-in-out infinite alternate;
}

.sound-waves.playing svg:nth-child(1) { animation-delay: 0s; }
.sound-waves.playing svg:nth-child(2) { animation-delay: 0.15s; }
.sound-waves.playing svg:nth-child(3) { animation-delay: 0.3s; }
.sound-waves.playing svg:nth-child(4) { animation-delay: 0.45s; }
.sound-waves.playing svg:nth-child(5) { animation-delay: 0.6s; }

@keyframes soundWave {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

.track-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.track-name {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}
@media (max-width: 568px) {
    .track-name { font-size: 14px; }
}

.track-performer {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
}
@media (max-width: 568px) {
    .track-performer { font-size: 12px; }
}

.track-duration {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
    white-space: nowrap;
}
@media (max-width: 568px) {
    .track-duration { font-size: 14px; }
}

/* ================= NEWS PAGE ================= */
.news-page-section {
    padding: 112px 0;
    padding-top: calc(112px + 48px);
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .news-page-section {
        padding: 88px 0;
        padding-top: calc(88px + 48px);
    }
}

@media (max-width: 568px) {
    .news-page-section {
        padding: 72px 0;
        padding-top: calc(72px + 48px);
    }
}

.news-page-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 68px;
    gap: 24px;
}

@media (max-width: 1024px) {
    .news-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 568px) {
    .news-page-header {
        gap: 24px;
        margin-bottom: 32px;
    }
}

.news-page-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

@media (max-width: 1024px) {
    .news-page-title {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .news-page-title {
        font-size: 35px;
        line-height: 105%;
    }
}

.news-page-description {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    max-width: 740px;
    margin: 0;
}

@media (max-width: 1024px) {
    .news-page-description {
        max-width: 100%;
    }
}

/* Hero News Item */
.news-hero-item {
    position: relative;
    width: 100%;
    height: 680px;
    border-radius: 8px;
    overflow: hidden;
    /*margin-bottom: 112px;*/
    position: sticky;
    top: 0;
}

@media (max-width: 1024px) {
    .news-hero-item {
        height: 480px;
        margin: 0 -20px;
        /*margin-bottom: 88px;*/
        width: calc(100% + 40px);
        border-radius: 0;
    }
}

@media (max-width: 568px) {
    .news-hero-item {
        height: 440px;
        margin: 0 -12px;
        /*margin-bottom: 72px;*/
        width: calc(100% + 24px);
    }
}

.news-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.news-hero-content {
    position: absolute;
    top: 100px;
    right: 0;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 740px;
    z-index: 2;
}

@media (max-width: 1024px) {
    .news-hero-content {
        bottom: 80px;
        gap: 32px;
        top: 40px;
        left: 40px;
        right: auto;
        max-width: 420px;
    }
}

@media (max-width: 568px) {
    .news-hero-content {
        left: 12px;
        gap: 24px;
    }
}

.news-hero-date {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.80);
}

.news-hero-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 1024px) {
    .news-hero-title {
        font-size: 40px;
    }
}

@media (max-width: 568px) {
    .news-hero-title {
        font-size: 26px;
    }
}

.news-hero-content .btn-primary {
    background-color: #811674;
    width: fit-content;
}

.news-hero-content .btn-primary:hover {
    background-color: #811674;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 112px 24px;
    margin: 0 auto;
    /*margin-bottom: 88px;*/
    /*max-width: 1162px;*/

    background: #fff;
    position: relative;
    z-index: 1;
    padding: 0 calc((100vw - 1162px) / 6.5);
    padding-top: 112px;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 16px;
        /*margin-bottom: 56px;*/
        padding: 88px 20px 56px;
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
}

@media (max-width: 568px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        /*margin-bottom: 72px;*/
        padding: 72px 12px;
        margin: 0 -12px;
        width: calc(100% + 24px);
    }
}

.news-grid .news-card-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 60px;
}
.news-grid .news-card-link:nth-child(1n) {
    padding-bottom: 112px;
}
.news-grid .news-card-link:nth-child(2n) {
    padding-top: 112px;
}
@media (max-width: 1024px) {
    .news-grid .news-card-link { padding: 0; }
    .news-grid .news-card-link:nth-child(1n) { padding-bottom: 0; }
    .news-grid .news-card-link:nth-child(2n) { padding-top: 0; }
}

.news-grid .news-img-wrap {
    width: 100%;
    height: 540px;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .news-grid .news-img-wrap {
        height: 432px;
    }
}

@media (max-width: 568px) {
    .news-grid .news-img-wrap {
        height: 432px;
    }
}

.news-grid .news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-grid .news-date {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
    margin-bottom: 0;
}

.news-grid .news-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
    max-width: 274px;
}

/* Pagination */
.news-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 0 20px;
    width: calc(100% + 40px);
}

@media (max-width: 568px) {
    .news-pagination {
        gap: 6px;
        margin: 0 -12px;
        padding: 0 12px;
        width: calc(100% + 24px);
    }
}


/* ================= NEWS DETAIL PAGE ================= */

/* Hero Section */
.news-detail-hero {
    position: relative;
    width: 100%;
    height: 900px;
    padding: 112px 0;
    overflow: hidden;
    position: sticky;
    top: 0;
}

.news-detail-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.news-detail-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 56px;
}
@media (max-width: 568px) {
    .news-detail-hero-content {
        gap: 44px;
    }
}

.news-detail-date {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.30);
}

.news-detail-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
    max-width: 800px;
}

/* Content Section */
.news-detail-content-section {
    background-color: #ffffff;
    padding: 88px 0 0px;
    position: relative;
    z-index: 1;
}
@media (max-width: 1024px) {
    .news-detail-content-section { padding: 72px 0 0px; }
}

.news-detail-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    /*padding: 0 20px;*/
}

/* Sticky Share Sidebar */
.news-detail-share-sidebar {
    position: sticky;
    top: 140px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: fit-content;
    min-width: 81px;
}

.share-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.30);
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(4, 3, 4, 0.10);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.share-btn:hover {
    background-color: rgba(4, 3, 4, 0.20);
    transform: scale(1.05);
}

.share-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-icon {
    width: 17px;
    height: 16px;
    display: flex;
    gap: 2px;
    align-items: center;
}

.copy-link-btn {
    position: relative;
}

.copy-link-btn.copied {
    background-color: #811674;
}

.copy-link-btn.copied svg path {
    fill: #ffffff;
}

.copy-tooltip {
    position: absolute;
    top: 0;
    left: 56px;
    transform: translateX(-20%) translateY(2%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0px;
    padding: 8px 12px;
    background-color: #040304;
    border-radius: 8px;
    color: #ffffff;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.copy-tooltip span {

}

.copy-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(2%);
}

/* Стрелочка тултипа (опционально, если нужна) */
.copy-tooltip::before {
    content: '';
    position: absolute;
    bottom: 11px;
    left: -4px;
    transform: rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #040304;
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.copy-tooltip.visible::before {
    opacity: 1;
    visibility: visible;
}

/* === АДАПТИВ === */
@media (max-width: 1024px) {
    .copy-tooltip {
        /*font-size: 13px;*/
        /*padding: 7px 10px;*/
        /*gap: 6px;*/
    }
}

@media (max-width: 568px) {
    .copy-tooltip {
        /* На мобильных можно показывать тултип снизу, чтобы не перекрывал экран */
        top: 140%;
        left: -70%;
        transform: translateX(0%) translateY(-20px);
        /*font-size: 12px;*/
        /*padding: 6px 10px;*/
    }

    .copy-tooltip.visible {
        transform: translateX(0%) translateY(0px);
    }

    .copy-tooltip::before {
        bottom: auto;
        top: -5px;
        left: 42%;
    }
}

/* Main Content */
.news-detail-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 72px;
    max-width: 926px;
}

.news-detail-text-content {
    display: flex;
    flex-direction: column;
    gap: 44px;
}
@media (max-width: 568px) {
    .news-detail-text-content {
        gap: 40px;
    }
}

.news-detail-subtitle {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

.news-detail-text {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.news-detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-detail-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.list-dot {
    width: 12px;
    min-width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #811674;
    display: block;
}

.news-detail-list li p {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

.news-detail-image {
    width: 100%;
    height: 520px;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .news-detail-image { height: 440px; }
}
@media (max-width: 568px) {
    .news-detail-image { height: 320px; }
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.news-detail-quote {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 32px;
    background-color: #f1f1f1;
    border-left: 2px solid #811674;
}
@media (max-width: 568px) {
    .news-detail-quote {
        gap: 32px;
        padding: 24px;
    }
}

.news-detail-quote p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
}

.quote-author {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

/* Video */
.news-detail-video {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 8px;
    overflow: hidden;
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 11px 22px;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-play-btn:hover {
    background-color: rgba(255, 255, 255, 0.20);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-caption {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.30);
}

/* Banner */
.news-detail-banner {
    position: relative;
    width: 100%;
    height: 432px;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .news-detail-banner { height: 384px; }
}

.news-detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}
@media (max-width: 1024px) {
    .banner-content { padding: 32px; }
}
@media (max-width: 568px) {
    .banner-content { padding: 24px; }
}

.banner-content h3 {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 24px;
}

.banner-content p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 400px;
}

.banner-content .btn {
    width: fit-content;
    margin: auto 0 0;
}

/* Navigation */
.news-detail-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 48px 0;
}
@media (max-width: 1024px) {
    .news-detail-navigation {
        /*transform: translateY(150px);*/
        padding: 0;
        margin-top: 32px;
    }
}

.nav-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 568px) {
    .nav-label {
        font-size: 14px;
        text-align: center;
    }
}

.nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: rgba(4, 3, 4, 0.05);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: rgba(4, 3, 4, 0.10);
}

.nav-btn span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
}

/* Read More Section */
.news-detail-read-more {
    padding: 112px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
@media (max-width: 1024px) {
    .news-detail-read-more { padding: 98px 0 88px 0; }
}
@media (max-width: 568px) {
    .news-detail-read-more { padding: 82px 0 72px 0; }
}

.read-more-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 24px;
}

.read-more-header .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}
@media (max-width: 1024px) {
    .read-more-header .section-title { font-size: 56px; }
}
@media (max-width: 568px) {
    .read-more-header .section-title { font-size: 35px; }
}

/* Responsive */
@media (max-width: 1024px) {
    .news-detail-hero {
        height: 100svh;
        padding-bottom: 140px;
    }

    .news-detail-title {
        font-size: 56px;
    }

    .news-detail-wrapper {
        flex-direction: column-reverse;
        gap: 48px;
    }

    .news-detail-share-sidebar {
        position: static;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        height: 84px;
        /*transform: translateY(-130px);*/
    }

    .news-detail-share-sidebar-2 {
        display: none;
    }

    .share-buttons {
        flex-direction: row;
    }

    .news-detail-main {
        gap: 48px;
    }

    .read-more-header {
        /*flex-direction: column;*/
        align-items: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 568px) {
    .news-detail-hero {
        /*height: 400px;*/
        padding-bottom: 80px;
    }

    .news-detail-date {
        font-size: 16px;
    }

    .news-detail-title {
        font-size: 35px;
    }

    .news-detail-subtitle {
        font-size: 18px;
    }

    .news-detail-text {
        font-size: 14px;
    }

    .news-detail-list li p {
        font-size: 14px;
    }

    .video-wrapper {
        height: 260px;
    }

    .news-detail-banner {
        height: 400px;
    }

    .banner-content h3 {
        font-size: 26px;
    }

    .read-more-header {
        margin-bottom: 32px;
    }

    .read-more-header .section-title {
        font-size: 35px;
    }
}


/* ============================================================
   CONTACT PAGE — стили
   ============================================================ */

/* --- Section wrapper --- */
.contact-section {
    padding: 112px 0;
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .contact-section {
        padding: 88px 0;
        padding-top: 112px;
    }
}

@media (max-width: 568px) {
    .contact-section {
        padding: 72px 0;
        padding-top: 112px;
    }
}

/* --- Layout: left info + right media --- */
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 134px;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 598px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .contact-left {
        max-width: 100%;
    }
}

/* --- Title --- */
.contact-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 1024px) {
    .contact-title {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .contact-title {
        font-size: 35px;
    }
}

/* --- Locations (accordion) --- */
.contact-locations {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-location {
    display: flex;
    flex-direction: column;
    gap: 29px;
    padding: 0 16px;
}
@media (max-width: 1024px) {
    .contact-location {
        padding: 0;
    }
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    user-select: none;
}

.location-header span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 568px) {
    .location-header span {
        font-size: 16px;
    }
}

.location-header svg {
    transition: transform 0.5s ease;
}

/* --- Accordion content — smooth grid animation --- */
.location-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.location-content.expanded {
    max-height: 0px;
}

.location-content > * {
    overflow: hidden;
}

/* --- Contact rows --- */
.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    height: 36px;
    min-height: 36px;
    border-bottom: 1px solid rgba(4, 3, 4, 0.10);
}

.contact-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
    min-width: 120px;
    flex-shrink: 0;
}

.contact-value {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    background: none;
    border: none;
    /*cursor: pointer;*/
    padding: 0;
    text-align: right;
    /*flex: 1;*/
    display: flex;
    width: fit-content;
}

.contact-email {
    /*border-bottom: 1px solid #040304;*/
    position: relative;
}
.contact-email:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #040304;
    transform: scaleX(1);
    transform-origin: bottom left;
    transition: transform 0.5s ease;
}
.contact-email:hover:after {
    transform-origin: bottom right;
    transform: scaleX(0);
}

/* --- CTA button bar --- */
.contact-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 0 16px;
    background-color: #040304;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
}

.contact-cta:hover {
    background-color: #1a1a1a;
}

.contact-cta span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

/* ============================================================
   RIGHT SIDE — Tabs + Media
   ============================================================ */
.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 668px;
    width: 100%;
    position: relative;
}
@media (max-width: 1024px) {
    .contact-right { max-width: 100%; }
}

/* --- Tabs --- */
.contact-tabs {
    display: flex;
    gap: 10px;
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
}
@media (max-width: 568px) {
    .contact-tabs {
        top: 16px;
        left: 16px;
    }
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background-color: #040304;
    color: #ffffff;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #8E24AA;
}

.tab-btn:not(.active):hover {
    background-color: #1a1a1a;
}

/* --- Media container --- */
.contact-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.media-content {
    display: none;
    width: 100%;
}

.media-content.active {
    display: block;
}

/* --- Photo --- */
.studio-photo {
    width: 100%;
    height: 614px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

@media (max-width: 1024px) {
    .studio-photo {
        /*height: 400px;*/
    }
}

@media (max-width: 568px) {
    .studio-photo {
        height: 366px;
    }
}

/* --- Google Map (grayscale) --- */
.map-container {
    position: relative;
    width: 100%;
    height: 614px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .map-container {
        /*height: 400px;*/
    }
}

@media (max-width: 568px) {
    .map-container {
        height: 366px;
    }
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
    /* Серая карта через CSS-фильтры */
    filter: grayscale(100%) invert(0%) contrast(83%);
    transition: filter 0.3s ease;
}

/* При наведении чуть ярче */
.google-map:hover {
    filter: grayscale(80%) invert(0%) contrast(90%);
}

/* ============================================================
   SHOWROOMS SECTION
   ============================================================ */
.showrooms-section {
    padding: 112px 0;
    padding-top: 0;
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .showrooms-section {
        padding: 88px 0;
        padding-top: 0;
    }
}

@media (max-width: 568px) {
    .showrooms-section {
        padding: 72px 0;
        padding-top: 0;
    }
}

/* --- Header --- */
.showrooms-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .showrooms-header {
        align-items: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 568px) {
    .showrooms-header {
        margin-bottom: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.showrooms-header .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 1024px) {
    .showrooms-header .section-title {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .showrooms-header .section-title {
        font-size: 35px;
    }
}

.showrooms-count {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
}

/* --- Swiper wrapper --- */
.showrooms-swiper {
    overflow: visible;
    padding: 0 20px;
    padding-bottom: 50px;
    position: relative;
}

@media (max-width: 1024px) {
    .showrooms-swiper {
        padding-bottom: 40px;
    }
}
@media (max-width: 568px) {
    .showrooms-swiper {
        padding: 0 12px;
        padding-bottom: 32px;
    }
}

.showroom-slide {
    width: auto;
}

/* --- Showroom card --- */
.showroom-card {
    display: flex;
    background-color: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 568px) {
    .showroom-card {
        flex-direction: column;
        max-width: 280px;
    }
}

/* --- Map area --- */
.showroom-map {
    position: relative;
    width: 288px;
    /*height: 465px;*/
    border-right: 1px solid rgba(4, 3, 4, 0.05);
    flex-shrink: 0;
    overflow: hidden;
}

@media (max-width: 568px) {
    .showroom-map {
        border: none;
        border-bottom: 1px solid rgba(4, 3, 4, 0.05);
        width: 100%;
        height: 180px;
    }
}

.showroom-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Marker on showroom map (аналог .map-marker из index.php) --- */
.showroom-marker {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #040304;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.showroom-marker:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Popup — скрыт по умолчанию */
.marker-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 224px;
    height: 140px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.marker-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.marker-city {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
}

/* Active state — показывает popup */
.showroom-marker.active {
    background-color: #8E24AA;
    z-index: 10;
}

.showroom-marker.active .marker-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
    pointer-events: auto;
}

/* --- Showroom info panel --- */
.showroom-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 138px;
    padding: 44px;
    flex: 1;
}

@media (max-width: 568px) {
    .showroom-info {
        gap: 32px;
        padding: 16px;
    }
}

.showroom-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.showroom-details h3 {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #040304;
}

@media (max-width: 568px) {
    .showroom-details h3 {
        font-size: 18px;
    }
}

.showroom-details p {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.showroom-contacts {
    display: flex;
    flex-direction: column;
}

/* --- Scrollbar --- */
.showrooms-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f1f1f1;
}

.showrooms-scrollbar .swiper-scrollbar-drag {
    background: #040304 !important;
    cursor: grab;
}

/* ================= PARTNERSHIP HERO ================= */
.partnership-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px; /* Ensure height on large screens */
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.partnership-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 0;
    z-index: 1;
}

/* Dark overlay to make text readable */
.partnership-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.partnership-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 100px; /* Matches Figma design */
}

.partnership-text-block {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 900px;
}

.partnership-text-block h1 {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
}

.partnership-text-block button {
    width: fit-content;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .partnership-text-block h1 {
        font-size: 56px;
    }
    .partnership-content {
        padding-bottom: 88px;
    }
}

@media (max-width: 568px) {
    .partnership-text-block h1 {
        font-size: 35px;
    }
    .partnership-content {
        padding-bottom: 72px;
    }
}

/* ================= PARTNERSHIP FORM ================= */
.partnership-form-section {
    padding: 112px 0px;
    background-color: #f1f1f1;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .partnership-form-section {
        padding: 88px 0px;
    }
}

@media (max-width: 568px) {
    .partnership-form-section {
        padding: 72px 0px;
    }
}

.partnership-form-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 1024px) {
    .partnership-form-wrapper {
        flex-direction: column;
    }
}

.partnership-form-left {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 600px;
}

@media (max-width: 1024px) {
    .partnership-form-left {
        max-width: 100%;
        gap: 40px;
    }
}

.partnership-form-left .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 1024px) {
    .partnership-form-left .section-title {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .partnership-form-left .section-title {
        font-size: 35px;
    }
}

.partnership-form-desc {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}
@media (max-width: 1024px) {
    .partnership-form-desc {
        max-width: 480px;
    }
}

.partnership-form-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 44px;
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 680px;
}
@media (max-width: 1024px) {
    .partnership-form-card {
        max-width: 100%;
    }
}

@media (max-width: 568px) {
    .partnership-form-card {
        padding: 12px;
    }
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-section-title {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid rgba(4, 3, 4, 0.1);
    background: transparent;
    transition: border-color 0.3s ease;
}
@media (max-width: 1024px) {
    .form-field {
        flex: 1;
    }
}

.form-field:focus-within {
    border-color: #811674;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: none;
    background: transparent;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    outline: none;
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.form-textarea {
    width: 100%;
    padding: 16px;
    border: none;
    background: transparent;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    outline: none;
    resize: vertical;
    min-height: 80px;
}

.form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.form-field-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

@media (max-width: 568px) {
    .form-field-row {
        flex-direction: column;
    }
}

.form-select-field {
    flex: 1;
}

.form-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
}

.form-select-prefix {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    white-space: nowrap;
}

.form-select-placeholder {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.3);
}

.form-select-arrow {
    position: absolute;
    right: 16px;
    width: 7px;
    height: 4px;
}

/* Instrument Checkboxes */
.instrument-checkboxes {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.instrument-checkbox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 8px 12px;
    background-color: rgba(4, 3, 4, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.instrument-checkbox:has(input:checked) {
    background-color: #040304;
    gap: 8px;
}

.instrument-checkbox input {
    display: none;
}

.checkbox-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 12px;
}

.instrument-checkbox .checkbox-icon {
    /*display: none;*/
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.instrument-checkbox:has(input:checked) .checkbox-icon {
    /*display: block;*/
    width: 14px;
}

.checkbox-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    white-space: nowrap;
}

.instrument-checkbox:has(input:checked) .checkbox-label {
    color: #ffffff;
}

/* Agreement Checkbox */
.form-agreement {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.agreement-checkbox input {
    display: none;
}

.agreement-checkmark {
    width: 18px;
    height: 18px;
    margin: 3px;
    border-radius: 4px;
    background-color: #F1F1F1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.agreement-checkbox input:checked + .agreement-checkmark {
    background-color: #040304;
}

.agreement-checkbox input:checked + .agreement-checkmark::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.agreement-text {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}

/* Custom Select Dropdown */
.form-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.form-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

.form-select-trigger:hover {
    border-color: rgba(4, 3, 4, 0.3);
}

.form-select-trigger.active {
    border-color: #811674;
}

.form-select-trigger-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-select-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.form-select-trigger.active .form-select-arrow {
    transform: rotate(180deg);
}

.form-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-select-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form-select-option {
    padding: 12px 16px;
    cursor: pointer;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    transition: background-color 0.2s ease;
}

.form-select-option:hover {
    background-color: rgba(4, 3, 4, 0.05);
}

.form-select-option.selected {
    background-color: rgba(129, 22, 116, 0.1);
    color: #811674;
}

/* Phone Code Selector */
.phone-code-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding-left: 16px;
}

.phone-code-select {
    position: relative;
}

.phone-code-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 4px;
    background: transparent;
    border: none;
    border-right: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    transition: border-color 0.3s ease;
}

.phone-code-trigger:hover {
    border-color: rgba(4, 3, 4, 0.3);
}

.phone-code-trigger.active {
    border-color: #811674;
}

.phone-code-arrow {
    width: 7px;
    height: 4px;
    transition: transform 0.3s ease;
}

.phone-code-trigger.active .phone-code-arrow {
    transform: rotate(180deg);
}

.phone-code-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -32px;
    background: #ffffff;
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 8px;
    min-width: 120px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.phone-code-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phone-code-option {
    padding: 10px 16px;
    cursor: pointer;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    transition: background-color 0.2s ease;
}

.phone-code-option:hover {
    background-color: rgba(4, 3, 4, 0.05);
}

.phone-code-option.selected {
    background-color: rgba(129, 22, 116, 0.1);
    color: #811674;
}

.phone-input-wrapper {
    flex: 1;
}

.phone-input-wrapper .form-input {
    padding-left: 0;
}

.form-field:has(.phone-code-wrapper) {
    /*padding: 0;*/
    /*border: none;*/
    /*background: transparent;*/
}

/* Submit Button */
.btn-submit {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: fit-content;
    gap: 10px;
    padding: 16px 28px;
    background-color: rgba(4, 3, 4, 0.05);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(4, 3, 4, 0.1);
}

.btn-submit:not(:disabled) {
    background-color: #811674;
    color: #ffffff;
}

.btn-submit:not(:disabled):hover {
    background-color: #6b1261;
}

.btn-submit:disabled {
    cursor: not-allowed;
}

/* ================= MODAL ================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;

    transition: opacity 0.3s ease;
}

.modal.active .modal-overlay {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 600px;
    max-width: 90%;
    position: relative;
    right: -110%;
    opacity: 0;
    z-index: 1;
    background: transparent;
    overflow: hidden;
    /*transform: scale(0.9);*/
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    right: 0;
    opacity: 1;
}

.modal-success {
    width: 600px;
    max-width: 90%;
}

@media (max-width: 568px) {
    .modal-success {
        width: 100%;
        max-width: 100%;
        /*margin: 0 12px;*/
    }
}

.modal-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100svh - 320px);
    gap: 44px;
    padding: 44px;
    background-color: #811674;
}

@media (max-width: 568px) {
    .modal-body {
        padding: 32px;
        gap: 80px;
    }
}

.modal-text-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
}

@media (max-width: 568px) {
    .modal-title {
        font-size: 35px;
    }
}

.modal-desc {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.8);
}

.modal-timer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.timer-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
}

.timer-value {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    /*transform: translateX(-50%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 91px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.10);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);

    mix-blend-mode: difference;
    isolation: isolate;
}
@media (max-width: 1024px) {
    .modal-close-btn {
        backdrop-filter: blur(0);
    }
}

.modal-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-close-btn span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

.modal-close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.contact-form-modal .modal-overlay {
    background-color: rgba(4, 3, 4, 0.04);
}

.contact-form-modal-content {
    width: 600px;
    max-width: min(600px, 100vw);
    height: 100%;
    background-color: #ffffff;
    border-radius: 0;
    overflow-y: auto;
}

.contact-form-modal-card {
    width: 100%;
    max-width: none;
    /*min-height: 100%;*/
    padding: 104px 44px 44px;
    border-radius: 0;
    justify-content: flex-start;
}

.contact-modal-form .form-section:first-child {
    gap: 32px;
}

.contact-modal-form-title {
    margin: 0;
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}

.contact-form-modal .btn-submit:not(:disabled) {
    background-color: #040304;
}

.contact-form-modal .btn-submit:not(:disabled):hover {
    background-color: #1a191a;
}

.modal-close-btn-light {
    background-color: rgba(4, 3, 4, 0.05);
    mix-blend-mode: normal;
}

.modal-close-btn-light:hover {
    background-color: rgba(4, 3, 4, 0.1);
}

.modal-close-btn-light span {
    color: #040304;
}

@media (max-width: 568px) {
    .contact-form-modal-content {
        width: 100%;
        max-width: 100%;
    }

    .contact-form-modal-card {
        padding: 88px 12px 24px;
    }

    .contact-modal-form-title {
        font-size: 35px;
    }
}

.flute-marker-modal {
    justify-content: flex-end;
}

.flute-marker-modal .modal-overlay {
    background-color: rgba(4, 3, 4, 0.01);
}

.flute-marker-modal-content {
    width: 708px;
    max-width: min(708px, 100vw);
    height: 100%;
    right: -100%;
    border-radius: 0;
}

.flute-marker-modal-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.flute-marker-modal-image {
    width: 100%;
    height: 376px;
    overflow: hidden;
    background-color: #d9d9d9;
}

.flute-marker-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flute-marker-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 120px;
    background-color: #040304;
    height: calc(100svh - 376px);
}

.flute-marker-modal-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 44px 44px 0;
}

.flute-marker-modal-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
}

.flute-marker-modal-description {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
@media (max-width: 568px) {
    .flute-marker-modal-title {
        /*overflow-y: auto;*/
        /*max-height: 42svh;*/
    }
}

.flute-marker-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
}

.flute-marker-modal-nav {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-width: 72px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.10);
    border: 0;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: opacity 0.25s ease, background-color 0.25s ease;
}

.flute-marker-modal-prev {
    min-width: 76px;
}

.flute-marker-modal-nav span {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

.flute-marker-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.flute-marker-modal-nav:not(:disabled):hover {
    background-color: rgba(255, 255, 255, 0.16);
}

.flute-marker-modal-close {
    top: 20px;
    right: 20px;
}

@media (max-width: 1024px) {
    .flute-marker-modal-close {
        background-color: rgb(227 227 227);
        mix-blend-mode: normal;
    }
    .flute-marker-modal-close span {
        color: #040304;
    }
    .flute-marker-modal-close path {
        stroke: #040304;
    }
    .flute-marker-modal-close:after {
        background-color: rgb(227 227 227);
    }
    .flute-marker-modal-content {
        width: 100%;
        max-width: 100%;
    }

    .flute-marker-modal-image {
        height: 320px;
        min-height: 320px;
    }

    .flute-marker-modal-body {
        gap: 80px;
        height: calc(100svh - 320px);
        padding-top: 32px;
    }
    .flute-marker-modal-text {
        padding: 0px 24px 0;
        overflow-y: auto;
        max-height: calc(100% - 56px - 80px);
        position: relative;
    }
    .flute-marker-modal-text::-webkit-scrollbar {
        width: 2px;

    }
    .flute-marker-modal-text {
        background: transparent;
    }
    .flute-marker-modal-text::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-top: 24px solid rgba(255, 255, 255, 0.5);
        border-bottom: 24px solid rgba(255, 255, 255, 0.5);
    }

    .flute-marker-modal-actions {
        padding: 20px 24px 24px;
    }
}

@media (max-width: 568px) {
    .flute-marker-modal-title {
        font-size: 35px;
    }

    .flute-marker-modal-image {
        height: 240px;
        min-height: 240px;
    }

    .flute-marker-modal-body {
        gap: 56px;
        height: calc(100svh - 240px);
        padding-top: 32px;
    }
    .flute-marker-modal-body.has-scrollbar {
        padding-right: 12px;
    }
}

/* Scroll to form functionality */
.scroll-to-form {
    cursor: pointer;
}

/* ================= WHY WE SECTION ================= */
.pin-spacer:has(.why-we-section) {
    padding: 0 !important;
    position: sticky !important;
    width: 100% !important;
}
.why-we-section {
    background-color: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100svh;
    /*overflow: hidden;*/
    display: flex;
    align-items: center;
    transform: none;

    position: sticky !important;
    top: 0 !important;
    transform: none !important;
}

.why-we-section .container {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 1024px) {
    .why-we-section {

    }
}
@media (max-width: 568px) {
    .why-we-section {

    }
}

.why-we-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.why-we-label {
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.3);
}

/* Пагинация */
.why-we-pagination {
    display: flex;
    /*gap: 10px;*/
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    opacity: 1; /* Неактивный по умолчанию */
    transition: none; /* Управляем через GSAP */
}
.pagination-item:nth-child(2) {
    opacity: 0.2;
}

.pagination-item span {
    display: block;
    width: 12px; /* Начальная ширина (круг) */
    height: 6px;
    background-color: #040304;
    border-radius: 5px; /* Круг */
    transition: none; /* Управляем через GSAP */
}
.pagination-item:nth-child(2) span {
    width: 6px;
}

.why-we-content {
    margin-bottom: 48px;
}
@media (max-width: 568px) {
    .why-we-content {
        margin-bottom: 40px;
    }
}

.why-we-text-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 183px;
}

@media (max-width: 1024px) {
    .why-we-text-row { flex-direction: column; gap: 32px; }
}

/* Обертка для заголовков */
.why-we-titles-wrapper {
    position: relative;
    height: 136px; /* 68px * 2 */
    width: 670px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

@media (max-width: 1024px) {
    .why-we-titles-wrapper { height: 112px; width: 100%; } /* 56px * 2 */
}
@media (max-width: 568px) {
    .why-we-titles-wrapper { height: 70px; } /* 35px * 2 */
}

.why-we-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 700px;
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}
.why-we-title:nth-child(1) {
    max-width: 670px;
}
@media (max-width: 1024px) {

}
@media (max-width: 568px) {
    .
}
.why-we-title:nth-child(2) {
    max-width: 600px;
}

@media (max-width: 1024px) {
    .why-we-title {
        font-size: 56px;
    }
    .why-we-title:nth-child(1) {}
    .why-we-title:nth-child(2) {
        width: 500px;
    }
}
@media (max-width: 568px) { .why-we-title { font-size: 35px; } }

/* Обертка для описаний */
.why-we-descs-wrapper {
    position: relative;
    height: 100px;
    width: 100%;
    max-width: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-we-desc {
    position: absolute;
    /*top: 0;*/
    left: 0;
    width: 100%;
    max-width: 400px;
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
    margin: 0;
}

/* Изображения */
.why-we-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
@media (max-width: 1024px) {
    .why-we-images {
        flex-direction: column;
    }
}

.why-we-image-left,
.why-we-image-right {
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
    position: relative;
    /* Начальные пропорции (первый слайд) */
    flex-basis: 0;
}
@media (max-width: 1024px) {
    .why-we-image-left, .why-we-image-right {
        height: 312px;
        width: 100%;
        flex: none !important;
    }
}
@media (max-width: 568px) {
    .why-we-image-left, .why-we-image-right {
        height: 320px;
    }
}


/* Левая колонка шире (925px) */
.why-we-image-left { flex-grow: 2.05; }
/* Правая колонка уже (451px) */
.why-we-image-right { flex-grow: 1; }
@media (max-width: 568px) {
    .why-we-image-right {
        display: none;
    }
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Картинка 1 (первого слайда) видна сразу */
.why-we-image-left .slide-image:nth-child(1),
.why-we-image-right .slide-image:nth-child(1) {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Картинка 2 (второго слайда) скрыта (шторка снизу) */
.why-we-image-left .slide-image:nth-child(2),
.why-we-image-right .slide-image:nth-child(2) {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    z-index: 2;
}

/* ================= SEARCH RESULTS ================= */
.search-results-section {
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 112px 0 80px;
}

@media (max-width: 1024px) {
    .search-results-section {
        padding: 112px 0 60px;
    }
}

@media (max-width: 568px) {
    .search-results-section {
        padding: 112px 0 40px;
    }
}

.search-results-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .search-results-title {
        font-size: 56px;
        margin-bottom: 40px;
    }
}

@media (max-width: 568px) {
    .search-results-title {
        font-size: 35px;
        margin-bottom: 32px;
    }
}

.search-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-tabs {
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 32px 16px;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 8px;
}
@media (max-width: 1024px) {
    .search-tabs {
        padding: 24px 16px;
    }
}

.search-tab {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: rgba(0, 0, 0, 0.30);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.search-tab.active {
    color: #040304;
}

.search-tab:hover {
    color: #040304;
}

.search-tab-content {
    display: none;
}

.search-tab-content.active {
    display: block;
}

/* Category Results */
.category-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
    gap: 16px;
}

@media (max-width: 1024px) {
    .category-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .category-results-grid {
        grid-template-columns: 1fr;
    }
}

.category-result-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.category-result-image {
    width: 100%;
    height: 241px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.category-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-result-card:hover .category-result-image img {
    transform: scale(1.05);
}

.category-result-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #040304;
}

@media (max-width: 568px) {
    .category-result-title {
        font-size: 20px;
    }
}

/* Pages Results */
.pages-results-list {
    display: flex;
    flex-direction: column;
}

.page-result-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(4, 3, 4, 0.10);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}


.page-result-item:last-child {
    border-bottom: none;
}

.page-result-item:hover {

}

.page-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-result-title {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 568px) {
    .page-result-title { font-size: 16px; }
}

.page-result-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(4, 3, 4, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 568px) {
    .page-result-description {
        -webkit-line-clamp: 2;
    }
}

.page-result-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.page-result-item:hover .page-result-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 568px) {
    .page-result-item {
        gap: 20px;
        padding: 12px 0;
    }

    .page-result-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================= NO RESULTS PAGE ================= */
.no-results-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
}

.no-results-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 48px 0;
    padding-top: calc(48px + 88px);
}
@media (max-width: 1024px) {
    .no-results-wrapper {
        padding: 40px 0;
        padding-top: calc(40px + 88px);
    }
}

.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    max-width: 700px;
}
@media (max-width: 1024px) {
    .no-results-content {
        max-width: 600px;
    }
}

.no-results-section .section-title {
    font-family: "Muller", sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
}
@media (max-width: 1024px) {
    .no-results-section .section-title { font-size: 56px; }
}
@media (max-width: 568px) {
    .no-results-section .section-title { font-size: 35px; }
}

.no-results-desc {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(4, 3, 4, 0.7);
}

.no-results-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.no-results-actions .btn {
    width: 100px;
    height: 52px;
    /*padding: 0;*/
    border-radius: 8px;
}

.no-results-actions .btn-outline {
    border-color: rgba(4, 3, 4, 0.15);
    color: #040304;
}

.no-results-actions .btn-primary {
    background-color: #811674;
    border-radius: 8px;
    color: #ffffff;
}
.no-results-actions .btn-primary:hover {
    background-color: #6b1261;
}

.no-results-actions .btn-outline {
    border-radius: 8px;
}

/* Отступ до картинки уже задан через gap: 40px у .no-results-content */
.no-results-image {
    width: 100%;
    height: 482px;
    display: block;
    object-fit: cover;
}
@media (max-width: 1024px) {

}
@media (max-width: 568px) {
    .no-results-image { height: 320px; }
}

@media (max-width: 568px) {
    .no-results-section {

    }

    .no-results-content {
        gap: 32px;
        max-width: 366px;
        width: 90vw;
    }

    .no-results-content .section-title {
        font-size: 35px; /* Mobile font size adjustment */
    }

    .no-results-actions {

    }

    .no-results-actions .btn {
        width: 100%;
    }
}

/* ================= REQUEST A QUOTE PAGE ================= */
.bg-gray { background-color: #f1f1f1; }

.request-quote-section {
    padding: 0;
    display: flex;
    align-items: center;
}

.request-quote-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 44px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 112px 20px;
}
@media (max-width: 1024px) {
    .request-quote-wrapper {
        flex-direction: column;
        padding: 80px 20px;
        gap: 40px;
    }
}
@media (max-width: 568px) {
    .request-quote-wrapper {
        padding: 72px 12px;
        gap: 32px;
    }
}

/* --- LEFT BLOCK --- */
.rq-left-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 787px;

}

.rq-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}
@media (max-width: 1024px) {
    .rq-title { font-size: 40px; }
}
@media (max-width: 568px) {
    .rq-title { font-size: 26px; }
}

.rq-config-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
@media (max-width: 1024px) {
    .rq-config-card {

    }
}
@media (max-width: 568px) {
    .rq-config-card {
        padding: 32px 12px;
        gap: 32px;
    }
}

.rq-config {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.rq-config-top {
    display: flex;
    gap: 32px;
}
@media (max-width: 568px) {
    .rq-config-top { gap: 20px; }
}

.rq-config-img {
    width: 248px;
    height: 304px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #f5f5f5;
}
@media (max-width: 568px) {
    .rq-config-img {
        width: 64px;
        height: 78px;
        border-radius: 4px;
    }
}

.rq-config-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
@media (max-width: 568px) {
    .rq-config-info { gap: 24px; }
}

.rq-config-header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(4, 3, 4, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
@media (max-width: 568px) {
    .rq-config-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.rq-config-name {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #040304;
    margin: 0;
}
@media (max-width: 568px) {
    .rq-config-name { font-size: 16px; }
}

.rq-config-price {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}
@media (max-width: 568px) {
    .rq-config-price { font-size: 14px; }
}

.rq-config-specs {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
    margin: 0;
}
@media (max-width: 568px) {
    .rq-config-specs { font-size: 14px; }
}

.rq-edit-btn {
    margin-bottom: 0;
    margin-top: auto;
    cursor: pointer;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    text-decoration: underline;
    color: rgba(4, 3, 4, 0.4);
    transition: color 0.3s ease;
}
.rq-edit-btn:hover { color: #040304; }

.rq-questions-bar {
    background: #040304;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.rq-questions-bar p {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
}

.rq-write-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    text-decoration: underline;
    color: #ffffff;
    transition: opacity 0.3s ease;
}
.rq-write-btn:hover { opacity: 0.7; }

/* --- RIGHT BLOCK --- */
.rq-right-block {
    width: 100%;
    max-width: 569px;
}
@media (max-width: 1024px) {
    .rq-right-block { max-width: 100%; }
}

.rq-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (max-width: 1024px) {
    .rq-form-card {}
}
@media (max-width: 568px) {
    .rq-form-card { padding: 16px 12px; }
}

.rq-form-label {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
    margin: 0;
}

.rq-form textarea {
    min-height: 52px;
}

.rq-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* --- SUCCESS STATE --- */
.rq-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    padding-top: calc(48px + 88px);
}
@media (max-width: 1024px) {
    .rq-success-wrapper { padding-top: calc(40px + 88px); }
}
@media (max-width: 568px) {
    .rq-success-wrapper { padding-top: calc(32px + 88px); gap: 32px; }
}

.rq-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 456px;
    text-align: center;
}
@media (max-width: 568px) {
    .rq-success-content {
        gap: 32px;
        max-width: 336px;
    }
}

.rq-success-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}
@media (max-width: 1024px) {
    .rq-success-title { font-size: 56px; }
}
@media (max-width: 568px) {
    .rq-success-title { font-size: 35px; }
}

.rq-success-desc {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
    margin: 0;
}

.rq-back-btn {
    width: fit-content;
}

.rq-success-image {
    width: 100%;
    height: 482px;
    object-fit: cover;
    background-color: #e5e5e5;
}
@media (max-width: 568px) {
    .rq-success-image { height: 320px; }
}


/* ================= DOCUMENT PAGE ================= */
.document-page {
    background-color: #ffffff;
    padding: 112px 0;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .document-page {
        padding: 88px 0;
        padding-top: calc(40px + 88px);
    }
}

@media (max-width: 568px) {
    .document-page {
        padding: 72px 0;
        padding-top: calc(32px + 88px);
    }
}

.document-container {
    max-width: 926px;
    margin: 0 auto;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(4, 3, 4, 0.05);
    margin-bottom: 48px;
    gap: 24px;
}
@media (max-width: 1024px) {
    .document-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-bottom: 24px;
    }
}

@media (max-width: 568px) {
    .document-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.document-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

@media (max-width: 1024px) {
    .document-title {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .document-title {
        font-size: 35px;
    }
}

.document-date {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
    margin: 0;
    white-space: nowrap;
}

.document-content {
    display: flex;
    flex-direction: column;
    gap: 44px;
}
@media (max-width: 1024px) {
    .document-content {
        gap: 32px;
    }
}

.document-intro,
.document-text {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
}

.document-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-section-title {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

@media (max-width: 568px) {
    .document-section-title {
        font-size: 18px;
    }
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 568px) {
    .document-list li {
        font-size: 14px;
    }
}

.document-list li::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #811674;
    border: 2px solid #ffffff;
    flex-shrink: 0;
    box-sizing: border-box;
}

.document-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.document-contact-label {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
}

.document-contact-link {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
    border-bottom: 1px solid #040304;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.document-contact-link:hover {
    opacity: 0.7;
}

/* ================= CONFIGURATOR PAGE ================= */
.configurator-section {
    padding: 100px 0;
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .configurator-section {
        padding: 80px 0;
    }
}

@media (max-width: 568px) {
    .configurator-section {
        padding: 60px 0;
    }
}

.configurator-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 44px;
}

@media (max-width: 1200px) {
    .configurator-wrapper {
        flex-direction: column;
    }
}

/* Left Side - Image */
.configurator-image-block {
    position: relative;
    width: 732px;
    height: 900px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .configurator-image-block {
        width: 100%;
        height: auto;
        max-height: 600px;
        margin: 0 auto;
    }
}

.configurator-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.config-marker {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    z-index: 10;
}

.config-marker:hover {
    transform: scale(1.1);
}

/* Right Side - Form */
.configurator-form-block {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding: 100px 56px 0 56px;
    width: 708px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .configurator-form-block {
        width: 100%;
        padding: 0;
    }
}

.configurator-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.configurator-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 568px) {
    .configurator-title {
        font-size: 35px;
    }
}

.configurator-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.configurator-price {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

.configurator-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}


.btn-text-white {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    text-decoration: underline;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.3s ease;
}

.btn-text-white:hover {
    opacity: 0.7;
}

/* Config Sections */
.config-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.config-label {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.config-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.config-preset {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.config-preset input {
    display: none;
}

.config-preset span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #040304;
}

.config-preset.active,
.config-preset:hover {
    background-color: #040304;
}

.config-preset.active span,
.config-preset:hover span {
    color: #ffffff;
}

/* Accordion */
.config-accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.config-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(4, 3, 4, 0.1);
}

.config-accordion-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-accordion-title span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

.config-accordion-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.config-accordion-checkbox input {
    display: none;
}

.config-accordion-checkbox span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.config-accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.config-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.config-accordion-content.active {
    max-height: 2000px;
}

/* Option Groups */
.config-option-group {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 8px;
}

.config-option-title {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
}

.config-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.config-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.config-option input {
    display: none;
}

.config-option span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #040304;
}

.config-option:hover {
    background-color: rgba(4, 3, 4, 0.05);
}

.config-option input:checked + span {
    color: #811674;
    font-weight: 600;
}

/* Help Bar */
.config-help-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #040304;
    border-radius: 8px;
}

.config-help-bar p {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

/* Description Section */
.configurator-description-section {
    padding: 112px 0;
    background-color: #ffffff;
}

.configurator-description-section .section-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
}

@media (max-width: 568px) {
    .configurator-description-section .section-title {
        font-size: 35px;
    }
}

/* Video Section */
.configurator-video-section {
    padding: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Features Section */
.configurator-features-section {
    padding: 112px 0;
    background-color: #ffffff;
}

.features-wrapper {
    display: flex;
    align-items: center;
    gap: 88px;
}

@media (max-width: 1024px) {
    .features-wrapper {
        flex-direction: column;
        gap: 48px;
    }
}

.feature-image {
    width: 498px;
    height: 588px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .feature-image {
        width: 100%;
        height: 400px;
    }
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
}

.feature-label {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
}

.feature-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}

@media (max-width: 568px) {
    .feature-title {
        font-size: 35px;
    }
}

.feature-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature-item h4 {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: rgba(4, 3, 4, 0.30);
}

@media (max-width: 568px) {
    .feature-item h4 {
        font-size: 18px;
    }
}

/* ================= FLUTE CONFIGURATOR PAGE (Unique Classes) ================= */
body:has(.flute-config-page) .header.header-dark-theme {
    background: none;
    backdrop-filter: none;
}
.flute-config-page {
    background-color: #f1f1f1;
    padding: 0px 0;
}

@media (max-width: 1024px) {
    .flute-config-page {
        padding: 0px 0;
    }
}

@media (max-width: 568px) {
    .flute-config-page {
        padding: 0px 0;
    }
}

.flute-config-container {
    display: flex;
    justify-content: space-between;
    /*gap: 44px;*/
}

@media (max-width: 1200px) {
    .flute-config-container {
        flex-direction: column;
    }
}

/* Left Side - Image */
.flute-config-image-block {
    position: sticky;
    top: 0;
    /*width: 732px;*/
    height: 100svh;
    aspect-ratio: 732 / 900;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .flute-config-image-block {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0 auto;
        aspect-ratio: 769 / 900;
    }
}

.flute-config-image-all {
    width: 130px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(4, 3, 4, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: absolute;
    left: 20px;
    top: calc(80px + 20px);
    font-family: "Muller", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    transition: all 0.4s ease;
    cursor: pointer;
}
.flute-config-image-all:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
body:has(.header-hidden) .flute-config-image-all {
    top: 20px;
}


.flute-config-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flute-config-marker {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    z-index: 10;
}

.flute-config-marker:hover {
    transform: scale(1.1);
}

.flute-config-marker rect {
    transition: fill 0.25s ease;
}

.flute-config-marker.active rect {
    fill: #811674;
}

/* Right Side - Form */
.flute-config-form-block {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding: 100px 56px;
    width: 100%;
    /*flex-shrink: 0;*/
}

@media (max-width: 1024px) {
    .flute-config-form-block {
        width: 100%;
        padding: 40px 20px 0;
    }
}
@media (max-width: 568px) {
    .flute-config-form-block { padding: 32px 12px 0; }
}

.flute-config-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
@media (max-width: 1024px) {
    .flute-config-header { gap: 32px; }
}

.flute-config-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 1024px) {
    .flute-config-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        font-size: 40px;
    }
}
@media (max-width: 568px) {
    .flute-config-title {
        font-size: 35px;
    }
}

.flute-config-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.flute-config-price {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}
@media (max-width: 1024px) {}
@media (max-width: 568px) {
    .flute-config-price { font-size: 16px; }
}

.flute-config-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
@media (max-width: 1024px) {
    .flute-config-actions {
        width: 100%;
        justify-content: flex-end;
        position: fixed;
        z-index: 2;
        left: 0;
        bottom: 0;
        height: 92px;
        /*background-color: #f1f1f1;*/
        padding: 0 20px;
    }
    .flute-config-actions:has(.flute-config-price) {
        background-color: #f1f1f1;
        justify-content: space-between;
    }
}
@media (max-width: 568px) {
    .flute-config-actions { padding: 0 12px; height: 76px; }
    .flute-config-actions .btn { border-radius: 12px; }
}

.flute-config-btn-text {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    text-decoration: underline;
    color: rgba(4, 3, 4, 0.40);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.flute-config-btn-text:hover {
    color: #040304;
}

@media (max-width: 1024px) {
    .flute-config-title .flute-config-btn-text {
        flex-shrink: 0;
        line-height: 140%;
        padding: 0;
    }
}

/* Config Sections */
.flute-config-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.flute-config-label {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
}

.flute-config-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.flute-config-preset {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.flute-config-preset input {
    display: none;
}

.flute-config-preset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.3s ease, margin-right 0.3s ease;
}

.flute-config-preset span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #040304;
}

.flute-config-preset.active,
.flute-config-preset:has(input:checked) {
    background-color: #040304;
    gap: 8px;
}

.flute-config-preset.active,
.flute-config-preset:hover {
    background-color: #040304;
}
@media (max-width: 1024px) {
    .flute-config-preset:hover {
        background-color: rgba(255, 255, 255, 0.40);
    }
}

.flute-config-preset.active .flute-config-preset-icon,
.flute-config-preset:has(input:checked) .flute-config-preset-icon {
    width: 20px;
    margin-right: 0;
}

.flute-config-preset.active span,
.flute-config-preset:has(input:checked) span,
.flute-config-preset:hover span {
    color: #ffffff;
}
@media (max-width: 1024px) {
    .flute-config-preset:hover span { color: #040304; }
}

/* Accordion */
.flute-config-accordion {
    display: flex;
    flex-direction: column;
    gap: 0px;
    transition: all 0.3s ease;
}
.flute-config-accordion:has(.flute-config-accordion-content.active) {
    gap: 24px;
}

.flute-config-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(4, 3, 4, 0.1);
}

.flute-config-accordion-header-main {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.flute-config-accordion-header-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.flute-config-accordion-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flute-config-accordion-title span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

.flute-config-accordion-title > svg {
    cursor: pointer;
    flex-shrink: 0;
}

.flute-config-accordion-title > svg path {
    fill: #040304;
    fill-opacity: 1;
}

.flute-config-accordion-mobile-media {
    display: none;
}

.flute-config-accordion-mobile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.flute-config-accordion-note {
    display: none;
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.7);
}

.flute-config-accordion-header.note-open .flute-config-accordion-note {
    display: block;
}

@media (max-width: 568px) {
    .flute-config-accordion-note {
        font-size: 14px;
        padding-right: 0;
    }
}

.flute-config-accordion-tooltip {
    left: 0;
    display: none;
}

.flute-config-accordion-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.flute-config-accordion-checkbox input {
    display: none;
}

.flute-config-accordion-checkbox span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #040304;
}

.flute-config-accordion-icon {
    transition: transform 0.3s ease;
}

.flute-config-accordion-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.flute-config-accordion-toggle-text {
    display: none;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #040304;
}

.flute-config-accordion-header.active .flute-config-accordion-icon {
    transform: rotate(180deg);
}

.flute-config-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.flute-config-accordion-content.active {
    max-height: 2000px;
}

@media (max-width: 1024px) {
    .flute-config-accordion-header {
        align-items: flex-start;
        gap: 24px;
        padding-bottom: 24px;
    }

    .flute-config-accordion-header-main {
        align-items: flex-start;
        gap: 24px;
    }

    .flute-config-accordion-mobile-media {
        display: block;
        width: 283px;
        height: 180px;
        flex-shrink: 0;
    }

    .flute-config-accordion-header-copy {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .flute-config-accordion-title > svg {
        display: none;
    }

    .flute-config-accordion-title span,
    .flute-config-accordion-checkbox span {
        font-weight: 400;
        font-size: 24px;
        line-height: 100%;
    }

    .flute-config-accordion-note {
        display: block;
    }

    .flute-config-accordion-toggle {
        padding-top: 2px;
        margin-left: 0;
    }

    .flute-config-accordion-toggle-text {
        display: inline;
    }

    .flute-config-accordion-toggle-text {
        font-size: 14px;
    }
}

/* Option Groups */
.flute-config-spec-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flute-config-spec-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid rgba(4, 3, 4, 0.10);
}

.flute-config-spec-name {
    flex: 1;
    margin: 0;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
}

.flute-config-spec-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 24px;
    border-radius: 8px;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    white-space: nowrap;
}

.flute-config-option-group {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 8px;
}
@media (max-width: 1024px) {}
@media (max-width: 568px) {
    .flute-config-spec-row {
        padding-left: 12px;
    }

    .flute-config-spec-value {
        padding: 0 16px;
    }

    .flute-config-option-group {
        padding: 12px;
    }
}

@media (max-width: 568px) {
    .flute-config-accordion-header,
    .flute-config-accordion-header-main {
        flex-direction: column;
        gap: 20px;
    }

    .flute-config-accordion-mobile-media {
        width: 100%;
        height: 220px;
    }

    .flute-config-accordion-title span,
    .flute-config-accordion-checkbox span {
        font-size: 22px;
    }

    .flute-config-accordion-toggle {
        padding-top: 0;
    }
}

.flute-config-option-title {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
}

.flute-config-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.flute-config-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid rgba(4, 3, 4, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}


@media (min-width: 1025px) {
    .flute-config-option:hover {
        background-color: #1a1a1a;
    }
}

.flute-config-option:has(:checked) {
    background-color: #1a1a1a;
}

.flute-config-option input {
    display: none;
}

.flute-config-option span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #040304;
}
@media (min-width: 1025px) {
    .flute-config-option:hover span {
        color: #ffffff;
    }
}
.flute-config-option:has(:checked) span {
    color: #ffffff;
}

/* Help Bar */
.flute-config-help-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #040304;
    border-radius: 8px;
}

.flute-config-help-bar p {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
}

.flute-config-help-btn {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    text-decoration: underline;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.3s ease;
}

.flute-config-help-btn:hover {
    opacity: 0.7;
}

.flute-config-sticky-quote {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 100;
    width: 432px;
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(4, 3, 4, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.flute-config-sticky-quote.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.flute-config-sticky-quote-image {
    width: 112px;
    flex-shrink: 0;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    background-color: #f3f3f3;
    aspect-ratio: 112 / 169;
    transition: width 0.25s ease;
}
.flute-config-sticky-quote:hover .flute-config-sticky-quote-image {
    width: 140px;
}

.flute-config-sticky-quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flute-config-sticky-quote-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.flute-config-sticky-quote-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flute-config-sticky-quote-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #040304;
    margin: 0;
}

.flute-config-sticky-quote-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.25s ease;
}
.flute-config-sticky-quote:hover .flute-config-sticky-quote-description {
    -webkit-line-clamp: 10;
}

.flute-config-sticky-quote-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.flute-config-sticky-quote-price {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

.flute-config-sticky-quote-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: #811674;
    border: 0;
    border-radius: 8px;
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.flute-config-sticky-quote-btn:hover {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .flute-config-sticky-quote {
        display: none;
    }
}

/* Description Section */
.flute-config-desc-section {
    padding: 112px 0 48px;
    background-color: #f1f1f1;
}
@media (max-width: 1024px) {
    .flute-config-desc-section {
        padding: 80px 0 40px;
        /*position: sticky;*/
        top: 0;
    }
}

.flute-config-desc-section .section-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    max-width: 968px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .flute-config-desc-section .section-title {
        font-size: 55px;
        max-width: 768px;
    }
}
@media (max-width: 568px) {
    .flute-config-desc-section .section-title {
        font-size: 35px;
    }
}

/* Video Section */
.flute-config-video-section {
    position: relative;
    width: 100%;
    height: 150svh; /* 150% высоты вьюпорта */
    position: relative;
    z-index: 1;
}
@media (max-width: 1024px) {
    .flute-config-video-section { height: auto; }
}

.flute-config-video-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    cursor: auto;
}
@media (max-width: 1024px) {
    .flute-config-video-wrapper  {
        position: relative;
        top: auto;
        left: auto;
        height: calc(100vh - 230px);
        height: auto;
        cursor: auto;
    }
}
@media (max-width: 568px) {
    .flute-config-video-wrapper  {
        /*height: calc(100vh - 225px);*/
        /*top: 225px;*/
    }
}

.flute-config-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flute-config-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flute-config-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .flute-config-video-wrapper video { height: auto; }
}

/* вот он — кастомный курсор */
.flute-config-video-play-btn {
    position: fixed;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200000;
    pointer-events: none;
    transform: translate(-14px, -14px); /* центрируем по курсору */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    backdrop-filter: blur(28px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.flute-config-video-play-btn .play-icon,
.flute-config-video-play-btn .pause-icon {
    position: absolute;
    width: 28px;
    height: 28px
}

.flute-config-video-play-btn .pause-icon {
    display: none;
}

.flute-config-video-wrapper.show-cursor .flute-config-video-play-btn {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1025px) {
    .flute-config-video-wrapper.show-cursor {
        cursor: none;
    }
}

@media (max-width: 1024px) {
    .flute-config-video-wrapper.is-playing .flute-config-video-play-btn {
        opacity: 0;
    }
    .flute-config-video-play-btn {
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        opacity: 1;
        visibility: visible;
    }
}

.flute-config-video-wrapper.is-playing .flute-config-video-play-btn .play-icon {
    display: none;
}

.flute-config-video-wrapper.is-playing .flute-config-video-play-btn .pause-icon {
    display: block;
}

/* fullscreen кнопка останется обычной кнопкой в углу */
.flute-config-video-fullscreen-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: none;
}

/* Features Section */
.flute-config-features-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.flute-config-features-scroll {
    position: relative;
}

.flute-config-features-pinned {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.flute-config-features-wrapper {
    display: flex;
    align-items: center;
    gap: 88px;
    height: 588px;
    position: relative;
}

@media (max-width: 1024px) {
    .flute-config-features-section {
        padding: 88px 0;
    }

    .flute-config-features-scroll {
        display: none;
    }

    .flute-config-features-pinned {
        position: static;
        height: auto;
    }

    .flute-config-features-wrapper {
        flex-direction: column;
        gap: 48px;
        min-height: auto;
    }
}

@media (max-width: 568px) {
    .flute-config-features-section {
        padding: 72px 0;
    }
}

.flute-config-feature-media {
    width: 498px;
    height: 588px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .flute-config-feature-media {
        width: 100%;
        height: auto;
    }
}

.flute-config-feature-image-window {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f3f3f3;
}

.flute-config-feature-image-track {
    width: 100%;
    height: 300%;
}

.flute-config-feature-image-slide {
    width: 100%;
    height: calc(100% / 3);
}

.flute-config-feature-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flute-config-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    max-width: 500px;
    height: 100%;
    position: relative;
}

.flute-config-feature-label {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.40);
    position: absolute;
    top: 0px;
    left: 0px;
}
@media (max-width: 1024px) {
    .flute-config-feature-label {
        position: static;
    }
}

.flute-config-feature-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #040304;
    margin: 0;
}

@media (max-width: 568px) {
    .flute-config-feature-title {
        font-size: 35px;
    }
}

.flute-config-feature-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
}

.flute-config-feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.flute-config-feature-item {
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.flute-config-feature-item .flute-config-feature-title {
    color: rgba(4, 3, 4, 0.2);
    transition: color 0.25s ease;
}

.flute-config-feature-item .flute-config-feature-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.flute-config-feature-item.active .flute-config-feature-title {
    color: #040304;
}

.flute-config-feature-item.active .flute-config-feature-description {
    max-height: 180px;
    opacity: 1;
    margin-top: 24px;
}

.flute-config-feature-item:hover .flute-config-feature-title {
    color: rgba(4, 3, 4, 0.45);
}

.flute-config-feature-item.active:hover .flute-config-feature-title {
    color: #040304;
}

@media (max-width: 568px) {
    .flute-config-feature-list {
        gap: 24px;
    }

    .flute-config-feature-item.active .flute-config-feature-description {
        margin-top: 16px;
    }
}

.flute-config-features-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .flute-config-features-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 64px;
        /*padding: 88px 20px;*/
        background-color: #f1f1f1;
    }
}

.flute-config-features-mobile .flute-config-feature-label {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(0, 0, 0, 0.30);
}
@media (max-width: 1024px) {
    .flute-config-features-mobile .flute-config-feature-label {

    }
}

.flute-config-feature-mobile-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.flute-config-feature-mobile-image {
    width: 100%;
    height: 620px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f3f3f3;
}

.flute-config-feature-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flute-config-feature-mobile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.flute-config-feature-mobile-title {
    font-family: 'Muller', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
    margin: 0;
}

.flute-config-feature-mobile-description {
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(4, 3, 4, 0.70);
    margin: 0;
}

.flute-config-feature-mobile-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.flute-config-feature-mobile-nav-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
    min-width: 72px;
    border: 0;
    border-radius: 8px;
    background-color: rgba(4, 3, 4, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: opacity 0.25s ease, background-color 0.25s ease;
}

.flute-config-feature-mobile-prev {
    min-width: 76px;
}

.flute-config-feature-mobile-nav-btn span {
    font-family: 'Muller', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #040304;
}

.flute-config-feature-mobile-nav-btn:disabled {
    background-color: rgba(4, 3, 4, 0.10);
    opacity: 0.2;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .flute-config-features-section {
        background-color: #f1f1f1;
    }
}

@media (max-width: 568px) {
    .flute-config-features-mobile {
        padding: 0px 12px;
    }

    .flute-config-feature-mobile-slide {
        /*margin-top: 64px;*/
        gap: 40px;
    }

    .flute-config-feature-mobile-image {
        height: 320px;
    }

    .flute-config-feature-mobile-content {
        gap: 24px;
    }

    .flute-config-feature-mobile-title {
        font-size: 26px;
    }

    .flute-config-feature-mobile-description {
        font-size: 16px;
    }
}

.flute-gallery-modal {
    justify-content: center;
    align-items: stretch;
    backdrop-filter: blur(8px);
}

@media (max-width: 1024px) {
    .flute-gallery-modal {
        align-items: flex-start;
    }
}

.flute-gallery-modal .modal-overlay {
    background-color: rgba(4, 3, 4, 0.08);
}

.flute-gallery-modal-content {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    right: 0;
    border-radius: 0;
    background-color: #ffffff;
    overflow-y: auto;
}

@media (max-width: 1024px) {
    .flute-gallery-modal-content {
        height: 100svh;
    }
}

.flute-gallery-modal-panel {
    width: 100%;
    min-height: 100%;
    background-color: #ffffff;
}

.flute-gallery-modal-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 100vh;
    padding: 24px;
    box-sizing: border-box;
    touch-action: pan-y;
}

@media (max-width: 1024px) {
    .flute-gallery-modal-body {
        flex-direction: column;
        gap: 32px;
        min-height: 100svh;
        padding: 12px 12px 32px;
    }
}

.flute-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 72px;
    margin: auto;
    overflow-y: auto;
    max-height: calc(100vh - 48px);
}
@media (max-width: 1024px) {
    .flute-gallery-thumbs {
        order: 3;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        margin: 0 -12px;
        padding: 0 12px;
        width: calc(100% + 24px);
    }
}

.flute-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.flute-gallery-thumb {
    width: 72px;
    height: 88px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #f6f6f6;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .flute-gallery-thumb {
        width: 72px;
        height: 88px;
    }
}

.flute-gallery-thumb:hover {
    opacity: 0.8;
}

.flute-gallery-thumb.active {
    border-color: #040304;
}

.flute-gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.flute-gallery-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 1024px) {
    .flute-gallery-main {
        order: 2;
        width: 100%;
        gap: 0;
    }
}

.flute-gallery-main-swiper {
    /*width: min(620px, 100%);*/
    height: min(100svh, calc(100svh - 48px));
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    touch-action: pan-y;
}

@media (max-width: 1024px) {
    .flute-gallery-main-swiper {
        width: 100%;
        height: min(70svh, calc(100svh - 188px));
        border-radius: 5px;
        margin: 0 -12px;
        padding: 0 12px;
        width: calc(100% + 24px);
    }
}

@media (max-width: 568px) {
    .flute-gallery-main-swiper {
        height: min(70svh, calc(100svh - 188px));
    }
}

.flute-gallery-main-swiper .swiper-wrapper {
    align-items: stretch;
}

.flute-gallery-main-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.flute-gallery-main-slide img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
}

@media (max-width: 1024px) {
    .flute-gallery-main-slide img {
        border-radius: 5px;
    }
}

.flute-gallery-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background-color: rgba(4, 3, 4, 0.05);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .flute-gallery-nav {
        display: none;
    }
}

.flute-gallery-nav:hover {
    background-color: rgba(4, 3, 4, 0.1);
}

.flute-gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.flute-gallery-actions {
    position: absolute;
    z-index: 1;
    right: 24px;
    top: 24px;
}

@media (max-width: 1024px) {
    .flute-gallery-actions {
        right: 12px;
        top: 12px;
    }
}

.flute-gallery-modal-close {
    position: static;
    top: auto;
    right: auto;
    width: 91px;
    height: 40px;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (max-width: 1024px) {
    .flute-gallery-modal-close {
        margin-left: auto;
    }
}




