/* 크리티컬 대표홈페이지 — services 화면 스타일 (원본 Vue 컴포넌트 scoped 스타일을 전역으로 옮김) */

/* ── components/CtaBlock.vue ── */
.cta {
  padding: 40px 0 120px;
}
.cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 64px;
  overflow: hidden;
  border-radius: var(--radius-eng);
  background:
    radial-gradient(50% 120% at 100% 100%, rgba(237, 28, 46, 0.2), transparent 70%),
    var(--ink);
  color: #fff;
}
.cta__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}
.cta__title {
  margin-top: 10px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.04em;
  word-break: keep-all;
  white-space: pre-line; /* 제목에 넣은 줄바꿈 위치를 그대로 표시 */
  text-wrap: balance;
}
.cta__lead {
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}
.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.cta__btn:hover {
  border-color: #fff;
}
.cta__btn.is-primary {
  border-color: var(--brand);
  background: var(--brand);
}
.cta__btn.is-primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}
.cta__btn i {
  font-style: normal;
}
.cta__btn:not(.is-primary) {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .cta {
    padding: 24px 0 72px;
  }
  .cta__box {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 36px 24px;
    border-radius: var(--radius-eng);
  }
  .cta__actions {
    flex-direction: column;
  }
  .cta__btn {
    justify-content: center;
    height: 52px;
  }
}

/* ── views/services/modules/SvHero.vue ── */
.svh {
  padding: calc(var(--header-h) + 8px) clamp(20px, 2.8vw, 52px) 0;
}
.svh__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 32px;
  align-items: center;
  min-height: 720px;
  padding: 72px clamp(28px, 5vw, 96px) 96px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-eng);
  background: #141416;
  color: #fff;
}
/* 점 격자 — 가운데로 갈수록 보이고 가장자리는 사라짐 */
.svh__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%);
}
/* 아래쪽으로 천천히 흐르는 외곽선 글자 */
.svh__marquee {
  position: absolute;
  left: 0;
  bottom: -0.16em;
  z-index: -1;
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 150px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  animation: svh-flow 60s linear infinite;
}
@keyframes svh-flow {
  to {
    transform: translateX(-50%);
  }
}

/* 왼쪽 문구 */
.svh__text {
  align-self: center;
  padding-bottom: 40px;
  animation: svh-in 0.8s var(--ease) both;
}
.svh__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}
.svh__title {
  margin-top: 20px;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.svh__title em {
  font-style: normal;
  color: var(--brand);
}
.svh__lead {
  max-width: 560px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  word-break: keep-all;
}
.svh__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.svh__hint i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(237, 28, 46, 0.25);
}
@keyframes svh-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ── 궤도 ── */
.orb {
  --r: 215px; /* 궤도 반지름 */
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 560px;
  justify-self: center;
  animation: svh-in 0.9s var(--ease) 0.15s both;
}
.orb__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 46, 0.45), rgba(237, 28, 46, 0.08) 55%, transparent 72%);
  filter: blur(10px);
}
.orb__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orb__ring.is-outer {
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border: 1px dashed rgba(255, 255, 255, 0.18);
}
.orb__ring.is-inner {
  width: calc(var(--r) * 1.2);
  height: calc(var(--r) * 1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.orb__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff4a58, var(--brand) 55%, #b5101f);
  box-shadow:
    0 0 0 10px rgba(237, 28, 46, 0.12),
    0 24px 60px rgba(237, 28, 46, 0.4);
  text-align: center;
  transform: translate(-50%, -50%);
}
.orb__core b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.orb__core span {
  margin-top: 6px;
  max-width: 120px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  word-break: keep-all;
}
/* 궤도 전체가 천천히 돌고, 각 버튼은 반대로 돌아 글자가 늘 똑바로 */
.orb__spin {
  position: absolute;
  inset: 0;
  animation: orb-spin 60s linear infinite;
}
.orb:hover .orb__spin,
.orb:focus-within .orb__spin,
.orb:hover .orb__node,
.orb:focus-within .orb__node {
  animation-play-state: paused;
}
@keyframes orb-spin {
  to {
    transform: rotate(360deg);
  }
}
.orb__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.orb__node {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(30, 30, 33, 0.92);
  backdrop-filter: blur(6px);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  transform: translate(-50%, -50%);
  animation: orb-unspin 60s linear infinite;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
@keyframes orb-unspin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
.orb__node small {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.orb__node:hover,
.orb__node:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(237, 28, 46, 0.4);
  outline: none;
}
.orb__node:hover small,
.orb__node:focus-visible small {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1200px) {
  .svh__box {
    grid-template-columns: minmax(0, 1fr) 460px;
  }
  .orb {
    --r: 175px;
  }
  .orb__core {
    width: 140px;
    height: 140px;
  }
}
@media (max-width: 1024px) {
  .svh__box {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .orb {
    max-width: 480px;
  }
}
@media (max-width: 768px) {
  .svh__box {
    min-height: 0;
    padding: 44px 20px 56px;
  }
  .svh__marquee {
    font-size: 64px;
  }
  .svh__text {
    padding-bottom: 0;
  }
  .svh__title {
    margin-top: 14px;
    font-size: 38px;
  }
  .svh__lead {
    margin-top: 16px;
    font-size: 16px;
  }
  .svh__hint {
    margin-top: 20px;
    font-size: 13px;
  }
  /* 모바일: 궤도 대신 2열 칩 목록 */
  .orb {
    aspect-ratio: auto;
    margin-top: 20px;
  }
  .orb__glow,
  .orb__ring,
  .orb__core {
    display: none;
  }
  .orb__spin {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    animation: none;
  }
  .orb__item {
    position: static;
    width: auto;
    height: auto;
    transform: none;
  }
  .orb__node {
    position: static;
    width: 100%;
    min-height: 60px;
    transform: none;
    animation: none;
    white-space: normal;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svh__text,
  .svh__marquee,
  .orb,
  .orb__spin,
  .orb__node {
    animation: none;
  }
}

/* ── views/services/modules/SvTabs.vue ── */
/* 히어로 아래 고정 탭 바 — 스크롤하면 헤더 바로 아래에 붙음 */
.sv-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  margin-top: 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sv-tabs__scroll {
  position: relative; /* 탭 offsetLeft 기준 */
  overflow-x: auto;
  scrollbar-width: none;
}
.sv-tabs__scroll::-webkit-scrollbar {
  display: none;
}
.sv-tabs__list {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: max-content;
}
/* 탭 6개 — 영문 보조 표기를 위, 이름을 아래로 쌓아 폭을 줄임 */
.sv-tabs__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 80px;
  padding: 0 24px;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mute);
  white-space: nowrap;
  transition: color 0.25s;
}
.sv-tabs__tab::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.sv-tabs__tab:hover,
.sv-tabs__tab.is-active {
  color: var(--ink);
}
.sv-tabs__tab.is-active::after {
  transform: scaleX(1);
}
.sv-tabs__tab:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -6px;
  border-radius: var(--radius-eng);
}
.sv-tabs__en {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b5b7bd;
  transition: color 0.25s;
}
.is-active .sv-tabs__en {
  color: var(--brand);
}

@media (max-width: 768px) {
  .sv-tabs {
    margin-top: 24px;
  }
  .sv-tabs__list {
    justify-content: flex-start;
    gap: 0;
  }
  .sv-tabs__tab {
    height: 52px;
    padding: 0 16px;
    font-size: 16px;
  }
  .sv-tabs__tab::after {
    left: 12px;
    right: 12px;
  }
  .sv-tabs__en {
    display: none;
  }
}

/* ── views/services/modules/SvPanel.vue ── */
.sv-panel {
  padding: 96px 0 64px;
  outline: none;
}

/* 소개 */
.sv-intro {
  max-width: 980px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.sv-intro__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
}
.sv-intro__tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.sv-intro__title {
  margin-top: 18px;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.045em;
  word-break: keep-all;
  /* 두 줄로 넘어갈 때 마지막 줄에 한 단어만 남지 않도록 줄 길이를 고르게 */
  text-wrap: balance;
}
.sv-intro__desc {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink-2);
  word-break: keep-all;
}

/* 블록 공통: 좌측 머리글 + 우측 본문 */
.sv-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  padding-top: 96px;
}
.sv-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.sv-block__title {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  word-break: keep-all;
}
.sv-block__note {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mute);
  word-break: keep-all;
}

/* ── 상황 체크리스트 ── */
.sv-check {
  border-top: 1px solid var(--line);
}
.sv-check li {
  border-bottom: 1px solid var(--line);
}
.sv-check__row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 48px;
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 26px 16px 26px 12px;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  color: var(--ink);
  transition:
    background 0.3s,
    padding 0.3s var(--ease);
}
.sv-check__row:hover {
  padding-left: 20px;
  background: var(--paper);
}
.sv-check__row.is-on {
  background: var(--brand-soft);
}
.sv-check__row:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.sv-check__box {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #c9cacd;
  border-radius: 50%;
  color: transparent;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.35s var(--ease);
}
.is-on .sv-check__box {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: scale(1.08);
}
.sv-check__txt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sv-check__txt b {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.sv-check__txt span {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mute);
  word-break: keep-all;
}
.sv-check__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #c4c5c9;
  transition:
    color 0.3s,
    transform 0.4s var(--ease);
}
.sv-check__row:hover .sv-check__ico,
.is-on .sv-check__ico {
  color: var(--brand);
  transform: rotate(-8deg) scale(1.1);
}
.sv-check__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
  padding: 16px 16px 16px 24px;
  border-radius: var(--radius-eng);
  background: var(--paper);
  transition: background 0.3s;
}
.sv-check__bar p {
  font-size: 16px;
  font-weight: 600;
  color: var(--mute);
}
.sv-check__bar.is-on {
  background: var(--ink);
}
.sv-check__bar.is-on p {
  color: #fff;
}
.sv-check__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition: background 0.25s;
}
.sv-check__go:hover {
  background: var(--brand-deep);
}
.sv-check__go i {
  font-style: normal;
}

/* ── 하는 일: 큰 번호 인덱스 ── */
.sv-index {
  counter-reset: none;
}
.sv-index__row {
  position: relative;
  display: grid;
  grid-template-columns: 96px 220px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.sv-index__row:first-child {
  border-top: 1px solid var(--line);
}
/* 호버 시 아래 선이 빨갛게 그어짐 */
.sv-index__row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.sv-index__row:hover::after {
  transform: scaleX(1);
}
.sv-index__no {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #e4e5e8;
  transition: color 0.35s;
}
.sv-index__row:hover .sv-index__no {
  color: var(--brand);
}
.sv-index__tit {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.sv-index__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  word-break: keep-all;
}

/* ── 기본 제공: 다크 박스 + 흐르는 띠 ── */
.sv-basics {
  overflow: hidden;
  padding: 40px 0;
  border-radius: var(--radius-eng);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(237, 28, 46, 0.22), transparent 65%),
    #161616;
  color: #fff;
}
/* 스크린리더용 목록 (띠는 장식이라 숨김) */
.sv-basics__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sv-ticker {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sv-ticker__track {
  display: flex;
  width: max-content;
  animation: sv-ticker 28s linear infinite;
}
.sv-basics:hover .sv-ticker__track {
  animation-play-state: paused;
}
.sv-ticker__set {
  display: flex;
}
.sv-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.sv-ticker__item::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
}
@keyframes sv-ticker {
  to {
    transform: translateX(-50%);
  }
}
.sv-basics__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 32px 48px 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sv-basics__note {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  word-break: keep-all;
}
.sv-basics__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sv-basics__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.sv-basics__link:first-child {
  border-color: var(--brand);
  background: var(--brand);
}
.sv-basics__link:hover {
  border-color: #fff;
}
.sv-basics__link:first-child:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}
.sv-basics__link i {
  font-style: normal;
}

/* ── 진행: 가로 타임라인 (스크롤에 따라 선이 채워짐) ── */
.sv-line {
  position: relative;
  padding-top: 8px;
}
.sv-line__track {
  position: absolute;
  top: 16px;
  left: 8px;
  right: calc(100% / var(--n) - 8px);
  height: 2px;
  background: var(--line);
}
.sv-line__track i {
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: scaleX(var(--fill));
  transform-origin: left;
}
.sv-line__list {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 16px;
}
.sv-line__step {
  position: relative;
  padding-top: 40px;
}
.sv-line__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #cfd0d3;
  border-radius: 50%;
  background: #fff;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.sv-line__step.is-on .sv-line__dot {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(237, 28, 46, 0.12);
}
.sv-line__no {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #b4b4b8;
  transition: color 0.3s;
}
.sv-line__step.is-on .sv-line__no {
  color: var(--brand);
}
.sv-line__tit {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sv-line__desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
  word-break: keep-all;
}

/* 관련 사례 링크 */
.sv-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 80px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-eng);
}
.sv-related p {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-2);
}
.sv-related__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}
.sv-related__link i {
  font-style: normal;
  transition: transform 0.25s var(--ease);
}
.sv-related__link:hover i {
  transform: translateX(3px);
}

@media (max-width: 1100px) {
  .sv-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .sv-index__row {
    grid-template-columns: 80px 180px minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .sv-panel {
    padding: 64px 0 48px;
  }
  .sv-intro {
    padding-bottom: 40px;
  }
  .sv-intro__tag {
    font-size: 15px;
  }
  .sv-intro__title {
    font-size: 28px;
  }
  .sv-intro__desc {
    margin-top: 16px;
    font-size: 16px;
  }
  .sv-block {
    gap: 24px;
    padding-top: 64px;
  }
  .sv-block__title {
    font-size: 26px;
  }
  .sv-block__note {
    font-size: 14.5px;
  }

  .sv-check__row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 8px;
  }
  .sv-check__row:hover {
    padding-left: 8px;
  }
  .sv-check__box {
    width: 28px;
    height: 28px;
  }
  .sv-check__ico {
    display: none;
  }
  .sv-check__txt b {
    font-size: 18px;
    line-height: 28px;
  }
  .sv-check__txt span {
    font-size: 15px;
  }
  .sv-check__bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .sv-check__bar p {
    font-size: 15px;
  }
  .sv-check__go {
    justify-content: center;
  }

  .sv-index__row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 20px 0;
  }
  .sv-index__no {
    grid-row: span 2;
    font-size: 28px;
  }
  .sv-index__tit {
    font-size: 18px;
  }
  .sv-index__desc {
    font-size: 15px;
  }

  .sv-basics {
    padding: 28px 0;
  }
  .sv-ticker__item {
    gap: 12px;
    padding-right: 12px;
    font-size: 24px;
  }
  .sv-ticker__item::after {
    width: 8px;
    height: 8px;
  }
  .sv-basics__foot {
    flex-direction: column;
    align-items: stretch;
    margin: 24px 20px 0;
  }
  .sv-basics__links {
    flex-direction: column;
  }
  .sv-basics__link {
    justify-content: center;
    height: 48px;
  }

  /* 진행: 세로 타임라인 */
  .sv-line {
    padding-top: 0;
  }
  .sv-line__track {
    top: 9px;
    bottom: 40px;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .sv-line__track i {
    transform: scaleY(var(--fill));
    transform-origin: top;
  }
  .sv-line__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .sv-line__step {
    padding: 0 0 0 36px;
  }
  .sv-line__tit {
    margin-top: 2px;
    font-size: 18px;
  }
  .sv-line__desc {
    margin-top: 4px;
  }

  .sv-related {
    margin-top: 64px;
    padding: 20px;
  }
  .sv-related p {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-ticker__track {
    flex-wrap: wrap;
    width: auto;
    animation: none;
  }
  .sv-ticker__set + .sv-ticker__set {
    display: none;
  }
  .sv-ticker__set {
    flex-wrap: wrap;
    padding: 0 48px;
  }
}

/* ── views/services/modules/SvCare.vue ── */
.sv-board {
  padding: 36px 38px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-eng);
}
.sv-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sv-board__head h5 {
  font-size: 23px;
  font-weight: 700;
}
.sv-board__head p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}
.sv-board__head p i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* 단계 그래픽 — 가로 트랙이 왼쪽부터 채워지며 단계가 차례로 켜짐 */
.sv-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.sv-flow::before,
.sv-flow::after {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 27px;
  height: 2px;
  background: var(--line);
}
.sv-flow::after {
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.3s;
}
[data-reveal='in'] .sv-flow::after {
  transform: scaleX(1);
}
.sv-flow__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sv-flow__dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--mute);
  transition:
    background 0.4s,
    border-color 0.4s,
    color 0.4s;
  transition-delay: calc(0.3s + var(--i) * 0.42s);
}
[data-reveal='in'] .sv-flow__dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.sv-flow__tit {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
}
.sv-flow__desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  word-break: keep-all;
}

/* 요청 방법 */
.sv-how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.sv-how__list {
  display: grid;
  gap: 18px;
  counter-reset: how;
}
.sv-how__list li {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 40px;
  counter-increment: how;
}
.sv-how__list li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.sv-how__list b {
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
}
.sv-how__list span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
  word-break: keep-all;
}
.sv-how__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sv-how__chips em {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--brand-deep);
}
.sv-how__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sv-how__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.sv-how__btn:hover {
  border-color: var(--ink);
}
.sv-how__btn.is-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.sv-how__btn.is-primary:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}
.sv-how__btn i {
  font-style: normal;
}

/* 무상 / 유상 기준 */
.sv-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 56px;
}
.sv-terms__col {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.sv-terms__col.is-paid {
  border-top-color: #cfd0d3;
}
.sv-terms__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}
.sv-terms__tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.is-paid .sv-terms__tag {
  color: var(--mute);
}
.is-paid .sv-terms__tag i {
  background: var(--mute);
}
.sv-terms__col h5 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.sv-terms__desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mute);
  word-break: keep-all;
}

@media (max-width: 1100px) {
  .sv-how {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .sv-how__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .sv-board {
    padding: 22px 18px 24px;
    border-radius: var(--radius-eng);
  }
  .sv-board__head h5 {
    font-size: 19px;
  }
  /* 모바일: 세로 트랙 */
  .sv-flow {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .sv-flow::before,
  .sv-flow::after {
    display: none;
  }
  /* 단계마다 다음 단계로 이어지는 세로 연결선 */
  .sv-flow__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: -22px;
    width: 2px;
    background: var(--line);
    transition: background 0.4s;
    transition-delay: calc(0.5s + var(--i) * 0.42s);
  }
  [data-reveal='in'] .sv-flow__step:not(:last-child)::after {
    background: var(--brand);
  }
  .sv-flow__step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
  }
  .sv-flow__dot {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .sv-flow__tit {
    margin-top: 0;
    font-size: 17px;
    line-height: 1.5;
  }
  .sv-flow__desc {
    margin-top: 2px;
    font-size: 14.5px;
  }
  .sv-how {
    margin-top: 28px;
    padding-top: 24px;
  }
  .sv-how__list b {
    font-size: 16px;
  }
  .sv-how__actions {
    flex-direction: column;
  }
  .sv-how__btn {
    height: 48px;
  }
  .sv-terms {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .sv-terms__col h5 {
    font-size: 19px;
  }
  .sv-terms__desc {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-flow::after,
  .sv-flow__dot,
  .sv-flow__step::after {
    transition: none;
  }
}
