.hero {
    position: relative;
    width: 100%;
    height: 920px;
    overflow: hidden;
    background-color: var(--jkpodolog-color-ivory);
    background-position: center;
}

.hero .hero-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

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

.hero .content-area {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: max(calc((100% - 1400px) / 2), 24px);
    width: min(740px, calc(100% - 48px));
    height: auto;
    padding: 0;
    transform: translateY(-50%);
    text-align: left;
    color: var(--jkpodolog-color-polar-night);
}

.hero .hero-text {
    max-width: 740px;
}

.hero .title {
    max-width: 740px;
    margin: 0 0 24px;
    font-size: clamp(48px, 3.65vw, 70px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero .description {
    max-width: 700px;
    margin: 0 0 40px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}

.hero .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 25px;
}

.hero .buttons a.button1,
.hero .buttons a.button2,
.hero .buttons a.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 2px solid var(--jkpodolog-color-polar-night);
    border-radius: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hero .buttons a.button1,
.hero .buttons a.btn-dark {
    color: var(--jkpodolog-color-ivory);
    background-color: var(--jkpodolog-color-polar-night);
}

.hero .buttons a.btn-light,
.hero .buttons a.btn-outline {
    color: var(--jkpodolog-color-polar-night);
    background-color: transparent;
}

.hero .buttons a.btn-text {
    border-color: transparent;
    color: var(--jkpodolog-color-polar-night);
    background: transparent;
}

.hero .buttons a.btn-color {
    color: var(--jkpodolog-color-polar-night);
    background-color: var(--jkpodolog-color-desert-sand);
}

.hero .buttons a.button2,
.hero .buttons a.btn-outline {
    color: var(--jkpodolog-color-polar-night);
    background-color: transparent;
}

.hero .buttons a:hover,
.hero .buttons a:focus-visible,
.hero .buttons a:active {
    color: var(--jkpodolog-color-coral);
    background-color: var(--jkpodolog-color-polar-night);
    border-color: var(--jkpodolog-color-polar-night);
}

@media (max-width: 1024px) {
    .hero {
        height: 720px;
    }

    .hero .content-area {
        left: max(calc((100% - 1400px) / 2), 32px);
        width: min(650px, calc(100% - 64px));
    }

    .hero .title {
        font-size: clamp(44px, 5vw, 56px);
    }

    .hero .description {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        align-items: stretch;
        overflow: visible;
        background: var(--jkpodolog-color-ivory);
    }

    .hero .hero-image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .hero .hero-image img {
        object-position: 66% center;
    }

    .hero .content-area {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin: 0;
        padding: 32px 20px 40px;
        background: var(--jkpodolog-color-ivory);
        transform: none;
    }

    .hero .title {
        margin-bottom: 18px;
        font-size: clamp(36px, 10vw, 44px);
        line-height: 1.08;
    }

    .hero .description {
        margin-bottom: 28px;
        font-size: 18px;
        line-height: 1.45;
    }

    .hero .buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero .buttons a.button1,
    .hero .buttons a.button2,
    .hero .buttons a.btn {
        width: auto;
        max-width: 100%;
        align-self: flex-start;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .buttons a {
        transition: none;
    }
}
