/* =========================================================
   MATSYORA - MOBILE CONTACT
   MATCHED TO INDEX / MY ORDERS / ABOUT MOBILE HEADER
========================================================= */

@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
       SAME STANDARD AS MY ORDERS / ABOUT
    ========================================== */

    .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
    ========================================== */

    .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.profile {
        border-color: #6366f1;

        color: #4f46e5;
    }

    .nav-buttons .outline-btn.red {
        border-color: #ef4444;

        color: #dc2626;
    }


    /* ==========================================
       CONTACT HERO
    ========================================== */

    .contact-hero {
        position: relative;

        width: 100%;

        overflow: hidden;

        padding: 48px 18px 50px;

        color: #ffffff;

        background:
            radial-gradient(
                circle at top right,
                rgba(255, 255, 255, 0.13),
                transparent 34%
            ),
            linear-gradient(
                135deg,
                #075764 0%,
                #11808c 55%,
                #43a6ae 100%
            );
    }

    .contact-hero::before,
    .contact-hero::after {
        content: "";

        position: absolute;

        border-radius: 50%;

        background: rgba(255, 255, 255, 0.07);
    }

    .contact-hero::before {
        width: 180px;
        height: 180px;

        top: -90px;
        left: -70px;
    }

    .contact-hero::after {
        width: 220px;
        height: 220px;

        right: -110px;
        bottom: -130px;
    }

    .contact-hero-content {
        position: relative;

        z-index: 2;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        text-align: center;
    }

    .contact-hero-label {
        display: inline-block;

        margin: 0 0 16px;

        padding: 7px 15px;

        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 50px;

        background: rgba(255, 255, 255, 0.10);

        color: #ffffff;

        font-size: 11px;
        font-weight: 800;

        line-height: 1;

        letter-spacing: 1.5px;

        text-transform: uppercase;
    }

    .contact-hero h1 {
        margin: 0 0 15px;

        color: #ffffff;

        font-size: 36px;
        font-weight: 800;

        line-height: 1.1;

        letter-spacing: -0.7px;
    }

    .contact-hero p {
        width: 100%;
        max-width: 355px;

        margin: 0 auto;

        color: rgba(255, 255, 255, 0.92);

        font-size: 15px;

        line-height: 1.65;
    }


    /* ==========================================
       CONTACT PAGE CONTAINER
    ========================================== */

    .contact-container {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 26px 14px 38px;
    }


    /* ==========================================
       CONTACT HEADING
    ========================================== */

    .contact-heading {
        width: 100%;
        max-width: 100%;

        margin: 0 auto 23px;

        padding: 0 3px;

        text-align: center;
    }

    .contact-heading span {
        display: block;

        margin: 0 0 7px;

        color: #0097a7;

        font-size: 11px;
        font-weight: 800;

        line-height: 1.3;

        letter-spacing: 1.4px;

        text-transform: uppercase;
    }

    .contact-heading h2 {
        margin: 0 0 10px;

        color: #073b44;

        font-size: 26px;
        font-weight: 800;

        line-height: 1.25;
    }

    .contact-heading p {
        width: 100%;
        max-width: 350px;

        margin: 0 auto;

        color: #6c7f83;

        font-size: 13.5px;

        line-height: 1.6;
    }


    /* ==========================================
       CONTACT GRID
    ========================================== */

    .contact-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        width: 100%;

        margin-bottom: 44px;
    }


    /* ==========================================
       CONTACT CARD
    ========================================== */

    .contact-card {
        width: 100%;

        min-height: 0;

        margin: 0;

        padding: 19px 17px;

        background: #ffffff;

        border: 1px solid #e2e8f0;
        border-radius: 14px;

        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);

        text-align: left;

        transition: none;
    }

    .contact-card:hover {
        transform: none;

        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    }


    /* ==========================================
       CONTACT ICON
    ========================================== */

    .contact-icon {
        width: 44px;
        height: 44px;

        display: flex;

        align-items: center;
        justify-content: center;

        margin: 0 0 12px;

        border-radius: 11px;

        background: linear-gradient(
            135deg,
            #e2f8fa,
            #c9f0f3
        );

        font-size: 21px;
    }


    /* ==========================================
       CONTACT CARD TEXT
    ========================================== */

    .contact-card h3 {
        margin: 0 0 7px;

        color: #073b44;

        font-size: 17px;
        font-weight: 700;

        line-height: 1.3;
    }

    .contact-card p {
        margin: 0 0 10px;

        color: #6c7f83;

        font-size: 13px;

        line-height: 1.6;
    }

    .contact-card a,
    .contact-card .contact-value {
        display: inline-block;

        color: #006b78;

        font-size: 13.5px;
        font-weight: 700;

        line-height: 1.4;

        word-break: break-word;
    }


    /* ==========================================
       SUPPORT SECTION
    ========================================== */

    .support-section {
        display: grid;

        grid-template-columns: 1fr;

        gap: 16px;

        width: 100%;

        margin-bottom: 43px;
    }


    /* ==========================================
       SUPPORT INFORMATION
    ========================================== */

    .support-information {
        width: 100%;

        padding: 24px 18px;

        color: #ffffff;

        border-radius: 17px;

        background:
            radial-gradient(
                circle at bottom right,
                rgba(255, 255, 255, 0.10),
                transparent 35%
            ),
            linear-gradient(
                145deg,
                #075f69,
                #07909c
            );

        box-shadow: 0 8px 22px rgba(7, 59, 68, 0.11);
    }

    .support-information h2 {
        margin: 0 0 10px;

        color: #ffffff;

        font-size: 25px;
        font-weight: 800;

        line-height: 1.25;
    }

    .support-information > p {
        margin: 0 0 18px;

        color: rgba(255, 255, 255, 0.82);

        font-size: 13.5px;

        line-height: 1.6;
    }


    /* ==========================================
       SUPPORT LIST
    ========================================== */

    .support-list {
        display: grid;

        gap: 9px;

        width: 100%;
    }

    .support-item {
        display: flex;

        align-items: flex-start;

        gap: 9px;

        width: 100%;

        padding: 12px 13px;

        background: rgba(255, 255, 255, 0.09);

        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 9px;

        color: #ffffff;

        font-size: 13px;

        line-height: 1.45;
    }

    .support-check {
        flex-shrink: 0;

        color: #7df2d5;

        font-size: 17px;
        font-weight: 900;

        line-height: 1.3;
    }


    /* ==========================================
       SUPPORT MESSAGE
    ========================================== */

    .support-message {
        width: 100%;

        padding: 24px 18px;

        background: #ffffff;

        border: 1px solid #d9ecef;
        border-radius: 17px;

        box-shadow: 0 6px 20px rgba(7, 59, 68, 0.07);
    }

    .support-message h2 {
        margin: 0 0 10px;

        color: #073b44;

        font-size: 25px;
        font-weight: 800;

        line-height: 1.25;
    }

    .support-message > p {
        margin: 0 0 18px;

        color: #6c7f83;

        font-size: 13.5px;

        line-height: 1.6;
    }


    /* ==========================================
       MESSAGE BUTTONS
    ========================================== */

    .message-buttons {
        display: grid;

        grid-template-columns: 1fr;

        gap: 10px;

        width: 100%;
    }

    .message-button {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 7px;

        width: 100%;

        padding: 12px 14px;

        border-radius: 9px;

        font-size: 13.5px;
        font-weight: 700;

        line-height: 1.3;

        text-align: center;

        transition: none;
    }

    .email-button {
        color: #ffffff;

        background: #006b78;
    }

    .email-button:hover,
    .email-button:active {
        color: #ffffff;

        background: #006b78;

        transform: none;
    }

    .call-button {
        color: #006b78;

        background: #eefbfc;

        border: 1px solid #006b78;
    }

    .call-button:hover,
    .call-button:active {
        color: #006b78;

        background: #eefbfc;

        transform: none;
    }


    /* ==========================================
       RESPONSE NOTE
    ========================================== */

    .response-note {
        width: 100%;

        margin: 16px 0 0;

        padding: 12px 13px;

        color: #073b44;

        background: #f0fbfc;

        border-left: 4px solid #0097a7;
        border-radius: 8px;

        font-size: 12.5px;

        line-height: 1.55;
    }


    /* ==========================================
       SERVICE NOTE
    ========================================== */

    .service-note {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 22px 17px;

        background: #ffffff;

        border: 1px solid #d9ecef;
        border-radius: 15px;

        box-shadow: 0 5px 16px rgba(7, 59, 68, 0.06);

        text-align: center;
    }

    .service-note h2 {
        margin: 0 0 10px;

        color: #073b44;

        font-size: 23px;
        font-weight: 800;

        line-height: 1.25;
    }

    .service-note p {
        margin: 0;

        color: #6c7f83;

        font-size: 13.5px;

        line-height: 1.65;
    }

    .service-note strong {
        color: #006b78;
    }


    /* ==========================================
       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;
        }

        .contact-hero {
            padding: 42px 14px 45px;
        }

        .contact-hero h1 {
            font-size: 32px;
        }

        .contact-hero p {
            font-size: 14px;
        }

        .contact-container {
            padding-left: 10px;
            padding-right: 10px;
        }

        .contact-heading h2 {
            font-size: 24px;
        }

        .contact-card {
            padding: 17px 15px;
        }

        .support-information,
        .support-message {
            padding: 21px 15px;
        }

        .support-information h2,
        .support-message h2 {
            font-size: 23px;
        }

        .service-note {
            padding: 20px 15px;
        }

        .service-note h2 {
            font-size: 21px;
        }
    }
}