:root {
    --navy-950: #061426;
    --navy-900: #071b36;
    --navy-850: #0b2448;
    --navy-800: #0f2f5c;

    --blue-700: #0d55d9;
    --blue-600: #1769ff;
    --blue-500: #2387ff;
    --cyan-500: #18c8ff;
    --cyan-400: #4edbff;

    --white: #ffffff;
    --off-white: #f7fbff;
    --surface: #f4f8fc;
    --surface-2: #eef5fb;
    --border: #d8e3ee;

    --text: #172033;
    --muted: #667085;
    --success: #1fa971;
    --warning: #f3a712;
    --danger: #dc4a4a;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 8px 24px rgba(5, 25, 54, 0.08);
    --shadow-md: 0 14px 40px rgba(5, 25, 54, 0.12);
    --shadow-lg: 0 24px 70px rgba(5, 25, 54, 0.18);

    --container: 1240px;
    --header-height: 86px;

    --gradient-primary: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
    --gradient-dark: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    --gradient-soft: linear-gradient(135deg, rgba(23, 105, 255, 0.10), rgba(24, 200, 255, 0.10));
}

/* =========================
   Reset
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 60vh;
}

/* =========================
   Layout
========================= */

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--surface);
}

.section-dark {
    color: var(--white);
    background: var(--gradient-dark);
}

.section-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.section-header h2 {
    margin: 0 0 14px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

/* =========================
   Header
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.985);
}

.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar a,
.topbar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar a {
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: var(--cyan-400);
}

.main-header {
    border-bottom: 1px solid rgba(216, 227, 238, 0.82);
}

.nav-container {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    flex-shrink: 0;
}

.brand img {
    width: 220px;
    height: auto;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    padding: 31px 0 27px;
    font-weight: 700;
    font-size: 0.93rem;
    color: #33415c;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue-600);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-link,
.account-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-900);
}

.login-link:hover,
.account-link:hover {
    color: var(--blue-600);
}

.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy-900);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Buttons
========================= */

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--gradient-primary);
    box-shadow: 0 12px 24px rgba(23, 105, 255, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 16px 34px rgba(23, 105, 255, 0.3);
}

.btn-outline {
    background: var(--white);
    border-color: #bcd4ea;
    color: var(--navy-900);
}

.btn-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}

.btn-dark {
    color: var(--white);
    background: var(--navy-900);
}

.nav-request-btn {
    white-space: nowrap;
}

/* =========================
   Generic Cards
========================= */

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(23, 105, 255, 0.28);
}

/* =========================
   Footer
========================= */

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(24, 200, 255, 0.14),
            transparent 32%
        ),
        var(--navy-950);
    color: rgba(255, 255, 255, 0.82);
    padding-top: 72px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1.1fr 0.9fr 1.2fr;
    gap: 42px;
    padding-bottom: 56px;
}

.footer-logo {
    width: 220px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
}

.footer-tagline {
    color: var(--cyan-400);
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-description {
    max-width: 380px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.66);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
    background: rgba(24, 200, 255, 0.18);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    margin: 0 0 6px;
    font-family: 'Manrope', sans-serif;
    color: var(--white);
    font-size: 1.02rem;
}

.footer-column a,
.footer-column p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.67);
}

.footer-column a {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column a:hover {
    color: var(--cyan-400);
    transform: translateX(3px);
}

.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.footer-contact i {
    margin-top: 4px;
    color: var(--cyan-400);
}

.footer-bottom {
    min-height: 68px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: var(--white);
}

/* =========================
   Floating WhatsApp
========================= */

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 950;
    min-width: 56px;
    height: 56px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    background: #25d366;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.28);
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.floating-whatsapp i {
    font-size: 1.45rem;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.36);
}

/* =========================
   Support Chat
========================= */

.support-launcher {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 960;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 18px;
    color: var(--white);
    background: var(--gradient-primary);
    box-shadow: 0 14px 32px rgba(23, 105, 255, 0.28);
    display: grid;
    place-items: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.support-launcher:hover,
.support-launcher.active {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(23, 105, 255, 0.35);
}

.support-launcher i {
    font-size: 1.35rem;
}

.support-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--danger);
    color: #ffffff;
    border: 2px solid var(--white);
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 800;
}

.support-panel {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 955;
    width: min(380px, calc(100vw - 32px));
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.98);
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
}

.support-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.support-panel-header {
    min-height: 78px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--white);
    background: var(--gradient-dark);
}

.support-panel-header strong,
.support-panel-header span {
    display: block;
}

.support-panel-header strong {
    font-size: 1rem;
}

.support-panel-header span {
    margin-top: 2px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
}

.support-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.support-panel-body {
    padding: 22px;
}

.support-welcome {
    text-align: center;
    padding: 6px 10px 22px;
}

.support-avatar {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--gradient-primary);
    font-size: 1.4rem;
}

.support-welcome h4 {
    margin: 0 0 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
}

.support-welcome p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.support-primary-action,
.support-secondary-action {
    min-height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
}

.support-primary-action {
    color: var(--white);
    background: var(--gradient-primary);
}

.support-secondary-action {
    margin-top: 10px;
    color: #1f8d4d;
    background: #effcf4;
    border: 1px solid #c8f1d7;
}

/* =========================
   Back To Top
========================= */

.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   Forms
========================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-900);
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--white);
    color: var(--text);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

textarea.form-control {
    min-height: 140px;
    padding: 14px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.10);
}

/* =========================
   Utilities
========================= */

.text-gradient {
    color: transparent;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
}

.text-muted {
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf6ff;
    color: var(--blue-700);
    font-size: 0.8rem;
    font-weight: 800;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1180px) {
    .nav-container {
        gap: 18px;
    }

    .brand img {
        width: 190px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 0.88rem;
    }

    .nav-request-btn {
        padding-inline: 16px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 76px;
    }

    .topbar {
        display: none;
    }

    .nav-container {
        position: relative;
        justify-content: space-between;
    }

    .brand img {
        width: 185px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 3;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        margin: 0;
        padding: 22px 20px 28px;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 14px 4px;
        border-bottom: 1px solid #eef3f8;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-actions .login-link,
    .nav-actions .account-link {
        display: none;
    }

    .nav-request-btn span {
        display: none;
    }

    .nav-request-btn {
        width: 46px;
        min-height: 46px;
        padding: 0;
        border-radius: 12px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .brand img {
        width: 160px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: 94px;
        width: 56px;
        min-width: 56px;
        padding: 0;
        justify-content: center;
    }

    .floating-label {
        display: none;
    }

    .support-launcher {
        right: 18px;
        bottom: 24px;
    }

    .support-panel {
        right: 16px;
        bottom: 94px;
    }

    .back-to-top {
        left: 18px;
        bottom: 24px;
    }
}

@media (max-width: 420px) {
    .brand img {
        width: 145px;
    }

    .nav-actions {
        gap: 8px;
    }

    .mobile-menu-btn,
    .nav-request-btn {
        width: 42px;
        height: 42px;
        min-height: 42px;
    }
}

.account-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.account-menu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.account-menu-chevron {
    margin-left: 3px;
    font-size: .72rem;
    transition: transform .2s ease;
}

.account-menu.open .account-menu-chevron {
    transform: rotate(180deg);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 230px;

    padding: 8px;

    border-radius: 14px;

    background: #ffffff;

    border: 1px solid #dce7f0;

    box-shadow:
        0 18px 45px rgba(5,25,54,.14);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

    transition: .2s ease;

    z-index: 1000;
}

.account-menu.open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown a {
    min-height: 44px;

    padding: 0 12px;

    display: flex;
    align-items: center;
    gap: 10px;

    border-radius: 9px;

    color: #273650;

    font-size: .82rem;
    font-weight: 700;

    text-decoration: none;
}

.account-dropdown a:hover {
    color: #1769ff;
    background: #edf6ff;
}

.account-dropdown a i {
    width: 18px;
    text-align: center;
}

.account-dropdown-divider {
    height: 1px;
    margin: 7px 4px;
    background: #edf2f7;
}

.account-dropdown .account-logout-link {
    color: #b33b3b;
}

.account-dropdown .account-logout-link:hover {
    color: #9d2f2f;
    background: #fff1f1;
}

@media (max-width: 900px) {

    .account-dropdown {
        right: 0;
    }
}

/* =========================================================
   MOBILE HEADER / ACCOUNT FIX
========================================================= */

.account-name-mobile {
    display: none;
}

.account-menu-toggle {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 11px;
    white-space: nowrap;
    transition:
        background .2s ease,
        color .2s ease;
}

.account-menu-toggle:hover {
    background: #edf6ff;
}


/* Admin link */

.account-dropdown .account-admin-link {
    color: #1769ff;
}

.account-dropdown .account-admin-link:hover {
    color: #0d55d9;
    background: #edf6ff;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 980px) {

    /*
    |--------------------------------------------------------------------------
    | Header layout
    |--------------------------------------------------------------------------
    */

    .nav-container {
        min-height: 76px;
        gap: 10px;
    }

    .brand {
        margin-right: auto;
    }

    .nav-actions {
        margin-left: 0;
        gap: 8px;
        display: flex;
        align-items: center;
    }


    /*
    |--------------------------------------------------------------------------
    | IMPORTANT:
    | Override old rule that hid login/account
    |--------------------------------------------------------------------------
    */

    .nav-actions .login-link,
    .nav-actions .account-link {
        display: inline-flex;
    }


    /*
    |--------------------------------------------------------------------------
    | Login button
    |--------------------------------------------------------------------------
    */

    .login-link {
        min-height: 44px;
        padding: 0 13px;
        gap: 7px;

        border-radius: 11px;

        color: #1769ff;
        background: #edf6ff;
        border: 1px solid #d6e8fb;

        font-size: .78rem;
        font-weight: 800;

        white-space: nowrap;
    }

    .login-link i {
        font-size: .95rem;
    }


    /*
    |--------------------------------------------------------------------------
    | Logged-in account button
    |--------------------------------------------------------------------------
    */

    .account-menu {
        position: relative;
    }

    .account-menu-toggle {
        min-height: 44px;
        padding: 0 12px;

        color: #1769ff;
        background: #edf6ff;
        border: 1px solid #d6e8fb;

        font-size: .78rem;
        font-weight: 800;
    }

    .account-name-desktop {
        display: none;
    }

    .account-name-mobile {
        display: inline;
    }


    /*
    |--------------------------------------------------------------------------
    | Account dropdown
    |--------------------------------------------------------------------------
    */

    .account-dropdown {
        position: fixed;

        top: 84px;
        right: 12px;
        left: auto;

        width: min(
            290px,
            calc(100vw - 24px)
        );

        padding: 9px;

        border-radius: 16px;

        z-index: 1200;

        box-shadow:
            0 20px 55px
            rgba(5, 25, 54, .18);
    }

    .account-dropdown a {
        min-height: 47px;
        padding: 0 13px;
        font-size: .84rem;
    }


    /*
    |--------------------------------------------------------------------------
    | Request Service button
    |--------------------------------------------------------------------------
    |
    | Hide it on mobile because Sign In / Account + hamburger are more
    | important. Request Service remains available inside the website.
    |--------------------------------------------------------------------------
    */

    .nav-request-btn {
        display: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Hamburger
    |--------------------------------------------------------------------------
    */

    .mobile-menu-btn {
        display: flex;
        order: initial;

        width: 44px;
        height: 44px;
        min-height: 44px;

        flex: 0 0 44px;
    }


    /*
    |--------------------------------------------------------------------------
    | Public navigation drawer
    |--------------------------------------------------------------------------
    */

    .main-nav {
        top: 76px;
        inset-inline: 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .container {
        width: min(
            100% - 20px,
            var(--container)
        );
    }

    .nav-container {
        gap: 7px;
    }

    .brand img {
        width: 145px;
    }

    .login-link,
    .account-menu-toggle {
        min-height: 42px;
        padding: 0 10px;
    }

    .account-menu-chevron {
        display: none;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .account-dropdown {
        top: 78px;
        right: 10px;

        width: min(
            280px,
            calc(100vw - 20px)
        );
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .brand img {
        width: 132px;
    }

    .login-link span {
        display: inline;
    }

    .login-link,
    .account-menu-toggle {
        padding-inline: 9px;
        font-size: .73rem;
    }

}