.hero-section {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: stretch;
    overflow: clip;
}

.hero-slider,
.hero-overlay,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slider {
    background: #070b08;
}

.hero-slide {
    opacity: 1;
    visibility: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.9s ease-in-out;
    will-change: transform;
}

.hero-slide.is-active {
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

.hero-slide.is-next,
.hero-slide.is-leaving {
    visibility: visible;
}

.hero-slide.is-next {
    transform: translate3d(-100%, 0, 0);
}

.hero-slide.is-leaving {
    transform: translate3d(100%, 0, 0);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(4, 8, 5, 0.56) 0%, rgba(4, 8, 5, 0.78) 100%),
        radial-gradient(circle at center, rgba(197, 217, 77, 0.14), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding-top: calc(var(--header-height) + 22px);
    padding-bottom: 28px;
}

.hero-panel {
    width: min(100%, 680px);
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
    padding: 28px 22px;
}

.hero-panel h1 {
    margin: 0;
    font-size: clamp(2.4rem, 10vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero-panel p {
    margin: 0;
    max-width: 44ch;
    color: #d8ddd9;
    font-size: 1rem;
    line-height: 1.8;
}

.hero-cta {
    margin-top: 8px;
    min-width: 170px;
}

@media (max-width: 767px) {
    .hero-slide {
        background-position: center 42%;
    }
}

@media (min-width: 768px) {
    .hero-panel {
        padding: 40px 44px;
    }

    .hero-panel p {
        font-size: 1.08rem;
    }
}
