/* Hero slider — consistent 16:9 on mobile, accent CTA support */
.nova-hero-carousel .carousel-item {
    aspect-ratio: 16 / 9;
    max-height: min(56.25vw, 480px);
    overflow: hidden;
    background: #0b1220;
}

.nova-hero-carousel .carousel-item > img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.nova-hero-carousel .carousel-caption {
    bottom: 1.25rem;
    left: 1rem;
    right: 1rem;
    text-align: start;
    padding-bottom: 0;
}

.nova-hero-carousel .carousel-caption .btn-nova-hero {
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767.98px) {
    .nova-hero-carousel .carousel-item {
        max-height: none;
    }

    .nova-hero-carousel .carousel-caption {
        display: block !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
        padding: 2.5rem 1rem 1rem;
        margin: 0;
    }

    .nova-hero-carousel .carousel-caption h5 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 0.35rem;
    }

    .nova-hero-carousel .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0.65rem;
    }
}
