@media (max-width: 1080px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading-inline {
        align-items: start;
        flex-direction: column;
    }

    .services-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .work-slide {
        grid-template-columns: 1fr;
    }

    .work-slide-copy {
        padding: 0.5rem 0 0;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-block;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 1rem;
        right: 1rem;

        display: grid;
        gap: 0.3rem;

        padding: 1rem;
        border-radius: 24px;
        border: 1px solid var(--line);

        background: rgba(6, 17, 28, 0.96);

        transform: scale(0.98);
        transform-origin: top;
        opacity: 0;
        pointer-events: none;

        transition: opacity 180ms ease, transform 180ms ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }

    .hero {
        padding-top: 1rem;
    }

    .hero-slider {
        min-height: 540px;
        border-radius: 24px;
    }

    .hero-overlay {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.2rem;
        top: auto;
        width: auto;
    }

    .hero-overlay h1 {
        max-width: 12ch;
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .hero-text {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .hero-actions .button {
        min-height: 48px;
    }

    .services-slider {
        grid-template-columns: 34px 1fr 34px;
        gap: 0.6rem;
    }

    .services-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-feature-card {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }

    .work-slide-copy h3 {
        max-width: 100%;
        font-size: clamp(1.35rem, 5vw, 2rem);
    }

    .clients-track {
        gap: 2rem;
    }

    .footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 680px) {
    .hero-overlay {
        left: 1rem;
        right: 1rem;
        top: 2rem;
        bottom: auto;
        width: auto;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 1.2rem, 100%);
    }

    .header-inner {
        min-height: 74px;
    }

    .brand {
        gap: 0.65rem;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .brand-copy strong {
        font-size: 0.95rem;
    }

    .brand-copy span {
        font-size: 0.78rem;
    }

    .section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .section-heading h2,
    .section-heading h3 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .hero-slider {
        min-height: 560px;
        border-radius: 20px;
    }

    .hero-overlay {
        left: 1rem;
        right: 1rem;
        top: 2rem;
        bottom: auto;
        width: auto;
    }

    .hero-overlay h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .metrics {
        margin-top: 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .metrics article {
        padding: 0.7rem;
    }

    .services-slider {
        grid-template-columns: 32px 1fr 32px;
        gap: 0.5rem;
    }

    .services-track {
        grid-template-columns: 1fr;
    }

    .services-arrow {
        width: 32px;
        height: 32px;
    }

    .service-feature-card {
        height: 190px;
        min-height: 190px;
        max-height: 190px;
    }

    .leadership-image {
        max-width: 100%;
    }

    .leadership-content p {
        font-size: 0.95rem;
    }

    .work-slide {
        padding: 0.7rem;
        border-radius: 22px;
    }

    .work-slide-image,
    .work-gallery {
        min-height: 220px;
        height: 220px;
    }

    .work-slide-copy {
        padding: 0.4rem 0 0;
    }

    .work-slide-copy p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .work-controls {
        margin-top: 1rem;
    }

    .clients-marquee {
        height: 64px;
    }

    .clients-track {
        height: 64px;
        gap: 1.8rem;
    }

    .clients-track img {
        height: 38px;
        width: auto;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        gap: 0.5rem;
        font-size: 0.88rem;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 420px) {
    .hero-slider {
        min-height: 540px;
    }

    .hero-overlay h1 {
        font-size: 2.1rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .service-feature-card {
        height: 175px;
        min-height: 175px;
        max-height: 175px;
    }

    .work-slide-image,
    .work-gallery {
        min-height: 200px;
        height: 200px;
    }
}

@media (max-width: 560px) {

    .hero-slide--partnership img {
        object-position: 75% center;
    }

    .metrics {
        margin-top: 1rem;
    }

}