/* =========================================================
   회사소개 - 대표 인사말
   최대 가로폭 785px
========================================================= */

.companyGreeting,
.companyGreeting * {
    box-sizing: border-box;
}

.companyGreeting {
    width: 100%;
    max-width: 785px;
    margin: 0 auto;
    color: #1c2533;
    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
    letter-spacing: -0.035em;
}


/* =========================================================
   상단 Hero
========================================================= */

.greetingHero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 7px;
    background: #dce5ee;
}

.greetingHeroImg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.greetingHero:hover .greetingHeroImg {
    transform: scale(1.025);
}

.greetingHeroOverlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 24, 44, 0.84) 0%,
            rgba(8, 28, 52, 0.68) 40%,
            rgba(8, 28, 52, 0.18) 72%,
            rgba(8, 28, 52, 0.04) 100%
        );
}

.greetingHeroText {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 44px;
    width: 54%;
    transform: translateY(-50%);
    color: #fff;
}

.greetingHeroLabel {
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #95c7ff;
}

.greetingHeroText h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.055em;
    color: #fff;
}

.greetingHeroText h1 strong {
    color: #8ec3ff;
    font-weight: 800;
}

.greetingHeroDesc {
    margin: 21px 0 0;
    font-size: 15px;
    line-height: 1.85;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   공통 섹션 제목
========================================================= */

.greetingSectionTitle {
    margin-bottom: 32px;
    text-align: center;
}

.greetingSectionTitle > span {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #245da6;
}

.greetingSectionTitle h2 {
    position: relative;
    margin: 0;
    padding-bottom: 15px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 750;
    color: #172235;
}

.greetingSectionTitle h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 30px;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: #3978c9;
}

.greetingSectionTitle p {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: #6f7783;
}


/* =========================================================
   CEO 인사말
========================================================= */

.greetingMessage {
    padding: 72px 36px 68px;
    background: #fff;
}

.greetingMessageBody {
    display: flex;
    align-items: stretch;
    gap: 43px;
}

.greetingMessageText {
    flex: 1 1 auto;
    min-width: 0;
    padding: 7px 0;
}

.greetingMessageText h3 {
    margin: 0 0 27px;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 650;
    color: #151c27;
}

.greetingMessageText h3 strong {
    color: #245da6;
    font-weight: 800;
}

.greetingParagraph p {
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;
    color: #59616c;
    word-break: keep-all;
}

.greetingParagraph p:last-child {
    margin-bottom: 0;
}

.greetingMessageImage {
    flex: 0 0 300px;
    width: 300px;
    min-height: 390px;
    overflow: hidden;
    border-radius: 7px;
    background: #edf1f5;
    box-shadow: 0 14px 32px rgba(26, 45, 72, 0.1);
}

.greetingMessageImage img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    object-position: center;
}

.greetingSignature {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 11px;
    margin-top: 30px;
    color: #4c5664;
}

.greetingSignature span {
    padding-bottom: 4px;
    font-size: 13px;
}

.greetingSignature strong {
    font-family:
        "Nanum Myeongjo",
        "Batang",
        serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #172235;
}


/* =========================================================
   핵심가치
========================================================= */

.greetingValues {
    padding: 66px 28px 68px;
    border-radius: 7px;
    background: #f5f8fc;
}

.greetingValueList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.greetingValueItem {
    position: relative;
    padding: 0 18px;
    text-align: center;
}

.greetingValueItem + .greetingValueItem::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 6px;
    left: 0;
    width: 1px;
    background: #dfe6ef;
}

.greetingValueIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 19px;
    border: 1px solid #e5ebf2;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(31, 68, 113, 0.06);
}

.greetingValueIcon img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.greetingValueItem h3 {
    margin: 0 0 11px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 750;
    color: #163e7a;
}

.greetingValueItem p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
    color: #6a7280;
    word-break: keep-all;
}


/* =========================================================
   회사정보
========================================================= */

.greetingCompanyInfo {
    padding: 69px 0 10px;
}

.greetingInfoList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 25px;
    border: 1px solid #e9edf2;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(30, 51, 77, 0.07);
}

.greetingInfoItem {
    display: flex;
    align-items: center;
    min-height: 96px;
    padding: 20px 22px;
    border-radius: 7px;
    background: #f7f9fc;
}

.greetingInfoIcon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-right: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 16px rgba(28, 62, 103, 0.08);
}

.greetingInfoIcon img {
    display: block;
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.greetingInfoText {
    min-width: 0;
}

.greetingInfoText span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    color: #7e8793;
}

.greetingInfoText strong {
    display: block;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 650;
    color: #253143;
    word-break: keep-all;
}

.greetingInfoText a {
    color: inherit;
    text-decoration: none;
}

.greetingInfoText a:hover {
    color: #245da6;
    text-decoration: underline;
}


/* =========================================================
   태블릿
========================================================= */

@media screen and (max-width: 800px) {

    .companyGreeting {
        padding: 0 15px;
    }

    .greetingHero {
        height: 300px;
    }

    .greetingHeroText {
        left: 34px;
        width: 62%;
    }

    .greetingHeroText h1 {
        font-size: 29px;
    }

    .greetingMessage {
        padding-right: 25px;
        padding-left: 25px;
    }

    .greetingMessageBody {
        gap: 28px;
    }

    .greetingMessageImage {
        flex-basis: 275px;
        width: 275px;
    }

    .greetingValueItem {
        padding-right: 12px;
        padding-left: 12px;
    }
}


/* =========================================================
   모바일
========================================================= */

@media screen and (max-width: 640px) {

    .companyGreeting {
        padding: 0 12px;
    }

    .greetingHero {
        height: 390px;
        border-radius: 13px;
    }

    .greetingHeroImg {
        object-position: 68% center;
    }

    .greetingHeroOverlay {
        background:
            linear-gradient(
                180deg,
                rgba(8, 28, 52, 0.12) 0%,
                rgba(8, 28, 52, 0.5) 42%,
                rgba(8, 24, 44, 0.93) 100%
            );
    }

    .greetingHeroText {
        top: auto;
        right: 25px;
        bottom: 29px;
        left: 25px;
        width: auto;
        transform: none;
    }

    .greetingHeroLabel {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .greetingHeroText h1 {
        font-size: 25px;
        line-height: 1.4;
    }

    .greetingHeroDesc {
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.75;
    }

    .greetingHeroDesc br {
        display: none;
    }


    /* 공통 제목 */

    .greetingSectionTitle {
        margin-bottom: 25px;
    }

    .greetingSectionTitle h2 {
        font-size: 22px;
    }

    .greetingSectionTitle p {
        font-size: 13px;
    }

    .greetingSectionTitle p br {
        display: none;
    }


    /* CEO 인사말 */

    .greetingMessage {
        padding: 55px 5px;
    }

    .greetingMessageBody {
        display: flex;
        flex-direction: column-reverse;
        gap: 29px;
    }

    .greetingMessageImage {
        flex: none;
        width: 100%;
        height: 280px;
        min-height: 0;
        border-radius: 7px;
    }

    .greetingMessageImage img {
        height: 280px;
        min-height: 0;
    }

    .greetingMessageText {
        padding: 0 8px;
    }

    .greetingMessageText h3 {
        margin-bottom: 22px;
        font-size: 20px;
    }

    .greetingParagraph p {
        font-size: 14px;
        line-height: 1.85;
    }

    .greetingSignature {
        margin-top: 25px;
    }


    /* 핵심가치 */

    .greetingValues {
        padding: 53px 17px;
        border-radius: 7px;
    }

    .greetingValueList {
        grid-template-columns: repeat(2, 1fr);
        gap: 33px 0;
    }

    .greetingValueItem {
        padding: 0 14px;
    }

    .greetingValueItem + .greetingValueItem::before {
        display: none;
    }

    .greetingValueItem:nth-child(even)::before {
        content: "";
        position: absolute;
        display: block;
        top: 8px;
        bottom: 5px;
        left: 0;
        width: 1px;
        background: #dfe6ef;
    }

    .greetingValueIcon {
        width: 66px;
        height: 66px;
        margin-bottom: 16px;
    }

    .greetingValueIcon img {
        width: 38px;
        height: 38px;
    }

    .greetingValueItem h3 {
        font-size: 15px;
    }

    .greetingValueItem p {
        font-size: 12px;
        line-height: 1.7;
    }


    /* 회사정보 */

    .greetingCompanyInfo {
        padding-top: 55px;
    }

    .greetingInfoList {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 14px;
        border-radius: 13px;
    }

    .greetingInfoItem {
        min-height: 86px;
        padding: 17px 18px;
    }

    .greetingInfoIcon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        margin-right: 15px;
    }

    .greetingInfoIcon img {
        width: 27px;
        height: 27px;
    }
}


/* =========================================================
   작은 모바일
========================================================= */

@media screen and (max-width: 390px) {

    .greetingHeroText h1 {
        font-size: 22px;
    }

    .greetingValueItem {
        padding-right: 9px;
        padding-left: 9px;
    }

    .greetingValueItem p {
        font-size: 11px;
    }
}