/* =======================================================
   회사소개 전용 스타일
======================================================= */
/* 배경색 교대: 흰(CEO) → 회(핵심가치) → 흰(연혁) */
body { background-color: var(--c-white); }
/* 배경 선 형태(S자) */
.sub-hero-wrap { background-color: var(--c-primary); width: 100%; position: relative; overflow: hidden; }
.hero-bg-line {
    position: absolute; top: 0; left: 0; right: 0;
    margin: 0 auto; width: 100%; max-width: 1100px; height: 100%;
    pointer-events: none; z-index: 0; overflow: visible;
    transition: opacity 0.3s ease;
}
.hero-bg-line path { stroke-dasharray: 4000; stroke-dashoffset: 4000; }
.hero-bg-line.animate path { animation: drawLine 1s cubic-bezier(1, 0, 1, 1) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.sub-hero { padding: clamp(160px, 18vw, 240px) clamp(20px, 5vw, 60px) 80px; color: var(--c-white); max-width: var(--max-width); margin: 0 auto; min-height: 550px; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.sub-hero-title { font-size: clamp(2.5rem, 6.5vw, 5.5rem); font-weight: 900; margin-bottom: 24px; letter-spacing: -0.04em; line-height: 1.1; display: flex; align-items: center; color: var(--c-white); flex-wrap: wrap; min-height: clamp(3.5rem, 8vw, 6rem); }
.sub-hero-desc { font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 400; color: rgba(255, 255, 255, 0.9); line-height: 1.6; max-width: 700px; min-height: 100px; word-break: keep-all; }

.cursor { display: inline-block; font-weight: 300; margin-left: 4px; animation: blink 1s step-end infinite; color: var(--c-white); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* CEO Info Section */
.page-section { padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px); max-width: var(--max-width); margin: 0 auto; }
.ceo-wrap { display: flex; gap: clamp(40px, 6vw, 80px); align-items: flex-start; }
.ceo-img { flex: 1; overflow: hidden; border-radius: 24px; width: 100%; }
.ceo-img img { width: 100%; height: auto; display: block; filter: grayscale(20%); object-fit: cover; }
.ceo-text { flex: 1.2; padding-top: 20px; }
.ceo-text h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: 30px; color: var(--c-dark); letter-spacing: -0.03em; line-height: 1.3; word-break: keep-all; }
.ceo-text p { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 2; color: #444444; margin-bottom: 24px; font-weight: 400; word-break: keep-all; }

/* Core Values Section */
.values-wrap { background-color: var(--c-bg); padding: clamp(60px, 8vw, 100px) 0 clamp(30px, 4vw, 60px) 0; width: 100%; }
.values-container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); display: flex; gap: clamp(40px, 8vw, 100px); align-items: flex-start; }
.values-title-area { flex: 1; position: sticky; top: 140px; margin-bottom: 0; }
.values-title { font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 900; color: var(--c-dark); line-height: 1.1; letter-spacing: -0.04em; margin: 0; }
.values-list { flex: 2; display: flex; flex-direction: column; gap: 0; width: 100%; }
.value-item { border-top: 2px solid var(--c-dark); padding: clamp(40px, 5vw, 60px) 0; display: flex; gap: clamp(30px, 5vw, 60px); align-items: flex-start; }
.value-svg { flex-shrink: 0; display: flex; color: var(--c-dark); }
.value-svg svg { width: clamp(60px, 8vw, 100px); height: auto; }
.value-text { flex: 1; }
.value-icon { font-size: 1.125rem; font-weight: 700; color: var(--c-primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.15em; }
.value-item h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; color: var(--c-dark); letter-spacing: -0.02em; word-break: keep-all; }
.value-item p { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.8; color: var(--c-text-secondary); max-width: 500px; word-break: keep-all; }

/* History Section */
.history-wrap { padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px) clamp(100px, 12vw, 160px); max-width: var(--max-width); margin: 0 auto; }
.history-header { margin-bottom: clamp(40px, 6vw, 80px); border-bottom: 2px solid var(--c-dark); padding-bottom: 16px; }
.history-title { font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 900; color: var(--c-dark); letter-spacing: -0.04em; margin: 0; }
.history-list { position: relative; padding-left: clamp(40px, 6vw, 60px); margin-top: 20px; }
.history-list::before {
    content: ""; position: absolute; left: clamp(19px, 3vw, 29px); top: 8px; bottom: 8px;
    width: 2px; background: #e5e8eb; transform: translateX(-50%);
}
.history-item { display: flex; position: relative; padding: 0 0 clamp(50px, 8vw, 80px) 0; border-bottom: none; gap: clamp(20px, 4vw, 60px); }
.history-item:last-child { padding-bottom: 0; }
.history-item::before {
    content: ""; position: absolute; left: calc(clamp(40px, 6vw, 60px) * -1 + clamp(19px, 3vw, 29px)); top: 4px;
    width: 14px; height: 14px; border-radius: 50%; background: var(--c-primary); 
    transform: translateX(-50%); box-shadow: 0 0 0 6px var(--c-bg, #f8f9fa); z-index: 1;
}
.history-year { flex: 0 0 clamp(110px, 14vw, 140px); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; color: var(--c-primary); letter-spacing: -0.02em; line-height: 1.2; }
.history-content { flex: 1; }
.history-desc { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--c-dark); line-height: 1.4; font-weight: 700; margin-bottom: 12px; word-break: keep-all; }
.history-sub { font-size: clamp(0.95rem, 1.2vw, 1.05rem); color: var(--c-text-secondary); line-height: 1.6; word-break: keep-all; }

/* 모바일 반응형 */
@media (max-width: 1024px) {
    .ceo-wrap { flex-direction: column; gap: 40px; }
    .values-container { flex-direction: column; gap: 20px; }
    .values-title-area { position: static; margin-bottom: 0; }
    .history-item { flex-direction: column; gap: 12px; }
    .history-year { flex: auto; }
}

@media (max-width: 768px) {
    .sub-hero { min-height: 480px; padding: 160px 20px 60px; }
    .hero-bg-line { opacity: 0.15; }
    .values-wrap { padding: 50px 0 30px; }
    .values-container { gap: 12px; }
    .values-title-area { margin-bottom: 0; }
    .value-item { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 0; }
    .value-svg { flex: auto; width: 100%; max-width: 100px; justify-content: center; margin-bottom: 0; }
    .value-icon { margin-bottom: 8px; }
    .value-item h3 { margin-bottom: 12px; }
}