

/* Start:/include/parallax-hero/parallax-hero.css?17834141547964*/
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.BIG_BANNER_INDEX .hero {
    background-color: rgb(10, 10, 10);
    width: 100%;
}



.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: "Open Sans", sans-serif;
    background: rgb(10, 10, 10);
    color: #ffffff;
}

.hero__text {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    width: fit-content;
    max-width: calc(100vw - 32px);
    padding: 0 16px;
    height: fit-content;
    inset: 0;
    margin: auto;
    text-align: left;
}

.hero__text .banners-big__buttons {
    margin-top: 20px;
    pointer-events: auto;
    justify-content: flex-start;
}

.hero__text .banners-big__buttons .btn {
min-width: 214px;
height: 39px;
display: flex;
    align-items: center;
    justify-content: center;
}

.hero__subtitle{
font-size:22px;
}

.hero__line {
    display: block;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .hero__title {
        font-size: 38px;
    }

    .hero__subtitle {
        font-size: 20px;
    }
}

@media (min-width: 810px) and (max-width: 1199px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .scene__viewport {
        width: 90vw;
        height: 85vh;
    }
}

.hero__title {
    font-size: clamp(20px, 4.5vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    text-align: left;
    cursor: default;
    user-select: none;
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero__subtitle {
    margin: 12px 0 0;
    padding: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    color: rgb(171, 171, 171);
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Scene */
.scene {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: manipulation;
    cursor: default;
}

.scene__viewport {
    width: 1109px;
    height: 1006px;
    position: relative;
    flex-shrink: 0;
    perspective: 500px;
    perspective-origin: center center;
    transform-style: preserve-3d;
    transform: scale(var(--scene-scale, 1));
    transform-origin: center center;
}

.scene__content {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Floating cards */
.card {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min-content;
    transform-style: preserve-3d;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 0;
    animation: cardIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.card:nth-child(1)  { animation-delay: 0.05s; }
.card:nth-child(2)  { animation-delay: 0.12s; }
.card:nth-child(3)  { animation-delay: 0.18s; }
.card:nth-child(4)  { animation-delay: 0.24s; }
.card:nth-child(5)  { animation-delay: 0.30s; }
.card:nth-child(6)  { animation-delay: 0.36s; }
.card:nth-child(7)  { animation-delay: 0.42s; }
.card:nth-child(8)  { animation-delay: 0.48s; }
.card:nth-child(9)  { animation-delay: 0.54s; }
.card:nth-child(10) { animation-delay: 0.60s; }

@keyframes cardIn {
    from {
        opacity: 0;
        filter: blur(4px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.card__img {
    width: var(--tw);
    height: var(--th);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.card__img--contain img {
    object-fit: contain;
}

.card__label {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
    pointer-events: none;
}

.card:hover .card__img {
    transform: scale(1.06);
}

/* Mobile — раскладка под экран: 4 сверху, 4 снизу */
@media (max-width: 809px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero__title {
        font-size: 22px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .scene__viewport {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        perspective: 700px;
        transform: scale(1);
    }

    .scene__content {
        transform-origin: center center;
    }

    .hero__text {
        z-index: 30;
    }

    .hero__text .banners-big__buttons {
        margin-top: 20px;
        pointer-events: auto;
    }

    .hero .card {
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        gap: 6px;
        z-index: 5;
    }

    .hero .card[data-card="kollektory"],
    .hero .card[data-card="teploobmenniki"] {
        display: none !important;
    }

    /* 4 сверху */
    .hero .card[data-card="btp"] {
        top: 3% !important;
        left: calc(50% - 44px) !important;
        --tw: 88px !important;
        --th: 112px !important;
        transform: rotateX(-18deg) !important;
    }

    .hero .card[data-card="vodonagrevateli"] {
        top: 10% !important;
        left: 3% !important;
        --tw: 108px !important;
        --th: 88px !important;
        transform: rotate(-6deg) rotateY(14deg) !important;
    }

    .hero .card[data-card="aupd"] {
        top: 9% !important;
        right: 2% !important;
        --tw: 118px !important;
        --th: 84px !important;
        transform: rotate(6deg) rotateY(-14deg) !important;
    }

    .hero .card[data-card="radiatory"] {
        top: 27% !important;
        left: calc(50% - 34px) !important;
        --tw: 68px !important;
        --th: 68px !important;
        transform: rotateX(-12deg) rotateY(8deg) !important;
    }

    /* 4 снизу */
    .hero .card[data-card="konvektory"] {
        top: 57% !important;
        left: 3% !important;
        --tw: 100px !important;
        --th: 122px !important;
        transform: rotate(-8deg) rotateX(10deg) rotateY(16deg) !important;
    }

    .hero .card[data-card="truby"] {
        top: 56% !important;
        right: 3% !important;
        --tw: 76px !important;
        --th: 76px !important;
        transform: rotate(8deg) rotateY(-10deg) !important;
    }

    .hero .card[data-card="shau"] {
        top: 76% !important;
        left: calc(50% - 36px) !important;
        --tw: 72px !important;
        --th: 90px !important;
        transform: rotateX(10deg) !important;
    }

    .hero .card[data-card="nasosnye"] {
        top: 76% !important;
        right: 5% !important;
        --tw: 96px !important;
        --th: 118px !important;
        transform: rotate(8deg) rotateX(-8deg) rotateY(-12deg) !important;
    }

    .hero.is-ready .card {
        opacity: 1;
        filter: none;
    }
}

/* Fallback: показать контент, если анимации не сработали (Битрикс, кэш, reduced-motion) */
.hero.is-ready .hero__title,
.hero.is-ready .hero__subtitle,
.hero.is-ready .card {
    opacity: 1;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero__title,
    .hero__subtitle,
    .card {
        opacity: 1;
        transform: none;
        animation: none;
        filter: none;
    }
}
/* End */
/* /include/parallax-hero/parallax-hero.css?17834141547964 */
