@media (max-width: 1120px) {
    .navbar {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .nav-panel,
    .nav-actions {
        display: none;
    }

    .menu-open .nav-panel,
    .menu-open .nav-actions {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        width: 100%;
    }

    .menu-open .nav-panel {
        gap: 4px;
        padding-top: 10px;
    }

    .menu-open .nav-panel a,
    .menu-open .nav-actions a {
        width: 100%;
    }

    .menu-open .nav-actions {
        gap: 10px;
    }

    .hero-content,
    .process-inner,
    .contact-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-bg {
        inset: 96px 16px 24px;
    }

    .hero-content {
        padding-top: 34px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-image img {
        min-height: 400px;
    }

    .metric-strip,
    .client-marquee {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-grid,
    .why-section {
        grid-template-columns: 1fr;
    }

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

    .services-showcase,
    .services-showcase img {
        min-height: 400px;
        max-height: 480px;
    }

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

    .services-section .section-heading.centered {
        width: min(calc(100% - 48px), 900px);
    }

    .services-section .section-heading h2 {
        white-space: normal;
    }

    .service-card,
    .service-featured {
        grid-column: auto;
    }

    .process-heading {
        margin-bottom: 6px;
    }

    .process-visual,
    .process-visual img {
        min-height: 430px;
    }
}

@media (max-width: 760px) {
    .navbar {
        top: 10px;
        width: min(calc(100% - 20px), 1240px);
        min-height: 68px;
        border-radius: 20px;
    }

    .brand img {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

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

    .brand small {
        font-size: 0.7rem;
    }

    .hero {
        padding: 108px 0 48px;
    }

    .hero-bg {
        inset: 84px 10px 12px;
        border-radius: 28px;
    }

    .hero-content {
        width: min(calc(100% - 26px), var(--max));
    }

    h1 {
        font-size: clamp(2.7rem, 12vw, 3.9rem);
        line-height: 0.98;
    }

    .hero-actions,
    .footer-bottom {
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 380px;
    }

    .hero-image {
        inset: 40px 0 0;
        border-radius: 24px;
        transform: rotate(0deg);
    }

    .hero-image img {
        min-height: 340px;
    }

    .floating-card {
        width: min(230px, 78vw);
        padding: 15px;
    }

    .floating-card-top {
        right: 10px;
    }

    .floating-card-bottom {
        left: 10px;
        bottom: 8px;
    }

    .metric-strip,
    .client-marquee,
    .testimonial-grid,
    .value-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .metrics-section {
        margin-top: 0;
        padding-top: 22px;
    }

    .section,
    .process-section,
    .contact-section {
        padding: 72px 0;
    }

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

    .service-card,
    .service-featured {
        grid-column: auto;
        min-height: auto;
    }

    .timeline-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .timeline-item span {
        width: 50px;
        height: 50px;
        border-radius: 15px;
    }

    .timeline-item h3 {
        font-size: 1rem;
    }

    .timeline-item p {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .process-visual,
    .process-visual img {
        min-height: 340px;
    }

    .why-visual,
    .why-visual img {
        min-height: 390px;
    }

    .impact-bg {
        background-attachment: scroll;
    }

    .impact-section {
        min-height: 420px;
    }

    .footer-grid {
        gap: 18px;
    }
}

@media (max-width: 420px) {
    .brand small {
        display: none;
    }

    .btn-large {
        padding-inline: 16px;
    }

    .section-heading h2,
    .why-copy h2,
    .contact-card h2,
    .impact-content h2 {
        font-size: clamp(2rem, 12vw, 3rem);
    }
}