/* Above-the-fold home hero + trust bar — keep small for fast first paint */
.home-hero-banners {
    --home-banner-radius: 48px;
    max-width: 1200px;
    margin: 4px auto 16px;
    padding: 0 16px;
}

body.home-page .home-hero-banners {
    margin-top: 24px;
    margin-bottom: 22px;
}

.home-hero-banners__shell {
    position: relative;
}

.home-hero-banners__swiper {
    overflow: hidden;
    border-radius: var(--home-banner-radius);
    clip-path: inset(0 round var(--home-banner-radius));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    contain: paint;
    height: auto !important;
}

.home-hero-banners__swiper[data-banner-mode="static"] {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.home-hero-banners__swiper[data-banner-mode="static"]::-webkit-scrollbar {
    display: none;
}

.home-hero-banners__swiper[data-banner-mode="static"] .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    height: auto !important;
}

.home-hero-banners__swiper[data-banner-mode="static"] .home-hero-banner-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.home-hero-banner-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--home-banner-radius);
    overflow: hidden;
    clip-path: inset(0 round var(--home-banner-radius));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    contain: paint;
    isolation: isolate;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-page.home-hydrating .home-hero-banner-card {
    transition: none;
    transform: none;
}

.home-hero-banner-card__frame {
    display: block;
    position: relative;
    --home-banner-max-height: 600px;
    width: 100%;
    max-width: calc(var(--home-banner-max-height) * 16 / 5);
    aspect-ratio: 16 / 5;
    max-height: var(--home-banner-max-height);
    margin-inline: auto;
    line-height: 0;
    overflow: hidden;
    border-radius: var(--home-banner-radius);
    clip-path: inset(0 round var(--home-banner-radius));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    contain: paint;
    transform: translateZ(0);
    background: #f1f5f9;
}

.home-hero-banner-card__frame.is-banner-loaded {
    background: transparent;
}

.home-hero-banner-card__frame.has-banner-placeholder {
    background-color: #f1f5f9;
    background-image: var(--dw-banner-placeholder, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero-banner-card__frame picture,
.home-hero-banner-card__frame .home-hero-banner-card__img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-banner-card__frame .home-hero-banner-card__img--mobile {
    display: none;
}

.home-hero-banner-card__frame img,
.home-hero-banner-card__frame .home-hero-banner-card__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--home-banner-radius);
    clip-path: inset(0 round var(--home-banner-radius));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    opacity: 1;
    transition: opacity 0.32s ease, filter 0.35s ease;
}

.home-hero-banner-card__frame.is-banner-preview .home-hero-banner-card__img,
.home-hero-banner-card__frame.is-banner-preview img {
    filter: blur(1.5px);
}

.home-hero-banner-card__frame.is-banner-sharp .home-hero-banner-card__img,
.home-hero-banner-card__frame.is-banner-sharp img {
    filter: none;
    transform: none;
}

body.home-page {
    --dw-trust-sticky-top: 124px;
}

@media (max-width: 768px) {
    body.home-page {
        --dw-trust-sticky-top: 54px;
    }

    body.home-page .home-hero-banners {
        margin-top: 14px;
        margin-bottom: 18px;
    }

    .home-hero-banners {
        --home-banner-radius: 16px;
        margin-top: 2px;
        margin-bottom: 18px;
    }

    .home-hero-banners__swiper,
    .home-hero-banner-card,
    .home-hero-banner-card__frame img {
        border-radius: 16px;
    }

    .home-hero-banner-card__frame {
        --home-banner-max-height: 360px;
        width: 100%;
        aspect-ratio: 2 / 1;
        max-height: var(--home-banner-max-height);
        border-radius: 16px;
    }

    .home-hero-banner-card__frame .home-hero-banner-card__img--desktop {
        display: none;
    }

    .home-hero-banner-card__frame .home-hero-banner-card__img--mobile {
        display: block;
    }

    .home-hero-banner-card__frame img,
    .home-hero-banner-card__frame .home-hero-banner-card__img {
        object-fit: cover;
    }
}

.home-trust-bar.key-features-section {
    position: sticky;
    top: var(--dw-trust-sticky-top);
    z-index: 900;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(245, 114, 36, 0.14);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.home-trust-bar .features-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 20px;
}

.home-trust-bar .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-trust-bar .feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 10px;
    text-decoration: none;
    color: var(--ink, #101114);
}
