/* ==============================================
   about.css — 회사 소개 페이지 전용 스타일
   ============================================== */

/* ===== 공통 유틸 ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(15,76,117,0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* ===== 1. 스토리 섹션 ===== */
.story-section {
    padding: 7rem 2rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6rem;
    align-items: center;
}

.story-left .section-heading {
    margin-bottom: 0.5rem;
}

.story-left .story-accent {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.8rem;
    line-height: 1.75;
}

.story-right p {
    font-size: 1.03rem;
    line-height: 2;
    color: var(--text);
    margin-bottom: 1.4rem;
}

.story-right p:last-child { margin-bottom: 0; }

.story-right strong {
    color: var(--primary);
    font-weight: 700;
}

/* ===== 3. 미션 & 비전 ===== */
.mv-section {
    padding: 8rem 2rem;
    background: var(--background);
}

.mv-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.mv-intro .section-heading {
    margin-top: 0.6rem;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.mv-card.mission {
    background: var(--primary);
    color: white;
}

.mv-card.vision {
    background: var(--background-soft);
    border: 2px solid var(--border);
}

.mv-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mv-card.mission .mv-card-label { color: rgba(255,255,255,0.5); }
.mv-card.vision .mv-card-label { color: var(--accent); }

.mv-card-label::before {
    content: '';
    display: inline-block;
    width: 20px; height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.mv-card-quote {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.mv-card.mission .mv-card-quote { color: #fff; }
.mv-card.vision .mv-card-quote { color: var(--primary); }

.mv-card-sub {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.75;
}

.mv-card.mission .mv-card-sub { color: rgba(255,255,255,0.55); }
.mv-card.vision .mv-card-sub { color: var(--text-light); }

.mv-card .mv-bg-num {
    position: absolute;
    right: 2rem; bottom: -1rem;
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.mv-card.mission .mv-bg-num { color: rgba(255,255,255,0.04); }
.mv-card.vision .mv-bg-num { color: rgba(15,76,117,0.05); }

/* ===== 4. 핵심 가치 ===== */
.values-section {
    padding: 8rem 2rem;
    background: var(--background-soft);
}

.values-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.values-intro .section-heading { margin-top: 0.6rem; }

.values-intro p {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.8rem 2.5rem;
    border: 1.5px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    border-color: var(--card-accent, #0f4c75);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--card-accent, #0f4c75);
    border-radius: 20px 20px 0 0;
}

.value-card-1 { --card-accent: #0f4c75; }
.value-card-2 { --card-accent: #3282b8; }
.value-card-3 { --card-accent: #764ba2; }

.value-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--card-accent);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.value-card p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-light);
}

.value-keyword {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--card-accent);
    background: rgba(0,0,0,0.04);
    padding: 5px 12px;
    border-radius: 999px;
}

/* ===== 5. 연혁 ===== */
.history-section {
    padding: 8rem 2rem;
    background: var(--background);
}

.history-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.history-intro .section-heading { margin-top: 0.6rem; }

.timeline-modern {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(15,76,117,0.1));
}

.tl-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-item.left .tl-content  { grid-column: 1; text-align: right; }
.tl-item.left .tl-dot      { grid-column: 2; }
.tl-item.left .tl-empty    { grid-column: 3; }

.tl-item.right .tl-empty   { grid-column: 1; }
.tl-item.right .tl-dot     { grid-column: 2; }
.tl-item.right .tl-content { grid-column: 3; text-align: left; }

.tl-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(15,76,117,0.12), 0 0 0 12px rgba(15,76,117,0.05);
    flex-shrink: 0;
    z-index: 1;
}

.tl-dot.current {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 0 6px rgba(102,126,234,0.15), 0 0 0 12px rgba(102,126,234,0.07);
}

.tl-dot svg {
    width: 18px; height: 18px;
    stroke: white; fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.tl-content {
    background: var(--background-soft);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    border: 1.5px solid var(--border);
    transition: box-shadow 0.2s;
}

.tl-content:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tl-content.current {
    background: var(--primary);
    border-color: transparent;
}

.tl-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.tl-content.current .tl-year { color: rgba(255,255,255,0.5); }

.tl-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.tl-content.current h4 { color: #fff; }

.tl-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.tl-content.current p { color: rgba(255,255,255,0.55); }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .mv-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }

    .timeline-modern::before { left: 22px; transform: none; }
    .tl-item { grid-template-columns: auto 1fr; gap: 1.5rem; }
    .tl-item.left .tl-content,
    .tl-item.right .tl-content { grid-column: 2; text-align: left; }
    .tl-item.left .tl-dot,
    .tl-item.right .tl-dot { grid-column: 1; }
    .tl-item.left .tl-empty,
    .tl-item.right .tl-empty { display: none; }
}

@media (max-width: 600px) {
    .stats-inner { grid-template-columns: 1fr 1fr; }
}