:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-white-40: rgba(255, 255, 255, 0.4);
    --color-gray-2: #7c7f7f;
    --color-tabbar: rgba(36, 36, 36, 0.95);
    --color-banner-bg: #f1f0ec;

    --font-main:
            "TT Hoves Pro", "TT Hoves Pro Trial", "Helvetica Neue", Arial, sans-serif;

    /* токены 1920 */
    --fs-h1: 80px;
    --fs-h2: 56px;
    --fs-card: 24px;
    --fs-text: 18px;
    --fs-button: 20px;

    --container-pad: 40px;
    --grid-gap: 20px;
    --section-pad-bottom: 120px;
    --tabbar-height: 71px;
}
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 956px;
    overflow: hidden;
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero__slide--active {
    opacity: 1;
    visibility: visible;
}

.hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 50%;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
}

.hero::before {
    top: 0;
    height: 232px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero::after {
    bottom: 0;
    height: 264px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero__title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateX(-50%);
}

.hero__heading {
    display: none;
    margin: 0;
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: -0.02em;
    color: var(--color-white);
    white-space: nowrap;
}

.hero__heading--active {
    display: block;
}

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

.hero__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-white-40);
    cursor: pointer;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.hero__dot--active {
    width: 12px;
    height: 12px;
    background: var(--color-white);
}

.hero__button,
.hero__button-placeholder {
    display: none;
}

.hero__button--active {
    display: inline-flex;
}

.hero__button-placeholder--active {
    display: none;
}

@media (max-width: 1600px) {
    .hero {
        max-height: 900px;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: 100svh;
        min-height: 500px;
        max-height: none;
    }

    .hero__title {
        bottom: calc(var(--tabbar-height) + 32px);
    }

    .hero__img {
        object-position: var(--hero-mobile-position, 65% 50%);
    }
}

@media (max-width: 576px) {
    .hero__heading {
        white-space: normal;
        text-align: center;
    }

    .hero__title {
        width: 100%;
        padding: 0 var(--container-pad);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide,
    .hero__dot {
        transition: none;
    }
}
