/* =========================================================
   LARGE TABLETS
   ========================================================= */

@media (max-width: 1100px) {

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding:
            0.65rem
            0.5rem;

        font-size: 0.76rem;
    }

    .grid-4 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .topbar-left {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .nav-menu,
    .nav-action {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .grid-3 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .section {
        padding-top: var(--space-12);
        padding-bottom: var(--space-12);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    :root {
        --container-padding: 1rem;

        --navbar-height: 68px;
    }


    .topbar-right {
        gap: 0.5rem;
    }


    .topbar-item {
        font-size: 0.68rem;
    }


    .brand-logo {
        width: 46px;
        height: 46px;
    }


    .brand-name {
        font-size: 0.82rem;
    }


    .brand-subtitle {
        font-size: 0.58rem;
    }


    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns:
            1fr;
    }


    .section {
        padding-top: var(--space-10);
        padding-bottom: var(--space-10);
    }


    .btn {
        width: 100%;
    }
}