/* =========================================================
   아이언치과 상세페이지 디자인 시스템 (detail.css)
   시안 7종(임플란트/라미네이트/미백/치과소개)을 공통 컴포넌트로 정규화.
   - 접두사 d- : 상세페이지 전용 블록
   - 하단 공통 밴드(강점탭/CTA/문의) 는 page-bottom.php 와 짝
   ========================================================= */

:root {
    /* 브랜드 (기존 style.css 토큰과 정합) */
    --d-navy:       #263d5e;
    --d-navy-deep:  #1b2a3d;
    --d-blue:       #c1907e;

    /* 액센트 */
    --d-mint:       #2bbfbc;
    --d-green:      #25c99c;
    --d-orange:     #e1802f;
    --d-gold:       #c9971f;
    --d-yellow:     #f5d33a;

    /* 중립 */
    --d-bg:         #ffffff;
    --d-bg-soft:    #f5f6f7;
    --d-bg-gray:    #eeeeee;
    --d-bg-panel:   #ededed;
    --d-bg-dark:    #0d1b2e;
    --d-bg-footer:  #0d1c2b;
    --d-line:       #e5e8eb;
    --d-ghost:      #ececec;

    --d-tx-strong:  #1a1a1a;
    --d-tx:         #444444;
    --d-tx-muted:   #7a7a7a;

    --naver:        #03c75a;
    --kakao:        #fee500;

    /* 레이아웃 */
    --d-w:          1100px;
    --d-w-band:     1200px;
    --d-w-text:     820px;
    --d-pad:        clamp(64px, 8vw, 110px);
    --d-radius:     4px;
}

/* ---------------------------------------------------------
   이미지 플레이스홀더 — 실제 사진 준비 전 회색 박스
   --------------------------------------------------------- */
.img-ph {
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px;
    width: 100%; background: #e9ecef; color: #9aa4ae;
    font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
    border: 1px dashed #cdd4da; border-radius: var(--d-radius);
    text-align: center; padding: 12px;
}
.img-ph::before { content: '＋'; font-size: 22px; line-height: 1; opacity: .75; }
.img-ph--dark { background: #2a2f36; border-color: #3d444d; color: #8d97a2; }
.img-ph--round { border-radius: 30px; }
.img-ph__role { font-size: 12px; font-weight: 400; opacity: .8; }

/* ---------------------------------------------------------
   섹션 공통 — 번호 배지 + 2톤 제목
   --------------------------------------------------------- */
.dsec { max-width: var(--d-w); margin: 0 auto; padding: var(--d-pad) 24px; }
.dsec--wide { max-width: var(--d-w-band); }
.dsec--full { max-width: none; padding-left: 0; padding-right: 0; }
.dsec--gray { background: var(--d-bg-soft); }
.dsec--tight { padding-top: 0; }

.dhead { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.dhead__badge {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--d-navy); color: #fff; font-size: 14px; font-weight: 700;
    margin-bottom: 22px;
}
.dhead__badge::after {
    content: ''; position: absolute; right: -2px; bottom: 1px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--d-mint);
}
.dhead__badge--orange { background: var(--d-orange); }
.dhead__badge--orange::after { background: #cfd4d9; }

.dhead__eyebrow {
    display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
    text-transform: uppercase; color: #bfbfbf; margin-bottom: 16px;
}
.dhead__title {
    margin: 0; font-size: clamp(23px, 3.1vw, 33px); font-weight: 700;
    letter-spacing: -.02em; line-height: 1.4; color: var(--d-tx-strong);
}
.dhead__title .hl { background: none; color: var(--d-blue); padding: 0; }
.dhead__sub {
    margin: 18px 0 0; font-size: clamp(13.5px, 1.5vw, 15px); line-height: 1.85;
    color: var(--d-tx-muted);
}
/* 다크 배경 위 */
.dsec--dark { background: var(--d-bg-dark); }
.dsec--dark .dhead__title { color: #fff; }
.dsec--dark .dhead__title .hl { color: var(--d-yellow); }
.dsec--dark .dhead__sub { color: rgba(255, 255, 255, .68); }

/* ---------------------------------------------------------
   C1. 카드 그리드
   --------------------------------------------------------- */
.dcards { display: grid; gap: 20px; }
.dcards--2 { grid-template-columns: repeat(2, 1fr); }
.dcards--3 { grid-template-columns: repeat(3, 1fr); }
.dcards--4 { grid-template-columns: repeat(4, 1fr); }
.dcards--boxed { padding: 30px; border: 1px solid var(--d-line); border-radius: var(--d-radius); }

.dcard {
    background: #fff; border: 1px solid #e8ebf0; border-radius: var(--d-radius);
    padding: 26px 22px; text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    display: flex; flex-direction: column;
}
.dcard__no {
    display: inline-block; font-size: 15px; font-weight: 700; color: var(--d-blue);
    margin-right: 6px;
}
.dcard__t { margin: 0 0 12px; font-size: 16.5px; font-weight: 700; color: var(--d-tx-strong); line-height: 1.5; }
.dcard__d { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--d-tx-muted); }
.dcard__label {
    display: inline-block; align-self: center; margin-bottom: 14px; padding: 5px 14px;
    background: var(--d-navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
.dcard__hlt { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--d-orange); }
.dcard__media { margin: -26px -22px 20px; }
.dcard__media img, .dcard__media .img-ph {
    display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
    border-radius: var(--d-radius) var(--d-radius) 0 0; border-bottom: 0;
}
/* 사진 카드 호버 — 이미지가 천천히 확대되며 카드가 살짝 떠오름 */
.dcard__media {
    position: relative; overflow: hidden;
    border-radius: var(--d-radius) var(--d-radius) 0 0;
}
.dcard__media img, .dcard__media .img-ph { border-radius: 0; }
.dcard__media::after {  /* 하단에서 은은하게 차오르는 네이비 음영 */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(0, 50, 119, .26), rgba(0, 50, 119, 0) 55%);
    opacity: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .dcard { transition: transform .8s cubic-bezier(.16, .7, .18, 1), box-shadow .55s ease, border-color .55s ease; }
    .dcard__media img { transition: transform 1.05s cubic-bezier(.16, .7, .18, 1); will-change: transform; }
    .dcard__media::after { transition: opacity .7s ease; }
    .dcard__t { transition: color .45s ease; }

    .dcard:hover .dcard__media img   { transform: scale(1.075); }
    .dcard:hover .dcard__media::after { opacity: 1; }
    .dcard:has(.dcard__media):hover {
        transform: translateY(-6px);
        border-color: #d3ddec;
        box-shadow: 0 18px 38px rgba(0, 50, 119, .13);
    }
    .dcard:has(.dcard__media):hover .dcard__t { color: var(--d-navy); }
    .dcards--dark .dcard:has(.dcard__media):hover {
        border-color: #3a3a38; box-shadow: 0 18px 38px rgba(0, 0, 0, .45);
    }
    .dcards--dark .dcard:has(.dcard__media):hover .dcard__t { color: #fff; }
}

/* 다크 톤 */
.dcards--dark .dcard { background: #16273a; border-color: #24384f; box-shadow: none; }
.dcards--dark .dcard__t { color: #fff; }
.dcards--dark .dcard__d { color: rgba(255, 255, 255, .6); }
/* 본문만 있는 plain (임플란트 보험혜택 9카드) */
.dcards--plain .dcard { padding: 22px 18px; justify-content: center; min-height: 104px; }

/* 안내 박스 (보험혜택 상단) */
.dnotice {
    max-width: var(--d-w-text); margin: 0 auto clamp(30px, 4vw, 46px);
    background: var(--d-bg-panel); border-radius: 8px; padding: 26px 24px;
    text-align: center; font-size: clamp(16px, 2vw, 22px); font-weight: 700;
    line-height: 1.6; color: var(--d-tx-strong);
}
.dnotice .hl { background: none; padding: 0; color: var(--d-blue); }
.dnotice__logo { display: block; height: clamp(34px, 3.8vw, 46px); width: auto; margin: 0 auto 18px; }
.dnotice__t { display: block; }
/* 카드 본문 중 핵심 문구 — 볼드 + 포인트 컬러 */
.dcard__key { font-weight: 700; color: var(--d-navy); }
.dcards--dark .dcard__key { color: var(--d-ring); }

/* ---------------------------------------------------------
   C2. 겹친 원형 체크 그리드
   --------------------------------------------------------- */
.dcircles { display: flex; flex-wrap: wrap; justify-content: center; }
.dcircle {
    width: clamp(150px, 17vw, 185px); aspect-ratio: 1; border-radius: 50%;
    border: 1px solid #e4e7ea; background: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 18px; margin: 0 -14px -6px;
    position: relative;
}
.dcircle__ico { width: 26px; height: 26px; color: var(--d-green); margin-bottom: 10px; }
.dcircle__ico svg { width: 100%; height: 100%; display: block; }
.dcircle__t { font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--d-tx); margin: 0; }
.dsec--gray .dcircle { background: #fff; }

/* ---------------------------------------------------------
   C3. 스텝 프로세스
   --------------------------------------------------------- */
.dsteps { display: grid; gap: 0; border: 1px solid var(--d-line); }
.dsteps--4 { grid-template-columns: repeat(4, 1fr); }
.dsteps--grid { grid-template-columns: repeat(4, 1fr); }
.dstep {
    padding: 30px 20px; text-align: center; border-right: 1px solid var(--d-line);
    border-bottom: 1px solid var(--d-line); position: relative; background: #fff;
}
.dsteps--4 .dstep { border-bottom: 0; }
.dstep:last-child { border-right: 0; }
.dsteps--grid .dstep:nth-child(4n) { border-right: 0; }
.dsteps--grid .dstep:nth-last-child(-n+4) { border-bottom: 0; }
.dstep__no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; background: var(--d-navy); color: #fff;
    font-size: 13px; font-weight: 700; margin-bottom: 16px;
}
.dstep__t { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; color: var(--d-tx-strong); line-height: 1.5; }
.dstep__d { margin: 0; font-size: 13px; line-height: 1.75; color: var(--d-tx-muted); }
.dstep--arrow::after {
    content: '»'; position: absolute; right: -9px; top: 50%; transform: translateY(-50%);
    font-size: 18px; color: #b9c0c7; background: #fff; padding: 2px; z-index: 2; line-height: 1;
}
.dsteps__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.dsteps__photos img, .dsteps__photos .img-ph {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0;
}
/* 단계 카드에 붙는 사진 — 카드 패딩 밖으로 빼내 셀 폭을 꽉 채웁니다 */
.dstep { display: flex; flex-direction: column; }
.dstep > .dstep__no { align-self: center; }
.dstep__media { margin: 24px -20px -30px; }
.dstep__d + .dstep__media { margin-top: auto; padding-top: 24px; }
.dstep__media img, .dstep__media .img-ph {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0;
}

/* ---------------------------------------------------------
   C4. 좌우 2단 밴드 (split)
   --------------------------------------------------------- */
.dsplit { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.dsplit__media { position: relative; align-self: stretch; min-height: 320px; }
.dsplit__media img, .dsplit__media .img-ph {
    width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block;
    border-radius: 0; border: 0;
}
.dsplit__body { padding: clamp(36px, 5vw, 68px); }
.dsplit--right .dsplit__media { order: 2; }
.dsplit__eyebrow { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: #bfbfbf; margin-bottom: 14px; }
.dsplit__t { margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 31px); font-weight: 700; letter-spacing: -.02em; color: var(--d-tx-strong); line-height: 1.35; }
.dsplit__t2 { margin: 0 0 22px; font-size: clamp(22px, 2.8vw, 31px); font-weight: 300; letter-spacing: -.02em; color: var(--d-tx-strong); line-height: 1.35; }
.dsplit__p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.9; color: var(--d-tx-muted); }
.dsplit__p:last-child { margin-bottom: 0; }
/* 배경 변형 */
.dsplit--gray { background: #f4f4f4; }
.dsplit--pink { background: #f5ded2; }
.dsplit--dark { background: #0d1b2e; }
.dsplit--dark .dsplit__t, .dsplit--dark .dsplit__t2 { color: #fff; }
.dsplit--dark .dsplit__p { color: rgba(255, 255, 255, .62); }
.dsplit--inset { max-width: var(--d-w-band); margin: 0 auto; }
/* 콜아웃 (0.1mm 리더선) */
.dsplit__callout {
    display: inline-flex; align-items: baseline; gap: 10px; margin-top: 22px;
    font-size: 26px; font-weight: 700; color: var(--d-blue);
}
.dsplit__callout small { font-size: 13px; font-weight: 400; color: var(--d-tx-muted); }
.dsplit--dark .dsplit__callout { color: #fff; }
.dsplit--dark .dsplit__callout small { color: rgba(255, 255, 255, .6); }

/* 카운트다운 콜아웃 — 1.0mm 에서 큰 글자로 시작해 0.1mm 로 줄어든다 */
.dsplit__callout.js-count { align-items: baseline; gap: 0; }
.dsplit__num, .dsplit__unit { font-style: normal; display: inline-block; }
.dsplit__num { font-variant-numeric: tabular-nums; }
.dsplit__callout.js-count small { margin-left: 10px; }
@media (prefers-reduced-motion: no-preference) {
    .dsplit__callout.js-count.is-armed .dsplit__num,
    .dsplit__callout.js-count.is-armed .dsplit__unit {
        font-size: 2.15em; line-height: 1; letter-spacing: -.03em;
    }
    .dsplit__callout.js-count.is-armed small { opacity: 0; }
    .dsplit__callout.js-count.is-counting .dsplit__num,
    .dsplit__callout.js-count.is-counting .dsplit__unit,
    .dsplit__callout.js-count.is-done .dsplit__num,
    .dsplit__callout.js-count.is-done .dsplit__unit {
        font-size: 1em;
        transition: font-size 1.5s cubic-bezier(.16, .7, .18, 1), letter-spacing 1.5s ease;
    }
    .dsplit__callout.js-count.is-counting small,
    .dsplit__callout.js-count.is-done small {
        opacity: 1; transition: opacity .8s ease .75s;
    }
    /* 카운트가 도는 동안 본문이 한 단락씩 따라 나온다 */
    .dsplit__body.is-cd-armed .dsplit__p { opacity: 0; transform: translateY(14px); }
    .dsplit__body.is-cd-run .dsplit__p {
        opacity: 1; transform: none;
        transition: opacity .9s cubic-bezier(.16, .7, .18, 1), transform .9s cubic-bezier(.16, .7, .18, 1);
    }
    .dsplit__body.is-cd-run .dsplit__p:nth-of-type(1) { transition-delay: .15s; }
    .dsplit__body.is-cd-run .dsplit__p:nth-of-type(2) { transition-delay: .45s; }
    .dsplit__body.is-cd-run .dsplit__p:nth-of-type(3) { transition-delay: .75s; }
    .dsplit__body.is-cd-run .dsplit__p:nth-of-type(4) { transition-delay: 1.05s; }
}

/* ---------------------------------------------------------
   C5. 지그재그 계단 밴드 (임플란트 특별함)
   --------------------------------------------------------- */
.dzig { display: flex; flex-direction: column; }
.dzig__row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.dzig__row + .dzig__row { margin-top: clamp(-40px, -3vw, -10px); }
.dzig__media { position: relative; min-height: 300px; }
.dzig__media img, .dzig__media .img-ph {
    /* 원본 비율이 제각각이라 행 높이가 들쭉날쭉했다 — 16:10 으로 통일 */
    width: 100%; height: 100%; aspect-ratio: 16 / 10; min-height: 0;
    object-fit: cover; display: block; border-radius: 0; border: 0;
}
.dzig__body { position: relative; padding: clamp(30px, 4vw, 56px); overflow: hidden; }
.dzig__ghost {
    position: absolute; left: clamp(14px, 3vw, 44px); top: 6px; z-index: 0;
    font-size: clamp(64px, 9vw, 108px); font-weight: 700; color: var(--d-ghost);
    line-height: 1; pointer-events: none; user-select: none;
}
.dzig__inner { position: relative; z-index: 1; }
.dzig__t { margin: 0 0 8px; font-size: clamp(18px, 2.1vw, 23px); font-weight: 700; color: var(--d-tx-strong); line-height: 1.45; }
.dzig__sub { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--d-tx); }
.dzig__p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--d-tx-muted); }
/* 좌우 교차 */
.dzig__row--right .dzig__media { order: 2; }

/* ---------------------------------------------------------
   C6. 비교표 (VS)
   --------------------------------------------------------- */
.dvs { max-width: var(--d-w); margin: 0 auto; }
.dvs__figs { display: grid; grid-template-columns: 1fr 142px 1fr; align-items: center; gap: 0; }
.dvs__fig img, .dvs__fig .img-ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.dvs__fig img { border-radius: 14px; box-shadow: 0 12px 30px rgba(16, 32, 56, .10); }
/* 왼쪽(비교군)은 한 톤 물러나고, 호버 시 원래 색으로 */
.dvs__fig:first-child img { filter: saturate(.72) brightness(1.02); transition: filter .6s ease; }
.dvs__figs:hover .dvs__fig:first-child img { filter: none; }
.dvs__vs { text-align: center; font-size: 20px; font-weight: 700; color: #b9c0c7; }
.dvs__tbl {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin-top: 22px; font-size: 14px;
    background: #fff; box-shadow: 0 14px 40px rgba(16, 32, 56, .08);
}
.dvs__tbl th, .dvs__tbl td { padding: 16px 18px; text-align: center; vertical-align: middle; line-height: 1.7; }

/* 헤더 — 왼쪽은 물러나고 오른쪽만 네이비로 앞선다 */
.dvs__tbl thead th { font-size: .96em; letter-spacing: -.02em; }
.dvs__tbl thead th:nth-child(1) { background: #f1f3f6; color: #8b9199; font-weight: 600; }
.dvs__tbl thead th:nth-child(2) {
    background: #fff; color: #aeb4bc; width: 142px;
    font-size: .8em; font-weight: 600; letter-spacing: .12em;
}
.dvs__tbl thead th:nth-child(3) {
    background: linear-gradient(105deg, #1b2a3d 0%, var(--d-navy) 55%, #263d5e 100%);
    color: #fff;
}

/* 본문 — 하드한 2px 아웃라인 대신 톤과 헤어라인으로만 구분 */
.dvs__tbl tbody td { background: #fafbfc; color: #8b9199; font-weight: 300; }
.dvs__tbl tbody th { background: #fff; color: var(--d-tx-strong); font-weight: 700; }
.dvs__tbl tbody tr + tr td, .dvs__tbl tbody tr + tr th { border-top: 1px solid #eceff3; }

/* 오른쪽 열 — 톤은 ::before 로 깔아 텍스트 뒤에 두고 부드럽게 나타나게 한다 */
.dvs__tbl tbody td:last-child {
    color: var(--d-navy); font-weight: 500;
    background-color: #fff;
    z-index: 0;   /* ::before 를 글자 뒤로 보내기 위한 스태킹 컨텍스트 */
}
.dvs__tbl tbody td:last-child::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background-image:
        linear-gradient(90deg, var(--d-navy) 0 3px, rgba(0, 0, 0, 0) 3px),
        linear-gradient(90deg, #eaf1fb, #f3f7fd);
}
.dvs__tbl tbody tr:first-child td:last-child { box-shadow: inset 0 1px 0 rgba(0, 50, 119, .12); }

/* 모서리 라운딩 (border-collapse: separate 이므로 코너 셀에 직접) */
.dvs__tbl thead th:first-child { border-radius: 10px 0 0 0; }
.dvs__tbl thead th:last-child  { border-radius: 0 10px 0 0; }
.dvs__tbl tbody tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.dvs__tbl tbody tr:last-child td:last-child  { border-radius: 0 0 10px 0; }

/* 좌 → 우로 은은한 색이 흘러가는 진입 애니메이션
   (선이나 테두리가 아니라, 옅은 네이비 빛이 셀 위를 훑고 지나간다) */
.dvs__tbl tbody td, .dvs__tbl tbody th { position: relative; overflow: hidden; }
.dvs__tbl tbody td::after, .dvs__tbl tbody th::after {
    content: ''; position: absolute; inset: -1px; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg,
        rgba(0, 50, 119, 0)    0%,
        rgba(0, 50, 119, .055) 32%,
        rgba(0, 50, 119, .11)  50%,
        rgba(0, 50, 119, .055) 68%,
        rgba(0, 50, 119, 0)   100%);
}
@media (prefers-reduced-motion: no-preference) {
    /* 행 번호 · 열 번호를 변수로 두고 지연을 계산 → 빛이 좌에서 우로 흘러간다 */
    .dvs__tbl tbody tr:nth-child(1) { --dvs-r: 0; }
    .dvs__tbl tbody tr:nth-child(2) { --dvs-r: 1; }
    .dvs__tbl tbody tr:nth-child(3) { --dvs-r: 2; }
    .dvs__tbl tbody tr:nth-child(4) { --dvs-r: 3; }
    .dvs__tbl tbody tr:nth-child(5) { --dvs-r: 4; }
    .dvs__tbl tbody tr:nth-child(6) { --dvs-r: 5; }
    .dvs__tbl tbody tr > :nth-child(1) { --dvs-c: 0; }
    .dvs__tbl tbody tr > :nth-child(2) { --dvs-c: 1; }
    .dvs__tbl tbody tr > :nth-child(3) { --dvs-c: 2; }

    .dvs__tbl.is-in tbody tr > *::after {
        animation: dvsGlide 1.3s cubic-bezier(.36, 0, .22, 1) both;
        animation-delay: calc(var(--dvs-r, 0) * 170ms + var(--dvs-c, 0) * 200ms + 100ms);
    }
    /* 빛이 지나간 뒤 오른쪽 셀의 톤이 서서히 자리를 잡는다 */
    .dvs__tbl.reveal tbody td:last-child::before { opacity: 0; }
    .dvs__tbl.is-in tbody td:last-child::before {
        animation: dvsSettle 1.25s ease both;
        animation-delay: calc(var(--dvs-r, 0) * 170ms + 460ms);
    }
}
/* flip — 강조 열이 오른쪽이 아니라 왼쪽일 때 (좌: 우리 방식 / 우: 비교군) */
.dvs--flip .dvs__tbl thead th:nth-child(1) {
    background: linear-gradient(105deg, #1b2a3d 0%, var(--d-navy) 55%, #263d5e 100%);
    color: #fff; font-weight: 700;
}
.dvs--flip .dvs__tbl thead th:nth-child(3) { background: #f1f3f6; color: #8b9199; font-weight: 600; }
.dvs--flip .dvs__tbl tbody td:last-child { color: #8b9199; font-weight: 300; }
.dvs--flip .dvs__tbl tbody td:last-child::before { content: none; }
.dvs--flip .dvs__tbl tbody td:first-child { color: var(--d-navy); font-weight: 500; z-index: 0; }
.dvs--flip .dvs__tbl tbody td:first-child::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background-image:
        linear-gradient(270deg, var(--d-navy) 0 3px, rgba(0, 0, 0, 0) 3px),
        linear-gradient(270deg, #eaf1fb, #f3f7fd);
}
.dvs--flip .dvs__fig:first-child img { filter: none; }
.dvs--flip .dvs__fig:last-child img { filter: saturate(.72) brightness(1.02); transition: filter .6s ease; }
.dvs--flip .dvs__figs:hover .dvs__fig:last-child img { filter: none; }
@media (prefers-reduced-motion: no-preference) {
    /* 빛도 반대 방향(우 → 좌)으로 흐른다 */
    .dvs--flip .dvs__tbl tbody tr > :nth-child(1) { --dvs-c: 2; }
    .dvs--flip .dvs__tbl tbody tr > :nth-child(3) { --dvs-c: 0; }
    .dvs--flip .dvs__tbl tbody td::after, .dvs--flip .dvs__tbl tbody th::after {
        background: linear-gradient(260deg,
            rgba(0, 50, 119, 0)    0%,
            rgba(0, 50, 119, .055) 32%,
            rgba(0, 50, 119, .11)  50%,
            rgba(0, 50, 119, .055) 68%,
            rgba(0, 50, 119, 0)   100%);
    }
    .dvs--flip .dvs__tbl.is-in tbody tr > *::after { animation-name: dvsGlideRev; }
    .dvs--flip .dvs__tbl.reveal tbody td:first-child::before { opacity: 0; }
    .dvs--flip .dvs__tbl.is-in tbody td:first-child::before {
        animation: dvsSettle 1.25s ease both;
        animation-delay: calc(var(--dvs-r, 0) * 170ms + 460ms);
    }
    .dvs--flip .dvs__tbl.reveal tbody td:last-child::before,
    .dvs--flip .dvs__tbl.is-in tbody td:last-child::before { animation: none; opacity: 0; }
}
@keyframes dvsGlideRev {
    0%   { opacity: 0; transform: translateX(105%); }
    22%  { opacity: 1; }
    72%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(-105%); }
}

@keyframes dvsGlide {
    0%   { opacity: 0; transform: translateX(-105%); }
    22%  { opacity: 1; }
    72%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(105%); }
}
@keyframes dvsSettle {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------------------------------------------------------
   C7. BEFORE / AFTER 케이스
   --------------------------------------------------------- */
.dcases { display: flex; flex-direction: column; gap: clamp(34px, 4.4vw, 56px); }

/* BEFORE / AFTER 2단 */
.dcase__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.8vw, 22px); position: relative; }
.dcase__col {
    margin: 0; display: flex; flex-direction: column;
    border: 1px solid #e8ebf0; border-radius: 0; overflow: hidden; background: #fff;
    box-shadow: 0 2px 10px rgba(16, 32, 56, .05);
}
.dcase__col img, .dcase__col .img-ph {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border: 0; border-radius: 0;
}
/* 라벨 바 — 사진 위 full width, 얇고 자간 넓게 */
.dcase__label {
    padding: 12px; text-align: center;
    font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.dcase__col--b .dcase__label { background: #f4f6f8; color: #98a0aa; }
.dcase__col--a .dcase__label {
    background: linear-gradient(105deg, #1b2a3d 0%, var(--d-navy) 55%, #263d5e 100%);
    color: #fff;
}
/* AFTER — 테두리를 따라 빛이 한 바퀴 도는 글로우 */
.dcase__col--a { border-color: rgba(0, 50, 119, .20); box-shadow: 0 10px 26px rgba(0, 50, 119, .09); }
@property --dcAng { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.dcase__col--a::after {
    content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    padding: 2px;                         /* 링 두께 */
    background: conic-gradient(from var(--dcAng),
        rgba(255, 255, 255, 0)   0turn,
        rgba(255, 255, 255, 0)   .52turn,
        rgba(103, 232, 249, .95) .66turn,   /* 하늘색 */
        rgba(77, 139, 255, 1)    .76turn,   /* 파랑   */
        rgba(167, 139, 250, .95) .86turn,   /* 보라   */
        rgba(255, 255, 255, 0)   .98turn,
        rgba(255, 255, 255, 0)   1turn);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
@media (prefers-reduced-motion: no-preference) {
    .dcase__col--a::after { animation: dcaseTrain 5s linear infinite; }
}
@keyframes dcaseTrain { to { --dcAng: 360deg; } }

/* 스크롤에 따라 AFTER 가 BEFORE 보다 조금씩 커진다 (--ap 는 JS 가 0→1 로 갱신) */
@media (prefers-reduced-motion: no-preference) {
    .dcase__pair { --ap: 0; }
    .dcase__col--a {
        transform: scale(calc(1 + .045 * var(--ap)));
        box-shadow: 0 calc(10px + 16px * var(--ap)) calc(26px + 20px * var(--ap))
                    rgba(0, 50, 119, calc(.09 + .09 * var(--ap)));
        will-change: transform;
    }
    .dcase__col--b { transform: scale(calc(1 - .018 * var(--ap))); }
    .dcase__col--a, .dcase__col--b { transition: transform .25s linear, box-shadow .25s linear; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .dcase__col { transition: box-shadow .5s ease, border-color .5s ease; }
    .dcase__col img { transition: transform 1s cubic-bezier(.16, .7, .18, 1); }
    .dcase__col:hover { border-color: #d8e0ec; box-shadow: 0 16px 34px rgba(0, 50, 119, .12); }
    .dcase__col:hover img { transform: scale(1.04); }
}

.dcase__cap { margin: clamp(12px, 1.6vw, 16px) 0 0; font-size: 13px; color: var(--d-tx-muted); line-height: 1.7; text-align: center; }

/* ---------------------------------------------------------
   C8. 인용형 사진 밴드
   --------------------------------------------------------- */
.dquote { position: relative; min-height: clamp(360px, 42vw, 560px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #1a1f27; }
.dquote__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.dquote__bg .img-ph { height: 100%; border: 0; border-radius: 0; background: #2a2f36; color: #7d878f; }
.dquote__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 밝은 사진용 변형 — 어두운 막 대신 흰 막을 얹고 글자를 네이비로 */
.dquote--light { background: #fff; }
.dquote--light .dquote__bg img { object-position: 50% 32%; }
.dquote--light .dquote__veil {
    background: linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .80) 46%, rgba(255, 255, 255, .90) 100%);
}
.dquote--light .dquote__inner { color: var(--d-tx-strong); }
.dquote--light .dquote__q { color: var(--d-navy); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.dquote--light .dquote__p { color: #5b6472; }
.dquote__veil { position: absolute; inset: 0; background: rgba(10, 18, 30, .5); }
.dquote__inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 40px 24px; max-width: var(--d-w-text); }
.dquote__q { margin: 0 0 20px; font-size: clamp(21px, 3vw, 32px); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.dquote__p { margin: 0 0 8px; font-size: clamp(13.5px, 1.6vw, 15.5px); line-height: 1.9; color: rgba(255, 255, 255, .82); }

/* ---------------------------------------------------------
   갤러리 (병원 둘러보기)
   --------------------------------------------------------- */
.dgal__main { position: relative; }
.dgal__main img, .dgal__main .img-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 0; }
.dgal__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
.dgal__thumb { padding: 0; border: 0; background: none; cursor: pointer; }
.dgal__thumb img, .dgal__thumb .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.dgal__thumb.is-active { outline: 3px solid var(--d-navy); outline-offset: -3px; }

/* ---------------------------------------------------------
   진료시간 표 / 교통편
   --------------------------------------------------------- */
.dhours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dhours th, .dhours td { padding: 15px 14px; border-bottom: 1px solid var(--d-line); text-align: left; }
.dhours th { width: 180px; font-weight: 700; color: var(--d-tx-strong); }
.dhours td { color: var(--d-tx); }
.dhours tr.is-hl th, .dhours tr.is-hl td { color: var(--d-mint); font-weight: 700; }
.dhours__note { margin: 16px 0 0; padding-left: 14px; position: relative; font-size: 13px; color: var(--d-tx-muted); line-height: 1.8; }
.dhours__note::before { content: '·'; position: absolute; left: 2px; }

.dtransit { display: flex; flex-direction: column; gap: 26px; }
.dtransit__row { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start; }
.dtransit__ico {
    width: 88px; height: 88px; border: 1px solid var(--d-line); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--d-navy);
    font-size: 13px; font-weight: 700;
}
.dtransit__t { margin: 6px 0 8px; font-size: 17px; font-weight: 700; color: var(--d-tx-strong); }
.dtransit__d { margin: 0; font-size: 14px; line-height: 1.85; color: var(--d-tx-muted); }
.dtransit__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dbadge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--d-tx); }
.dbadge__k { display: inline-block; padding: 3px 9px; border-radius: 3px; color: #fff; font-weight: 700; }
.dmap { width: 100%; aspect-ratio: 16 / 7; border: 0; display: block; }

/* ---------------------------------------------------------
   의료진 프로필
   --------------------------------------------------------- */
.dprofile { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
.dprofile__media { min-height: 420px; }
.dprofile__media img, .dprofile__media .img-ph { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; border-radius: 0; }
.dprofile__body { position: relative; padding: clamp(34px, 4.5vw, 64px); background: #f7f8f9; overflow: hidden; }
.dprofile__eyebrow { display: block; font-size: 13.5px; color: var(--d-blue); font-weight: 700; margin-bottom: 10px; }
.dprofile__name { margin: 0 0 24px; font-size: clamp(24px, 3vw, 33px); font-weight: 700; color: var(--d-tx-strong); }
.dprofile__name small { font-size: .55em; font-weight: 600; color: var(--d-tx-muted); margin-left: 10px; }
.dprofile__group + .dprofile__group { margin-top: 20px; }
.dprofile__gt { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--d-navy); }
.dprofile__list { margin: 0; padding: 0; list-style: none; }
.dprofile__list li { position: relative; padding-left: 12px; font-size: 13.5px; line-height: 1.9; color: var(--d-tx-muted); }
.dprofile__list li::before { content: '-'; position: absolute; left: 0; }
.dprofile--right .dprofile__media { order: 2; }

/* ---------------------------------------------------------
   치아색 단계 스케일 (shades)
   --------------------------------------------------------- */
.dshades { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.dshade {
    margin: 0; background: #fff; border: 1px solid var(--d-line);
    padding: clamp(18px, 2vw, 26px) clamp(12px, 1.4vw, 20px) clamp(14px, 1.6vw, 20px);
    text-align: center; transition: box-shadow .35s ease, transform .35s cubic-bezier(.16, .7, .18, 1);
}
.dshade:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(10, 20, 38, .09); }
.dshade__fig img, .dshade__fig .img-ph {
    width: 100%; height: auto; display: block; aspect-ratio: auto; object-fit: contain;
    border: 0; border-radius: 0; background: none;
}
.dshade__cap { display: block; margin-top: clamp(10px, 1.2vw, 16px); }
.dshade__no {
    display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em;
    color: var(--d-navy); opacity: .5; margin-bottom: 4px;
}
.dshade__t { display: block; font-size: 14px; font-weight: 600; color: var(--d-tx-strong); }
.dshades__axis {
    display: flex; align-items: center; gap: 14px;
    margin-top: clamp(18px, 2.2vw, 28px);
    font-size: 12.5px; font-weight: 600; color: var(--d-tx-muted); white-space: nowrap;
}
.dshades__bar {
    flex: 1; height: 4px; border-radius: 999px;
    background: linear-gradient(90deg, #c9b283 0%, #ddd0b2 35%, #efe9dc 70%, #ffffff 100%);
    border: 1px solid var(--d-line);
}
.dshades__prose {
    margin: clamp(26px, 3.2vw, 44px) auto 0; max-width: 820px; text-align: center;
}
.dshades__prose p {
    margin: 0 0 10px; font-size: 14.5px; line-height: 1.9; color: var(--d-tx-muted);
}
.dshades__prose p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
    .dshades { grid-template-columns: repeat(2, 1fr); }
    .dshades__axis { font-size: 11.5px; gap: 10px; }
}

/* ---------------------------------------------------------
   하단 공통 B1 — 강점 4탭 밴드
   --------------------------------------------------------- */
/* 하단 공통 3개 밴드는 같은 높이로 맞춥니다 (강점 · CTA · 문의) */
:root { --d-band-h: 600px; }
.ftabs { display: grid; grid-template-columns: 300px 1fr; background: #f2f3f4; min-height: var(--d-band-h); }
.ftabs__side {
    background: linear-gradient(170deg, var(--d-navy) 0%, var(--d-navy-deep) 100%);
    display: flex; flex-direction: column;
}
.ftabs__brand {
    padding: 30px 26px 26px; color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ftabs__brand-logo { display: block; width: auto; height: 30px; margin-bottom: 3px; }
.ftabs__list { display: flex; flex-direction: column; flex: 1; }
.ftabs__btn {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 12px; width: 100%;
    flex: 1; padding: 17px 26px; background: none; border: 0; cursor: pointer;
    color: rgba(255, 255, 255, .62); font-size: 14px; font-weight: 600; text-align: left;
    border-top: 1px solid rgba(255, 255, 255, .1);
    transition: color .22s ease, padding-left .45s cubic-bezier(.16, .7, .18, 1);
    font-family: inherit;
}
/* 활성 배경 — 흰 면이 부드럽게 떠오름(와이프 대신 페이드: 전환 중에도 글자 대비가 유지됨) */
.ftabs__btn::before {
    content: ''; position: absolute; inset: 0; background: #fff;
    opacity: 0; transition: opacity .32s ease;
}
.ftabs__btn > * { position: relative; z-index: 1; }
.ftabs__btn > span:first-of-type {
    color: rgba(255, 255, 255, .45); font-size: 12.5px; letter-spacing: .04em;
    transition: color .22s ease;
}
.ftabs__btn-t { flex: 1; }
.ftabs__btn:hover { color: #fff; padding-left: 30px; }
.ftabs__btn:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.ftabs__btn.is-active { color: var(--d-navy); padding-left: 30px; }
.ftabs__btn.is-active::before { opacity: 1; }
.ftabs__btn.is-active > span:first-of-type { color: rgba(20, 48, 94, .55); }
.ftabs__panels { position: relative; min-height: var(--d-band-h); overflow: hidden; }
.ftabs__panel {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end;
    padding: clamp(28px, 4vw, 60px); opacity: 0; visibility: hidden;
    transition: opacity .8s cubic-bezier(.16, .7, .18, 1), visibility .8s;
    background-size: cover; background-position: center;
}
.ftabs__panel.is-active { opacity: 1; visibility: visible; }
.ftabs__panel .img-ph { position: absolute; inset: 0; height: 100%; border: 0; border-radius: 0; }
/* 활성화되는 동안 이미지가 아주 천천히 제자리를 찾아감 */
.ftabs__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08); transition: transform 7s cubic-bezier(.16, .7, .18, 1);
}
.ftabs__panel.is-active .ftabs__img { transform: scale(1); }
/* 꺼진 패널은 페이드아웃이 끝난 뒤 조용히 원위치 */
.ftabs__panel:not(.is-active) .ftabs__img { transition: transform 0s linear .8s; }
.ftabs__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 20, 38, .10) 0%, rgba(10, 20, 38, .46) 42%, rgba(8, 18, 36, .82) 100%),
        radial-gradient(110% 85% at 100% 50%, rgba(13, 33, 72, .46) 0%, rgba(13, 33, 72, 0) 62%);
}
.ftabs__txt { position: relative; z-index: 2; text-align: right; color: #fff; max-width: 460px; }
/* 텍스트는 순서대로 살짝 떠오르며 등장 */
.ftabs__num, .ftabs__t, .ftabs__d {
    opacity: 0; transform: translateY(16px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16, .7, .18, 1);
}
.ftabs__panel.is-active .ftabs__num { opacity: 1; transform: none; transition-delay: .12s; }
.ftabs__panel.is-active .ftabs__t   { opacity: 1; transform: none; transition-delay: .22s; }
.ftabs__panel.is-active .ftabs__d   { opacity: 1; transform: none; transition-delay: .32s; }
/* 번호 — 유리 원판(프로스티드 글래스) */
.ftabs__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
    color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em;
    border: 1px solid rgba(255, 255, 255, .34);
    background: linear-gradient(150deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .14) 100%);
    -webkit-backdrop-filter: blur(9px) saturate(140%);
    backdrop-filter: blur(9px) saturate(140%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .5),
        inset 0 -1px 1px rgba(255, 255, 255, .16),
        0 8px 22px rgba(6, 16, 32, .28);
    text-shadow: 0 1px 6px rgba(6, 16, 32, .3);
}
.ftabs__t {
    margin: 0 0 12px; font-size: clamp(18px, 2.3vw, 25px); font-weight: 700; line-height: 1.45;
    text-shadow: 0 2px 18px rgba(6, 16, 32, .35);
}
.ftabs__d { margin: 0; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .8); }
/* 제목 아래 언더라인이 가로로 그어짐 */
.ftabs__t::after {
    content: ''; display: block; width: 46px; height: 2px; margin: 14px 0 0 auto;
    background: rgba(255, 255, 255, .85); transform: scaleX(0); transform-origin: right center;
    transition: transform .8s cubic-bezier(.16, .7, .18, 1) .42s;
}
.ftabs__panel.is-active .ftabs__t::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
    .ftabs__img { transform: none; transition: none; }
    .ftabs__num, .ftabs__t, .ftabs__d { opacity: 1; transform: none; transition: none; }
    .ftabs__t::after { transform: scaleX(1); transition: none; }
    .ftabs__btn { transition: color .2s, background-color .2s; }
    .ftabs__btn::before, .ftabs__btn::after { transition: none; }
    .ftabs__btn:hover, .ftabs__btn.is-active { padding-left: 26px; }
}

/* ---------------------------------------------------------
   하단 공통 B2 — CTA 밴드
   --------------------------------------------------------- */
.ctaband { position: relative; min-height: var(--d-band-h); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0d1b2e; }   /* 하단 CTA 밴드도 기본 남색으로 통일 (260903) */
.ctaband__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ctaband__grid .img-ph, .ctaband__grid img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; background: #262d38; color: #79828c; }
.ctaband__veil { position: absolute; inset: 0; background: rgba(12, 20, 33, .62); }
.ctaband__inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 40px 24px; }
.ctaband__t { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 29px); font-weight: 700; letter-spacing: -.02em; }
.ctaband__d { margin: 0 0 24px; font-size: 14.5px; color: rgba(255, 255, 255, .78); line-height: 1.8; }
.ctaband__btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px;
    background: #fff; color: var(--d-navy); font-size: 14.5px; font-weight: 700;
    border-radius: 0; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.ctaband__btn:hover {
    background: var(--d-navy); color: #fff;
    box-shadow: 0 10px 26px rgba(6, 16, 32, .34);
}

/* ---------------------------------------------------------
   하단 공통 B3 — 문의/진료안내 밴드
   --------------------------------------------------------- */
.cband {
    position: relative; overflow: hidden;
    background: linear-gradient(105deg, #1b2a3d 0%, var(--d-navy) 55%, #263d5e 100%);
    min-height: var(--d-band-h); display: flex; align-items: center;
}
/* 배경 영상 — 화면에 들어올 때만 로드(js-cband-video), 좁은 화면은 포스터만 */
.cband__video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; pointer-events: none;
}
.cband__veil {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(28, 32, 36, .82) 0%, rgba(28, 32, 36, .68) 55%, rgba(28, 32, 36, .78) 100%);
}
/* 브랜드 마퀴 — 마크 + 영문 사명이 끊김 없이 흘러갑니다 */
.cband__marquee {
    position: absolute; left: 0; right: 0; bottom: 0;
    overflow: hidden; pointer-events: none; user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.cband__track {
    display: flex; align-items: center; width: max-content;
    animation: cband-marquee 46s linear infinite;
}
.cband__mitem {
    display: inline-flex; align-items: center; gap: clamp(14px, 1.6vw, 26px);
    padding-right: clamp(28px, 3.4vw, 56px);
    font-size: clamp(44px, 7.4vw, 108px); font-weight: 700; letter-spacing: -.03em;
    color: rgba(255, 255, 255, .24); white-space: nowrap; line-height: 1;
}
.cband__mmark {
    width: clamp(34px, 5.4vw, 78px); height: auto; opacity: .34;
    filter: grayscale(1) brightness(2);
}
@keyframes cband-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .cband__track { animation: none; }
}
.cband__inner {
    position: relative; z-index: 2; width: 100%; max-width: var(--d-w-band); margin: 0 auto;
    padding: clamp(20px, 2.4vw, 22px) 24px;
    display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.cband__label { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .8); letter-spacing: .01em; }
.cband__tel { display: block; margin: 8px 0 18px; font-size: clamp(28px, 4vw, 42px); font-weight: 300; color: #fff; letter-spacing: -.01em; }
.cband__dash { border: 0; border-top: 1px dashed rgba(255, 255, 255, .38); margin: 0 0 18px; }
.cband__rows { width: 100%; border-collapse: collapse; }
.cband__rows th, .cband__rows td { padding: 5px 0; font-size: 14px; color: rgba(255, 255, 255, .88); text-align: left; font-weight: 400; }
.cband__rows th { width: 130px; font-weight: 600; }
.cband__rows tr.is-hl th, .cband__rows tr.is-hl td { color: #fff; font-weight: 700; }
.cband__notes { margin: 16px 0 0; padding: 0; list-style: none; }
.cband__notes li { position: relative; padding-left: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.8; }
.cband__notes li::before { content: '·'; position: absolute; left: 2px; }
.cband__banners { display: grid; gap: 0; }
.cband__bn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px; font-size: 15.5px; font-weight: 700; }
.cband__bn-l { display: inline-flex; align-items: center; gap: 12px; }
.cband__bn-ico { flex: none; width: 26px; height: 26px; }
.cband__bn--naver { background: var(--naver); color: #fff; }
.cband__bn--kakao { background: var(--kakao); color: #2a1c00; }
.cband__bn span:last-child { font-size: 20px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 900px) {
    .dcards--3, .dcards--4 { grid-template-columns: repeat(2, 1fr); }
    .dsteps--4, .dsteps--grid { grid-template-columns: repeat(2, 1fr); }
    .dsteps .dstep { border-bottom: 1px solid var(--d-line); }
    .dsteps--4 .dstep:nth-child(2n), .dsteps--grid .dstep:nth-child(2n) { border-right: 0; }
    .dstep--arrow::after { display: none; }
    .dsteps__photos { grid-template-columns: repeat(2, 1fr); }
    .dsplit, .dzig__row, .dprofile { grid-template-columns: 1fr; }
    .dsplit--right .dsplit__media, .dzig__row--right .dzig__media, .dprofile--right .dprofile__media { order: 0; }
    .dzig__row + .dzig__row { margin-top: 0; }
    .dvs__figs { grid-template-columns: 1fr 60px 1fr; }
    .dgal__thumbs { grid-template-columns: repeat(3, 1fr); }
    .ftabs { grid-template-columns: 1fr; }
    .ftabs__panels { min-height: var(--d-band-h); }
    .ftabs__panel { justify-content: flex-start; }
    .ftabs__txt { text-align: left; }
    .ftabs__t::after { margin-left: 0; margin-right: auto; transform-origin: left center; }
    .ftabs__veil {
        background:
            linear-gradient(180deg, rgba(10, 20, 38, .12) 0%, rgba(10, 20, 38, .52) 55%, rgba(10, 20, 38, .72) 100%);
    }
    .cband__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .dcards--3, .dcards--4, .dcards--2 { grid-template-columns: 1fr; }
    .dcircle { margin: 0 0 12px; width: min(72vw, 220px); }
    .dcircles { flex-direction: column; align-items: center; }
    .dcase__pair { grid-template-columns: 1fr; gap: 14px; }
    .dvs__figs { grid-template-columns: 1fr; }
    .dvs__vs { padding: 8px 0; }
    .dvs__tbl { font-size: 12.5px; }
    .dvs__tbl th, .dvs__tbl td { padding: 11px 8px; }
    .dgal__thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .dhours th { width: 110px; }
    .dtransit__row { grid-template-columns: 64px 1fr; gap: 14px; }
    .dtransit__ico { width: 64px; height: 64px; font-size: 11.5px; }
    .dsteps--4, .dsteps--grid { grid-template-columns: 1fr; }
    .dsteps .dstep:nth-child(n) { border-right: 0; }
    .dsteps__photos { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   레퍼런스 정합 — ysuni.co.kr 실측값 기준 타이포/스케일 보정
   측정: Pretendard / h1·h2 45px 700 / h3 28px 400 / h4 24px 600(#3c526e)
        h5 20px 200 / 자간 전 구간 -0.04em / 컨테이너 1000px
        번호배지 65px 원(28px 숫자, #263d5e) / CTA밴드 405px / 문의밴드 612px
   ========================================================= */
:root {
    --d-navy:  #263d5e;   /* .stit .num, h2 span */
    --d-blue:  #3c526e;   /* h4 */
    --d-ring:  #d6ab9c;   /* 배지 액센트 링 */
    --d-w:     1000px;
}

/* 자간 — 레퍼런스는 전 구간 -0.04em */
.page, .dsec, .dsplit, .dzig, .dquote, .ftabs, .ctaband, .cband,
.dcards, .dcircles, .dsteps, .dvs, .dcases, .dprofile { letter-spacing: -0.04em; }

/* 섹션 헤더 — 배지 65px, 제목 45px */
.dhead { margin-bottom: clamp(28px, 3.4vw, 44px); }
.dhead__badge {
    width: 65px; height: 65px; font-size: 28px; font-weight: 500; margin-bottom: 30px;
}
.dhead__badge::after { width: 10px; height: 10px; background: var(--d-ring); right: -3px; bottom: 2px; }
.dhead__badge--orange { background: #df7d2e; }
.dhead__badge--orange::after { background: rgba(255, 255, 255, .35); }
.dhead__eyebrow { font-size: 18px; font-weight: 600; letter-spacing: 0.5px; color: rgba(0, 0, 0, .25); margin-bottom: 12px; }
.dhead__title { font-size: clamp(32px, 5.4vw, 45px); font-weight: 600; line-height: 1.22; letter-spacing: -0.03em; }
.dsec--dark .dhead__title .hl { color: #f2ff69; }
.dhead__sub { margin-top: 14px; font-size: clamp(16px, 1.9vw, 20px); font-weight: 300; line-height: 1.6; color: #444; }

/* 본문/카드 — 레퍼런스 h5(20px/200) 기준으로 상향 */
.dcard__t   { font-size: 20px; font-weight: 600; }
.dcard__d   { font-size: 16px; font-weight: 300; line-height: 1.75; color: #666; }
.dnotice    { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.dcircle    { width: clamp(160px, 18vw, 200px); }
.dcircle__t { font-size: 16px; font-weight: 400; }
.dstep__t   { font-size: 19px; }
.dstep__d   { font-size: 15.5px; font-weight: 300; line-height: 1.7; }
.dstep__no  { width: 44px; height: 44px; font-size: 17px; }

.dsplit__t, .dsplit__t2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; }
.dsplit__t2 { font-weight: 200; }
.dsplit__p  { font-size: 17px; font-weight: 300; line-height: 1.85; color: #555; }
.dsplit__eyebrow { font-size: 16px; letter-spacing: 0.5px; }

.dzig__t    { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; }
.dzig__sub  { font-size: 18px; font-weight: 500; }
.dzig__p    { font-size: 16px; font-weight: 300; line-height: 1.85; }
.dzig__ghost { font-size: clamp(80px, 11vw, 130px); }

.dvs__tbl   { font-size: 16px; }
.dvs__tbl th, .dvs__tbl td { padding: 20px; }
.dhours     { font-size: 17px; }
.dtransit__t { font-size: 20px; }
.dtransit__d { font-size: 16px; font-weight: 300; }

.dquote__q  { font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; line-height: 1.35; }
.dquote__p  { font-size: clamp(16px, 1.9vw, 19px); font-weight: 300; line-height: 1.75; }

.dprofile__name { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; }
.dprofile__eyebrow { font-size: 18px; }
.dprofile__gt { font-size: 18px; }
.dprofile__list li { font-size: 15.5px; font-weight: 300; line-height: 1.7; }

/* 하단 공통 밴드 — 레퍼런스 높이(CTA 405 / 문의 612) */
.ftabs__panels { min-height: var(--d-band-h); }
.ftabs__btn { font-size: 17px; padding: 21px 26px; }
.ftabs__num { width: 52px; height: 52px; font-size: 17px; }
.ftabs__t   { font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; }
.ftabs__d   { font-size: 15.5px; font-weight: 300; line-height: 1.6; }
.ftabs__brand-ko { font-size: 21px; }

.ctaband { min-height: var(--d-band-h); }
.ctaband__t { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; }
.ctaband__d { font-size: 18px; font-weight: 300; }
.ctaband__btn { font-size: 17px; padding: 17px 40px; }

.cband__inner { padding: clamp(28px, 3vw, 44px) 24px; min-height: 0; align-content: center; }
.cband__label { font-size: 17px; }
.cband__tel   { font-size: clamp(34px, 4.6vw, 50px); }
.cband__rows th, .cband__rows td { font-size: 17px; padding: 6px 0; }
.cband__notes li { font-size: 14.5px; }
.cband__bn { font-size: 17px; padding: 26px; }

@media (max-width: 640px) {
    .dhead__badge { width: 50px; height: 50px; font-size: 21px; margin-bottom: 18px; }
    .dhead__eyebrow { font-size: 14px; letter-spacing: 0.3px; }
    .dcard__d, .dsplit__p, .dzig__p { font-size: 15.5px; }
    .dhead__sub { font-size: 16px; }
    .cband__inner { min-height: 0; }
    .ctaband { min-height: var(--d-band-h); }
    :root { --d-band-h: 420px; }
}

/* =========================================================
   레퍼런스 정합 2차 — 세로 리듬 · 도입 장치 · 의료진 탭
   ========================================================= */

/* 세로 리듬: 레퍼런스 .sec_dvd = 130px 0 (모바일 50px) */
:root { --d-pad: 130px; --g-lg: 80px; --g-md: 60px; --g-sm: 40px; --g-xs: 30px; }
@media (max-width: 768px) { :root { --d-pad: 56px; --g-lg: 40px; --g-md: 30px; --g-sm: 24px; --g-xs: 18px; } }
.dsec--pt0 { padding-top: 0; }
.dsec--pb0 { padding-bottom: 0; }

/* 도입 장치 1 — 세로 연결선 (레퍼런스 .lined / .deco) */
.dlined { display: none; }   /* 세로 장식 라인 제거 (260903) */
.dlined::after {
    content: ''; position: absolute; left: -3px; top: -4px;
    width: 7px; height: 7px; border-radius: 50%; background: #3c526e;
}

/* 도입 장치 2 — 사진 밴드 + 하단 흰 플레이트 오버랩 (레퍼런스 .comtop) */
.dband { position: relative; height: 400px; background-position: center; background-size: cover; background-color: #e9ecef; }
.dband .img-ph { position: absolute; inset: 0; height: 100%; border: 0; border-radius: 0; }
.dband__plate {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2;
    width: 1500px; max-width: none; height: 50%; max-height: 130px; background: #fff;
}
@media (max-width: 768px) {
    .dband { height: 200px; }
    .dband__plate { max-height: 40px; width: calc(100% - 30px); }
}

/* 도입 장치 3 — 페이지 타이틀 (레퍼런스 .stit_top) */
.dptitle { max-width: var(--d-w); margin: 0 auto; padding: 80px 24px 40px; text-align: center; }
.dptitle__eyebrow {
    display: block; font-size: 18px; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; color: rgba(0, 0, 0, .2);
}
.dptitle__t { margin: 15px 0 0; font-size: clamp(28px, 4.2vw, 45px); font-weight: 700; letter-spacing: -.04em; }
.dptitle__p { margin: 20px 0 0; font-size: clamp(16px, 1.9vw, 20px); font-weight: 300; color: rgba(0, 0, 0, .6); line-height: 1.7; }
@media (max-width: 768px) {
    .dptitle { padding: 40px 20px 20px; }
    .dptitle__eyebrow { font-size: 13px; letter-spacing: 0.3px; }
    .dlined { height: 30px; margin-top: 20px; }
}

/* 의료진 — 가운데 탭 밴드 (레퍼런스 ul.sltNav) + 1명씩 표시 */
.dslt-nav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 54px);
    max-width: var(--d-w); margin: 0 auto; padding: 56px 24px 0;
}
.dslt-nav .doc-tab {
    background: none; border: 0; cursor: pointer; font-family: inherit;
    padding: 0 2px 10px; font-size: clamp(17px, 2.2vw, 26px); font-weight: 700;
    color: #111; opacity: .3; letter-spacing: -.04em;
    border-bottom: 3px solid transparent; transition: opacity .2s, border-color .2s;
}
.dslt-nav .doc-tab:hover { opacity: .6; }
.dslt-nav .doc-tab.is-active { opacity: 1; border-bottom-color: #111; }
/* 탭이 있을 때만 1명씩 노출 */
.dprofile--slide { display: none; }
.dprofile--slide.is-active { display: grid; }
@media (max-width: 900px) { .dprofile--slide.is-active { display: block; } }

/* =========================================================
   대표원장 인사말 (레퍼런스 com1_1) — 사진 없는 1단 조판
   실측: kicker 28px/400 #666 · 제목 45px 명조 #3c526e
        본문 20px/300 #666 · 서명 20px/300, 우측정렬(이미지 102×53)
   ========================================================= */
.dgreet { padding-top: 0; }
.dgreet__kicker {
    margin: 0; font-size: clamp(19px, 2.4vw, 28px); font-weight: 400;
    color: #666; line-height: 1.4; letter-spacing: -.04em;
}
.dgreet__t {
    margin: 20px 0 0;   /* 폰트 통일 — 명조 대신 Pretendard */
    font-size: clamp(26px, 4.2vw, 45px); font-weight: 400; color: #3c526e;
    line-height: 1.3; letter-spacing: -.04em;
}
.dgreet__p {
    margin: 8px 0 0; font-size: clamp(16px, 1.9vw, 20px); font-weight: 300;
    color: #666; line-height: 1.6; letter-spacing: -.04em;
}
.dgreet__p--first { margin-top: var(--g-sm); }
.dgreet__sign {
    margin: var(--g-md) 0 0; text-align: right;
    font-size: clamp(16px, 1.9vw, 20px); font-weight: 300; color: #000; letter-spacing: -.04em;
}
/* 이름 아래 줄에 서명 — 둘 다 우측 정렬 */
.dgreet__sign span { display: block; }
.dgreet__sign img {
    display: block;
    width: 150px; height: auto;
    margin: 6px 0 0 auto;
}
@media (max-width: 768px) {
    .dgreet__sign img { width: 104px; margin-top: 4px; }
}

/* 슬로건 인용 밴드 — 레퍼런스 com1_2 는 900px 고정 */
.dquote { min-height: clamp(420px, 62vw, 900px); }
@media (max-width: 768px) { .dquote { min-height: 400px; } }

/* 데스크톱에서만 유효한 강제 개행 (레퍼런스 br.hid-max) */
@media (max-width: 992px) { br.hid-max { display: none; } }

/* =========================================================
   톤앤매너 정리 3차
   ① 한글 줄바꿈 — 단어 중간에서 끊기지 않도록 (keep-all)
   ② BEFORE/AFTER 브랜드 톤 재설계 (골드 → 네이비·민트)
   ③ 스크롤 진입 인터랙션
   ========================================================= */

/* ① 한글 줄바꿈: "아이언치 / 과의원" 같은 어색한 분절 방지 */
.page, .dsec, .dsplit, .dzig, .dquote, .dgreet, .dprofile,
.ftabs, .ctaband, .cband, .dcard, .dcircle, .dstep, .dcase__cap,
.dhead, .dptitle, .site-footer-b, .fdock {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* ② BEFORE / AFTER 캡션 */
.dcase__cap { font-size: 14.5px; color: var(--d-tx-muted); }

/* ③ 스크롤 진입 인터랙션 — 섹션/카드가 부드럽게 떠오름 */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(26px); }
    .reveal.is-in {
        opacity: 1; transform: none;
        transition: opacity .9s cubic-bezier(.16, .7, .18, 1), transform .9s cubic-bezier(.16, .7, .18, 1);
        transition-delay: calc(var(--rd, 0) * 90ms);
    }
}

/* =========================================================
   타이포 조임 — 자간·행간 축소 (전체 톤 정리)
   ========================================================= */
.page, .dsec, .dsplit, .dzig, .dquote, .dgreet, .dprofile,
.ftabs, .ctaband, .cband, .dcards, .dcircles, .dsteps, .dvs, .dcases,
.about-prose, .principle-card, .hours-table, .hours-summary, .directions, .dir-item {
    letter-spacing: -0.05em;
}

/* 제목 — 더 타이트하게 */
.dhead__title  { line-height: 1.25; letter-spacing: -0.055em; }
.dhead__sub    { line-height: 1.55; margin-top: 18px; }
.dptitle__t    { line-height: 1.25; letter-spacing: -0.055em; }
.dgreet__t     { line-height: 1.22; letter-spacing: -0.05em; }
.dsplit__t, .dsplit__t2 { line-height: 1.2; letter-spacing: -0.055em; }
.dquote__q     { line-height: 1.28; letter-spacing: -0.05em; }
.dzig__t       { line-height: 1.3; }
.dprofile__name { line-height: 1.25; letter-spacing: -0.05em; }
.ctaband__t, .ftabs__t { line-height: 1.3; letter-spacing: -0.05em; }

/* 본문 — 행간 축소 */
.dcard__d      { line-height: 1.65; }
.dsplit__p     { line-height: 1.7; }
.dzig__p       { line-height: 1.7; }
.dgreet__p     { line-height: 1.5; }
.dstep__d      { line-height: 1.6; }
.dcircle__t    { line-height: 1.45; }
.dquote__p     { line-height: 1.6; }
.dprofile__list li { line-height: 1.7; }
.dvs__tbl th, .dvs__tbl td { line-height: 1.55; }
.ftabs__d      { line-height: 1.65; }
.dtransit__d   { line-height: 1.65; }
.about-prose p { line-height: 1.7; }
.principle-card__d { line-height: 1.65; }
.hours-summary__k, .hours-summary__v { line-height: 1.5; }

/* 갤러리 메인 이미지 크로스페이드 */
.dgal__main { transition: opacity .25s ease; }
.dgal__main.is-fading { opacity: 0; }
.dgal__thumb { transition: outline-color .25s ease, transform .3s ease; outline: 3px solid transparent; outline-offset: -3px; }
.dgal__thumb:hover { transform: translateY(-2px); }
.dgal__thumb.is-active { outline-color: var(--d-navy); }

/* 갤러리 — 두 장 겹친 크로스페이드 (깜빡임 없음) */
.dgal__main--fade { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f4f6; }
.dgal__main--fade .dgal__layer {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
    opacity: 0; transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
    will-change: opacity; backface-visibility: hidden;
}
.dgal__main--fade .dgal__layer.is-on { opacity: 1; }
.dgal__main.is-fading { opacity: 1; }   /* 구 방식 잔여 규칙 무력화 */

/* =========================================================
   의료진 소개 — 이력 가독성 향상 + 탭 자동 페이드 전환
   ========================================================= */
.dprofile__gt {
    font-size: 20px; font-weight: 700; color: var(--d-navy);
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px solid var(--d-line);
}
.dprofile__group + .dprofile__group { margin-top: 32px; }
.dprofile__list li {
    font-size: 16.5px; font-weight: 400; line-height: 1.65; color: #4b5563;
    padding-left: 16px; letter-spacing: -.045em;
}
.dprofile__list li::before { content: '·'; font-size: 20px; line-height: 1.5; color: #9aa4ae; }
.dprofile__eyebrow { font-size: 19px; font-weight: 700; }
.dprofile__name small { font-size: .5em; }
.dprofile__body { padding: clamp(38px, 5vw, 72px); }

/* 탭 전환 — 페이드 인 */
.dprofile--slide { opacity: 0; }
.dprofile--slide.is-active { opacity: 1; animation: docFadeIn .85s cubic-bezier(.16, .7, .18, 1) both; }
@keyframes docFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .dprofile--slide.is-active { animation: none; }
}
@media (max-width: 900px) {
    .dprofile__list li { font-size: 16px; }
    .dprofile__gt { font-size: 18px; }
}

/* 의료진 프로필 — 우측 하단 로고 심볼 워터마크 */
.dprofile__body { position: relative; overflow: hidden; }
.dprofile__mark {
    position: absolute; right: clamp(24px, 3vw, 48px); bottom: clamp(20px, 3vw, 40px);
    width: clamp(88px, 11vw, 148px); height: auto;
    opacity: .07; filter: grayscale(1);
    pointer-events: none; user-select: none; z-index: 0;
}
.dprofile__group { position: relative; z-index: 1; }

/* =========================================================
   의료진 프로필 — 누끼 인물 사진에 맞춘 패널 + 마크 확대
   ========================================================= */
.dprofile__media {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    display: flex; align-items: flex-end; justify-content: center;
    overflow: hidden;
}
.dprofile__media img,
.dprofile__media .img-ph {
    width: 100%; height: 100%; min-height: clamp(420px, 46vw, 640px);
    object-fit: contain; object-position: bottom center;
    mix-blend-mode: multiply;   /* 흰 배경이 패널과 자연스럽게 섞이도록 */
}
/* 브랜드 마크 워터마크 — 더 크게 */
.dprofile__mark {
    /* 패널 폭 기준으로 크게 — 우측 하단에서 살짝 잘려 나가는 배치 */
    width: clamp(300px, 52%, 640px); height: auto;
    right: -6%; bottom: -8%;
    opacity: .06; filter: grayscale(1);
}
@media (max-width: 900px) {
    .dprofile__media img, .dprofile__media .img-ph { min-height: 380px; }
    .dprofile__mark { width: clamp(220px, 62%, 380px); right: -10%; bottom: -6%; }
}


/* =========================================================
   피처 카드 (.pcard) — 이미지 꽉 참 + 큰 번호 워터마크
   치과소개 진료원칙 / 임플란트 특별함 등 공용
   ========================================================= */
/* ---- 진료 원칙 카드 (이미지 꽉 참 + 큰 번호 겹침) ---- */
.principle-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 3vw, 34px); margin-top: clamp(36px, 4.5vw, 56px);
}
.principle-grid.pgrid--2 { grid-template-columns: repeat(2, 1fr); }
.principle-grid.pgrid--4 { grid-template-columns: repeat(4, 1fr); }
/* 반응형 — 좁아지면 2열, 더 좁아지면 1열 (기본 3열이 모바일에서 찌부되던 문제) */
@media (max-width: 1024px) {
    .principle-grid, .principle-grid.pgrid--2,
    .principle-grid.pgrid--3, .principle-grid.pgrid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .principle-grid, .principle-grid.pgrid--2,
    .principle-grid.pgrid--3, .principle-grid.pgrid--4 {
        grid-template-columns: 1fr; max-width: 460px; margin-inline: auto;
    }
}
/* 누끼·장비컷은 잘라내지 않고 회색 판 위에 얹는다 */
.pcard .pcard__media--fig { background: #f4f4f4; }
.pcard .pcard__media--fig img { object-fit: contain; padding: clamp(14px, 2.6vw, 30px); mix-blend-mode: multiply; }
.pcard {
    position: relative; background: #fff; border-radius: 4px; overflow: hidden;
    box-shadow: 0 10px 34px rgba(20, 48, 94, .08);
    transition: transform .4s cubic-bezier(.16,.7,.18,1), box-shadow .4s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 46px rgba(20, 48, 94, .14); }
.pcard__media { margin: 0; overflow: hidden; }
.pcard__media img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
    transition: transform .7s cubic-bezier(.16,.7,.18,1);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
/* 큰 연회색 번호 — 이미지와 본문 경계에 겹침 */
/* 번호 — 카드 우측, 본문 뒤에 깔리는 연회색 워터마크 */
.pcard__no {
    position: absolute; right: 16px; bottom: 6px;
    font-size: clamp(74px, 8vw, 104px); font-weight: 700; line-height: .85;
    letter-spacing: -.06em; pointer-events: none; user-select: none; z-index: 0;
    /* 은은한 블루 그라데이션이 천천히 흐르는 워터마크 */
    color: #eef0f3;
    background-image: linear-gradient(115deg,
        #f1f2f2 0%, #ede6e2 26%, #e8d6cd 44%, #e2c6b8 52%, #e8d6cd 60%, #ede6e2 78%, #f1f2f2 100%);
    background-size: 280% 100%; background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
    .pcard__no { animation: pcardNoBreathe 7s ease-in-out infinite; }
}
@keyframes pcardNoBreathe {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.pcard__body { position: relative; z-index: 1; }
.pcard__body { padding: 30px 26px 32px; }
.pcard__t {
    margin: 0 0 12px; font-size: 20px; font-weight: 700; color: #111827;
    letter-spacing: -.05em; line-height: 1.35;
}
.pcard__t span { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: #8b96a3; }
.pcard__d { margin: 0; font-size: 15.5px; font-weight: 300; line-height: 1.65; color: #6b7280; letter-spacing: -.045em; }


/* 원칙 카드 — 스크롤 시 위에서 부드럽게 내려오는 등장 */
@media (prefers-reduced-motion: no-preference) {
    .pcard.reveal { opacity: 0; transform: translateY(-34px) scale(.985); }
    .pcard.reveal.is-in {
        opacity: 1; transform: none;
        transition: opacity 1s cubic-bezier(.16, .7, .18, 1), transform 1s cubic-bezier(.16, .7, .18, 1);
        transition-delay: calc(var(--rd, 0) * 140ms);
    }
}

/* 번호 01·02·03 — 카드 등장 직후 01→02→03 순차 페이드인업
   (기본은 '보이는' 상태 → 애니메이션이 없어도 항상 노출) */
@keyframes pcardNoIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .pcard.reveal .pcard__no { opacity: 0; }
    .pcard.is-in .pcard__no {
        animation: pcardNoIn .95s cubic-bezier(.16, .7, .18, 1) both,
                   pcardNoBreathe 7s ease-in-out infinite;
        animation-delay: calc(var(--rd, 0) * 190ms + 360ms), 0s;
    }
}

/* split 본문 강조 */
.dsplit__p strong { font-weight: 700; color: #1a1a1a; }
/* 누끼 일러스트/장비컷이 들어가는 미디어 — 잘리지 않게 contain + 배경 融合 */
.dsplit--figure .dsplit__media img {
    object-fit: contain; padding: clamp(12px, 3vw, 40px); mix-blend-mode: multiply;
    max-height: clamp(360px, 40vw, 620px);   /* 정사각 일러스트가 밴드 높이를 과하게 키우지 않도록 */
}
.dsplit--figure .dsplit__media { min-height: clamp(340px, 34vw, 560px); }

/* 사진을 밴드 안쪽에 여백을 두고 큰 라운드로 얹는 변형 */
.dsplit--round .dsplit__media {
    align-self: center; min-height: 0;
    padding: clamp(24px, 4vw, 68px);
}
.dsplit--round .dsplit__media img {
    height: auto; min-height: 0; aspect-ratio: 16 / 11; object-fit: cover;
    border-radius: clamp(30px, 5vw, 76px);
    box-shadow: 0 18px 44px rgba(16, 32, 56, .10);
}
.dzig__media--fig { background: #f4f4f4; }
.dzig__media--fig img { object-fit: contain; padding: clamp(20px, 4vw, 60px); mix-blend-mode: multiply; }

/* 지그재그 고스트 번호 01·02·03 — 진료원칙 카드와 동일한
   블루 그라데이션 호흡 + 행 등장 직후 페이드인업 */
.dzig__ghost {
    color: #eef0f3;
    background-image: linear-gradient(115deg,
        #f1f2f2 0%, #ede6e2 26%, #e8d6cd 44%, #e2c6b8 52%, #e8d6cd 60%, #ede6e2 78%, #f1f2f2 100%);
    background-size: 280% 100%; background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
    .dzig__ghost { animation: pcardNoBreathe 7s ease-in-out infinite; }
    .dzig__row.reveal .dzig__ghost { opacity: 0; }
    .dzig__row.is-in .dzig__ghost {
        animation: pcardNoIn .95s cubic-bezier(.16, .7, .18, 1) both,
                   pcardNoBreathe 7s ease-in-out infinite;
        animation-delay: 340ms, 0s;
    }
}

/* 풀블리드 2단 밴드 — 배경은 화면 끝까지, 본문은 밴드(1200px) 기준선에 정렬.
   본문 칼럼 폭이 섹션의 50% 이므로 바깥쪽 여백 = 100% - (밴드/2) 로 계산하면
   창을 넓혀도 본문 줄 길이가 일정하게 유지된다. */
.dsplit--full .dsplit__body { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.dsplit--full.dsplit--right .dsplit__body {
    padding-left: max(24px, calc(100% - var(--d-w-band) / 2));
    padding-right: clamp(28px, 4vw, 72px);
}
.dsplit--full:not(.dsplit--right) .dsplit__body {
    padding-right: max(24px, calc(100% - var(--d-w-band) / 2));
    padding-left: clamp(28px, 4vw, 72px);
}
@media (max-width: 900px) {
    .dsplit--full .dsplit__body,
    .dsplit--full.dsplit--right .dsplit__body { padding-left: clamp(24px, 5vw, 44px); padding-right: clamp(24px, 5vw, 44px); }
}

/* =========================================================
   피드백 반영 (아이이언치과_피드백.pptx)
   4p·6p·7p — PC 상세 텍스트/이미지가 너무 작음, 지그재그 숫자 위 제목 겹침
   8p       — 어두운 배경에서 남색 강조색 가독성 저하
   ========================================================= */

/* 7p — 큰 고스트 숫자 뒤에 제목이 깔려 안 읽히던 문제.
   숫자를 오른쪽 워터마크로 빼고, 본문은 그만큼 오른쪽 여백을 확보한다. */
.dzig__ghost {
    left: auto;
    right: clamp(10px, 2vw, 30px);
    top: clamp(4px, .8vw, 12px);
    opacity: .42;
}
.dzig__inner { padding-right: clamp(84px, 11vw, 160px); }

/* 4p·7p — PC 기준 상세 텍스트 상향 */
.dzig__t   { font-size: clamp(26px, 3.4vw, 31px); }
.dzig__sub { font-size: 19px; }
.dzig__p   { font-size: 17px; line-height: 1.65; }
.dsplit__p { font-size: 16.5px; line-height: 1.65; }
.dcard__t  { font-size: clamp(19px, 2.2vw, 20px); }
.dcard__d  { font-size: 15.5px; line-height: 1.6; }
.dhead__sub { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; }
.dnotice   { font-size: clamp(17px, 2.1vw, 23px); }

/* 6p — 박스(카드) 안 이미지가 작아 답답하다는 피드백. 비율을 키운다. */
.dcard__media img, .dcard__media .img-ph { aspect-ratio: 4 / 3; }
.dzig__media { min-height: 380px; }

@media (max-width: 1024px) {
    .dzig__inner { padding-right: clamp(60px, 14vw, 110px); }
    .dzig__media { min-height: 280px; }
}
@media (max-width: 640px) {
    .dzig__ghost { opacity: .3; }
    .dzig__inner { padding-right: 0; }
    .dzig__p   { font-size: 16px; }
    .dcard__d  { font-size: 15.5px; }
}

/* 8p — 어두운 배경 강조색. dark.css 가 --d-blue 는 이미 베이지로 올렸지만
   .dcard__key 등은 --d-navy 를 쓰고 있어 남색 그대로 남아 대비가 1.55:1 이었다. */
body.theme-dark {
    --d-navy: #d6ab9c;
}
body.theme-dark .dcard__label { background: var(--d-ring); color: #1a1a1a; }
body.theme-dark .dhead__badge { background: var(--d-ring); color: #17171a; }
body.theme-dark .dhead__badge::after { background: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------
   전후사진 노출 정책 (피드백 3p)
   기본값은 '전체 오픈' — 아래 규칙은 마스킹/게이팅을 켰을 때만 적용됩니다.
   --------------------------------------------------------- */
.dcases__notice {
    max-width: var(--d-w-text); margin: -10px auto clamp(26px, 3.4vw, 40px);
    padding: 12px 18px; border-radius: 6px;
    background: var(--d-bg-soft); border: 1px solid var(--d-line);
    font-size: 14.5px; line-height: 1.6; color: var(--d-tx-muted); text-align: center;
}
.dcase__col { position: relative; }
.dcase__mask {
    position: absolute; inset: 0; pointer-events: none;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .04);
}
.dcases--mask-mosaic .dcase__mask {
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    background-image:
        linear-gradient(rgba(0, 0, 0, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .16) 1px, transparent 1px);
    background-size: 14px 14px, 14px 14px;
}
.dcases--locked .dcase { position: relative; }
.dcases--locked .dcase__pair { filter: blur(9px); pointer-events: none; user-select: none; }
.dcase__lock {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 20px; text-align: center;
    background: rgba(255, 255, 255, .58);
}
.dcases--dark .dcase__lock, .theme-dark .dcase__lock { background: rgba(19, 19, 18, .62); }
.dcase__lock-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--d-navy); color: #fff;
}
.dcase__lock-ico svg { width: 22px; height: 22px; }
.dcase__lock-t { margin: 0; font-size: 15px; font-weight: 700; color: var(--d-tx-strong); }
.theme-dark .dcase__lock-t { color: #fff; }
.dcase__lock-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; padding: 0 22px; border-radius: 100px;
    background: var(--d-navy); color: #fff; font-size: 14px; font-weight: 700;
    transition: opacity .2s ease, transform .2s ease;
}
.dcase__lock-btn:hover { transform: translateY(-2px); opacity: .92; }

/* =========================================================
   260902 UI 시안 반영
   ========================================================= */

/* 번호 배지 — 로즈골드(흰 글씨 대비 확보), 사각 배지 */
.dhead__badge { background: #c1907e; color: #fff; }
.dhead__badge::after { display: none; }
.dcard__no, .dzig__sub { color: #c1907e; }
body.theme-dark .dcard__no, body.theme-dark .dzig__sub { color: #d6ab9c; }
/* 단계 번호 배지 — 로즈골드 박스 + 흰 숫자 (260904) */
.dstep__no,
body.theme-dark .dstep__no { background: #c1907e; color: #fff; }

/* 원형 체크 그리드 — 흰 원 + 로즈골드 체크 + 검정 글씨 */
.dcircle { background: #fff; color: #111; }
.dcircle__t { color: #111; }
.dcircle__ico { color: #c1907e; }
.dcircle svg, .dcircle__check { color: #c1907e; }
body.theme-dark .dcircle { background: #fff; color: #111; }

/* 비교표 다크 스타일은 dark.css 가 담당한다 (260904) */

/* CTA 밴드 버튼 — 포인트 파랑 */
.ctaband__btn { background: #5a90e0; color: #fff; border-color: #5a90e0; }
.ctaband__btn:hover { background: #4a80d2; }

/* 어두운 배경 위 로즈골드 텍스트는 밝은 톤으로 (대비 확보) */
body.theme-dark .hl, body.theme-dark .dcard__key { color: #d6ab9c; }

/* 스텝 카드 — 박스 티 안 나게 */
body.theme-dark .dstep, body.theme-dark .dcard { border-color: rgba(255, 255, 255, .06); }

/* ---------- 브랜드 마퀴 — Orbitron, 텍스트와 그라데이션이 함께 흐름 ---------- */
.bmarquee {
    overflow: hidden; background: #0d1b2e;
    padding: 22px 0; user-select: none;
}
.bmarquee__track {
    display: inline-flex; align-items: center; gap: 26px;
    white-space: nowrap; will-change: transform;
    animation: bmarqueeMove 26s linear infinite;
}
.bmarquee__item, .bmarquee__sep {
    font-family: 'Orbitron', 'Pretendard', sans-serif;
    font-size: clamp(26px, 4.4vw, 52px); font-weight: 700; letter-spacing: .06em;
    background-image: linear-gradient(90deg, #d6ab9c 0%, #7eadee 25%, #d6ab9c 50%, #7eadee 75%, #d6ab9c 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: bmarqueeShine 8s linear infinite;
}
.bmarquee__sep { font-size: .5em; opacity: .7; }
@keyframes bmarqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bmarqueeShine { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@media (prefers-reduced-motion: reduce) {
    .bmarquee__track, .bmarquee__item, .bmarquee__sep { animation: none; }
}

/* ---------- 섹션 헤더 규격 통일 (260903) — 영문 / 타이틀 / 설명 ---------- */
.dhead__eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: #808285; margin-bottom: 16px;
}
.dhead__title { line-height: 1.15; }
.dhead__sub { margin-top: 16px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: #414042; }
body.theme-dark .dhead__sub { color: rgba(255, 255, 255, .72); }

/* ---------- 강점 탭 — 활성 탭에 포인트 파랑 적용 (260903) ---------- */
.ftabs__side { background: linear-gradient(170deg, #16273a 0%, #0d1b2e 100%); }
.ftabs__btn::before { background: #5a90e0; }
.ftabs__btn.is-active { color: #fff; }
.ftabs__btn.is-active > span:first-of-type { color: rgba(255, 255, 255, .75); }
.ftabs__btn:hover::before { opacity: .18; }

/* ---------- 브랜드 마퀴 띠 — 흰 배경 (260903) ---------- */
.bmarquee { background: #fff; }
.bmarquee__item, .bmarquee__sep {
    /* 흰 배경에서 읽히도록 로즈골드↔파랑 그라데이션 */
    background-image: linear-gradient(90deg, #c1907e 0%, #5a90e0 25%, #c1907e 50%, #5a90e0 75%, #c1907e 100%);
}


/* =========================================================
   비교표(.dvs__tbl) — 시안 260904
   어두운 패널 + 로즈골드 헤더/구분열 + 흰 굵은 값, 구분선 없음
   ========================================================= */
.dvs__tbl {
    background: #161f2e;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: clamp(18px, 2.2vw, 28px);
    overflow: hidden;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .05), 0 26px 60px rgba(6, 14, 26, .35);
    font-size: clamp(14px, 1.15vw, 17px);
}
.dvs__tbl th,
.dvs__tbl td {
    background: transparent; border: 0; box-shadow: none;
    padding: clamp(18px, 2.3vw, 30px) clamp(8px, 1.4vw, 20px);
    text-align: center; vertical-align: middle; line-height: 1.45;
}
/* 헤더 행 — 세 칸 모두 로즈골드 */
.dvs__tbl thead th,
.dvs__tbl thead th:nth-child(1),
.dvs__tbl thead th:nth-child(2),
.dvs__tbl thead th:nth-child(3) {
    background: transparent; color: #d6ab9c; font-weight: 700;
    padding-top: clamp(26px, 3vw, 40px); padding-bottom: clamp(22px, 2.6vw, 34px);
}
/* 좌측 구분 라벨 — 로즈골드 */
.dvs__tbl tbody th { color: #d6ab9c; font-weight: 700; }
/* 값 — 흰 굵은 글씨 */
.dvs__tbl tbody td,
.dvs__tbl tbody td:first-child,
.dvs__tbl tbody td:last-child { color: #fff; font-weight: 700; }
/* 구분선·모서리·장식 제거 */
.dvs__tbl tbody tr + tr td,
.dvs__tbl tbody tr + tr th { border-top: 0; }
.dvs__tbl tbody td::before,
.dvs__tbl tbody td::after,
.dvs__tbl tbody th::after { content: none; }
.dvs__tbl tbody tr:first-child td:last-child { box-shadow: none; }
.dvs__tbl th:first-child { width: 26%; }
.dvs__tbl tbody tr:last-child th,
.dvs__tbl tbody tr:last-child td { padding-bottom: clamp(26px, 3vw, 40px); }
/* 패널은 표가 가지므로 래퍼는 투명 */
.dvs, body.theme-dark .dvs { background: transparent; }

@media (max-width: 640px) {
    .dvs__tbl { font-size: 13px; }
    .dvs__tbl th, .dvs__tbl td { padding: 16px 6px; }
}


/* =========================================================
   하단 스택 — 페이지 테마에 맞춘 배경 (260904)
   밝은 페이지: 마퀴 띠와 그 아래 밴드를 밝은 면으로
   다크 페이지: 페이지 배경색(#0d1b2e)과 동일하게
   ========================================================= */
.bmarquee {
    background: #f5f6f8;
    /* 본문 끝과 하단 스택 사이 여유 여백 */
    margin-top: clamp(40px, 6vw, 88px);
}
/* 밝은 배경에서는 그라데이션 톤을 한 단계 진하게 */
.bmarquee__item, .bmarquee__sep {
    background-image: linear-gradient(90deg, #c1907e 0%, #5a90e0 25%, #c1907e 50%, #5a90e0 75%, #c1907e 100%);
}
.ftabs { background: #f5f6f8; }


/* =========================================================
   시안 260906 반영
   ========================================================= */

/* ① 마퀴 — 여러 색이 섞이지 않도록 브랜드 단색으로 통일 */
.bmarquee__item, .bmarquee__sep {
    background-image: none;
    -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: #c1907e;
    animation: none;
}

/* ② 큰 연회색 워터마크 번호 삭제 */
.pcard__no, .dzig__ghost { display: none !important; }

/* ③ 비교표 헤더 글씨 크기를 값 셀과 동일하게 */
.dvs__tbl thead th { font-size: 1em; }

/* ④ 하단 CTA 밴드 — 사진 없이 남색 단색 */
.ctaband--plain {
    background: #0d1b2e;
    /* 사진이 빠진 만큼 밴드 높이를 줄여 빈 남색 면이 과하지 않게 */
    min-height: clamp(240px, 26vw, 320px);
}
.ctaband--plain .ctaband__grid,
.ctaband--plain .ctaband__veil { display: none; }

/* =========================================================
   일반 페이지 하단 — 시안 0910 p4(밝은) / p5(다크)
   ---------------------------------------------------------
   시안의 핵심은 "기본 배경색 연속성 있게"다. 마퀴·강점 목록·CTA 가
   각자 다른 색면을 깔고 있어서 페이지를 내려갈 때 바탕이 네 번
   바뀌었다. 전부 투명으로 돌려 페이지 배경(밝은 #F5F6F8 / 다크
   #0D1B2E) 하나가 푸터 그라데이션까지 그대로 이어지게 한다.

   색을 갖는 것은 두 군데뿐이다 — 선택된 강점 행과 CTA 버튼.
   둘 다 아이언 블루(#5A90E0).
   ========================================================= */
.bmarquee   { background: transparent; }
.ftabs      { background: transparent; }
.ftabs__side{ background: transparent; }
/* 시안에는 목록 위 로고 블록이 없다 */
.ftabs__brand { display: none; }

.ftabs__btn {
    color: var(--d-tx);
    border-top-color: rgba(13, 27, 46, .10);
}
.ftabs__btn > span:first-of-type { color: rgba(13, 27, 46, .5); }
.ftabs__btn:hover { color: var(--d-tx-strong); }
.ftabs__btn.is-active,
.ftabs__btn.is-active:hover { color: #fff; }
.ftabs__btn.is-active > span:first-of-type { color: rgba(255, 255, 255, .8); }

body.theme-dark .ftabs__btn {
    color: rgba(255, 255, 255, .78);
    border-top-color: rgba(255, 255, 255, .10);
}
body.theme-dark .ftabs__btn > span:first-of-type { color: rgba(255, 255, 255, .45); }
body.theme-dark .ftabs__btn:hover { color: #fff; }
/* 다크 기본 규칙(body.theme-dark .ftabs__btn)이 선택자 등급이 더 높아
   활성 행까지 .78 로 흐리게 덮는다. 같은 등급으로 되돌려 놓는다. */
body.theme-dark .ftabs__btn.is-active,
body.theme-dark .ftabs__btn.is-active:hover { color: #fff; }
body.theme-dark .ftabs__btn.is-active > span:first-of-type { color: rgba(255, 255, 255, .8); }

/* CTA — 색면을 걷어내고 기본 배경 위에 놓는다.
   "세로 공간 충분한 여백, 거의 한 화면 가득" (다크는 75%~) */
.ctaband, .ctaband--plain {
    background: transparent;
    /* 시안 p4 는 "거의 한 화면 가득" 이었는데 실제로는 빈 공간이 너무
       커 보여 줄였다 (요청 260911). */
    min-height: clamp(320px, 46vh, 520px);
}
.ctaband__inner { color: inherit; padding: 40px 24px; }
.ctaband__t { color: var(--d-tx-strong); }
.ctaband__d { color: var(--d-tx-muted); }
body.theme-dark .ctaband { min-height: clamp(300px, 42vh, 480px); }
body.theme-dark .ctaband__t { color: #fff; }
body.theme-dark .ctaband__d { color: rgba(255, 255, 255, .7); }
