/* 개선안 전용 CSS (목업) — 승인 시안 A의 토큰만 쓴다. 새 색은 남색·청록을 섞은 파생값뿐(color-mix).
   금지 유지: 그라데이션 추가 없음(히어로 덮개는 승인분 그대로) · 그림자 카드 없음 · 알약 버튼 없음 · 별점·통계 숫자 칸 없음.
   섹션 리듬: 흰(light) → 베이지(alt) → 남색(dark) 교대. */

:root {
  --ix-accent-on-dark: color-mix(in srgb, var(--color-accent) 45%, var(--color-bg) 55%);
  --ix-line-on-dark: color-mix(in srgb, var(--color-bg) 18%, var(--color-primary) 82%);
  --ix-text-on-dark: color-mix(in srgb, var(--color-bg) 78%, var(--color-primary) 22%);
}

/* ===== 섹션 머리(라벨 1-4 · 제목 5-12) — 승인된 4:8 비대칭 형식을 다른 섹션에도 재사용 ===== */
.ix-head { margin-bottom: var(--sp-48); align-items: end; }
.ix-label {
  display: flex; align-items: center; gap: var(--sp-12);
  margin: 0; font-size: var(--fs-14); font-weight: 600; line-height: var(--lh-label);
  color: var(--color-accent);
}
.ix-label::before { content: ""; width: var(--sp-32); height: 2px; background: currentColor; flex-shrink: 0; }
.section--dark .ix-label { color: var(--ix-accent-on-dark); }
.ix-h2 { font-size: var(--fs-28); line-height: var(--lh-head); margin: 0; }
.ix-lead { margin: var(--sp-12) 0 0; font-size: var(--fs-16); line-height: var(--lh-body); color: var(--c-muted); }
.section--dark .ix-lead { color: var(--ix-text-on-dark); }
@media (max-width: 640px) {
  .ix-head { margin-bottom: var(--sp-32); row-gap: var(--sp-12); }
  .ix-h2 { font-size: var(--fs-24); }
}

/* ===== 신뢰 띠 — 아이콘 + 굵은 핵심어 + 설명 ===== */
.trust--icon li {
  display: grid; grid-template-columns: 48px 1fr; column-gap: var(--sp-16); align-items: start;
  padding-top: var(--sp-24); border-top: 2px solid var(--color-primary);
}
.ix-icon { width: 48px; height: 48px; display: grid; place-items: start center; color: var(--color-accent); }
.ix-icon svg { width: 36px; height: 36px; }
.trust--icon strong { display: block; font-size: var(--fs-20); line-height: var(--lh-head); color: var(--color-primary); margin-bottom: var(--sp-4); }
.trust--icon span.ix-sub { display: block; font-size: var(--fs-14); line-height: var(--lh-body); color: var(--c-muted); }
@media (max-width: 640px) {
  .trust--icon .grid-3 { grid-template-columns: 1fr; gap: var(--sp-16); }
  .trust--icon li { padding-top: var(--sp-16); }
}

/* ===== 진행 순서 — 번호 원 + 잇는 선 + 한 줄 설명 ===== */
.ix-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter-desktop); }
.ix-steps li { position: relative; }
.ix-steps li::after { /* 다음 단계로 잇는 선 */
  content: ""; position: absolute; top: 23px; left: 56px; right: calc(-1 * var(--gutter-desktop) + 8px);
  height: 2px; background: var(--c-border);
}
.ix-steps li:last-child::after { display: none; }
.ix-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--color-accent); color: var(--color-accent); background: var(--color-bg);
  font-size: var(--fs-18); font-weight: 700; line-height: 1;
  margin-bottom: var(--sp-24);
}
.ix-steps li:first-child .ix-num { background: var(--color-accent); color: var(--color-bg); }
.ix-steps h3 { font-size: var(--fs-18); line-height: var(--lh-subhead); margin: 0 0 var(--sp-8); }
.ix-steps p { font-size: var(--fs-14); line-height: var(--lh-body); color: var(--c-muted); margin: 0; }
.section--alt .ix-num { background: var(--color-bg-alt); }
.section--alt .ix-steps li:first-child .ix-num { background: var(--color-accent); }
@media (max-width: 900px) {
  .ix-steps { grid-template-columns: 1fr; gap: 0; }
  .ix-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--sp-16); padding-bottom: var(--sp-24); }
  .ix-steps li::after { top: 52px; bottom: 4px; left: 23px; right: auto; width: 2px; height: auto; }
  .ix-num { margin-bottom: 0; grid-row: 1 / 3; }
  .ix-steps h3 { padding-top: var(--sp-12); }
  .ix-steps p { grid-column: 2; }
}

/* ===== 현장 사례 — 큰 사진 1 + 작은 사진 2 (다른 섹션과 다른 짜임) ===== */
.ix-cases { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter-desktop); }
.ix-cases__side { display: grid; gap: var(--gutter-desktop); }
.ix-case { margin: 0; }
.ix-case img { display: block; width: 100%; object-fit: cover; border-radius: var(--radius-card); }
.ix-case--big img { aspect-ratio: 4 / 3; }
.ix-case--small { display: grid; grid-template-columns: 5fr 6fr; gap: var(--sp-24); align-items: start; }
.ix-case--small img { aspect-ratio: 1 / 1; }
.ix-case figcaption { padding-top: var(--sp-16); }
.ix-case--small figcaption { padding-top: 0; }
.ix-case h3 { font-size: var(--fs-18); line-height: var(--lh-subhead); margin: var(--sp-8) 0; }
.ix-case p { font-size: var(--fs-14); line-height: var(--lh-body); color: var(--c-muted); margin: 0; }
.ix-case .ix-where { font-size: var(--fs-13); font-weight: 600; color: var(--color-accent); line-height: var(--lh-label); }
.ix-dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4) var(--sp-12); margin: 0; font-size: var(--fs-14); line-height: var(--lh-body); }
.ix-dl dt { font-weight: 600; color: var(--color-primary); }
.ix-dl dd { margin: 0; color: var(--c-muted); }
@media (max-width: 640px) {
  .ix-cases { grid-template-columns: 1fr; gap: var(--sp-32); }
  .ix-cases__side { gap: var(--sp-32); }
  .ix-case--small { grid-template-columns: 1fr; gap: 0; }
  .ix-case--small img { aspect-ratio: 4 / 3; }
  .ix-case--small figcaption { padding-top: var(--sp-16); }
}

/* ===== CTA 띠 — 남색 면에 제목 + 한 줄 안내 + 버튼 ===== */
.band--ix { padding: var(--sp-96) 0; }
.band--ix .ix-h2 { color: var(--color-bg); font-size: var(--fs-34); }
.band--ix .ix-cta-line { margin: var(--sp-16) 0 var(--sp-32); font-size: var(--fs-17); line-height: var(--lh-body); color: var(--ix-text-on-dark); max-width: var(--container-prose); }
.band--ix .ix-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-16) var(--sp-24); }
.ix-hint { margin: 0 0 var(--sp-32); padding: var(--sp-16) 0 0; border-top: 1px solid var(--ix-line-on-dark); max-width: var(--container-prose); }
.ix-hint__title { margin: 0 0 var(--sp-8); font-size: var(--fs-14); font-weight: 600; color: var(--ix-accent-on-dark); line-height: var(--lh-label); }
.ix-hint ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-32); }
.ix-hint li { font-size: var(--fs-17); font-weight: 600; line-height: var(--lh-subhead); color: var(--color-bg); display: flex; align-items: center; gap: var(--sp-8); }
.ix-hint li::before { content: ""; width: var(--sp-8); height: var(--sp-8); background: var(--ix-accent-on-dark); flex-shrink: 0; }
@media (max-width: 640px) { .ix-hint ul { flex-direction: column; } }
@media (max-width: 640px) {
  .band--ix { padding: var(--section-mobile) 0; }
  .band--ix .ix-h2 { font-size: var(--fs-24); }
}

/* ===== 푸터 — 회사 한 줄 · 서비스 지역 · 메뉴 · 운영 안내 4칸 ===== */
.ix-footer { background: var(--color-primary); color: var(--color-bg); padding: var(--sp-64) 0 var(--sp-32); border-top: 1px solid var(--ix-line-on-dark); }
.ix-footer .ix-fcol--brand { grid-column: 1 / 6; }
.ix-footer .ix-fcol--area { grid-column: 7 / 10; }
.ix-footer .ix-fcol--menu { grid-column: 10 / 13; }
.ix-flogo { font-size: var(--fs-20); font-weight: 700; margin: 0 0 var(--sp-12); }
.ix-footer p, .ix-footer li { font-size: var(--fs-14); line-height: var(--lh-body); color: var(--ix-text-on-dark); margin: 0; }
.ix-footer h4 { font-size: var(--fs-13); font-weight: 600; color: var(--ix-accent-on-dark); margin: 0 0 var(--sp-12); line-height: var(--lh-label); }
.ix-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.ix-footer a { color: var(--color-bg); text-decoration: none; }
.ix-footer a:hover { text-decoration: underline; }
.ix-footer a:focus-visible { outline: 2px solid var(--color-bg); outline-offset: 2px; }
.ix-fbottom {
  grid-column: 1 / 13; margin-top: var(--sp-48); padding-top: var(--sp-24);
  border-top: 1px solid var(--ix-line-on-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-12);
  font-size: var(--fs-13); color: var(--ix-text-on-dark);
}
.ix-fbottom .footer__link { margin: 0; }
@media (max-width: 900px) {
  .ix-footer .ix-fcol--brand { grid-column: 1 / 13; }
  .ix-footer .ix-fcol--area, .ix-footer .ix-fcol--menu { grid-column: span 6; }
}
@media (max-width: 640px) {
  .ix-footer { padding: var(--section-mobile) 0 calc(var(--sp-32) + var(--btn-height) + var(--sp-8) * 2 + 1px); }
  .ix-footer .ix-fcol--area, .ix-footer .ix-fcol--menu { grid-column: span 6; }
  .ix-fbottom { margin-top: var(--sp-16); }
}

/* ===== 서비스 히어로 — 제목 + 부제 + 체크 3줄 + 버튼 ===== */
.ix-svc-hero .col-half-a { align-self: center; }
.ix-svc-hero h1 { font-size: var(--fs-40); line-height: var(--lh-display); margin-bottom: var(--sp-24); }
.ix-svc-sub { font-size: var(--fs-17); line-height: var(--lh-body); color: var(--ix-text-on-dark); margin: 0 0 var(--sp-24); }
.ix-checks { list-style: none; margin: 0 0 var(--sp-32); padding: var(--sp-24) 0 0; border-top: 1px solid var(--ix-line-on-dark); display: grid; gap: var(--sp-12); }
.ix-checks li { display: flex; gap: var(--sp-12); align-items: flex-start; font-size: var(--fs-16); font-weight: 600; line-height: var(--lh-subhead); }
.ix-checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ix-accent-on-dark); margin-top: 1px; }
@media (max-width: 640px) {
  .ix-svc-hero h1 { font-size: var(--fs-28); }
}

/* 서비스 상황 카드 — 위 선을 남색 굵은 선으로, 번호 붙여 리듬을 준다 */
.ix-textcards { counter-reset: tc; }
.ix-textcards .textcard { border-top: 2px solid var(--color-primary); padding-top: var(--sp-24); }
.ix-textcards .textcard h3::before {
  counter-increment: tc; content: counter(tc, decimal-leading-zero);
  display: block; font-size: var(--fs-13); font-weight: 600; color: var(--color-accent); margin-bottom: var(--sp-8);
}
@media (max-width: 640px) {
  .ix-textcards.grid-3 { grid-template-columns: 1fr; }
}

/* 블로그 글 카드 제목 링크 — 다른 카드 제목과 같은 글자색·밑줄 없음. hover·focus 는 components.css .nav__link 패턴 그대로(새 색 0) */
.textcard h3 a { color: inherit; text-decoration: none; }
.textcard h3 a:hover { color: color-mix(in srgb, var(--color-text) 40%, var(--color-accent) 60%); }
.textcard h3 a:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }

/* 글 본문 사진 크기 제한 — 선택자를 글 본문([data-slot="blog.post.body"])으로 한정(다른 페이지 영향 0).
   width·height auto + max-* 로 원본 비율 유지(object-fit·자르기 없음), 가운데 정렬. */
[data-slot="blog.post.body"] img.split-img,
[data-slot="blog.post.body"] .ix-case img { width: auto; height: auto; max-width: min(100%, 640px); margin-left: auto; margin-right: auto; }
[data-slot="blog.post.body"] img.split-img { max-height: 560px; }
[data-slot="blog.post.body"] .ix-case img { max-height: 420px; }
@media (max-width: 640px) {
  [data-slot="blog.post.body"] img.split-img,
  [data-slot="blog.post.body"] .ix-case img { max-width: 100%; max-height: 70vh; }
}
