.hero-2 {
    width: calc(100% - 70px);
    margin-inline: 35px;
    text-align: center;
    border-radius: 30px;
    margin-bottom: 250px;
}

.hero-2__inner {
    padding-bottom: 0;
}

.hero-2 .inner-wrap {
    width: 100%;
    max-width: 940px;
}

.hero-2__info {
    gap: 30px;
    margin-bottom: 6.5rem;
}

.hero-2__tagline {
    font-family: var(--font-highlight);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1;
}

.hero-2__title + .hero-2__tagline {
    margin-top: -20px;
}

.hero-2__text {
    margin: 0 auto;
    width: 100%;
    max-width: 490px;
    font-size: 18px;
}

.hero-2__btns {
    padding-top: 0.5rem;
}

.hero-2__media {
    aspect-ratio: 1240/505;
    width: 100%;
    margin-top: -250px;
    transform: translateY(250px);
}

.hero-2__media iframe {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}

section.hero + section.hero-2 .hero-2__inner {
    padding-top: calc(var(--section-padding) * 1.5);
}

.hero-2--trigger {
    width: 100%;
    aspect-ratio: 1240 / 550;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    background-color: #FFFAF4;
}

.hero-2--trigger > img,
.hero-2--trigger > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: filter 0.6s ease;
}

.hero-2--trigger-icon {
    width: 72px;
    height: 72px;
    position: absolute;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.hero-2--trigger:hover > img,
.hero-2--trigger:hover > video {
    filter: brightness(0.75);
}

.hero-2--trigger:hover .hero-2--trigger-icon {
    transform: scale(1.075);
}

.hero-2--lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 35px;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: background-color 0.6s ease 0.15s;
}

.hero-2--lightbox-close {
    position: absolute;
    top: 35px;
    left: 35px;
    width: 42px;
    height: 42px;
    opacity: 0;
    border-radius: 50%;
    background-color: var(--color-tertiary);
    transform-origin: center center;
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
    cursor: pointer;
}

.hero-2--lightbox-close:hover {
    transform: scale(1.075);
}

.hero-2--lightbox-close::before,
.hero-2--lightbox-close::after {
    content: "";
    background-color: var(--color-primary);
    display: block;
    position: absolute;
    width: 2px;
    height: 16px;
    border-radius: 2px;
    top: calc(50% - 8px);
    left: calc(50% - 1px);
}

.hero-2--lightbox-close::before {
    transform: rotate(45deg);
}

.hero-2--lightbox-close::after {
    transform: rotate(-45deg);
}

.hero-2--lightbox.visible {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.85);
    pointer-events: all;
    transition: background-color 0.6s ease 0.15s, opacity 0.6s ease 0.15s;
}

.hero-2--lightbox.visible .hero-2--lightbox-close {
    opacity: 1;
}

.hero-2--lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.75);
    transform-origin: center center;
    width: 100%;
    height: 100%;
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease;
}

.hero-2--lightbox.visible .hero-2--lightbox-content {
    opacity: 1;
    transform: scale(1);
}

.hero-2--lightbox-content video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 1024.9px) {
    .hero-2 {
        width: calc(100% - 40px);
        margin-inline: 20px;
        margin-bottom: 150px;
    }

    .hero-2__media {
        margin-top: -150px;
        transform: translateY(150px);
    }

    .hero-2--lightbox {
        padding: 20px;
    }

    .hero-2--lightbox-close {
        top: 20px;
        left: 20px;
    }
}

@media screen and (max-width: 767.9px) {
    .hero-2__inner {
        padding-top: 55px;
    }

    .hero-2__media:has(> img) {
        aspect-ratio: 1/1;
    }

    .hero-2 {
        margin-bottom: 45px;
        border-radius: 16px;
    }

    .hero-2__info {
        margin-bottom: 4rem;
    }

    .hero-2__media {
        margin-top: -45px;
        transform: translateY(45px);
    }

    .hero-2--trigger {
        border-radius: 16px;
        aspect-ratio: 16 / 9;
    }

    .hero-2--trigger-icon {
        width: 48px;
        height: 48px;
        top: calc(50% - 24px);
        left: calc(50% - 24px);
    }
}