@media (max-width: 1120px) {
    .site-nav {
        display: none;
    }

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

    .hero__content {
        max-width: 760px;
    }

    .hero__visual {
        width: min(100%, 820px);
        margin-inline: auto;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 70px;
    }

    .site-header__brand img {
        width: 168px;
    }

    .site-header__actions {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 16px;
        left: 16px;
        display: grid;
        gap: 0;
        padding: 14px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 18px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition:
            transform 180ms ease,
            opacity 180ms ease,
            visibility 180ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav a {
        padding: 13px 12px;
        border-bottom: 1px solid var(--color-border);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 58px);
    }

    .hero h1 {
        font-size: clamp(43px, 12vw, 62px);
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero__visual {
        min-height: 470px;
    }

    .hero-dashboard {
        top: 40px;
        width: 100%;
        transform: none;
    }

    .hero-phone {
        right: 20px;
        width: 145px;
    }

    .hero-card--location {
        top: 10px;
        left: 6px;
    }

    .hero-card--status {
        right: auto;
        bottom: 24px;
        left: 10px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero {
        padding-bottom: 60px;
    }

    .hero__actions {
        display: grid;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__trust {
        display: grid;
        gap: 12px;
    }

    .hero__visual {
        min-height: 360px;
        margin-top: 10px;
    }

    .hero-phone {
        right: 8px;
        width: 112px;
    }

    .hero-card {
        min-width: 0;
        max-width: 190px;
        padding: 10px 12px;
    }

    .hero-card--location {
        display: none;
    }

    .hero-card--status {
        bottom: 8px;
    }
}
