.home-carousel-section {
    position: relative;
    overflow: hidden;
    background: #082a21;
}

/* Home-only vertical rhythm: section content remains unchanged. */
.home-page > .section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.home-carousel,
.home-carousel .carousel-inner,
.home-carousel .carousel-item {
    height: clamp(560px, 47vw, 680px);
}

.home-carousel .carousel-item { position: relative; }
.home-carousel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-carousel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, rgba(4,27,21,.18) 5%, rgba(4,31,24,.54) 52%, rgba(4,28,22,.94) 100%);
}

.home-carousel-content {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    padding-inline: clamp(68px, 7vw, 112px);
}

.home-carousel-copy {
    width: min(650px, 58vw);
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}

.home-carousel-kicker {
    display: block;
    margin-bottom: 13px;
    color: #f1cc78;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.home-carousel-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.055em;
    text-shadow: 0 4px 24px rgba(0,0,0,.24);
}

.home-carousel-copy p {
    max-width: 610px;
    margin: 0 0 28px;
    color: #e1ece8;
    font-size: 1.08rem;
    line-height: 2;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.home-carousel-copy .btn {
    min-width: 155px;
    color: var(--brand-dark);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.home-carousel-indicators {
    right: 50%;
    bottom: 23px;
    left: auto;
    gap: 8px;
    margin: 0;
    transform: translateX(50%);
    z-index: 4;
}

.home-carousel-indicators [data-bs-target] {
    width: 13px;
    height: 13px;
    margin: 0;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: transparent;
    opacity: .9;
    transition: .25s;
}

.home-carousel-indicators .active {
    width: 38px;
    border-radius: 10px;
    background: #fff;
}

.home-carousel-control {
    top: 50%;
    bottom: auto;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    background: rgba(3,31,24,.58);
    opacity: 1;
    transform: translateY(-50%);
    transition: .2s;
    z-index: 4;
}

.home-carousel-control:hover { background: var(--brand); }
.home-carousel-control img { width: 29px; height: 29px; filter: brightness(0) invert(1); }
.home-carousel-control-right { right: 24px; left: auto; }
.home-carousel-control-right img { transform: scaleX(-1); }
.home-carousel-control-left { right: auto; left: 24px; }

@media (max-width: 991.98px) {
    .home-page > .section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .home-carousel,
    .home-carousel .carousel-inner,
    .home-carousel .carousel-item { height: 540px; }
    .home-carousel-content { padding-inline: 70px; }
    .home-carousel-copy { width: min(620px, 76vw); }
}

@media (max-width: 767.98px) {
    .home-page > .section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .home-carousel,
    .home-carousel .carousel-inner,
    .home-carousel .carousel-item { height: 470px; }
    .home-carousel-overlay {
        align-items: flex-end;
        background: linear-gradient(0deg, rgba(3,26,20,.96) 5%, rgba(3,28,22,.72) 62%, rgba(3,28,22,.22) 100%);
    }
    .home-carousel-content { padding: 0 58px 72px; }
    .home-carousel-copy { width: 100%; }
    .home-carousel-kicker { margin-bottom: 8px; font-size: .62rem; }
    .home-carousel-copy h1 { margin-bottom: 11px; font-size: clamp(1.85rem, 8vw, 2.7rem); line-height: 1.4; }
    .home-carousel-copy p {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 18px;
        font-size: .88rem;
        line-height: 1.85;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .home-carousel-copy .btn { width: 100%; min-width: 0; padding: .65rem 1rem; }
    .home-carousel-control { width: 43px; height: 43px; }
    .home-carousel-control img { width: 23px; height: 23px; }
    .home-carousel-control-right { right: 8px; }
    .home-carousel-control-left { left: 8px; }
    .home-carousel-indicators { bottom: 18px; }
    .home-carousel-indicators [data-bs-target] { width: 11px; height: 11px; }
    .home-carousel-indicators .active { width: 30px; }
}
