@media (max-width: 1180px) {
    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .menu {
        gap: 14px;
        font-size: 13px;
    }

    .hero-grid {
        gap: 34px;
    }

    .g4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .menu {
        display: none;
    }

    .hero {
        padding: 52px 0 42px;
    }

    .hero-grid {
        direction: rtl;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-content,
    .home-hero-content,
    .hero-media-wrap,
    .hero-media {
        grid-column: 1;
        justify-self: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .hero p {
        margin-inline: auto;
    }

    .actions,
    .hero-actions {
        justify-content: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-visual-frame,
    .hero-uploaded-media,
    .mock {
        min-height: 340px;
    }

    .hero-uploaded-media img {
        min-height: 340px;
    }

    .browser {
        transform: rotate(0);
    }

    .phone {
        width: 112px;
        height: 214px;
        left: 18px;
        bottom: 18px;
    }

    .g2,
    .g3,
    .g4,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .admin {
        grid-template-columns: 1fr;
    }

    .side {
        height: auto;
        position: relative;
        display: none;
    }

    .side.side-open {
        display: block;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .top {
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .wrap {
        width: min(100% - 22px, 1180px);
    }

    .nav {
        top: 0;
        margin-top: 0;
    }

    .navin {
        border-radius: 0 0 24px 24px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 12px;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .brand-logo-img {
        max-width: 190px;
        max-height: 64px;
    }

    .brand b,
    .brand small {
        white-space: normal;
    }

    .navin .btn {
        width: 100%;
    }

    .hero {
        padding: 42px 0 34px;
    }

    .hero h1 {
        text-align: center;
        font-size: 34px;
        letter-spacing: -.5px;
    }

    .hero p {
        text-align: center;
        font-size: 16px;
    }

    .badge {
        margin-inline: auto;
    }

    .actions .btn,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual-frame,
    .hero-uploaded-media,
    .mock {
        min-height: 280px;
    }

    .hero-uploaded-media img {
        min-height: 280px;
        padding: 10px;
    }

    .mock {
        padding: 16px;
        border-radius: 28px;
    }

    .dashboard-preview {
        grid-template-columns: 58px 1fr;
        gap: 10px;
        min-height: 210px;
    }

    .dash-side {
        padding: 10px;
        border-radius: 16px;
    }

    .dash-side div {
        height: 14px;
        margin-bottom: 10px;
    }

    .dash-cards {
        grid-template-columns: 1fr;
    }

    .dash-cards div {
        height: 34px;
    }

    .chart {
        height: 105px;
        gap: 8px;
        padding: 12px;
    }

    .phone {
        display: none;
    }

    .card {
        padding: 20px;
    }

    .st h2 {
        font-size: 29px;
    }

    .section {
        padding: 42px 0;
    }

    .home-trust {
        margin-top: 0;
        padding-bottom: 20px;
    }

    .cta-card {
        padding: 24px;
    }

    .top {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .main {
        padding: 14px;
    }

    .side {
        padding: 16px;
    }

    table {
        min-width: 760px;
    }

    .wa,
    .chat {
        width: 52px;
        height: 52px;
        bottom: 16px;
    }

    .wa {
        right: 14px;
    }

    .chat {
        left: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 31px;
    }

    .btn {
        width: 100%;
        padding-inline: 16px;
    }

    .brand-logo-img {
        max-width: 165px;
    }

    .brand-icon-img,
    .mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .hero-visual-frame,
    .hero-uploaded-media,
    .mock {
        min-height: 245px;
    }

    .hero-uploaded-media img {
        min-height: 245px;
    }

    .browser {
        padding: 12px;
        border-radius: 22px;
    }

    .dashboard-preview {
        min-height: 185px;
    }

    .card-media {
        height: 145px;
    }
}