/* 문의하기 디자인 (2026-09-22 확정: ctv-c1 + ctv-p2 상담 장면 배경, contact.html body 클래스). C2와 ?v= 비교 시안(lib/ctv.js)용 규칙도 함께 있다 */
.ctv-switch { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 12px; background: rgba(29, 27, 24, 0.94); box-shadow: 0 10px 30px rgba(20, 19, 17, 0.5); font: 600 12px/1 var(--f-sans); color: #efede6; }
.ctv-switch span { padding: 0 6px; opacity: 0.6; }
.ctv-switch a { display: grid; place-items: center; min-width: 40px; height: 30px; padding: 0 10px; border-radius: 8px; color: #efede6; }
.ctv-switch a[aria-current] { background: #efede6; color: #1f1d1a; }

/* 공통: 머리는 메인 히어로와 같은 명조 제목 + 배경 */
.ctv .ct-hero { position: relative; overflow: hidden; padding: 120px 0 110px; }
.ctv .ct-hero > .wrap { position: relative; z-index: 1; }
.ctv-bg { position: absolute; inset: 0; z-index: 0; }
.ctv-bg img { width: 100%; height: 100%; object-fit: cover; }
.ctv .ct-h1 { font-family: 'Nanum Myeongjo', var(--f-serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.4; font-weight: 400; letter-spacing: -0.03em; }
.ctv .ct-h1 b { font-weight: 800; color: var(--gold-hi); }
.ctv .ct-eb { font-size: 14px; letter-spacing: 0.12em; }

/* ───────── C1: 페이지 전체를 메인처럼 어둡게. 신청서만 밝은 카드 (2026-09-22 v2)
   글자 크기와 입력 칸은 '내 병원 진단' 신청서(report-site.css .form-card)와 같은 값으로. 번호 원, 금빛 번짐 테두리 같은 장식은 뺀다 */
.ctv-c1 .ctv-bg img { opacity: 0.8; filter: blur(1.5px) grayscale(0.35) sepia(0.25) brightness(0.6); object-position: 50% 30%; }
.ctv-c1 .ct-hero { background: #1b1a17; }
.ctv-c1 .ctv-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(27, 26, 23, 0) 35%, rgba(27, 26, 23, 0.75) 72%, #1b1a17 96%), linear-gradient(90deg, rgba(27, 26, 23, 0.9) 22%, rgba(27, 26, 23, 0.35)); }
.ctv-c1 .ct-body { background: #1b1a17; color: var(--ivory); padding-top: 0; }
.ctv-c1 .ct-grid { margin-top: -56px; position: relative; z-index: 2; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
/* 신청서 */
.ctv-c1 .ct-form { gap: 40px; padding: 40px 44px; border: 0; border-radius: 20px; background: #fafaf8; box-shadow: 0 30px 70px rgba(28, 25, 22, 0.55), 0 0 0 1px rgba(200, 169, 126, 0.35); }
.ctv-c1 .ct-set { gap: 18px; }
.ctv-c1 .ct-set__h { gap: 0; padding-bottom: 14px; border-bottom: 1px solid #e3dccf; font-size: 20px; letter-spacing: -0.02em; }
.ctv-c1 .ct-set__h .n { display: none; }
.ctv-c1 .ct-f { gap: 7px; }
.ctv-c1 .ct-row { gap: 12px; }
.ctv-c1 .ct-l { font-size: 14px; letter-spacing: -0.3px; }
.ctv-c1 .ct-l em { margin-left: 2px; font-size: 12px; font-weight: 700; color: #8a6a35; }
.ctv-c1 .ct-form input[type='text'], .ctv-c1 .ct-form input[type='tel'], .ctv-c1 .ct-form select, .ctv-c1 .ct-form textarea, .ctv-c1 .ct-form .dd__btn { height: 48px; padding: 0 15px; border-color: #ddd5c6; border-radius: 6px; font-size: 15px; }
.ctv-c1 .ct-form textarea { height: 120px; padding: 12px 15px; }
.ctv-c1 .ct-form ::placeholder { color: #a39d92; }
.ctv-c1 .ct-form input:focus, .ctv-c1 .ct-form textarea:focus { border-color: #8a6a35; box-shadow: 0 0 0 3px rgba(138, 106, 53, 0.14); }
.ctv-c1 .ct-chips { gap: 6px; }
.ctv-c1 .ct-chips span { height: 40px; padding: 0 18px; border-color: #ddd5c6; border-radius: 999px; font-size: 14px; font-weight: 600; }
.ctv-c1 .ct-check { font-size: 14px; color: #3b3833; }
.ctv-c1 .ct-check input { width: 18px; height: 18px; }
.ctv-c1 .ct-form .ct-submit { height: 56px; min-height: 56px; border-radius: 8px; font-size: 16px; }
.ctv-c1 .ct-note, .ctv-c1 .ct-help, .ctv-c1 .ct-form .ct-f > p { font-size: 13.5px; line-height: 1.6; color: #57524b; }
/* 오른쪽 안내: 메인 본문과 같은 크기, 장식 없이 선과 글자만 */
.ctv-c1 .ct-side { top: calc(var(--header-h) + 24px); gap: 0; }
.ctv-c1 .ct-steps { padding: 32px 30px 30px; border: 1px solid rgba(239, 237, 230, 0.1); border-radius: 20px; background: #221f1c; }
.ctv-c1 .ct-steps h2 { font-size: 20px; letter-spacing: -0.02em; }
.ctv-c1 .ct-steps ol { gap: 0; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(239, 237, 230, 0.1); }
.ctv-c1 .ct-steps li { position: relative; display: block; padding: 0 0 22px 26px; border-top: 0; }
.ctv-c1 .ct-steps li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c8a97e; background: #221f1c; }
.ctv-c1 .ct-steps li:first-child::before { background: #c8a97e; box-shadow: 0 0 0 4px rgba(200, 169, 126, 0.18); }
.ctv-c1 .ct-steps li:not(:last-child)::after { content: ''; position: absolute; left: 4px; top: 20px; bottom: 2px; width: 1px; background: linear-gradient(rgba(200, 169, 126, 0.6), rgba(200, 169, 126, 0.2)); }
.ctv-c1 .ct-steps li:last-child { padding-bottom: 0; }
.ctv-c1 .ct-steps .n { display: none; }
.ctv-c1 .ct-steps li > div { gap: 4px; }
.ctv-c1 .ct-steps b { font-size: 16px; }
.ctv-c1 .ct-steps li:first-child b { color: var(--gold-hi); }
.ctv-c1 .ct-steps p { font-size: 14px; line-height: 1.6; color: var(--sub); }
.ctv-c1 .ct-link, .ctv-c1 .ct-other { margin-top: 0; padding: 24px 4px; border-top: 1px solid rgba(239, 237, 230, 0.1); }
.ctv-c1 .ct-steps + .ct-link { margin-top: 20px; border-top: 0; }
.ctv-c1 .ct-link h3 { font-size: 17px; color: var(--ivory); }
.ctv-c1 .ct-other h3 { font-size: 15px; color: var(--ivory); }
.ctv-c1 .ct-link p, .ctv-c1 .ct-other div, .ctv-c1 .ct-other p { font-size: 14px; line-height: 1.7; color: var(--sub); }
.ctv-c1 .ct-link span { font-size: 14px; color: var(--gold); }
.ctv-c1 .ct-other a:hover { color: var(--ivory); }
/* 자주 묻는 질문: 메인 13번과 같은 크기 */
.ctv-c1 .ct-faq h2 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.03em; color: var(--ivory); }
.ctv-c1 .ct-q { border-top-color: rgba(239, 237, 230, 0.12); }
.ctv-c1 .ct-q:last-child { border-bottom-color: rgba(239, 237, 230, 0.12); }
.ctv-c1 .ct-q button { padding: 26px 0; font-size: 18px; color: var(--ivory); }
.ctv-c1 .ct-q i { color: var(--gold); }
.ctv-c1 .ct-a > p { font-size: 16px; line-height: 1.75; color: var(--sub); }
@media (max-width: 860px) {
  .ctv-c1 .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: -32px; }
  .ctv-c1 .ct-form { padding: 28px 20px; border-radius: 16px; }
  .ctv-c1 .ct-set__h { font-size: 18px; }
  .ctv-c1 .ct-form input[type='text'], .ctv-c1 .ct-form input[type='tel'], .ctv-c1 .ct-form .dd__btn { height: 52px; font-size: 16px; }
  .ctv-c1 .ct-steps { padding: 26px 22px; }
  .ctv-c1 .ct-q button { font-size: 16px; }
}

/* ───────── C2: 밝은 본문 유지. 머리는 금빛 입자 배경, 진행 순서를 머리 바로 아래 가로 타임라인으로 */
.ctv-c2 .ctv-bg img { opacity: 1; }
.ctv-c2 .ctv-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 17, 0.94) 20%, rgba(20, 19, 17, 0.55) 65%, rgba(20, 19, 17, 0.35)); }
.ctv-flow { background: #141311; border-top: 1px solid rgba(239, 237, 230, 0.08); }
.ctv-flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 36px 0 44px; list-style: none; }
.ctv-flow li { position: relative; display: grid; gap: 14px; padding-right: 24px; }
.ctv-flow li::before { content: ''; position: absolute; left: 12px; right: 0; top: 12px; height: 1px; background: rgba(200, 169, 126, 0.4); }
.ctv-flow li:last-child::before { display: none; }
.ctv-flow .n { position: relative; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #c8a97e; color: #1a1409; font-family: var(--f-num); font-size: 11px; font-weight: 600; }
.ctv-flow b { font-size: 16px; font-weight: 700; color: var(--ivory); }
.ctv-flow p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--sub); }
.ctv-c2 .ct-steps { display: none; }
.ctv-c2 .ct-side .ct-link:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.ctv-c2 .ct-body { background: #f7f5f0; }
.ctv-c2 .ct-form { border: 0; border-radius: 20px; background: #fbfaf7; box-shadow: 0 0 0 1px rgba(28, 25, 22, 0.06), 0 24px 60px rgba(40, 30, 10, 0.08); }
.ctv-c2 .ct-set__h { padding-bottom: 14px; border-bottom: 1px solid #ebe7df; }
.ctv-c2 .ct-set__h .n { padding: 2px 9px; border-radius: 99px; background: #f1e7d2; color: #7a5a22; font-size: 12px; font-weight: 600; }
.ctv-c2 .ct-link { padding: 22px 24px; border: 0; border-radius: 16px; background: #fbfaf7; box-shadow: 0 0 0 1px rgba(28, 25, 22, 0.06); }
.ctv-c2 .ct-link + .ct-link { margin-top: 12px; }
.ctv-c2 .ct-other { margin-top: 20px; border-top: 0; padding: 0 4px; }
.ctv-c2 .ct-faq h2 { font-family: 'Nanum Myeongjo', var(--f-serif); font-size: 30px; font-weight: 400; }

@media (max-width: 860px) {
  .ctv .ct-hero { padding: 72px 0 64px; }
  .ctv .ct-h1 { font-size: 30px; }
  .ctv-flow ol { grid-template-columns: 1fr 1fr; gap: 24px 12px; padding: 28px 0 32px; }
  .ctv-flow li::before { display: none; }
  .ctv-switch { bottom: 84px; left: 10px; }
}
.ctv-c1 .ct-more { font-size: 13px; }

/* 배경 사진 시안 (피그마 388:5011). 사진이 밝아서 어둡게 누르고 금빛 톤으로 맞춘다 */
.ctv-p1 .ctv-bg img { object-position: 50% 45%; opacity: 0.9; filter: grayscale(0.2) sepia(0.35) brightness(0.42) contrast(1.15); }
.ctv-p1 .ctv-bg::after { background: linear-gradient(rgba(27, 26, 23, 0) 30%, rgba(27, 26, 23, 0.7) 70%, #1b1a17 96%), linear-gradient(90deg, rgba(27, 26, 23, 0.94) 25%, rgba(27, 26, 23, 0.45) 60%, rgba(27, 26, 23, 0.25)); }
.ctv-p2 .ctv-bg img { object-position: 50% 40%; opacity: 0.85; filter: grayscale(0.3) sepia(0.3) brightness(0.55); }
.ctv-p2 .ctv-bg::after { background: linear-gradient(rgba(27, 26, 23, 0) 35%, rgba(27, 26, 23, 0.75) 72%, #1b1a17 96%), linear-gradient(90deg, rgba(27, 26, 23, 0.92) 22%, rgba(27, 26, 23, 0.3)); }
.ctv-p3 .ctv-bg img { object-position: 50% 35%; opacity: 0.85; filter: grayscale(0.55) sepia(0.4) brightness(0.45) contrast(1.1); }
.ctv-p3 .ctv-bg::after { background: linear-gradient(rgba(27, 26, 23, 0) 35%, rgba(27, 26, 23, 0.75) 72%, #1b1a17 96%), linear-gradient(90deg, rgba(27, 26, 23, 0.92) 22%, rgba(27, 26, 23, 0.3)); }
