/* ============================================================
   sub-vision.css — 비전/미션/B·I 페이지 (리디자인)
   ============================================================ */

:root {
  --vs-primary: #3A7BD5;
  --vs-primary-dark: #2459b5;
  --vs-blue: #1478CF;
  --vs-teal: #2AA080;
  --vs-lime: #8AB020;
  --vs-ink: #0f1d3d;
  --vs-ink-soft: #44557a;
  --vs-muted: #6b7a99;
  --vs-line: #e3e9f4;
  --vs-bg-soft: #f5f8ff;
}

/* ══════════════════════════════════════════
   HERO 인트로
   ══════════════════════════════════════════ */
.vs-hero {
  position: relative;
  padding: 48px 44px;
  margin-bottom: 64px;
  background:
    radial-gradient(circle at 100% 0%, rgba(58,123,213,0.10) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(138,176,32,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, var(--vs-bg-soft) 100%);
  border: 1px solid var(--vs-line);
  border-radius: 24px;
  overflow: hidden;
}

.vs-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--vs-primary) 0%, var(--vs-lime) 100%);
  border-radius: 24px 0 0 24px;
}

.vs-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--vs-primary);
  background: rgba(58,123,213,0.10);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.vs-hero-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--vs-ink);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.3;
}

.vs-hero-desc {
  font-size: 1rem;
  color: var(--vs-ink-soft);
  line-height: 1.8;
  margin: 0;
  word-break: keep-all;
}

/* ══════════════════════════════════════════
   섹션 공통
   ══════════════════════════════════════════ */
.vs-section {
  margin-bottom: 72px;
}

.vs-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--vs-line);
  position: relative;
}

.vs-section-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: var(--vs-primary);
  border-radius: 3px;
}

.vs-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--vs-primary);
}

.vs-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--vs-ink);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ══════════════════════════════════════════
   슬로건 (심플 텍스트)
   ══════════════════════════════════════════ */
.vs-slogan-card {
  text-align: center;
  padding: 16px 0 8px;
  margin-bottom: 44px;
}

.vs-slogan-dot { display: none; }

.vs-slogan-body { display: block; }

.vs-slogan-main {
  display: block;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.vs-slogan-beyond { color: #8FC31A; }
.vs-slogan-happy  { color: #2c4a7c; margin-left: 10px; }

.vs-slogan-sub {
  display: block;
  font-size: 1rem;
  color: var(--vs-ink-soft);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   4대 목표 카드 그리드
   ══════════════════════════════════════════ */
.vs-goal-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vs-goal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(15,30,80,0.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}

.vs-goal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--vs-primary));
}

.vs-goal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(15,30,80,0.10);
  border-color: transparent;
}

.vs-goal-card--1 { --card-accent: #8AB020; --card-tint: rgba(138,176,32,0.10); --card-color: #6e8f12; }
.vs-goal-card--2 { --card-accent: #2AA080; --card-tint: rgba(42,160,128,0.10); --card-color: #1c7f63; }
.vs-goal-card--3 { --card-accent: #3A7BD5; --card-tint: rgba(58,123,213,0.10); --card-color: #2459b5; }
.vs-goal-card--4 { --card-accent: #1e4e90; --card-tint: rgba(30,78,144,0.12); --card-color: #1e4e90; }

.vs-goal-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--card-color);
  opacity: 0.7;
}

.vs-goal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 24px;
  background: var(--card-tint);
  color: var(--card-color);
  margin-bottom: 4px;
}

.vs-goal-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--vs-ink);
  margin: 0;
  line-height: 1.35;
  word-break: keep-all;
}

.vs-goal-desc {
  font-size: 0.86rem;
  color: var(--vs-muted);
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
}

/* ══════════════════════════════════════════
   B·I 설명
   ══════════════════════════════════════════ */
.vs-bi-desc {
  text-align: center;
  font-size: 1rem;
  color: var(--vs-ink-soft);
  line-height: 1.85;
  margin: 0 0 36px;
  word-break: keep-all;
}

.vs-bi-desc strong {
  color: var(--vs-primary);
  font-weight: 800;
}

/* ══════════════════════════════════════════
   로고 쇼케이스
   ══════════════════════════════════════════ */
.vs-logo-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  margin-bottom: 56px;
}

.vs-logo-card {
  margin: 0;
  background: linear-gradient(135deg, #f0f6ff 0%, #e1ecff 100%);
  border: 1px solid var(--vs-line);
  border-radius: 18px;
  padding: 32px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform .25s, box-shadow .25s;
}

.vs-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(58,123,213,0.14);
}

.vs-logo-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
}

.vs-logo-frame img {
  max-width: 160px;
  max-height: 120px;
  width: auto;
  height: auto;
  display: block;
}

.vs-logo-card--wide .vs-logo-frame img {
  max-width: 260px;
}

.vs-logo-cap {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vs-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   컬러 팔레트
   ══════════════════════════════════════════ */
.vs-palette-head {
  text-align: center;
  margin-bottom: 28px;
}

.vs-palette-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--vs-primary);
  margin-bottom: 6px;
}

.vs-palette-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--vs-ink);
  margin: 0;
}

.vs-color-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vs-color-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform .25s;
}

.vs-color-card:hover {
  transform: translateY(-4px);
}

/* 큰 원형 스와치 + 아래 연결선 */
.vs-color-swatch {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  /*box-shadow: 0 10px 24px rgba(15,30,80,0.14);*/
  margin-bottom: 20px;
}

.vs-color-swatch::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 20px;
  background: var(--vs-line);
  transform: translateX(-50%);
}

.vs-color-card--blue .vs-color-swatch {
  background: radial-gradient(circle at 38% 38%, #4fb0ff 0%, #1478cf 100%);
}
.vs-color-card--teal .vs-color-swatch {
  background: radial-gradient(circle at 38% 38%, #4dd4b0 0%, #2aa080 100%);
}
.vs-color-card--lime .vs-color-swatch {
  background: radial-gradient(circle at 38% 38%, #b4d830 0%, #8ab020 100%);
}

.vs-color-body {
  width: 100%;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(15,30,80,0.06);
  box-sizing: border-box;
}

.vs-color-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--vs-ink);
  margin: 0;
  letter-spacing: 0.01em;
}

.vs-color-meaning {
  font-size: 0.88rem;
  color: var(--vs-ink-soft);
  line-height: 1.65;
  margin: 0;
  word-break: keep-all;
}

.vs-color-meaning strong {
  font-weight: 800;
  color: var(--vs-ink);
}

.vs-color-codes {
  margin: 4px 0 0;
  padding: 14px 16px;
  background: #f6f8fc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vs-color-codes > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.vs-color-codes dt {
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--vs-muted);
  margin: 0;
}

.vs-color-codes dd {
  font-family: 'Roboto Mono', 'Consolas', monospace;
  font-weight: 700;
  color: var(--vs-ink);
  margin: 0;
}

/* ══════════════════════════════════════════
   반응형
   ══════════════════════════════════════════ */

/* 1200px 이하: 4대 목표 2x2 */
@media (max-width: 1200px) {
  .vs-goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 991px 이하 */
@media (max-width: 991px) {
  .vs-hero { padding: 40px 32px; }
  .vs-hero-title { font-size: 1.5rem; }

  .vs-slogan-card { padding: 10px 0; }

  .vs-logo-showcase { grid-template-columns: 1fr; }
  .vs-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-color-swatch { width: 120px; height: 120px; }
}

/* 767px 이하: 모바일 */
@media (max-width: 767px) {
  .vs-section { margin-bottom: 56px; }

  .vs-hero {
    padding: 32px 24px;
    margin-bottom: 48px;
    border-radius: 18px;
  }
  .vs-hero::before { width: 4px; }
  .vs-hero-title { font-size: 1.3rem; }
  .vs-hero-desc { font-size: 0.92rem; }
  .vs-br-pc { display: none; }

  .vs-section-head { margin-bottom: 24px; padding-bottom: 14px; }
  .vs-section-title { font-size: 1.15rem; }

  .vs-slogan-card { padding: 8px 0; margin-bottom: 32px; }
  .vs-slogan-main { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .vs-slogan-sub { font-size: 0.9rem; }

  .vs-goal-grid { gap: 12px; }
  .vs-goal-card { padding: 22px 18px 20px; border-radius: 14px; }
  .vs-goal-icon { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
  .vs-goal-title { font-size: 0.95rem; }
  .vs-goal-desc { font-size: 0.8rem; }

  .vs-bi-desc { font-size: 0.92rem; margin-bottom: 28px; }

  .vs-logo-card { padding: 26px 22px 18px; border-radius: 14px; }
  .vs-logo-frame img { max-width: 130px; }
  .vs-logo-card--wide .vs-logo-frame img { max-width: 210px; }

  .vs-color-grid { grid-template-columns: 1fr; gap: 24px; }
  .vs-color-swatch { width: 110px; height: 110px; margin-bottom: 18px; }
  .vs-color-swatch::after { height: 18px; }
  .vs-color-body { padding: 18px; border-radius: 14px; }
}

/* 420px 이하: 매우 작은 모바일 */
@media (max-width: 420px) {
  .vs-goal-grid { grid-template-columns: 1fr; }
  .vs-slogan-happy { display: block; margin-left: 0; margin-top: 4px; }
}
