/* --------------------------------------------- */
/* Shared responsive                             */
/* --------------------------------------------- */

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .hero,
    .intro,
    .about-preview,
    .about,
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 92px;
    }

    .page-hero {
        padding-top: 128px;
    }
}

@media (max-width: 650px) {
    .section {
        width: min(100% - 24px, var(--max-width));
        padding: 70px 0;
    }

    .brand-text {
        font-size: 16px;
    }

    h1 {
        font-size: 43px;
    }

    h2 {
        font-size: 34px;
    }

    .hero-lead,
    .intro p,
    .about-preview p,
    .about p,
    .contact-card p {
        font-size: 17px;
    }

    .cards-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
    }

    .hero-actions,
    .contact-links {
        flex-direction: column;
    }

    .btn,
    .contact-links a {
        width: 100%;
    }

    .text-panel,
    .card,
    .metric {
        padding: 22px;
    }

    .contact-card {
        padding: 30px 22px;
    }

    .site-footer {
        flex-direction: column;
        width: min(100% - 24px, var(--max-width));
    }
}


/* --------------------------------------------- */
/* Home responsive                               */
/* --------------------------------------------- */

@media (max-width: 1050px) {
    .home-hero,
    .home-intro,
    .builder-layout {
        grid-template-columns: 1fr;
    }

    .request-panel {
        position: static;
    }
}

@media (max-width: 700px) {
    .home-hero {
        min-height: auto;
        padding-top: 92px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
        padding-left: 22px;
    }

    .service-accordion summary {
        grid-template-columns: 1fr;
    }

    .service-accordion summary span {
        width: 38px;
        height: 38px;
    }

    .request-panel-inner {
        padding: 22px;
    }
}


/* --------------------------------------------- */
/* About responsive                              */
/* --------------------------------------------- */

@media (max-width: 920px) {
    .about-feature,
    .about-feature.reverse {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .about-feature.reverse .about-feature-image,
    .about-feature.reverse .about-feature-card {
        grid-column: 1;
        grid-row: auto;
    }

    .about-feature-image,
    .about-feature-image img {
        min-height: 390px;
    }

    .about-feature-card,
    .about-feature.reverse .about-feature-card {
        width: calc(100% - 32px);
        margin: -72px auto 0;
        justify-self: center;
    }

    .about-feature-card::after,
    .about-feature.reverse .about-feature-card::after {
        display: none;
    }

    .capability-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .about-story {
        gap: 38px;
    }

    .about-feature-image,
    .about-feature-image img {
        min-height: 300px;
    }

    .about-feature-card,
    .about-feature.reverse .about-feature-card {
        width: calc(100% - 20px);
        margin-top: -54px;
        padding: 24px;
    }

    .capability-strip {
        grid-template-columns: 1fr;
    }
}

    @media (max-width: 650px) {
        .site-footer {
            flex-direction: column;
            align-items: flex-start;
            width: min(100% - 24px, var(--max-width));
        }
    }

    /* --------------------------------------------- */
/* Services responsive                           */
/* --------------------------------------------- */

@media (max-width: 1050px) {
    .services-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 128px;
    }

    .services-hero-visual,
    .services-hero-visual img {
        min-height: 360px;
    }
}

@media (max-width: 650px) {
    .services-hero {
        padding-top: 110px;
        padding-bottom: 56px;
    }

    .services-hero-visual,
    .services-hero-visual img {
        min-height: 260px;
    }
}

/* --------------------------------------------- */
/* Process responsive                            */
/* --------------------------------------------- */

@media (max-width: 1050px) {
    .process-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 128px;
    }

    .process-hero-visual,
    .process-hero-visual img {
        min-height: 360px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .process-hero {
        padding-top: 110px;
        padding-bottom: 56px;
    }

    .process-hero-visual,
    .process-hero-visual img {
        min-height: 260px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
        padding: 22px;
    }
}

/* --------------------------------------------- */
/* Process responsive                            */
/* --------------------------------------------- */

@media (max-width: 1050px) {
    .process-visual-banner {
        min-height: 520px;
        margin-top: -88px;
    }

    .process-visual-banner img {
        height: 520px;
    }

    .process-hero-copy {
        margin-top: -90px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .process-visual-banner {
        min-height: 430px;
        margin-top: -82px;
    }

    .process-visual-banner img {
        height: 430px;
        object-position: center top;
    }

    .process-hero-copy {
        margin-top: -64px;
        padding-bottom: 56px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
        padding: 22px;
    }
}