/* Hero banner (edge-to-edge full-bleed image + floating card) */
.hero-banner {
    position: relative;
    height: 65vh;
    min-height: 420px;
    max-height: 900px;
    overflow: hidden;
}

.hero-banner__img {
    position: absolute;
    inset: 0;
    /* Biased right so the moisture meter in the source photo stays in
       frame once object-fit: cover crops the sides on narrow viewports. */
    object-position: 80% center;
}

.hero-banner__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6%;
}

.hero-banner__card {
    max-width: 34rem;
    padding: 1.25rem 1.5rem;
    background-color: rgba(var(--bs-primary-rgb), 0.44);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-banner__headline {
    font-size: clamp(1.25rem, 4.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-banner__subhead {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

@media (min-width: 576px) {
    .hero-banner__card {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 768px) {
    .hero-banner {
        height: 70vh;
    }

    .hero-banner__overlay {
        bottom: 10%;
    }

    .hero-banner__card {
        padding: 2rem 2.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-banner {
        height: 75vh;
    }
}

@media (max-width: 420px) {
    .hero-banner {
        height: 60vh;
        min-height: 360px;
    }
}

/* Process step number badge */
.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bs-secondary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Dewpoint membership logo */
.dewpoint-logo {
    max-width: 260px;
    height: auto;
}
