/*
 * Consult mobile layout corrections.
 * Loaded after the Vite bundle so these narrow-screen rules reliably override
 * the approved desktop composition without changing desktop styles.
 */
@media (max-width: 47.9375rem) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip !important;
    }

    .site-main {
        max-width: 100%;
        overflow-x: clip !important;
    }

    /* ---------------------------------------------------------
       Home: services-to-Suez transition
    --------------------------------------------------------- */
    .home-services {
        padding-bottom: 0 !important;
    }

    .home-services__cards {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .home-services__all-button-wrap {
        margin: 0 !important;
        position: static !important;
        width: 100% !important;
    }

    .home-suez {
        margin-top: 0 !important;
        min-height: clamp(31rem, 126vw, 35rem) !important;
        overflow: hidden !important;
    }

    .home-suez__ribbon,
    .curve-ribbon.home-suez__ribbon {
        height: 7rem !important;
        left: -35vw !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -1.25rem !important;
        width: 170vw !important;
        z-index: 8 !important;
    }

    .home-suez__ribbon .curve-ribbon__image {
        display: block !important;
        height: auto !important;
        left: 0 !important;
        max-width: none !important;
        position: absolute !important;
        top: 0 !important;
        transform: translateY(-44%) !important;
        width: 100% !important;
    }

    .home-suez__inner {
        box-sizing: border-box !important;
        min-height: inherit !important;
        padding: 6.75rem 1rem 4rem !important;
    }

    .home-suez__title {
        margin-inline: auto !important;
        max-width: 19rem !important;
        position: relative !important;
        z-index: 12 !important;
    }

    /* ---------------------------------------------------------
       Home: Why Choose cards become a true in-flow stack
    --------------------------------------------------------- */
    .home-why-us {
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .home-why-us__inner {
        box-sizing: border-box !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 3.75rem 1rem 4.5rem !important;
        width: 100% !important;
    }

    .home-page.home-motion-enabled .home-why-us__cards[data-home-reveal-item],
    .home-why-us__cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 4rem !important;
        left: auto !important;
        margin: 5.25rem auto 0 !important;
        max-width: 23rem !important;
        min-height: 0 !important;
        opacity: 1 !important;
        position: relative !important;
        right: auto !important;
        scale: 1 !important;
        transform: none !important;
        translate: 0 0 !important;
        width: 100% !important;
    }

    .home-why-us__card,
    .home-why-us__card--left,
    .home-why-us__card--center,
    .home-why-us__card--right,
    .home-why-us__card--hidden,
    .home-why-us__card--side {
        box-sizing: border-box !important;
        flex: 0 0 auto !important;
        height: auto !important;
        left: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-height: 13.5rem !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        right: auto !important;
        scale: 1 !important;
        top: auto !important;
        transform: none !important;
        translate: 0 0 !important;
        width: 100% !important;
    }

    .home-why-us__card h3,
    .home-why-us__card p {
        max-width: 100% !important;
        overflow-wrap: normal !important;
    }

    /* ---------------------------------------------------------
       Services overview: stable one-column cards and clean ribbon crop
    --------------------------------------------------------- */
    .services-overview {
        background: #0f7f62 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .services-overview__background {
        height: 100% !important;
        inset: 0 !important;
        object-fit: cover !important;
        width: 100% !important;
    }

    .services-overview__inner {
        box-sizing: border-box !important;
        max-width: none !important;
        padding: 6rem 1rem 2rem !important;
        width: 100% !important;
    }

    .services-overview__grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin: 0 auto !important;
        max-width: 23rem !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .services-overview__star {
        display: none !important;
    }

    .services-overview-card,
    .services-overview-card--agency,
    .services-overview-card--supplies,
    .services-overview-card--cash,
    .services-overview-card--transit,
    .services-overview-card--garbage {
        background: #004132 !important;
        box-sizing: border-box !important;
        flex: 0 0 auto !important;
        grid-area: auto !important;
        height: auto !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-height: 14rem !important;
        overflow: hidden !important;
        position: relative !important;
        width: 100% !important;
    }

    .services-overview-card--supplies,
    .services-overview-card--cash {
        min-height: 15rem !important;
    }

    .services-overview-card__content,
    .services-overview-card--supplies .services-overview-card__content,
    .services-overview-card--transit .services-overview-card__content,
    .services-overview-card--garbage .services-overview-card__content {
        box-sizing: border-box !important;
        max-width: 74% !important;
        padding: 1rem !important;
        width: auto !important;
    }

    .services-overview-card__image {
        max-width: none !important;
    }

    .services-overview-shell .services-overview-ribbon {
        background: #fff !important;
        height: 5.5rem !important;
        margin: 0 !important;
        overflow: hidden !important;
        position: relative !important;
        transform: none !important;
        width: 100% !important;
        z-index: 10 !important;
    }

    .services-overview-shell .services-overview-ribbon img {
        height: auto !important;
        left: 50% !important;
        margin: 0 !important;
        max-width: none !important;
        position: absolute !important;
        top: 0 !important;
        transform: translate(-50%, -44%) !important;
        width: 170vw !important;
    }

    /* ---------------------------------------------------------
       Services cash section: remove horizontal reveal displacement
    --------------------------------------------------------- */
    .services-cash-master {
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 3rem 0 3.75rem !important;
    }

    .services-cash-master__inner {
        align-items: stretch !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        margin: 0 auto !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 0 1.25rem !important;
        width: 100% !important;
    }

    .services-cash-master [data-cash-master-reveal] {
        filter: none !important;
        opacity: 1 !important;
        scale: 1 !important;
        transform: none !important;
        translate: 0 0 !important;
    }

    .services-cash-master__content,
    .services-cash-master__heading,
    .services-cash-master__description {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .services-cash-master__heading {
        align-items: start !important;
        display: grid !important;
        gap: 0.7rem !important;
        grid-template-columns: 2rem minmax(0, 1fr) !important;
    }

    .services-cash-master__icon {
        height: auto !important;
        margin: 0.15rem 0 0 !important;
        width: 2rem !important;
    }

    .services-cash-master__title {
        font-size: clamp(1.65rem, 7.4vw, 2rem) !important;
        line-height: 1.06 !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
        width: auto !important;
    }

    .services-cash-master__description {
        font-size: 1rem !important;
        line-height: 1.42 !important;
        margin-top: 1rem !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .services-cash-master__visual {
        align-self: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        max-width: 22rem !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .services-cash-master__photo {
        display: block !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        width: 100% !important;
    }

    /* ---------------------------------------------------------
       Services sludge section: centered visual and wrapping copy
    --------------------------------------------------------- */
    .services-sludge-removal {
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 3rem 0 3.75rem !important;
    }

    .services-sludge-removal__inner {
        align-items: stretch !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2.25rem !important;
        margin: 0 auto !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 0 1.25rem !important;
        width: 100% !important;
    }

    .services-sludge-removal [data-sludge-reveal] {
        filter: none !important;
        opacity: 1 !important;
        scale: 1 !important;
        transform: none !important;
        translate: 0 0 !important;
    }

    .services-sludge-removal__visual {
        align-self: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        max-width: 22rem !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .services-sludge-removal__visual-image {
        display: block !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        width: 100% !important;
    }

    .services-sludge-removal__content,
    .services-sludge-removal__heading,
    .services-sludge-removal__description {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .services-sludge-removal__heading {
        align-items: start !important;
        display: grid !important;
        gap: 0.7rem !important;
        grid-template-columns: 2rem minmax(0, 1fr) !important;
    }

    .services-sludge-removal__icon {
        height: auto !important;
        margin: 0.15rem 0 0 !important;
        width: 2rem !important;
    }

    .services-sludge-removal__title {
        font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
        line-height: 1.08 !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
        width: auto !important;
    }

    .services-sludge-removal__title span {
        display: block !important;
        white-space: normal !important;
    }

    .services-sludge-removal__description {
        font-size: 1rem !important;
        line-height: 1.42 !important;
        margin-top: 1rem !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}

@media (max-width: 23.4375rem) {
    .services-cash-master__inner,
    .services-sludge-removal__inner {
        padding-inline: 1rem !important;
    }

    .home-why-us__inner,
    .services-overview__inner {
        padding-inline: 0.85rem !important;
    }
}

/* ---------------------------------------------------------
   About feedbacks: use the supplied divider artwork as-is
--------------------------------------------------------- */
.about-feedbacks__divider {
    overflow: hidden;
}

.about-feedbacks__divider-image {
    display: block;
    height: auto;
    max-width: 54.1875rem;
    object-fit: contain;
    width: calc(100% - 3rem);
}

@media (max-width: 47.9375rem) {
    .about-feedbacks__divider {
        padding-inline: 0.75rem !important;
    }

    .about-feedbacks__divider-image {
        max-width: none;
        width: 100%;
    }
}
