
/* ============================================================
   UNIGOM — MISSION PAGE
   Professional Page Styling
   ============================================================ */

:root {
    --mission-bg: #f5f7fa;
    --mission-soft: #eef2f6;
    --mission-panel: #ffffff;
    --mission-border: #dce3ea;

    --mission-text: #243447;
    --mission-muted: #647384;
    --mission-heading: #0b2745;

    --mission-blue: #12345b;
    --mission-blue-dark: #0b2745;
    --mission-blue-deep: #071b31;

    --mission-gold: #c9a227;
    --mission-gold-light: #f1e4b5;

    --mission-red: #b5222b;
    --mission-red-dark: #8e1b22;

    --mission-shadow: 0 18px 45px rgba(7, 27, 49, 0.09);
    --mission-shadow-soft: 0 8px 25px rgba(7, 27, 49, 0.06);
}


/* ============================================================
   PAGE BASE
   ============================================================ */

.mission-page {
    width: 100%;
    background: var(--mission-bg);
    color: var(--mission-text);
    overflow-x: hidden;
}

.mission-main {
    width: 100%;
    min-height: calc(100vh - 180px);
    padding-top: 76px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            var(--mission-bg) 320px,
            var(--mission-bg) 100%
        );
}


/* ============================================================
   TOP ACCENT
   ============================================================ */

.mission-top-bar {
    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--mission-blue-deep) 0%,
            var(--mission-blue) 68%,
            var(--mission-gold) 100%
        );

    box-shadow: 0 2px 8px rgba(7, 27, 49, 0.08);
}


/* ============================================================
   MAIN SECTION
   ============================================================ */

.mission-section {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 52px 0 76px;

    display: grid;
    grid-template-columns:
        minmax(350px, 0.88fr)
        minmax(0, 1.12fr);

    align-items: stretch;
    gap: 54px;
}


/* ============================================================
   IMAGE AREA
   ============================================================ */

.mission-image-wrap {
    position: relative;
    width: 100%;
    min-height: 540px;
    max-height: 580px;

    overflow: hidden;
    border-radius: 14px;
    background: var(--mission-blue-deep);
    border: 1px solid rgba(7, 27, 49, 0.08);
    box-shadow: var(--mission-shadow);
}

.mission-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 27, 49, 0.02) 20%,
            rgba(7, 27, 49, 0.13) 100%
        );

    pointer-events: none;
}

.mission-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    max-height: 580px;

    display: block;
    object-fit: cover;
    object-position: center;

    filter: saturate(0.94) contrast(1.02);
    transition: transform 0.45s ease;
}

.mission-image-wrap:hover img {
    transform: scale(1.025);
}


/* ============================================================
   CONTENT AREA
   ============================================================ */

.mission-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 10px 0;
}


/* ============================================================
   PAGE TITLE
   ============================================================ */

.mission-content h1 {
    position: relative;
    margin: 0 0 18px;
    padding-left: 18px;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.1rem, 3.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--mission-heading);
}

.mission-content h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;

    width: 4px;
    height: 78%;
    border-radius: 4px;
    background: var(--mission-gold);
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.mission-intro {
    margin: 0 0 26px;
    max-width: 740px;

    color: var(--mission-muted);
    font-family: "Open Sans", sans-serif;
    font-size: 0.96rem;
    line-height: 1.75;
}


/* ============================================================
   TABS
   ============================================================ */

.mission-tabs {
    width: 100%;
    max-width: 780px;
    margin: 0 0 16px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;

    background: var(--mission-panel);
    border: 1px solid var(--mission-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--mission-shadow-soft);
}

.mission-tab {
    position: relative;
    appearance: none;

    min-height: 68px;
    padding: 15px 16px;

    border: 0;
    border-right: 1px solid var(--mission-border);
    background: #ffffff;

    color: var(--mission-muted);
    font-family: "Montserrat", sans-serif;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;

    cursor: pointer;

    transition:
        color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.mission-tab:last-child {
    border-right: 0;
}

.mission-tab:hover {
    color: var(--mission-blue);
    background: #f8fafc;
}

.mission-tab:focus-visible {
    outline: 3px solid rgba(201, 162, 39, 0.28);
    outline-offset: -3px;
}

.mission-tab.active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--mission-blue),
            var(--mission-blue-dark)
        );

    box-shadow: inset 0 -3px 0 var(--mission-gold);
}


/* ============================================================
   CONTENT PANEL
   ============================================================ */

.mission-panel {
    width: 100%;
    max-width: 780px;
    padding: 26px 28px 24px;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--mission-border);
    border-radius: 10px;
    box-shadow: var(--mission-shadow-soft);
    box-sizing: border-box;
}

.mission-panel h2 {
    margin: 0 0 13px;

    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 750;
    color: var(--mission-heading);
}

.mission-panel h2::after {
    content: "";
    display: block;

    width: 42px;
    height: 3px;
    margin-top: 11px;

    border-radius: 3px;
    background: var(--mission-gold);
}

.mission-panel p {
    margin: 0 0 16px;

    color: var(--mission-muted);
    font-family: "Open Sans", sans-serif;
    font-size: 0.93rem;
    line-height: 1.7;
}


/* ============================================================
   PANEL LIST
   ============================================================ */

.mission-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    gap: 10px;
}

.mission-panel li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 3px 0;

    color: var(--mission-text);
    font-family: "Open Sans", sans-serif;
    font-size: 0.92rem;
    line-height: 1.65;
}

.mission-panel li span {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    margin-top: 2px;

    border-radius: 50%;
    background: rgba(201, 162, 39, 0.13);
    color: var(--mission-blue);
    font-size: 0.75rem;
    font-weight: 800;
}


/* ============================================================
   TABLET / LAPTOP
   ============================================================ */

@media (max-width: 1150px) {

    .mission-main {
        padding-top: 62px;
    }

    .mission-section {
        width: min(1100px, calc(100% - 48px));

        grid-template-columns:
            minmax(310px, 0.9fr)
            minmax(0, 1.1fr);

        gap: 38px;
        padding-top: 44px;
        padding-bottom: 64px;
    }

    .mission-image-wrap {
        min-height: 480px;
        max-height: 520px;
    }

    .mission-image-wrap img {
        min-height: 480px;
        max-height: 520px;
    }

    .mission-content h1 {
        font-size: clamp(2rem, 3.4vw, 2.65rem);
    }

    .mission-intro {
        font-size: 0.93rem;
    }

    .mission-tab {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.84rem;
    }

    .mission-panel {
        padding: 24px;
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .mission-main {
        padding-top: 50px;
    }

    .mission-section {
        width: min(760px, calc(100% - 40px));

        grid-template-columns: 1fr;
        gap: 30px;

        padding-top: 38px;
        padding-bottom: 58px;
    }

    .mission-image-wrap {
        min-height: 390px;
        max-height: 440px;
    }

    .mission-image-wrap img {
        min-height: 390px;
        max-height: 440px;
    }

    .mission-content {
        padding: 0;
    }

    .mission-content h1 {
        max-width: 700px;
        font-size: clamp(2rem, 4.5vw, 2.7rem);
    }

    .mission-intro {
        max-width: 700px;
    }

    .mission-tabs,
    .mission-panel {
        max-width: 100%;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .mission-main {
        padding-top: 34px;
    }

    .mission-top-bar {
        height: 4px;
    }

    .mission-section {
        width: calc(100% - 30px);
        gap: 24px;

        padding-top: 30px;
        padding-bottom: 46px;
    }

    .mission-image-wrap {
        min-height: 300px;
        max-height: 350px;
        border-radius: 10px;
    }

    .mission-image-wrap img {
        min-height: 300px;
        max-height: 350px;
    }

    .mission-content h1 {
        margin-bottom: 15px;
        padding-left: 15px;

        font-size: clamp(1.8rem, 7vw, 2.3rem);
        line-height: 1.15;
    }

    .mission-content h1::before {
        width: 3px;
        height: 72%;
    }

    .mission-intro {
        margin-bottom: 22px;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .mission-tabs {
        grid-template-columns: 1fr;
        border-radius: 9px;
    }

    .mission-tab {
        min-height: auto;
        padding: 14px 15px;

        border-right: 0;
        border-bottom: 1px solid var(--mission-border);
        font-size: 0.84rem;
    }

    .mission-tab:last-child {
        border-bottom: 0;
    }

    .mission-panel {
        padding: 22px 18px 20px;
        border-radius: 9px;
    }

    .mission-panel h2 {
        font-size: 1.3rem;
    }

    .mission-panel p {
        font-size: 0.89rem;
        line-height: 1.7;
    }

    .mission-panel li {
        font-size: 0.88rem;
        line-height: 1.6;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .mission-main {
        padding-top: 28px;
    }

    .mission-section {
        width: calc(100% - 24px);
        padding-top: 26px;
        gap: 21px;
    }

    .mission-image-wrap {
        min-height: 260px;
        max-height: 300px;
    }

    .mission-image-wrap img {
        min-height: 260px;
        max-height: 300px;
    }

    .mission-content h1 {
        font-size: 1.8rem;
    }

    .mission-intro {
        font-size: 0.87rem;
    }

    .mission-panel {
        padding: 20px 16px 18px;
    }

    .mission-panel h2 {
        font-size: 1.2rem;
    }

    .mission-panel p {
        font-size: 0.86rem;
    }

    .mission-panel li {
        font-size: 0.85rem;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .mission-image-wrap img,
    .mission-tab {
        transition: none;
    }

    .mission-image-wrap:hover img {
        transform: none;
    }
}