/* =========================================================
   MATSYORA - MOBILE SUPPORT
   MATCHED TO MY ORDERS / ABOUT / CONTACT / FAQ / PRIVACY
========================================================= */

@media screen and (max-width: 768px) {

    /* ==========================================
       GLOBAL
    ========================================== */

    * {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    body {
        background: #f4f7fb;
        color: #0f172a;
        font-family: Arial, sans-serif;
        overflow-x: hidden;
    }


    /* ==========================================
       TOP HEADER
    ========================================== */

    .top-header {
        width: 100%;
        height: auto;

        padding: 12px 12px 10px;

        background: linear-gradient(
            90deg,
            #fff7ed 0%,
            #fffbeb 50%,
            #ffffff 100%
        );

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 0;

        border-bottom: 1px solid #dbeafe;

        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

        position: sticky;
        top: 0;
        z-index: 100;
    }


    /* ==========================================
       BRAND
    ========================================== */

    .brand {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 9px;

        width: fit-content;
        max-width: 100%;

        margin: 0 auto 14px;

        padding: 0;

        min-width: 0;
    }


    /* ==========================================
       LOGO
    ========================================== */

    .logo {
        width: 52px;
        height: 52px;

        margin: 0;
        padding: 0;

        flex-shrink: 0;

        display: flex;

        align-items: center;
        justify-content: center;
    }

    .logo img {
        width: 100px;
        height: 100px;

        object-fit: contain;

        display: block;

        margin: 0;
        padding: 0;

        transform: none;
    }


    /* ==========================================
       BRAND TEXT
    ========================================== */

    .brand > div:last-child {
        display: flex;

        flex-direction: column;

        align-items: flex-start;
        justify-content: center;

        min-width: 0;
    }

    .brand h2 {
        margin: 0;

        padding: 0;

        font-size: 38px;

        line-height: 0.95;

        font-weight: 800;

        letter-spacing: -1.4px;

        white-space: nowrap;

        color: #0b376d;
    }

    .brand h2 span {
        color: #ff8c00;
    }

    .brand p {
        margin: 5px 0 0;

        padding: 0;

        font-size: 12px;

        line-height: 1.2;

        font-weight: 500;

        color: #5d6b82;

        letter-spacing: 0.1px;

        white-space: nowrap;
    }


    /* ==========================================
       SEARCH AREA
    ========================================== */

    .search-area {
        display: none;
    }


    /* ==========================================
       NAVIGATION
    ========================================== */

    .nav-buttons {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;

        width: 100%;

        margin: 0;
    }

    .nav-buttons .outline-btn {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;

        min-width: 0;

        padding: 14px 8px;

        background: #ffffff;

        border: 1px solid #3b82f6;
        border-radius: 16px;

        color: #2563eb;

        font-size: 15px;
        font-weight: 700;

        text-decoration: none;

        white-space: nowrap;
    }

    .nav-buttons .outline-btn.green {
        border-color: #22c55e;

        color: #16a34a;
    }

    .nav-buttons .outline-btn.red {
        border-color: #ef4444;

        color: #dc2626;
    }


    /* ==========================================
       SUPPORT HERO
    ========================================== */

    .support-page-hero {
        position: relative;

        width: 100%;
        min-height: 0;

        padding: 46px 18px 64px;

        overflow: hidden;

        text-align: center;

        color: #ffffff;

        background:
            radial-gradient(
                circle at 15% 20%,
                rgba(83, 206, 225, 0.20),
                transparent 30%
            ),
            linear-gradient(
                135deg,
                #04376c 0%,
                #075d91 55%,
                #0796b6 100%
            );
    }

    .support-page-hero::before,
    .support-page-hero::after {
        content: "";

        position: absolute;

        border-radius: 50%;

        background: rgba(255, 255, 255, 0.06);

        pointer-events: none;
    }

    .support-page-hero::before {
        width: 180px;
        height: 180px;

        top: -75px;
        right: -55px;
    }

    .support-page-hero::after {
        width: 145px;
        height: 145px;

        bottom: -75px;
        left: -40px;
    }

    .support-page-hero-content {
        position: relative;

        z-index: 2;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;
    }

    .support-page-label {
        display: inline-block;

        margin: 0 0 15px;

        padding: 7px 15px;

        border: 1px solid rgba(255, 255, 255, 0.27);
        border-radius: 50px;

        background: rgba(255, 255, 255, 0.12);

        color: #ffffff;

        font-size: 11px;
        font-weight: 800;

        line-height: 1;

        letter-spacing: 1.3px;

        text-transform: uppercase;
    }

    .support-page-hero h1 {
        margin: 0 0 14px;

        color: #ffffff;

        font-size: 33px;
        font-weight: 800;

        line-height: 1.12;

        letter-spacing: -0.7px;
    }

    .support-page-hero p {
        width: 100%;
        max-width: 350px;

        margin: 0 auto;

        color: rgba(255, 255, 255, 0.88);

        font-size: 14.5px;

        line-height: 1.6;
    }


    /* ==========================================
       MAIN SUPPORT PAGE
    ========================================== */

    .support-page-main {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 22px 14px 38px;

        position: relative;

        z-index: 10;
    }


    /* ==========================================
       QUICK HELP GRID
    ========================================== */

    .support-help-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        width: 100%;
    }


    /* ==========================================
       QUICK HELP CARD
    ========================================== */

    .support-help-card {
        display: flex;

        flex-direction: column;

        width: 100%;

        min-height: 0;

        padding: 18px 16px;

        background: #ffffff;

        border: 1px solid #dceaf1;
        border-radius: 14px;

        box-shadow: 0 4px 15px rgba(6, 57, 112, 0.06);

        text-decoration: none;

        transition: none;
    }

    .support-help-card:hover {
        border-color: #dceaf1;

        box-shadow: 0 4px 15px rgba(6, 57, 112, 0.06);

        transform: none;
    }

    .support-help-icon {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        margin: 0 0 12px;

        border-radius: 11px;

        background: #eaf7fb;

        font-size: 21px;
    }

    .support-help-card h2 {
        margin: 0 0 7px;

        color: #06447c;

        font-size: 17px;
        font-weight: 700;

        line-height: 1.3;
    }

    .support-help-card p {
        margin: 0 0 12px;

        color: #60758a;

        font-size: 13px;

        line-height: 1.6;
    }

    .support-card-link {
        margin-top: auto;

        color: #087fa8;

        font-size: 13px;
        font-weight: 700;

        line-height: 1.4;
    }


    /* ==========================================
       SUPPORT INFORMATION WRAPPER
    ========================================== */

    .support-information {
        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;

        width: 100%;

        margin-top: 38px;
    }


    /* ==========================================
       INFO PANEL
    ========================================== */

    .support-info-panel,
    .support-contact-panel {
        width: 100%;

        padding: 21px 16px;

        background: #ffffff;

        border: 1px solid #dceaf1;
        border-radius: 15px;

        box-shadow: 0 5px 16px rgba(6, 57, 112, 0.06);
    }

    .support-section-label {
        display: inline-block;

        margin: 0 0 8px;

        color: #087fa8;

        font-size: 10.5px;
        font-weight: 800;

        letter-spacing: 1px;

        text-transform: uppercase;
    }

    .support-info-panel h2,
    .support-contact-panel h2 {
        margin: 0 0 10px;

        color: #063970;

        font-size: 23px;
        font-weight: 800;

        line-height: 1.25;
    }

    .support-intro {
        margin: 0 0 18px;

        color: #60758a;

        font-size: 13.5px;

        line-height: 1.65;
    }


    /* ==========================================
       SUPPORT TOPICS
    ========================================== */

    .support-topic {
        display: flex;

        align-items: flex-start;

        gap: 10px;

        padding: 14px 0;

        border-bottom: 1px solid #e4eef3;
    }

    .support-topic:last-child {
        border-bottom: none;

        padding-bottom: 0;
    }

    .support-topic-number {
        flex: 0 0 31px;

        width: 31px;
        height: 31px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: #eaf7fb;

        color: #063970;

        font-size: 12px;
        font-weight: 800;
    }

    .support-topic > div:last-child {
        min-width: 0;
    }

    .support-topic h3 {
        margin: 0 0 4px;

        color: #17324d;

        font-size: 14px;
        font-weight: 700;

        line-height: 1.35;
    }

    .support-topic p {
        margin: 0;

        color: #60758a;

        font-size: 12.5px;

        line-height: 1.55;
    }


    /* ==========================================
       CONTACT PANEL
    ========================================== */

    .support-contact-panel {
        background:
            linear-gradient(
                145deg,
                #063970,
                #087aa4
            );

        color: #ffffff;

        border: none;
    }

    .support-contact-panel .support-section-label {
        color: #bfeeff;
    }

    .support-contact-panel h2 {
        color: #ffffff;
    }

    .support-contact-panel .support-intro {
        color: rgba(255, 255, 255, 0.82);
    }


    /* ==========================================
       CONTACT OPTIONS
    ========================================== */

    .support-contact-option {
        display: flex;

        align-items: flex-start;

        gap: 10px;

        width: 100%;

        margin-bottom: 9px;

        padding: 12px 12px;

        border: 1px solid rgba(255, 255, 255, 0.15);

        border-radius: 10px;

        background: rgba(255, 255, 255, 0.08);
    }

    .support-contact-icon {
        flex-shrink: 0;

        font-size: 19px;

        line-height: 1.2;
    }

    .support-contact-option h3 {
        margin: 0 0 3px;

        color: #ffffff;

        font-size: 13.5px;
        font-weight: 700;

        line-height: 1.3;
    }

    .support-contact-option p {
        margin: 0;

        color: rgba(255, 255, 255, 0.76);

        font-size: 12px;

        line-height: 1.5;
    }


    /* ==========================================
       CONTACT ACTION BUTTONS
    ========================================== */

    .support-contact-actions {
        display: grid;

        grid-template-columns: 1fr;

        gap: 9px;

        width: 100%;

        margin-top: 18px;
    }

    .support-action-button {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;

        padding: 11px 14px;

        border-radius: 9px;

        text-decoration: none;

        font-size: 13px;
        font-weight: 700;

        text-align: center;

        transition: none;
    }

    .support-action-button.primary {
        background: #ffffff;

        color: #063970;
    }

    .support-action-button.secondary {
        color: #ffffff;

        border: 1px solid rgba(255, 255, 255, 0.4);

        background: transparent;
    }

    .support-action-button:hover,
    .support-action-button:active {
        transform: none;
    }


    /* ==========================================
       NOTICE
    ========================================== */

    .support-notice {
        display: flex;

        align-items: flex-start;

        gap: 10px;

        width: 100%;

        margin-top: 20px;

        padding: 15px 13px;

        border: 1px solid #f1d397;
        border-radius: 11px;

        background: #fffaf0;
    }

    .support-notice-icon {
        flex-shrink: 0;

        font-size: 19px;
    }

    .support-notice h3 {
        margin: 0 0 4px;

        color: #805400;

        font-size: 14px;
        font-weight: 700;

        line-height: 1.35;
    }

    .support-notice p {
        margin: 0;

        color: #7a6844;

        font-size: 12.5px;

        line-height: 1.55;
    }


    /* ==========================================
       FAQ BANNER
    ========================================== */

    .support-faq-banner {
        position: relative;

        overflow: hidden;

        width: 100%;

        margin-top: 38px;

        padding: 25px 16px;

        background: #e9f7fb;

        border: 1px solid #cce8f1;
        border-radius: 15px;

        text-align: center;
    }

    .support-faq-banner::after {
        right: 5px;
        top: -25px;

        font-size: 110px;
    }

    .support-faq-content {
        position: relative;

        z-index: 2;
    }

    .support-faq-banner h2 {
        margin: 0 0 9px;

        color: #063970;

        font-size: 22px;
        font-weight: 800;

        line-height: 1.3;
    }

    .support-faq-banner p {
        max-width: 350px;

        margin: 0 auto 16px;

        color: #60758a;

        font-size: 13px;

        line-height: 1.6;
    }

    .support-faq-button {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        min-width: 150px;

        padding: 11px 18px;

        border-radius: 9px;

        background: #063970;

        color: #ffffff;

        text-decoration: none;

        font-size: 13px;
        font-weight: 700;

        transition: none;
    }

    .support-faq-button:hover,
    .support-faq-button:active {
        background: #063970;

        transform: none;
    }


    /* ==========================================
       FOOTER
    ========================================== */

    .support-page-footer {
        width: 100%;

        padding: 18px 14px;

        background: #022747;

        color: rgba(255, 255, 255, 0.72);

        text-align: center;

        font-size: 11.5px;

        line-height: 1.5;
    }

    .support-page-footer p {
        margin: 0;
    }

    .support-page-footer strong {
        color: #ffffff;
    }


    /* ==========================================
       SMALL PHONES
    ========================================== */

    @media (max-width: 390px) {

        .top-header {
            padding-left: 10px;
            padding-right: 10px;
        }

        .brand {
            gap: 7px;

            margin-bottom: 12px;
        }

        .logo {
            width: 48px;
            height: 48px;
        }

        .logo img {
            width: 92px;
            height: 92px;
        }

        .brand h2 {
            font-size: 34px;
        }

        .brand p {
            font-size: 11px;
        }

        .nav-buttons {
            gap: 8px;
        }

        .nav-buttons .outline-btn {
            padding: 12px 6px;

            font-size: 14px;
        }

        .support-page-hero {
            padding: 40px 14px 58px;
        }

        .support-page-hero h1 {
            font-size: 30px;
        }

        .support-page-hero p {
            font-size: 14px;
        }

        .support-page-main {
            padding-left: 10px;
            padding-right: 10px;
        }

        .support-help-card {
            padding: 16px 14px;
        }

        .support-info-panel,
        .support-contact-panel {
            padding: 19px 14px;
        }

        .support-info-panel h2,
        .support-contact-panel h2 {
            font-size: 21px;
        }

        .support-topic {
            gap: 8px;
        }

        .support-topic-number {
            flex-basis: 29px;

            width: 29px;
            height: 29px;
        }

        .support-notice {
            padding: 13px 11px;
        }

        .support-faq-banner {
            padding: 22px 14px;
        }

        .support-faq-banner h2 {
            font-size: 20px;
        }
    }
}