/* =========================================================
   RESPONSIVE — breakpoints
   ========================================================= */

/* --- Site-wide H2/H3 typography scale (kit default: h2 40/32/28/26/24, h3 25/22) --- */
@media (max-width: 1366px) {
    .service-feature__heading,
    .other-services__heading,
    .cta-banner__heading,
    .about-intro__heading,
    .success-steps__heading,
    .work-process__heading,
    .team__heading {
        font-size: 32px;
    }

    .success-steps__title {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    .service-feature__heading,
    .other-services__heading,
    .cta-banner__heading,
    .about-intro__heading,
    .success-steps__heading,
    .work-process__heading,
    .team__heading {
        font-size: 28px;
    }

    .work-process {
        border-radius: 80px 0 80px 0;
        padding-top: 40px;
    }

    .work-process__eyebrow {
        font-size: 20px;
    }

    .team {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .team__eyebrow {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .service-feature__heading,
    .other-services__heading,
    .cta-banner__heading,
    .about-intro__heading,
    .success-steps__heading,
    .work-process__heading,
    .team__heading {
        font-size: 26px;
    }

    .about-intro__eyebrow {
        margin-left: 0;
    }

    .about-intro__heading {
        width: auto;
        margin-left: 0;
    }

    .about-intro__media {
        margin-top: 0;
    }

    .work-process__row {
        flex-wrap: wrap;
    }

    .work-process__card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .team__card {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .other-services__card {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .service-feature__row,
    .service-feature__row--reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .service-feature__text,
    .service-feature__row--reverse .service-feature__text {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .service-feature__media,
    .service-feature__row--reverse .service-feature__media {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        /*text-align: center;*/
    }
}

@media (max-width: 767px) {
    .service-feature__heading,
    .other-services__heading,
    .cta-banner__heading,
    .about-intro__heading,
    .success-steps__heading,
    .work-process__heading,
    .team__heading {
        font-size: 24px;
    }

    .team__card {
        flex: 0 0 90%;
        max-width: 90%;
    }

    .other-services__card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .tagline {
        font-size: 18px;
    }

    .about-intro {
        margin-top: 40px;
    }

    .about-intro__row {
        flex-direction: column;
        gap: 24px;
    }

    .about-intro__media {
        width: 100%;
        max-width: 100%;
    }

    .about-intro__lead {
        font-size: 18px;
    }

    .about-intro__desc {
        font-size: 16px;
    }

    .success-steps__row {
        flex-direction: column;
        gap: 5px;
    }

    .success-steps__col {
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid #D9D9D9;
    }

    .success-steps__col--last {
        border-bottom: none;
    }

    .work-process {
        border-radius: 50px 0 50px 0;
    }

    .work-process__card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cta-banner {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .cta-banner__text {
        padding: 0;
        font-size: 18px;
    }
}

/* --- Hero --- */
@media (max-width: 1366px) {
    .hero__inner {
        min-height: 600px;
    }

    .hero__eyebrow {
        font-size: 28px;
    }

    .page-banner__inner {
        min-height: 375px;
    }

    .page-banner__title {
        font-size: 52px;
    }
}

@media (max-width: 1200px) {
    .hero__inner {
        min-height: 570px;
    }

    .hero__eyebrow {
        font-size: 26px;
    }

    .hero__heading {
        font-size: 42px;
    }

    .hero__description {
        font-size: 20px;
    }

    .page-banner__inner {
        min-height: 350px;
    }

    .page-banner__title {
        font-size: 42px;
    }

    .navbar__item {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 1024px) {
    .hero__inner {
        min-height: 510px;
        margin-top: -75px;
        padding-top: 70px;
    }

    .hero__eyebrow {
        font-size: 24px;
    }

    .hero__heading {
        font-size: 36px;
    }

    .page-banner {
        margin-top: -82px;
    }

    .page-banner__inner {
        min-height: 350px;
        padding-top: 35px;
    }

    .page-banner__title {
        font-size: 36px;
    }
}

@media (max-width: 1024px) {
    .header__inner {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navbar__item {
        margin-left: 8.5px;
        margin-right: 8.5px;
    }
}

@media (max-width: 767px) {
    .hero__inner {
        padding-top: 110px;
    }

    .hero__eyebrow {
        margin-bottom: 15px;
        font-size: 22px;
    }

    .hero__heading {
        margin-bottom: 15px;
        font-size: 30px;
    }

    .hero__description {
        font-size: 18px;
    }

    .hero,
    .page-banner {
        margin-top: -75px;
    }

    .page-banner {
        border-radius: 0 0 50px 50px;
    }

    .page-banner__inner {
        min-height: 260px;
        padding-top: 35px;
    }

    .page-banner__title {
        font-size: 30px;
    }

    .header__inner {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header__logo {
        flex: 0 0 auto;
        max-width: 156px;
    }

    .navbar {
        flex: 0 0 auto;
        max-width: none;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: block;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        background-color: var(--color-white);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar__menu.is-open {
        max-height: 600px;
    }

    .navbar__item {
        margin-left: 0;
        margin-right: 0;
    }

    .navbar__item:not(:last-child) {
        border-bottom: 1px solid var(--color-border);
    }

    .navbar__link {
        width: 100%;
        justify-content: space-between;
        padding: 15px;
        color: var(--color-text);
    }

    .navbar__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        transition: none;
    }

    .navbar__item--has-dropdown.is-open .navbar__dropdown {
        display: block;
    }

    .navbar__dropdown-link {
        padding: 10px 15px;
        font-size: 16px;
    }
}

/* --- Footer --- */
@media (max-width: 1200px) {
    .footer__col--about {
        margin-right: 15px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .footer__col--about {
        flex-basis: 40%;
        max-width: 40%;
    }

    .footer__col--links {
        flex-basis: 27%;
        max-width: 27%;
    }

    .footer__col--links:nth-of-type(2) {
        flex-basis: 28%;
        max-width: 28%;
    }

    .footer__col--newsletter {
        flex-basis: 60%;
        max-width: 60%;
    }
}

@media (max-width: 1024px) {
    .footer__top {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer__col--about {
        margin-right: 0;
    }

    .footer__bottom {
        margin-top: 25px;
        padding-top: 0;
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .footer__top {
        gap: 20px;
        padding-top: 35px;
    }

    .footer__heading {
        font-size: 18px;
    }

    .footer__col--about img {
        margin-bottom: 12px;
    }

    .footer__col--about,
    .footer__col--links,
    .footer__col--newsletter {
        flex-basis: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .footer__socials {
        gap: 8px;
    }

    .footer__socials a {
        width: 30px;
        height: 30px;
    }

    .footer__socials svg {
        width: 16px;
        height: 16px;
    }

    .footer__copyright {
        text-align: center;
    }
}
