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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgb(216 228 216);
        flex-direction: column;
        padding: 24px 6vw 32px;
        gap: 0;
        border-bottom: 1px solid rgba(125, 200, 50, 0.15);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(125, 200, 50, 0.07);
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 60px;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo-wrap {
        width: 240px;
        height: 240px;
    }

    .hero-logo-wrap img {
        width: 170px;
    }

    .hero-logo-wrap::after {
        width: 220px;
        height: 220px;
    }

    .process-wrap,
    .automation-grid,
    .logo-split,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .section-inner {
        padding: 72px 6vw;
    }

    .automation-text .section-eyebrow {
        justify-content: flex-start;
    }

    .logo-split .section-eyebrow-dark {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 0 4vw;
    }

    .hero-inner {
        padding: 48px 4vw 60px;
    }

    .hero-logo-wrap {
        width: 200px;
        height: 200px;
    }

    .hero-logo-wrap img {
        width: 144px;
    }

    .hero-logo-wrap::after {
        width: 185px;
        height: 185px;
    }

    .hero-h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%;
    }

    .section-inner {
        padding: 60px 4vw;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .tech-strip {
        padding: 28px 0;
    }

    .service-card {
        padding: 28px 22px;
    }

    .process-step {
        gap: 16px;
    }

    .step-marker {
        width: 38px;
        height: 38px;
    }

    .terminal-body {
        padding: 16px;
        font-size: 0.75rem;
    }

    .contact-inner {
        gap: 40px;
    }

    .contact-left h2 {
        font-size: 1.7rem;
    }

    .footer {
        padding: 48px 4vw 28px;
    }

    .footer-top {
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .logo-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .why-item {
        padding: 28px 22px;
    }

    .process-text h2,
    .automation-text h2,
    .logo-text h2 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 380px) {
    .hero-logo-wrap {
        width: 170px;
        height: 170px;
    }

    .hero-logo-wrap img {
        width: 124px;
    }

    .hero-logo-wrap::after {
        width: 158px;
        height: 158px;
    }

    .nav-logo img {
        height: 36px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-submit {
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}