/* ============================================================
   IPESK NEXT
   SUB PAGE COMMON STYLE

   /main/assets/css/sub.css
============================================================ */


/* ============================================================
   Common
============================================================ */

.sub-main {
    width: 100%;
    overflow: hidden;
}


.sub-container {
    width: calc(100% - 48px);
    max-width: 1280px;

    margin: 0 auto;
}


/* ============================================================
   SUB HERO
============================================================ */

.sub-hero {
    position: relative;

    width: 100%;
    height: 320px;

    overflow: hidden;

    background-color: #edf7ff;
}


/*
 * 사업소개 상단 전용 Hero
 *
 * about-title-bg.png를 영역 전체에 채웁니다.
 * 왼쪽에는 제목이 있으므로 이미지 위에
 * 흰색 → 투명 그라데이션을 적용합니다.
 */

.about-title-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(247, 251, 255, 0.98) 0%,
            rgba(247, 251, 255, 0.94) 22%,
            rgba(247, 251, 255, 0.78) 38%,
            rgba(247, 251, 255, 0.38) 52%,
            rgba(247, 251, 255, 0.08) 68%,
            rgba(247, 251, 255, 0.00) 100%
        ),
        url("/main/assets/img/about-title-bg.png");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center center;
}


.sub-hero-inner {
    position: relative;
    z-index: 2;

    width: calc(100% - 48px);
    max-width: 1280px;
    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


.sub-hero-content {
    position: relative;
    z-index: 5;

    max-width: 540px;
}


.sub-eyebrow {
    margin-bottom: 14px;

    color: #4287dc;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.sub-hero-content h1 {
    margin: 0;

    color: #173b67;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.25;

    letter-spacing: -1.5px;
}


.sub-hero-content p {
    margin: 18px 0 0;

    color: #627995;

    font-size: 15px;

    line-height: 1.8;
}


/* ============================================================
   Breadcrumb
============================================================ */

.breadcrumb-wrap {
    width: 100%;

    background: #ffffff;

    border-bottom:
        1px solid #e7edf4;
}


.breadcrumb {
    height: 48px;

    display: flex;
    align-items: center;

    gap: 11px;

    color: #8b9bae;

    font-size: 11px;
}


.breadcrumb a {
    color: #8b9bae;

    text-decoration: none;
}


.breadcrumb a:hover {
    color: #1474dc;
}


.breadcrumb-arrow {
    color: #aab7c5;
}


.breadcrumb strong {
    color: #2d5988;

    font-weight: 700;
}


/* ============================================================
   ABOUT INTRO
============================================================ */

.about-intro {
    padding-top: 80px;

    background: #ffffff;
}


.sub-section-title {
    text-align: center;
}


.sub-section-title > span {
    display: block;

    margin-bottom: 16px;

    color: #317fe1;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.sub-section-title h2 {
    margin: 0;

    color: #153b68;

    font-size: 32px;
    font-weight: 800;

    line-height: 1.45;

    letter-spacing: -1.3px;
}


.title-line {
    width: 34px;
    height: 3px;

    margin: 24px auto 0;

    border-radius: 10px;

    background: #1475df;
}


.about-lead {
    max-width: 830px;

    margin: 32px auto 0;

    color: #647b96;

    font-size: 14px;

    line-height: 2;

    text-align: center;

    word-break: keep-all;
}


/* ============================================================
   FULL WIDTH ABOUT HERO
============================================================ */

.about-intro-visual {
    position: relative;

    width: 100%;
    height: 510px;

    margin-top: 48px;

    overflow: hidden;

    background: #eaf6ff;
}


.about-intro-visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * 이미지의 중앙 핵심 부분을 유지합니다.
     */
    object-position: center center;
}


/*
 * 이미지 아래쪽과 다음 섹션의 경계를
 * 너무 딱 끊기지 않도록 아주 약하게 처리
 */

.about-intro-visual::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 55px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.12)
        );
}


/* ============================================================
   CORE SERVICE
============================================================ */

.about-values {
    padding: 75px 0 85px;

    background: #f5f9fd;
}


.section-small-heading > span {
    display: block;

    margin-bottom: 10px;

    color: #347fe0;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.section-small-heading h2 {
    margin: 0;

    color: #153b68;

    font-size: 27px;
    font-weight: 800;

    line-height: 1.4;

    letter-spacing: -0.8px;
}


.section-small-heading.center {
    text-align: center;
}


.section-small-heading.center p {
    margin: 14px 0 0;

    color: #71849a;

    font-size: 14px;

    line-height: 1.7;
}


/* ============================================================
   Value Grid
============================================================ */

.value-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-top: 34px;
}


.value-card {
    position: relative;

    min-height: 280px;

    padding: 28px 26px 25px;

    overflow: hidden;

    border:
        1px solid #dce7f2;

    border-radius: 14px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.value-card:hover {
    transform: translateY(-5px);

    border-color: #c7dff5;

    box-shadow:
        0 16px 35px
        rgba(45, 103, 173, 0.09);
}


.value-number {
    position: absolute;

    top: 17px;
    right: 19px;

    color: #e6eff8;

    font-size: 31px;
    font-weight: 800;
}


.value-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #edf6ff;
}


.value-icon img {
    display: block;

    width: 38px;
    height: 38px;

    object-fit: contain;
}


.value-card h3 {
    margin: 0 0 12px;

    color: #173b67;

    font-size: 19px;
    font-weight: 800;
}


.value-card p {
    min-height: 68px;

    margin: 0;

    color: #71839a;

    font-size: 13px;

    line-height: 1.8;

    word-break: keep-all;
}


.value-card a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 20px;

    color: #2377d8;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


.value-card a span {
    transition: transform 0.2s;
}


.value-card a:hover span {
    transform: translateX(4px);
}


/* ============================================================
   PROCESS
============================================================ */

.about-flow {
    padding: 85px 0 95px;

    background: #ffffff;
}


.flow-grid {
    display: flex;

    align-items: center;
    justify-content: center;

    max-width: 1000px;

    margin: 55px auto 0;
}


.flow-item {
    width: 170px;

    text-align: center;
}


.flow-step {
    margin-bottom: 13px;

    color: #7fa4cc;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}


.flow-circle {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #eaf5ff,
            #dceeff
        );

    color: #2577d6;

    font-size: 23px;
    font-weight: 800;

    box-shadow:
        0 10px 25px
        rgba(39, 119, 214, 0.08);
}


.flow-item h3 {
    margin: 18px 0 8px;

    color: #173b67;

    font-size: 17px;
    font-weight: 800;
}


.flow-item p {
    margin: 0;

    color: #75879c;

    font-size: 12px;

    line-height: 1.7;
}


.flow-line {
    width: 90px;
    height: 1px;

    margin:
        16px 5px 0;

    background:
        linear-gradient(
            to right,
            #d6e4f2,
            #9fc8ee,
            #d6e4f2
        );
}


/* ============================================================
   CTA
============================================================ */

.about-cta {
    padding: 0 0 90px;

    background: #ffffff;
}


.about-cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 45px 52px;

    border-radius: 18px;

    background:
        linear-gradient(
            120deg,
            #0f4e91 0%,
            #1472d1 55%,
            #2388e5 100%
        );

    box-shadow:
        0 18px 45px
        rgba(19, 89, 158, 0.16);
}


.about-cta-text > span {
    display: block;

    margin-bottom: 10px;

    color: #b9dcff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.about-cta-text h2 {
    margin: 0;

    color: #ffffff;

    font-size: 26px;
    font-weight: 800;

    line-height: 1.5;

    letter-spacing: -0.8px;
}


.about-cta-buttons {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.about-cta-buttons a {
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s,
        background 0.2s;
}


.about-cta-buttons a:hover {
    transform: translateY(-2px);
}


.cta-primary {
    gap: 12px;

    background: #ffffff;

    color: #1267bd;
}


.cta-secondary {
    border:
        1px solid rgba(255, 255, 255, 0.48);

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);
}


.cta-secondary:hover {
    background:
        rgba(255, 255, 255, 0.15);
}


/* ============================================================
   Responsive - 1100
============================================================ */

@media (max-width: 1100px) {

    .value-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .flow-line {
        width: 60px;
    }


    .about-intro-visual {
        height: 450px;
    }

}


/* ============================================================
   Responsive - Tablet
============================================================ */

@media (max-width: 800px) {

    .sub-container {
        width: calc(100% - 36px);
    }


    /* Hero */

    .sub-hero {
        height: 270px;
    }


    .sub-hero-inner {
        width: calc(100% - 36px);
    }


    .about-title-hero {
        background-position: 58% center;

        background-image:
            linear-gradient(
                90deg,
                rgba(247, 251, 255, 0.98) 0%,
                rgba(247, 251, 255, 0.94) 30%,
                rgba(247, 251, 255, 0.68) 48%,
                rgba(247, 251, 255, 0.18) 72%,
                rgba(247, 251, 255, 0.00) 100%
            ),
            url("/main/assets/img/about-title-bg.png");
    }


    .sub-hero-content {
        max-width: 470px;
    }


    .sub-hero-content h1 {
        font-size: 31px;
    }


    .sub-hero-content p {
        font-size: 13px;
    }


    /* Intro */

    .about-intro {
        padding-top: 62px;
    }


    .sub-section-title h2 {
        font-size: 27px;
    }


    .about-lead {
        max-width: 650px;

        margin-top: 27px;

        font-size: 13px;

        line-height: 1.9;
    }


    .about-intro-visual {
        height: 390px;

        margin-top: 38px;
    }


    /* Values */

    .about-values {
        padding:
            60px 0 70px;
    }


    .section-small-heading h2 {
        font-size: 24px;
    }


    /* Flow */

    .about-flow {
        padding:
            70px 0 75px;
    }


    .flow-grid {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px 20px;

        max-width: 550px;

        margin-top: 45px;
    }


    .flow-item {
        width: auto;
    }


    .flow-line {
        display: none;
    }


    /* CTA */

    .about-cta {
        padding-bottom: 65px;
    }


    .about-cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 38px 34px;
    }


    .about-cta-text h2 {
        font-size: 23px;
    }

}


/* ============================================================
   Responsive - Mobile
============================================================ */

@media (max-width: 600px) {

    .sub-container {
        width: calc(100% - 32px);
    }


    /* ========================================================
       Sub Hero Mobile
    ======================================================== */

    .sub-hero {
        height: 240px;

        min-height: 240px;
    }


    .sub-hero-inner {
        width: calc(100% - 32px);

        height: 100%;

        padding: 0;
    }


    .about-title-hero {
        /*
         * 모바일에서는 오른쪽 이미지가 너무 크게 잘리지 않도록
         * 배경의 중심을 조금 오른쪽으로 이동합니다.
         */

        background-position: 63% center;

        background-image:
            linear-gradient(
                90deg,
                rgba(247, 251, 255, 0.99) 0%,
                rgba(247, 251, 255, 0.96) 34%,
                rgba(247, 251, 255, 0.82) 54%,
                rgba(247, 251, 255, 0.42) 76%,
                rgba(247, 251, 255, 0.18) 100%
            ),
            url("/main/assets/img/about-title-bg.png");
    }


    .sub-hero-content {
        width: 78%;
        max-width: none;
    }


    .sub-eyebrow {
        margin-bottom: 11px;

        font-size: 10px;
    }


    .sub-hero-content h1 {
        font-size: 27px;

        letter-spacing: -1px;
    }


    .sub-hero-content p {
        margin-top: 14px;

        font-size: 12px;

        line-height: 1.7;
    }


    /* Breadcrumb */

    .breadcrumb {
        height: 44px;

        font-size: 10px;
    }


    /* ========================================================
       Intro Mobile
    ======================================================== */

    .about-intro {
        padding-top: 52px;
    }


    .sub-section-title > span {
        margin-bottom: 12px;

        font-size: 10px;
    }


    .sub-section-title h2 {
        font-size: 23px;

        line-height: 1.5;

        letter-spacing: -0.8px;
    }


    .title-line {
        width: 30px;

        margin-top: 19px;
    }


    .about-lead {
        margin-top: 23px;

        font-size: 12px;

        line-height: 1.9;
    }


    /*
     * 모바일에서도 이미지가 화면 좌우를 꽉 채웁니다.
     */

    .about-intro-visual {
        width: 100%;
        height: 310px;

        margin-top: 30px;
    }


    .about-intro-visual img {
        object-position: center center;
    }


    /* ========================================================
       Core Service Mobile
    ======================================================== */

    .about-values {
        padding:
            52px 0 58px;
    }


    .section-small-heading h2 {
        font-size: 22px;
    }


    .value-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 28px;
    }


    .value-card {
        min-height: 0;

        padding:
            23px 22px 22px;
    }


    .value-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 17px;
    }


    .value-icon img {
        width: 34px;
        height: 34px;
    }


    .value-card h3 {
        font-size: 17px;
    }


    .value-card p {
        min-height: auto;

        font-size: 12px;
    }


    /* ========================================================
       Process Mobile
    ======================================================== */

    .about-flow {
        padding:
            58px 0 65px;
    }


    .section-small-heading.center p {
        font-size: 12px;
    }


    .flow-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            34px 10px;

        margin-top: 38px;
    }


    .flow-circle {
        width: 67px;
        height: 67px;

        font-size: 19px;
    }


    .flow-item h3 {
        margin-top: 14px;

        font-size: 15px;
    }


    .flow-item p {
        font-size: 11px;
    }


    /* ========================================================
       CTA Mobile
    ======================================================== */

    .about-cta {
        padding-bottom: 50px;
    }


    .about-cta-box {
        gap: 27px;

        padding:
            31px 24px;

        border-radius: 13px;
    }


    .about-cta-text h2 {
        font-size: 20px;
    }


    .about-cta-buttons {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }


    .about-cta-buttons a {
        width: 100%;
    }

}


/* ============================================================
   Very Small Mobile
============================================================ */

@media (max-width: 420px) {

    .sub-hero {
        height: 225px;
        min-height: 225px;
    }


    .about-title-hero {
        background-position: 66% center;
    }


    .sub-hero-content {
        width: 86%;
    }


    .sub-hero-content h1 {
        font-size: 24px;
    }


    .sub-section-title h2 {
        font-size: 21px;
    }


    /*
     * 스마트폰에서는 원본 가로 이미지를 그대로 축소하면
     * 내용이 너무 작아지므로 cover 방식으로 중앙을 확대합니다.
     */

    .about-intro-visual {
        height: 260px;
    }


    .section-small-heading h2 {
        font-size: 20px;
    }


    .flow-grid {
        gap:
            30px 6px;
    }


    .about-cta-text h2 {
        font-size: 18px;
    }

}