@media (max-width: 960px) {
    .site-burger {
        display: block;
    }

    .header-button {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px;
    }

    .hero-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-visual {
        width: min(100%, 540px);
        min-height: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
    }

    .service-card h3 {
        margin-top: 38px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card:nth-child(2) {
        border-right: 0;
    }

    .process-card:nth-child(3) {
        padding-left: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .advantages-accent {
        min-height: 340px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section-space {
        padding: 68px 0;
    }

    .header-container {
        min-height: 70px;
    }

    .site-nav {
        top: 70px;
    }

    .site-logo {
        font-size: 15px;
    }

    .site-logo-mark {
        width: 28px;
        height: 28px;
    }

    .hero-section {
        padding: 52px 0 36px;
    }

    .hero-section::before {
        top: -175px;
        right: -190px;
        width: 430px;
        height: 430px;
    }

    .hero-section::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(36px, 11.4vw, 48px);
        line-height: 1.07;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-points {
        display: grid;
        gap: 13px;
    }

    .hero-visual {
        min-height: 370px;
        margin-top: 4px;
    }

    .browser-card {
        top: 34px;
        width: calc(100% - 25px);
        box-shadow: 13px 15px 0 var(--black), 0 20px 35px rgba(0, 0, 0, 0.12);
    }

    .browser-content {
        padding: 17px;
    }

    .browser-lines {
        margin-top: 34px;
    }

    .browser-blocks {
        margin-top: 25px;
    }

    .browser-blocks span {
        height: 80px;
    }

    .hero-floating-card {
        bottom: 0;
        left: 0;
        width: 172px;
        padding: 14px;
    }

    .hero-floating-card strong {
        font-size: 15px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .services-heading {
        display: block;
    }

    .service-card {
        min-height: auto;
        padding: 24px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .process-card,
    .process-card:not(:first-child) {
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .process-card:last-child {
        border-bottom: 0;
    }

    .process-card h3 {
        margin-top: 25px;
    }

    .advantages-accent {
        min-height: 300px;
        padding: 30px 25px;
        border-radius: 22px;
    }

    .accent-dots {
        margin-top: 75px;
    }

    .project-preview {
        height: 245px;
    }

    .project-info {
        padding: 18px;
    }

    .contacts-section {
        padding: 68px 0;
    }

    .contacts-box {
        padding: 40px 24px;
        border-radius: 22px;
    }

    .contacts-decoration {
        right: -150px;
        bottom: -170px;
        width: 300px;
        height: 300px;
    }

    .contacts-content p {
        font-size: 15px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}