/* [dev] 안전컨설팅 / 성장컨설팅 두 갈래 구성 */
:root { --track-safety: #004098; --track-dilemma: #c2410c; }

.track-header { border-left: 6px solid var(--track-safety); padding-left: 1rem; }
.track-header--dilemma { border-left-color: var(--track-dilemma); }
.track-header--dilemma .section-eyebrow { color: var(--track-dilemma); }
.track-switch { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; font-size: .95rem; }
.track-switch a { font-weight: 600; text-decoration: none; color: var(--color-primary); }
.track-switch a:hover { text-decoration: underline; }

.track-section { margin-top: 2.75rem; }
.track-section > h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .75rem; }
.track-lead { color: #475569; margin-bottom: 1rem; line-height: 1.7; max-width: 52rem; }
.track-note { margin-top: 1rem; font-size: .9rem; color: #64748b; }
.track-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .5rem 1.25rem; margin: 0 0 1.25rem; padding-left: 1.1rem; list-style: disc; }
.track-topics li { line-height: 1.6; }
.track-process { max-width: 52rem; }
.track-static-card { cursor: default; }
.ec-channel { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0 1.5rem; }

/* 홈 첫 화면 — 두 갈래 입구 */
.track-gate { padding: 2.5rem 0 1rem; }
.track-gate-head { text-align: center; max-width: 46rem; margin: 0 auto 1.75rem; }
.track-gate-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; line-height: 1.3; }
.track-gate-head p { color: #475569; margin-top: .75rem; line-height: 1.7; }
/* 홈 사명 문구를 크게 */
.track-gate-head { max-width: 72rem; }
.track-gate-head .section-title + p { max-width: 46rem; margin-left: auto; margin-right: auto; word-break: keep-all; }
.track-gate-head .section-eyebrow { font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 800; letter-spacing: .12em; color: var(--color-primary, #004098); margin: 0; }
.track-gate-head .section-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; margin-top: .5rem; word-break: keep-all; }
.track-gate-head .section-title + p { font-size: clamp(1rem, 1.3vw, 1.15rem); }
.track-gate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.track-door { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; border-radius: 18px; color: #fff; text-decoration: none; min-height: 260px; position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.track-door:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 23, 42, .18); }
.track-door--safety { background: linear-gradient(135deg, #003070, #0057c2); }
.track-door--dilemma { background: linear-gradient(135deg, #18213a, #2b3a63); }
.track-door-eyebrow { font-size: .8rem; letter-spacing: .12em; opacity: .85; font-weight: 600; }
.track-door h2 { font-size: 1.6rem; font-weight: 800; }
.track-door p { line-height: 1.65; opacity: .95; }
.track-door ul { margin: 0; padding-left: 1.1rem; list-style: disc; font-size: .95rem; opacity: .95; line-height: 1.7; }
.track-door-cta { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.track-door-mark { position: absolute; right: -24px; bottom: -24px; width: 150px; opacity: .14; pointer-events: none; }
.track-door--dilemma .track-door-cta { color: #f7a82e; }

/* 휴대폰 폭에서도 홈 모션그래픽을 여백 없이 꽉 채운다 (원래는 contain) */
@media (max-width: 768px) {
  body.page-home .hero-kisa-video { object-fit: cover; object-position: center; }
}
