/* =========================================================
   MATSYORA - MOBILE ABOUT US
   MATCHED TO INDEX / MY ORDERS 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
    ========================================== */

    .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
       SAME 2-COLUMN STYLE AS MY ORDERS
    ========================================== */

    .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;
    }


    /* ==========================================
       HERO SECTION
    ========================================== */

    .hero-section {
        position: relative;

        width: 100%;

        overflow: hidden;

        padding: 48px 18px 50px;

        background:
            radial-gradient(
                circle at top right,
                rgba(255, 255, 255, 0.13),
                transparent 34%
            ),
            linear-gradient(
                135deg,
                #075764 0%,
                #11808c 55%,
                #43a6ae 100%
            );

        color: #ffffff;
    }

    .hero-section::before,
    .hero-section::after {
        content: "";

        position: absolute;

        border-radius: 50%;

        background: rgba(255, 255, 255, 0.07);
    }

    .hero-section::before {
        width: 180px;
        height: 180px;

        top: -90px;
        left: -70px;
    }

    .hero-section::after {
        width: 220px;
        height: 220px;

        right: -110px;
        bottom: -130px;
    }

    .hero-content {
        position: relative;

        z-index: 2;

        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        text-align: center;
    }

    .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;
    }

    .hero-content h1 {
        margin: 0 0 15px;

        color: #ffffff;

        font-size: 36px;
        font-weight: 800;

        line-height: 1.1;

        letter-spacing: -0.7px;
    }

    .hero-content p {
        width: 100%;

        max-width: 355px;

        margin: 0 auto;

        color: rgba(255, 255, 255, 0.92);

        font-size: 15px;

        line-height: 1.65;
    }


    /* ==========================================
       MAIN PAGE CONTAINER
    ========================================== */

    .page-container {
        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        padding: 24px 14px 36px;
    }


    /* ==========================================
       STORY SECTION
    ========================================== */

    .story-section {
        display: grid;

        grid-template-columns: 1fr;

        gap: 24px;

        width: 100%;

        margin-bottom: 44px;
    }


    /* ==========================================
       STORY VISUAL
    ========================================== */

    .story-visual {
        width: 100%;

        min-height: 0;

        padding: 18px 14px;

        border-radius: 18px;

        background:
            radial-gradient(
                circle at top left,
                rgba(255, 255, 255, 0.16),
                transparent 35%
            ),
            radial-gradient(
                circle at bottom right,
                rgba(70, 220, 230, 0.22),
                transparent 40%
            ),
            linear-gradient(
                145deg,
                #087784 0%,
                #1598a4 48%,
                #075f69 100%
            );

        box-shadow: 0 8px 22px rgba(7, 59, 68, 0.11);

        display: flex;

        align-items: center;
        justify-content: center;

        position: relative;

        overflow: hidden;
    }

    .story-visual::before {
        width: 190px;
        height: 190px;

        top: -110px;
        right: -85px;
    }

    .story-visual::after {
        width: 160px;
        height: 160px;

        bottom: -95px;
        left: -75px;
    }


    /* ==========================================
       STORY BRAND CARD
    ========================================== */

    .story-brand-card {
        position: relative;

        z-index: 2;

        width: 100%;

        max-width: 330px;

        margin: 0 auto;

        padding: 22px 16px 18px;

        text-align: center;

        background: rgba(255, 255, 255, 0.97);

        border: 1px solid rgba(255, 255, 255, 0.6);

        border-radius: 17px;

        box-shadow: 0 10px 28px rgba(0, 55, 65, 0.18);

        backdrop-filter: blur(6px);
    }

    .story-logo {
        display: block;

        width: 120px;

        max-width: 48%;

        height: auto;

        margin: 0 auto 9px;

        object-fit: contain;

        filter: drop-shadow(
            0 6px 9px rgba(0, 0, 0, 0.11)
        );

        transition: none;
    }

    .story-logo:hover,
    .story-brand-card:hover .story-logo {
        transform: none;
    }

    .story-brand-name {
        margin: 0 0 4px;

        color: #123c69;

        font-size: 25px;
        font-weight: 800;

        line-height: 1.15;
    }

    .story-brand-name span {
        color: #249ddd;
    }

    .story-tagline {
        margin: 0 0 17px;

        color: #587079;

        font-size: 12px;
        font-weight: 600;

        line-height: 1.3;
    }


    /* ==========================================
       STORY BADGES
    ========================================== */

    .story-badges {
        display: grid;

        gap: 8px;

        width: 100%;

        text-align: left;
    }

    .story-badge {
        display: flex;

        align-items: center;

        gap: 10px;

        width: 100%;

        padding: 10px 11px;

        background: #f1fbfc;

        border: 1px solid #d5eef1;

        border-radius: 10px;

        transition: none;
    }

    .story-badge:hover {
        transform: none;

        box-shadow: none;
    }

    .story-badge-icon {
        flex-shrink: 0;

        width: 38px;
        height: 38px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 10px;

        background: linear-gradient(
            135deg,
            #dff7f9,
            #c9f0f3
        );

        font-size: 18px;
    }

    .story-badge strong {
        display: block;

        color: #073b44;

        font-size: 13px;

        line-height: 1.3;
    }

    .story-badge small {
        display: block;

        margin-top: 2px;

        color: #6c7f83;

        font-size: 11px;

        line-height: 1.35;
    }


    /* ==========================================
       STORY CONTENT
    ========================================== */

    .story-content {
        width: 100%;

        padding: 0 2px;
    }

    .story-content h2 {
        margin: 0 0 14px;

        color: #073b44;

        font-size: 25px;
        font-weight: 800;

        line-height: 1.25;
    }

    .story-content p {
        margin: 0 0 13px;

        color: #344b50;

        font-size: 14px;

        line-height: 1.68;
    }


    /* ==========================================
       HIGHLIGHT
    ========================================== */

    .highlight-box {
        margin-top: 18px;

        padding: 14px 15px;

        background: #eefbfc;

        border-left: 4px solid #0097a7;

        border-radius: 8px;

        color: #073b44;

        font-size: 14px;
        font-weight: 700;
    }


    /* ==========================================
       VALUES SECTION
    ========================================== */

    .values-section {
        width: 100%;

        margin-bottom: 44px;
    }


    /* ==========================================
       SECTION HEADING
    ========================================== */

    .section-heading {
        width: 100%;

        max-width: 100%;

        margin: 0 auto 23px;

        text-align: center;
    }

    .section-heading span {
        display: block;

        margin-bottom: 7px;

        color: #0097a7;

        font-size: 11px;
        font-weight: 800;

        letter-spacing: 1.4px;

        text-transform: uppercase;
    }

    .section-heading h2 {
        margin: 0 0 9px;

        color: #073b44;

        font-size: 26px;
        font-weight: 800;

        line-height: 1.25;
    }

    .section-heading p {
        max-width: 350px;

        margin: 0 auto;

        color: #6c7f83;

        font-size: 13.5px;

        line-height: 1.6;
    }


    /* ==========================================
       VALUE GRID
    ========================================== */

    .values-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        width: 100%;
    }

    .value-card {
        width: 100%;

        padding: 18px 16px;

        background: #ffffff;

        border: 1px solid #e2e8f0;

        border-radius: 14px;

        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);

        transition: none;
    }

    .value-card:hover {
        transform: none;

        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    }

    .value-icon {
        width: 44px;
        height: 44px;

        display: flex;

        align-items: center;
        justify-content: center;

        margin-bottom: 12px;

        border-radius: 11px;

        background: #eefbfc;

        font-size: 21px;
    }

    .value-card h3 {
        margin: 0 0 7px;

        color: #073b44;

        font-size: 17px;
        font-weight: 700;
    }

    .value-card p {
        margin: 0;

        color: #6c7f83;

        font-size: 13px;

        line-height: 1.6;
    }


    /* ==========================================
       MISSION SECTION
    ========================================== */

    .mission-section {
        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;

        width: 100%;

        margin-bottom: 43px;

        padding: 25px 18px;

        background: #073b44;

        color: #ffffff;

        border-radius: 17px;

        box-shadow: 0 10px 26px rgba(7, 59, 68, 0.13);
    }

    .mission-section h2 {
        margin: 0 0 11px;

        color: #ffffff;

        font-size: 26px;
        font-weight: 800;

        line-height: 1.2;
    }

    .mission-section p {
        margin: 0;

        color: rgba(255, 255, 255, 0.82);

        font-size: 13.5px;

        line-height: 1.65;
    }


    /* ==========================================
       MISSION LIST
    ========================================== */

    .mission-list {
        display: grid;

        gap: 9px;

        width: 100%;
    }

    .mission-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.15);

        border-radius: 9px;

        color: #ffffff;

        font-size: 13px;

        line-height: 1.45;
    }

    .mission-check {
        flex-shrink: 0;

        color: #74f1d1;

        font-size: 17px;
        font-weight: 900;
    }


    /* ==========================================
       COMMITMENT
    ========================================== */

    .commitment-section {
        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        padding: 0 4px 6px;

        text-align: center;
    }

    .commitment-section h2 {
        margin: 0 0 12px;

        color: #073b44;

        font-size: 26px;
        font-weight: 800;

        line-height: 1.25;
    }

    .commitment-section p {
        margin: 0 auto 11px;

        color: #6c7f83;

        font-size: 13.5px;

        line-height: 1.65;
    }


    /* ==========================================
       SHOP BUTTON
    ========================================== */

    .shop-button {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        min-width: 185px;

        margin-top: 14px;

        padding: 12px 21px;

        background: #006b78;

        border-radius: 9px;

        color: #ffffff;

        font-size: 14px;
        font-weight: 700;

        text-decoration: none;

        box-shadow: 0 4px 12px rgba(0, 107, 120, 0.16);

        transition: none;
    }

    .shop-button:hover,
    .shop-button:active {
        background: #006b78;

        transform: none;
    }


    /* ==========================================
       FOOTER
    ========================================== */

    .site-footer {
        width: 100%;

        padding: 18px 14px;

        background: #052f36;

        color: rgba(255, 255, 255, 0.8);

        text-align: center;

        font-size: 11.5px;

        line-height: 1.5;
    }

    .site-footer p {
        margin: 0;
    }

    .site-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;
        }

        .hero-section {
            padding: 42px 14px 45px;
        }

        .hero-content h1 {
            font-size: 32px;
        }

        .hero-content p {
            font-size: 14px;
        }

        .page-container {
            padding-left: 10px;
            padding-right: 10px;
        }

        .story-brand-card {
            padding-left: 13px;
            padding-right: 13px;
        }

        .story-content h2,
        .section-heading h2,
        .mission-section h2,
        .commitment-section h2 {
            font-size: 24px;
        }

        .value-card {
            padding: 16px 14px;
        }

        .mission-section {
            padding: 22px 15px;
        }
    }
}