/* Mobile Menu CSS - Adaptive Design */

/* Hide desktop menu on mobile devices */
@media (max-width: 800px) {
    .centered-mini-menu {
        display: none !important;
    }
}

/* Base styles - hidden by default */
.mobile-menu-container {
    display: none;
}

/* Show mobile menu only on mobile devices */
@media (max-width: 800px) {
    .mobile-menu-container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    /* Close menu - 320px to 420px */
    .mobile-menu-closed {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 20px;
        position: relative;
        width: 100%;
        height: 96px;
    }

    .mobile-menu-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        width: 100%;
        height: 64px;
        background: rgba(255, 255, 255, 0.88);
        background: color(display-p3 1.000 1.000 1.000 / 0.88);
        backdrop-filter: blur(6px);
        border-radius: 32px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        transition: box-shadow 0.3s ease, background 0.3s ease;
    }

    .mobile-menu-header.scrolled {
        box-shadow: 0px 5px 24px rgba(50, 50, 71, 0.08);
        background: rgba(255, 255, 255, 0.95);
        background: color(display-p3 1.000 1.000 1.000 / 0.95);
    }

    .mobile-menu-logo {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px 16px;
        gap: 2px;
        isolation: isolate;
        width: 89.26px;
        height: 48px;
        backdrop-filter: blur(4px);
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .mobile-menu-logo img {
        width: 57.26px;
        height: 16px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px;
        gap: 2px;
        isolation: isolate;
        width: 48px;
        height: 48px;
        backdrop-filter: blur(4px);
        border-radius: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    /* Open menu state - hidden by default */
    .mobile-menu-open {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        background: color(display-p3 1.000 1.000 1.000);
        z-index: 1001;
    }

    .mobile-menu-open.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 20px;
        position: relative;
        width: 100%;
        height: 100vh;
    }

    .mobile-menu-header-open {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        width: 100%;
        height: 64px;
        background: rgba(255, 255, 255, 0.88);
        background: color(display-p3 1.000 1.000 1.000 / 0.88);
        backdrop-filter: blur(6px);
        border-radius: 32px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    .mobile-menu-logo-open {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px 16px 2px 0px;
        gap: 2px;
        isolation: isolate;
        width: 89.26px;
        height: 48px;
        backdrop-filter: blur(4px);
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .mobile-menu-logo-open img {
        width: 57.26px;
        height: 16px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-close {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px;
        gap: 2px;
        isolation: isolate;
        width: 48px;
        height: 48px;
        backdrop-filter: blur(4px);
        border-radius: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-close svg {
        width: 24px;
        height: 24px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    /* All dropdowns */
    .mobile-menu-dropdowns {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0px 0px 8px;
        gap: 24px;
        width: 100%;
        height: 480px;
        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Menu sections */
    .mobile-menu-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0px;
        gap: 8px;
        width: 100%;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Section labels */
    .mobile-menu-section-label {
        width: 100%;
        height: 13px;
        font-family: 'Inter';
        letter-spacing: 0.02em;
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 132%;
        display: flex;
        align-items: center;
        color: #C4C4C4;
        color: color(display-p3 0.769 0.769 0.769);
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Section items container */
    .mobile-menu-section-items {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
        gap: 12px;
        width: 100%;
        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Menu items */
    .mobile-menu-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        gap: 10px;
        width: 100%;
        height: 19px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        cursor: pointer;
    }

    /* Menu item text */
    .mobile-menu-item-text {
        margin: 0 auto;
        width: 264px;
        height: 19px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        display: flex;
        align-items: center;
        color: #1A1A1A;
        color: color(display-p3 0.102 0.102 0.102);
        flex: none;
        order: 0;
        flex-grow: 1;
    }

    /* Arrow right */
    .mobile-menu-arrow {
        margin: 0 auto;
        width: 16px;
        height: 16px;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* Medium mobile - 421px to 768px */
@media (min-width: 421px) and (max-width: 599px) {
    .mobile-menu-container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .mobile-menu-closed {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 24px;
        position: relative;
        width: 100%;
        height: 120px;
    }

    .mobile-menu-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        width: 100%;
        height: 80px;
        background: rgba(255, 255, 255, 0.88);
        background: color(display-p3 1.000 1.000 1.000 / 0.88);
        backdrop-filter: blur(6px);
        border-radius: 40px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        transition: box-shadow 0.3s ease, background 0.3s ease;
    }

    .mobile-menu-header.scrolled {
        box-shadow: 0px 5px 24px rgba(50, 50, 71, 0.08);
        background: rgba(255, 255, 255, 0.95);
        background: color(display-p3 1.000 1.000 1.000 / 0.95);
    }

    .mobile-menu-logo {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 3px 20px;
        gap: 3px;
        isolation: isolate;
        width: 105px;
        height: 56px;
        backdrop-filter: blur(4px);
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .mobile-menu-logo img {
        width: 65px;
        height: 18px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 3px;
        gap: 3px;
        isolation: isolate;
        width: 56px;
        height: 56px;
        backdrop-filter: blur(4px);
        border-radius: 36px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-toggle svg {
        width: 28px;
        height: 28px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-open {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        background: color(display-p3 1.000 1.000 1.000);
        z-index: 1001;
    }

    .mobile-menu-open.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 24px;
        position: relative;
        width: 100%;
        height: 100vh;
    }

    .mobile-menu-header-open {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        width: 100%;
        height: 80px;
        background: rgba(255, 255, 255, 0.88);
        background: color(display-p3 1.000 1.000 1.000 / 0.88);
        backdrop-filter: blur(6px);
        border-radius: 40px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    .mobile-menu-logo-open {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 3px 20px 3px 0px;
        gap: 3px;
        isolation: isolate;
        width: 85px;
        height: 56px;
        backdrop-filter: blur(4px);
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .mobile-menu-logo-open img {
        width: 65px;
        height: 18px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-close {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 3px;
        gap: 3px;
        isolation: isolate;
        width: 56px;
        height: 56px;
        backdrop-filter: blur(4px);
        border-radius: 36px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-close svg {
        width: 28px;
        height: 28px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    /* All dropdowns */
    .mobile-menu-dropdowns {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0px 0px 12px;
        gap: 32px;
        width: 100%;
        max-width: 400px;
        flex: 1;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Menu sections */
    .mobile-menu-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0px;
        gap: 12px;
        width: 100%;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Section labels */
    .mobile-menu-section-label {
        width: 100%;
        height: 16px;
        font-family: 'Inter';
        letter-spacing: 0.02em;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 132%;
        display: flex;
        align-items: center;
        color: #C4C4C4;
        color: color(display-p3 0.769 0.769 0.769);
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Section items container */
    .mobile-menu-section-items {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
        gap: 14px;
        width: 100%;
        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Menu items */
    .mobile-menu-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        gap: 12px;
        width: 100%;
        height: 24px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        cursor: pointer;
    }

    /* Menu item text */
    .mobile-menu-item-text {
        margin: 0 auto;
        width: calc(100% - 32px);
        height: 24px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
        display: flex;
        align-items: center;
        color: #1A1A1A;
        color: color(display-p3 0.102 0.102 0.102);
        flex: none;
        order: 0;
        flex-grow: 1;
    }

    /* Arrow right */
    .mobile-menu-arrow {
        margin: 0 auto;
        width: 20px;
        height: 20px;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* iPad - 600px to 800px */
@media (min-width: 600px) and (max-width: 1023px) {
    .mobile-menu-container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .mobile-menu-closed {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px;
        gap: 20px;
        position: relative;
        width: 100%;
        height: 96px;
    }

    .mobile-menu-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        width: 100%;
        height: 64px;
        background: rgba(255, 255, 255, 0.88);
        background: color(display-p3 1.000 1.000 1.000 / 0.88);
        backdrop-filter: blur(6px);
        border-radius: 32px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        transition: box-shadow 0.3s ease, background 0.3s ease;
    }

    .mobile-menu-header.scrolled {
        box-shadow: 0px 5px 24px rgba(50, 50, 71, 0.08);
        background: rgba(255, 255, 255, 0.95);
        background: color(display-p3 1.000 1.000 1.000 / 0.95);
    }

    .mobile-menu-logo {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px 16px;
        gap: 2px;
        isolation: isolate;
        width: 89.26px;
        height: 48px;
        backdrop-filter: blur(4px);
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .mobile-menu-logo img {
        width: 57.26px;
        height: 16px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px;
        gap: 2px;
        isolation: isolate;
        width: 48px;
        height: 48px;
        backdrop-filter: blur(4px);
        border-radius: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-open {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        background: color(display-p3 1.000 1.000 1.000);
        z-index: 1001;
    }

    .mobile-menu-open.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px;
        gap: 20px;
        position: relative;
        width: 100%;
        height: 100vh;
    }

    .mobile-menu-header-open {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        width: 100%;
        height: 64px;
        background: rgba(255, 255, 255, 0.88);
        background: color(display-p3 1.000 1.000 1.000 / 0.88);
        backdrop-filter: blur(6px);
        border-radius: 32px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    .mobile-menu-logo-open {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px 16px 2px 0px;
        gap: 2px;
        isolation: isolate;
        width: 89.26px;
        height: 48px;
        backdrop-filter: blur(4px);
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .mobile-menu-logo-open img {
        width: 57.26px;
        height: 16px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    .mobile-menu-close {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 2px;
        gap: 2px;
        isolation: isolate;
        width: 48px;
        height: 48px;
        backdrop-filter: blur(4px);
        border-radius: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-close svg {
        width: 24px;
        height: 24px;
        flex: none;
        order: 0;
        flex-grow: 0;
        z-index: 0;
    }

    /* All dropdowns */
    .mobile-menu-dropdowns {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0px 0px 8px;
        gap: 32px;
        width: 100%;
        height: 568px;
        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Menu sections */
    .mobile-menu-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px;
        gap: 8px;
        width: 100%;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Section labels */
    .mobile-menu-section-label {
        width: 100%;
        height: 18px;
        font-family: 'Inter';
        letter-spacing: 0.02em;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 132%;
        display: flex;
        align-items: center;
        color: #C4C4C4;
        color: color(display-p3 0.769 0.769 0.769);
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Section items container */
    .mobile-menu-section-items {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
        gap: 10px;
        width: 100%;
        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    /* Menu items */
    .mobile-menu-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        gap: 10px;
        width: 100%;
        height: 24px;
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        cursor: pointer;
    }

    /* Menu item text */
    .mobile-menu-item-text {
        margin: 0 auto;
        width: calc(100% - 26px);
        height: 24px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
        display: flex;
        align-items: center;
        color: #1A1A1A;
        color: color(display-p3 0.102 0.102 0.102);
        flex: none;
        order: 0;
        flex-grow: 1;
    }

    /* Arrow right */
    .mobile-menu-arrow {
        margin: 0 auto;
        width: 16px;
        height: 16px;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .mobile-menu-arrow svg {
        width: 16px;
        height: 16px;
    }
}