@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    .hero-left {
        max-width: 760px;
    }
    .hero-right {
        justify-self: start;
        max-width: 760px;
    }
    .home-services-grid,
    .service-accordion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-accordion-card.is-open {
        grid-column: span 2;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
     :root {
        --header-height: 72px;
    }
    .site-logo {
        width: 132px;
    }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        background: rgba(0, 0, 0, 0.96);
        border: 1px solid rgba(183, 255, 0, 0.28);
        border-radius: var(--radius-md);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 22px rgba(183, 255, 0, 0.16);
    }
    .main-nav.is-open {
        display: flex;
    }
    .main-nav a {
        padding: 14px;
        border-radius: var(--radius-sm);
    }
    .main-nav a::before,
    .main-nav a::after {
        display: none;
    }
    .main-nav a:hover,
    .main-nav a.is-active {
        background: rgba(183, 255, 0, 0.09);
    }
    .hero {
        min-height: auto;
        background-position: center;
    }
    .hero-inner {
        padding-block: 58px;
    }
    .hero-main-logo {
        width: min(100%, 330px);
    }
    .hero-callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .hero-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-highlight-item:nth-child(5) {
        grid-column: span 2;
    }
    .hero-right {
        padding: 24px;
    }
    .hero h1 {
        font-size: clamp(2.25rem, 11vw, 4rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .home-services-grid,
    .service-accordion-grid {
        grid-template-columns: 1fr;
    }
    .service-accordion-card.is-open {
        grid-column: span 1;
    }
    .home-service-card {
        min-height: 300px;
    }
    .home-service-content {
        transform: translateY(0);
    }
    .home-service-reveal {
        opacity: 1;
        transform: translateY(0);
    }
    .services-title-row {
        gap: 12px;
    }
    .green-lines {
        width: 68px;
    }
    .green-lines::before {
        width: 58px;
    }
    .green-lines::after {
        width: 36px;
    }
    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, var(--container-width));
    }
    .hero-main-logo {
        width: min(100%, 260px);
    }
    .hero-highlights {
        grid-template-columns: 1fr;
    }
    .hero-highlight-item:nth-child(5) {
        grid-column: auto;
    }
    .hero-highlight-item {
        min-height: auto;
        grid-template-columns: 42px 1fr;
        justify-items: start;
        text-align: left;
        align-items: center;
    }
    .hero-highlight-item:not(:last-child)::after {
        display: none;
    }
    .services-title-row {
        flex-direction: column;
    }
    .green-lines:last-child {
        display: none;
    }
    .contact-card {
        align-items: flex-start;
    }
}