.home-hero {
    height: min(620px, var(--hero-available, 620px));
    min-height: max(560px, var(--hero-content-height, 560px));
    position: relative;
    overflow: hidden;
    background: #e1e9ea;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .65s, visibility .65s;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #e6eef16b 0%, #e6eef11a 40%, transparent 65%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 100px;
}
.hero-copy {
    width: 560px;
    max-width: 50%;
    padding-block: 30px;
}
.hero-copy h1, .hero-copy h2 {
    font-size: 60px;
    line-height: 1.06;
    text-wrap: balance;
}
.hero-copy p {
    font-size: 17px;
    margin-top: 25px;
    max-width: 470px;
    color: #304a58;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 50px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    border: 1px solid transparent;
}
.hero-primary {
    color: #fff;
    background: var(--brand);
}
.hero-primary:hover {
    background: var(--brand-hover);
}
.hero-secondary {
    color: var(--ink);
    background: #fff;
}
.hero-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.hero-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 44px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fffffff0;
    border-radius: 30px;
    padding: 7px 14px;
    box-shadow: 0 3px 16px #243e4b13;
}
.hero-controls > button {
    width: 32px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ink);
}
.hero-controls button:hover {
    color: var(--brand);
}
.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #b6c1c6;
}
.hero-dots [aria-current] {
    background: var(--brand);
}
@media (max-width: 1000px) {
    .home-hero {
        height: min(560px, var(--hero-available, 560px));
    }
    .hero-copy {
        max-width: 65%;
    }
    .hero-copy h1, .hero-copy h2 {
        font-size: 36px;
        line-height: 1.15;
    }
    .hero-copy p {
        font-size: 16px;
    }
}
@media (max-width: 640px) {
    .hero-copy {
        max-width: 100%;
        width: 100%;
    }
    .hero-slide > img {
        object-position: 42% center;
    }
    .hero-slide::after {
        background: linear-gradient(90deg, #e7eff2db, #e7eff266 65%, #e7eff222);
    }
    .hero-actions {
        gap: 10px;
    }
}
