/* =======================
   COMPANY PAGE (회사소개)
   ======================= */

:root {
    --company-red: #e11d2e;
    --company-text: #222;
    --company-gray: #555;
}

/* 공통 래퍼 */
.company-wrap {
    width: min(1200px, 92%);
    margin: clamp(4rem, 6vw, 8rem) auto clamp(8rem, 10vw, 10rem);
    text-align: center;
    position: relative;
    z-index: 1;
    font-family: "Noto Sans KR", system-ui, sans-serif;
    color: var(--company-text);
}
.title-header {
    width: 95%;
    margin: auto;
}

/* 상단 텍스트 (메인페이지 스타일과 일관) */
.content-title {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--company-red);
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.highlight {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 0.4rem;
}

.content-sub {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    color: var(--company-gray);
    margin-bottom: clamp(4rem, 6vw, 6rem);
    line-height: 1.6;
}

/* =======================
   본문 내용 (좌우 배치)
   ======================= */
.company-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3rem, 6vw, 8rem);
    margin-top: 1rem;
}

.company-left,
.company-right {
    width: 45%;
    position: relative;
    z-index: 2;
}

/* 이미지 */
.company-img {
    width: 100%;
    border-radius: 10px;
}

/* 오른쪽 텍스트 */
.company-right {
    text-align: left;
}

.company-logo {
    width: clamp(120px, 10vw, 180px);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.sub-highlight {
    color: var(--company-red);
    font-weight: 800;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
}

.company-right p {
    margin-bottom: clamp(0.8rem, 1vw, 1rem);
    line-height: 1.7;
    color: var(--company-gray);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

/* =======================
   Footer Background Image
   ======================= */
.company-footer-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 3;
    margin-top: clamp(-10rem, -8vw, -13rem);
    margin-bottom: -2rem;
}

.company-footer-bg .bg-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.8;
    pointer-events: none;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (1200px / 800px / 600px)
   ========================================================= */

/* --- 1200px 이하 --- */
@media (max-width: 1200px) {
    .company-wrap {
        width: min(1000px, 95%);
    }

    .company-body {
        gap: 4rem;
    }

    .content-title {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }

    .company-right p {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    .company-logo {
        width: clamp(100px, 12vw, 160px);
    }
}

/* --- 800px 이하 --- */
@media (max-width: 800px) {
    .company-body {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }

    .company-left,
    .company-right {
        width: 100%;
    }

    .company-right {
        text-align: center;
    }

    .company-right p {
        text-align: left;
        margin-inline: auto;
        max-width: 90%;
    }

    .company-logo {
        margin: 0 auto 1.2rem;
    }
}

/* --- 600px 이하 --- */
@media (max-width: 600px) {
    .content-title {
        font-size: 1.2rem;
    }

    .highlight {
        font-size: 1rem;
    }

    .content-sub {
        font-size: 0.85rem;
        margin-bottom: 3rem;
    }

    .company-body {
        gap: 1.5rem;
    }

    .company-logo {
        width: 120px;
    }

    .company-right p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .company-footer-bg {
        margin-top: -8rem;
    }
}
