/* 020202.css — 컨택센터 / VELOCE
   수치는 design/020202_VELOCE.svg 를 브라우저 렌더한 1920×5515 기준 픽셀 실측.
   단일 줄 텍스트는 line-height:1 로 두어 잉크 박스 ≈ 라인 박스가 되게 하고,
   요소 간 여백은 실측 delta 를 그대로 margin 으로 넣는다.

   세로 좌표(아트보드)
     헤더             0 ~   64
     히어로          64 ~  668   (하단 1px #E8ECEF 구분선 669)
     주요 특징      670 ~ 1605   (#FAFBFC)
     기대 효과     1606 ~ 2089
     활용 사례     2090 ~ 2651   (#FAFBFC)
     시스템 구성도 2652 ~ 3385
     고객사        3386 ~ 4651   (#FAFBFC)
     관련 솔루션   4652 ~ 5314
     푸터          5315 ~                                               */

/* ══ 히어로 ══════════════════════════════════════════════
   배지 top 160 / 일러스트 프레임 1016~1535 × 160~495 / 버튼 520~573 / 섹션 끝 668 */
.vel-hero {
  padding: 96px 0 95px; /* 헤더 64 + 96 = 배지 160 */
  border-bottom: 1px solid var(--color-card-line);
}

.vel-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-pc);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.vel-hero__badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 15px; /* 실측 폭 82 */
  margin-bottom: 22px;
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1;
  color: var(--color-primary);
}

.vel-hero__title {
  font-size: 60px; /* "VELOCE" 실측 잉크 228×44 */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.vel-hero__subtitle {
  margin-top: 35px; /* 타이틀 박스 하단 274 → 부제 잉크 310 */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
  color: var(--color-text);
}

/* 본문 4줄(줄간격 30). 두 번째 문장이 시안에서 새 줄로 시작하므로 <br> 로 끊는다 */
.vel-hero__desc {
  margin-top: 21px; /* 부제 박스 하단 331 → 본문 잉크 358 */
  max-width: 570px; /* 시안 최대 줄 폭 552 */
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.25px;
  line-height: 30px;
  word-break: keep-all; /* 시안이 어절 경계에서 끊긴다 */
  color: var(--color-text-sub);
}

/* 일러스트 : clipPath 프레임 1016~1535 × 160~495 (SVG-TO-HTML §28-9) */
.vel-hero__image {
  flex: none;
  margin: 0; /* 히어로 안쪽 top 160 / 콘텐츠 우측 1536 에 그대로 붙는다 */
}

/* ── 버튼 : 선 173×54, radius 8, 텍스트 + 다운로드 아이콘 14, gap 9 ── */
.vel-actions {
  margin-top: 48px; /* 본문 박스 하단 472 → 버튼 520 */
  display: flex;
  gap: 16px;
}

.vel-btn {
  width: 173px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
  transition: background-color .2s ease, border-color .2s ease;
}

.vel-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

/* ══ 섹션 공통 ═══════════════════════════════════════════
   섹션 top → eyebrow 잉크 83 / eyebrow → 제목 잉크 19 / 제목 → 본문 블록 53 */
.vel-section--alt {
  background: var(--color-bg-alt);
}

.vel-section .section__inner {
  padding-top: 82px;
  padding-bottom: 80px;
}

.vel-eyebrow {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-muted);
}

.vel-title {
  margin-top: 17px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--color-text);
}

/* ══ 주요 특징 ═══════════════════════════════════════════
   카드 368 ×3 + gap 24 = 1152 / 카드 높이 202 / 3행(3+3+1) / 상단 872 */
.vel-feature {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vel-feature__item {
  padding: 24px;
  border: 1px solid var(--color-card-line);
  border-radius: 12px;
  background: var(--color-bg);
}

.vel-feature__icon {
  display: block;
  width: 48px;
  height: 48px;
}

.vel-feature__name {
  display: block;
  margin-top: 19px; /* 아이콘 하단 945 → 이름 잉크 967 */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.vel-feature__desc {
  max-width: 312px; /* 시안 최대 줄 폭 312 */
  margin-top: 15px; /* 이름 잉크 하단 986 → 본문 잉크 1006 */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 24px;
  word-break: keep-all;
  color: var(--color-text-sub);
}

/* ══ 기대 효과 ═══════════════════════════════════════════
   2열 552 + gap 48 / 2행 / 항목 112 + 구분선 1 = 113 */
.vel-benefit {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
}

.vel-benefit__item {
  display: flex;
  align-items: flex-start;
  padding: 29px 0 23px;
  border-bottom: 1px solid var(--color-card-line);
}

.vel-benefit__num {
  flex: none;
  width: 68px; /* 번호 잉크 x386 → 제목 x452 */
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #d1d9f3;
}

.vel-benefit__body {
  display: block;
}

.vel-benefit__name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.vel-benefit__desc {
  display: block;
  max-width: 430px; /* 시안 최대 줄 폭 387 */
  margin-top: 14px; /* 제목 잉크 하단 1833 → 설명 잉크 1853 */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 24px;
  word-break: keep-all;
  color: var(--color-text); /* 이 섹션만 본문색이 진하다 (시안 실측 #1A1F2E) */
}

/* ══ 활용 사례 ═══════════════════════════════════════════
   1행 368 ×3 / 2행 564 ×2, gap 24. 6칸 그리드로 두 폭을 함께 쓴다.
   설명은 모두 한 줄이라 max-width 없이 카드 안쪽 폭에 맡긴다 */
.vel-case {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.vel-case__item {
  padding: 32px;
  border: 1px solid var(--color-card-line);
  border-radius: 12px;
  background: var(--color-bg);
}

.vel-case__item--third {
  grid-column: span 2;
}

.vel-case__item--half {
  grid-column: span 3;
}

.vel-case__name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.vel-case__desc {
  margin-top: 16px; /* 제목 잉크 하단 2349 → 본문 잉크 2369 */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 24px;
  word-break: keep-all;
  color: var(--color-text-sub);
}

/* ══ 시스템 구성도 ═══════════════════════════════════════
   패널 1152×452 (2854~3305), 다이어그램 1150×449 */
.vel-arch {
  margin-top: 53px;
  border: 1px solid var(--color-card-line);
  border-radius: 11px; /* 12 면 모서리 안티에일리어싱이 시안과 1행 어긋난다 */
  background: var(--color-bg);
}

.vel-arch__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ══ 고객사 ══════════════════════════════════════════════
   칩 높이 42 / 가로 gap 17 · 세로 16 / 좌측 정렬 / 업종 그룹 사이 40 */
.vel-client {
  margin-top: 53px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 17px;
  row-gap: 16px;
}

.vel-client + .vel-client {
  margin-top: 40px;
}

.vel-client__item {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--color-card-line);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.3px;
  color: var(--color-text-sub);
}

/* ══ 관련 솔루션 ═════════════════════════════════════════
   카드 368 ×3 + gap 24 / 카드 높이 302.
   설명 줄 수가 카드마다 달라도 링크는 세 장 모두 y5104 → 하단 고정 */
.vel-solution {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vel-solution__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--color-card-line);
  border-radius: 12px;
  background: var(--color-bg);
}

.vel-solution__icon {
  display: block;
  width: 48px;
  height: 48px;
}

.vel-solution__name {
  display: block;
  margin-top: 22px; /* 아이콘 하단 4935 → 제목 잉크 4959 */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.vel-solution__desc {
  margin-top: 11px; /* 제목 잉크 하단 4975 → 본문 잉크 4996 */
  margin-bottom: 25px; /* 3줄 카드(가장 높은 카드) 기준 본문 박스 하단 5073 → 링크 박스 5099 */
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 28px;
  word-break: keep-all;
  color: var(--color-text-sub);
}

.vel-solution__link {
  margin-top: auto; /* 카드 하단 정렬 — 링크 잉크 5104 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}

.vel-solution__link:hover {
  text-decoration: underline;
}

.vel-cta .section__inner {
  padding-bottom: 159px; /* 카드 하단 5155 → 푸터 5315 */
}

/* ══ 태블릿 ══════════════════════════════════════════════
   모바일 시안이 없으므로 1단 스택 + 좌우 여백 규칙을 따른다 */
@media (max-width: 1023px) {
  .vel-hero {
    padding: 64px 0;
  }

  .vel-hero__inner {
    flex-direction: column;
    gap: 48px;
  }

  .vel-hero__image {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0;
  }

  .vel-hero__desc {
    max-width: none;
  }

  .vel-hero__desc br {
    display: none;
  }

  .vel-section .section__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .vel-cta .section__inner {
    padding-bottom: 100px;
  }

  .vel-feature,
  .vel-solution {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
  }

  .vel-feature__desc,
  .vel-benefit__desc {
    max-width: none;
  }

  .vel-feature__desc br {
    display: none;
  }

  .vel-benefit {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  /* 6칸 그리드는 좁은 폭에서 카드가 너무 눌린다. 2열로 되돌린다 */
  .vel-case {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
  }

  .vel-case__item--third,
  .vel-case__item--half {
    grid-column: span 1;
  }

  .vel-arch,
  .vel-client {
    margin-top: 40px;
  }
}

/* ══ 모바일 ══════════════════════════════════════════════ */
@media (max-width: 767px) {
  .vel-hero {
    padding: 48px 0;
  }

  /* .section__inner 와 좌우 여백을 맞춘다 */
  .vel-hero__inner {
    padding: 0 var(--gutter-mo);
  }

  .vel-hero__title {
    font-size: 36px;
  }

  .vel-hero__subtitle {
    margin-top: 20px;
    font-size: 18px;
  }

  .vel-hero__desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 26px;
  }

  .vel-actions {
    margin-top: 32px;
  }

  .vel-title {
    margin-top: 14px;
    font-size: 24px;
  }

  .vel-section .section__inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .vel-cta .section__inner {
    padding-bottom: 64px;
  }

  .vel-feature,
  .vel-case,
  .vel-solution {
    grid-template-columns: 1fr;
  }

  .vel-feature__item,
  .vel-case__item,
  .vel-solution__item {
    padding: 20px;
  }

  .vel-feature__name,
  .vel-case__name,
  .vel-benefit__name,
  .vel-solution__name {
    font-size: 18px;
  }

  .vel-feature__desc,
  .vel-case__desc,
  .vel-benefit__desc,
  .vel-solution__desc {
    font-size: 15px;
    line-height: 24px;
  }

  .vel-benefit__item {
    padding: 20px 0;
  }

  .vel-benefit__num {
    width: 52px;
    font-size: 32px;
  }

  /* 구성도는 가로로 긴 다이어그램이라 그대로 줄이면 글자가 안 보인다.
     최소 폭을 두고 패널 안에서만 가로로 흐르게 한다 */
  .vel-arch {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vel-arch__image {
    width: 860px;
    max-width: none;
  }

  .vel-client__item {
    height: 38px;
    padding: 0 18px;
    font-size: 15px;
  }

  .vel-client + .vel-client {
    margin-top: 28px;
  }
}
