/* css/service.css
   Service pages: hero, journey, outputs, reviews, process, other-service cards.
   Split from styles.css (Phase 4, boundary-corrected); linked in source order to preserve the cascade. */
.service-hero {
  padding: 44px 0 72px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.service-hero-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
}

.breadcrumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
}

.service-hero .visual-slot--hero {
  aspect-ratio: 4 / 3;
}

.service-hero--onboarding .visual-slot--contain {
  background: var(--surface-2);
}

.service-hero--onboarding .visual-slot--contain img {
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  min-height: 0;
  object-fit: contain;
}

.service-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.service-number::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.service-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: 500;
  line-height: 1.24;
}

.service-hero h1 span {
  color: var(--brand);
}

.service-hero p {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

.service-diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.service-diagnosis-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.service-diagnosis-card > span {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.service-diagnosis-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.service-diagnosis-card ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.service-diagnosis-card li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.service-diagnosis-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.service-output-section {
  overflow: clip;
}

.service-output-section .title-row p {
  max-width: 430px;
  color: var(--ink-2);
}

.service-output-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-output-item {
  overflow: hidden;
  display: grid;
  grid-column: span 5;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 218px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-output-item.is-featured {
  grid-column: span 7;
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.service-output-item figure {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.service-output-item.is-featured figure {
  aspect-ratio: 16 / 9;
}

.service-output-item img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.service-output-item:hover img {
  transform: scale(1.035);
}

.service-output-item figure span {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

.service-output-item > div {
  align-self: center;
  padding: 24px;
}

.service-output-item.is-featured > div {
  padding: 32px;
}

.service-output-item small {
  color: var(--brand-2);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-output-item h3 {
  margin-top: 12px;
  font-size: 27px;
}

.service-output-item.is-featured h3 {
  font-size: 36px;
}

.service-output-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.service-review-section {
  background: var(--surface);
}

.service-review-section .title-row p {
  max-width: 460px;
  color: var(--muted);
}

.service-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-review-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.service-review-card__media {
  display: block;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}

.service-review-card__media img,
.service-review-card__media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.service-review-card__media img {
  object-fit: cover;
  transition: transform 700ms ease;
}

.service-review-card:hover .service-review-card__media img {
  transform: scale(1.035);
}

.service-review-card__body {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
}

.service-review-card__body small {
  color: var(--brand-2);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-review-card__body h3 {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.32;
}

.service-review-card__body p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.service-review-card__body b {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

.service-review-card--text {
  grid-template-rows: 1fr;
  background: #173238;
  color: var(--cream);
}

.service-review-card--text .service-review-card__body {
  min-height: 320px;
}

.service-review-card--text .service-review-card__body small,
.service-review-card--text .service-review-card__body h3,
.service-review-card--text .service-review-card__body b {
  color: var(--cream);
}

.service-review-card--text .service-review-card__body p {
  color: #dce3df;
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.55;
}

/* 진행 순서 — 시안대로 전폭 행(번호 / 제목 / 설명). 예전 2단 다크 밴드는
   좌측 카피가 sticky로 붙고 우측만 흘러 단계 흐름이 끊겨 보였다. */
.service-process-band {
  background: var(--surface);
}

.service-process-copy h2 {
  margin-top: 20px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.22;
}

.service-process-copy h2 span {
  color: var(--brand);
}

.service-process-copy p {
  margin-top: 18px;
  max-width: 620px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.service-process-track {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.service-process-step {
  display: grid;
  grid-template-columns: 64px 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 220ms ease, background 220ms ease;
}

.service-process-step.is-active {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.service-process-step > span {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.service-process-step h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.service-process-step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.diagnostic-card {
  padding: 38px;
  background: var(--surface);
}

.diagnostic-card h3 {
  font-size: 27px;
}

.diagnostic-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 0;
  margin: 22px 0 0;
}

.diagnostic-card li {
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 14px;
}

.diagnostic-card li::before {
  content: "+";
  margin-right: 8px;
  color: var(--accent);
  font-family: var(--font-sans);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.process-card {
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.process-card:last-child {
  border-right: 0;
}

.process-card b {
  color: var(--accent);
  font-family: var(--font-sans);
}

.process-card h3 {
  margin-top: 12px;
  font-size: 22px;
}

.process-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 마지막 CTA는 가운데 정렬 크림 블록 — 좌우로 벌린 다크 스트립은 버튼이
   시선 끝에서 떨어져 눌리지 않았다. */
.next-strip {
  text-align: center;
}

.next-strip h2 {
  max-width: 720px;
  margin: 16px auto 18px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.24;
}

.next-strip h2 span {
  color: var(--brand);
}

.next-strip p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.next-strip .button-row {
  justify-content: center;
}

.other-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.other-card {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.other-card:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  background: var(--brand);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.other-card::after {
  content: "→";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.other-card:hover::after {
  transform: translateX(2px);
  background: var(--accent);
  color: var(--ink);
}

.other-card > span {
  min-width: 0;
}

.other-card small {
  display: block;
  color: var(--brand-2);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.other-card strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.other-card:hover small,
.other-card:hover strong {
  color: var(--cream);
}

/* 헤드헌팅 2027 — 아직 실적이 없는 서비스라 다크 히어로 + 준비 상황 + 사전 등록만. */
.headhunt-hero {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 0;
  padding: 44px 0 84px;
}

.headhunt-hero .breadcrumb,
.headhunt-hero .breadcrumb a {
  color: #8c8d82;
}

.headhunt-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr);
  gap: 64px;
  align-items: center;
}

.headhunt-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.headhunt-hero h1 {
  margin: 24px 0;
  color: var(--cream);
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.2;
}

.headhunt-hero h1 span {
  color: var(--accent);
  font-weight: 700;
}

.headhunt-hero p {
  max-width: 620px;
  margin-bottom: 34px;
  color: #cfc8b9;
  font-size: 17px;
  line-height: 1.8;
}

.headhunt-hero .btn-outline {
  border-color: #4a453a;
  color: var(--cream);
}

.headhunt-hero .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.headhunt-pool {
  padding: 28px;
  border: 1px solid #343128;
  border-radius: 8px;
  background: #10100d;
}

.headhunt-pool h2 {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.headhunt-pool ul {
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}

.headhunt-pool li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #26241f;
  color: var(--cream);
  font-size: 15px;
}

.headhunt-pool li:last-child {
  border-bottom: 0;
}

.headhunt-pool li span {
  flex: none;
  color: #8c8d82;
  font-family: var(--font-sans);
  font-size: 12px;
}

.headhunt-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.headhunt-value-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.headhunt-value-grid > article > span {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.headhunt-value-grid h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.headhunt-value-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.headhunt-value-grid li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.headhunt-value-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.headhunt-signup-head h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.22;
}

.headhunt-signup-head p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.headhunt-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.headhunt-signup-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

/* 병원 쪽이 우리가 먼저 받고 싶은 등록이라 테두리와 그림자로 한 단계 올린다. */
.headhunt-signup-card.is-primary {
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(23, 23, 19, 0.09);
}

.headhunt-signup-card > span {
  color: var(--brand-2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.headhunt-signup-card strong {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
}

.headhunt-signup-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.headhunt-signup-card .btn {
  width: fit-content;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 26px;
}

.headhunt-timeline-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.28;
}

.headhunt-timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.headhunt-timeline-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.headhunt-timeline-grid article.is-current {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}

.headhunt-timeline-grid > article > span {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.headhunt-timeline-grid h3 {
  font-size: 19px;
  font-weight: 600;
}

.headhunt-timeline-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.headhunt-timeline-grid article.is-current h3,
.headhunt-timeline-grid article.is-current p,
.headhunt-timeline-grid article.is-current > span {
  color: var(--on-brand);
}
