/* Shared homepage brand carousel: fluid logo bounds and optical breathing room.
 * Keep Swiper's slide widths/margins intact so looping and navigation stay aligned. */
body .elementor-widget-image-carousel.home_logo_carosuel {
    --cie-brand-logo-width: clamp(64px, 7.8125vw, 150px);
    --cie-brand-inset: clamp(8px, 1.041667vw, 20px);
    --cie-brand-row-height: clamp(80px, 8.333333vw, 160px);
}
body .elementor-widget-image-carousel.home_logo_carosuel .swiper-slide-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: var(--cie-brand-row-height) !important;
    padding-inline: var(--cie-brand-inset) !important;
    margin: 0 !important;
}
body .elementor-widget-image-carousel.home_logo_carosuel .swiper-slide-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(100%, var(--cie-brand-logo-width)) !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Measure one logo plus its proportional gutters; never takes space in the layout. */
body .home_logo_carosuel .cie-brand-pitch-probe {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
    width: calc(var(--cie-brand-logo-width) + 2 * var(--cie-brand-inset) + var(--cie-brand-slide-gap, 12px));
    height: 0;
    padding-left: var(--cie-brand-slide-gap, 12px);
}
@media (max-width: 1024px) {
    body .elementor-widget-image-carousel.home_logo_carosuel {
        --cie-brand-inset: clamp(4px, 1vw, 12px);
        --cie-brand-slide-gap: clamp(8px, 1.2vw, 14px);
    }
}

/* Homepage only: hide the brand heading while retaining its space, less 20px.
 * This lifts the carousel and button together without changing their gap. */
body.home.page-id-539 .elementor-element.elementor-element-9e2432c {
    visibility: hidden;
    margin-bottom: -20px;
}

/* Compact screens do not need the hidden heading's reserved space. */
@media (max-width: 1024px) {
    body.home.page-id-539 .elementor-element.elementor-element-9e2432c {
        display: none;
    }
}

@media (max-width: 767px) {
    /* Bring the trust bar and following sections closer to the stacked hero. */
    body.home.page-id-539 .elementor-element.elementor-element-565b5e2 {
        margin-top: 0 !important;
    }

    body.home.page-id-539 .elementor-element.elementor-element-565b5e2 > .e-con-inner {
        padding-top: 0;
    }
}
