.hero {
    position: relative;
    overflow: hidden;
    height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    max-width: 640px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
}

.hero__badge-img {
    display: block;
    height: 34px;
    width: auto;
    object-fit: contain;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 4.2vw, 78px);
    line-height: 1.25;
    color: #dfdfdf;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.01em;
}

.hero__title p {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

.hero__title span,
.hero__title strong,
.hero__title em {
    color: var(--color-red);
    font-style: normal;
    font-weight: inherit;
}

.hero__subtitle {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.6;
    color: var(--color-gray-300);
    margin: 0;
    max-width: 500px;
}

.hero__cta {
    margin-top: 10px;
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 38px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    color: var(--color-white);
    white-space: nowrap;
    background-color: var(--color-red);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero__cta-text {
    display: inline-block;
}

.hero__cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.hero__cta-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__cta-arrow i {
    font-size: 20px;
    line-height: 1;
}

.hero__cta:focus,
.hero__cta:active {
    outline: none;
    box-shadow: none;
    color: var(--color-white);
}

@media (hover: hover) {
    .hero__cta:hover {
        background-color: var(--color-red-dark);
        transform: translateY(-2px);
    }

    .hero__cta:hover .hero__cta-arrow {
        transform: translateX(3px);
    }
}

.hero__cta:active {
    transform: translateY(0);
    background-color: var(--color-red-dark) !important;
    color: var(--color-white) !important;
}

.hero__float {
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: var(--z-float);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-family: var(--font-primary);
}

.hero__float:hover,
.hero__float:focus,
.hero__float:active {
    outline: none;
    box-shadow: none;
    background-color: transparent;
}

.hero__float-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__float-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.hero__float-img--default {
    opacity: 1;
}

.hero__float-img--hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hero__float-label {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3;
    color: var(--color-gray-300);
    text-align: center;
    max-width: 100px;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .hero__float:hover .hero__float-img--default {
        opacity: 0;
    }

    .hero__float:hover .hero__float-img--hover {
        opacity: 1;
    }

    .hero__float:hover .hero__float-label {
        color: var(--color-white);
    }
}

@media (min-width: 1441px) {
    .hero {
        height: 820px;
    }

    .hero__title {
        font-size: 62px;
    }

    .hero__float-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 70svh;
    }

    .hero__container {
        padding: calc(var(--header-height-mobile) + 48px) var(--container-padding) 64px;
        max-width: 100%;
        align-items: flex-start;
    }

    .hero__content {
        max-width: 520px;
        gap: 16px;
    }

    .hero__title {
        font-size: clamp(28px, 5vw, 42px);
    }

    .hero__cta {
        padding: 16px 36px;
        font-size: 16px;
    }

    .hero__float {
        right: 16px;
        bottom: 16px;
    }

    .hero__float-icon {
        width: 46px;
        height: 46px;
    }

    .hero__float-label {
        font-size: 11px;
        max-width: 90px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
         min-height: 100svh;
    }

    .hero__container {
        padding: calc(var(--header-height-mobile) + 32px) 24px 56px;
        width: 100%;
        justify-content: center;
        align-items: flex-start;
    }

    .hero__content {
        gap: 16px;
        max-width: 460px;
        align-items: center;
        text-align: center;
    }

    .hero__badge {
        justify-content: center;
    }

    .hero__title {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.3;
    }

    .hero__subtitle {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.55;
    }

    .hero__cta {
        width: 100%;
        max-width: 340px;
        margin-top: 6px;
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero__container {
        padding: calc(var(--header-height-mobile) + 24px) 20px 48px;
    }

    .hero__content {
        gap: 22px;
    }

    .hero__title {
        font-size: clamp(23px, 7.5vw, 30px);
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .hero__cta {
        max-width: 70%;
        padding: 14px 28px;
        font-size: 15px;
        gap: 10px;
    }

    .hero__float-icon {
        width: 42px;
        height: 42px;
    }

    .hero__float-label {
        font-size: 10px;
        max-width: 76px;
    }
}

@media (max-width: 375px) {
    .hero__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero__title {
        font-size: clamp(21px, 7vw, 27px);
    }

    .hero__cta {
        padding: 15px 24px;
        font-size: 14px;
        gap: 8px;
    }
}


@media (max-width: 768px) {
    .hero {
        height: auto;
        align-items: flex-start;
        min-height: 100svh;
    }

    .hero__bg-img {
        object-position: center bottom;
    }

    .hero__container {
        padding: calc(var(--header-height-mobile) + 32px) 24px 56px;
        width: 100%;
        justify-content: center;
        align-items: flex-start;
    }

    .hero__content {
        gap: 16px;
        max-width: 460px;
        align-items: center;
        text-align: center;
    }

    .hero__badge {
        justify-content: center;
    }

    .hero__title {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.3;
    }

    .hero__subtitle {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.55;
    }

    .hero__cta {
        width: 100%;
        max-width: 340px;
        margin-top: 6px;
        padding: 16px 32px;
        font-size: 16px;
    }
}