.hero-slider .carousel-item {
    height: 85vh;
    height: 85svh;
    min-height: 480px;
    max-height: 720px;
}

.hero-slider .carousel-item .image-area {
    height: 100%;
    border-radius: 0;
}

.hero-slider .carousel-caption {
    bottom: 20%;
    text-align: left;
    left: 8%;
    right: auto;
    max-width: 560px;
    background: var(--color-carousel-caption-bg);
    backdrop-filter: blur(4px);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-md);
}

.hero-slider .carousel-caption h2,
.hero-slider .carousel-caption .carousel-caption__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.hero-slider .carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.hero-slider .carousel-indicators {
    margin-bottom: 0;
}

/* 44x44 touch target; the visible dot is the ::before */
.hero-slider .carousel-indicators [data-bs-target] {
    position: relative;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    text-indent: 0;
}

.hero-slider .carousel-indicators [data-bs-target]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.35);
}

.hero-slider .carousel-indicators [data-bs-target]:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
    border-radius: 50%;
}

.hero-slider .carousel-indicators .active::before {
    background: var(--color-emerald-500);
    border-color: var(--color-emerald-500);
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.7rem;
    background-color: rgba(0, 0, 0, 0.45);
    background-size: 55%;
    border-radius: 50%;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 15%;
    min-width: 56px;
    opacity: 0.9;
}

/* Static message under the slider on phones */
.hero-mobile {
    padding: 1.5rem 1rem 1.75rem;
    text-align: center;
    background: var(--color-bg-alt);
}

.hero-mobile__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.hero-mobile p {
    margin-bottom: 1rem;
}

.hero-mobile__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.hero-mobile__actions .btn {
    justify-content: center;
    min-height: 48px;
    align-items: center;
    padding: 0.5rem 1.25rem;
    flex: 1 1 200px;
}

@media (max-width: 991px) {
    .hero-slider .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 10%;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 70vh;
        height: 62svh;
        min-height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .carousel-item,
    .hero-slider .carousel-fade .carousel-item {
        transition: none !important;
    }
}
