/* 판교 최용훈치과의원 — 리뉴얼 시안 구현 (renewal/ko-preview)
   기준: 시안 01 pc_main · 02 mo_main · 03 pc_sub · 04 mo_sub
   PC 레이아웃 ≥1024px, 그 아래는 모바일 레이아웃. 시안 PC 폭 1920 · 콘텐츠 1440 기준. */

:root {
  --gold: #a9843e;
  --gold-btn: linear-gradient(100deg, #cfa75b 0%, #b38c45 100%);
  --ink: #222;
  --text: #333;
  --sub: #555;
  --muted: #888;
  --line: #ddd;
  --soft: #f6f6f6;
  --dark: #222;
  --maxw: 1440px;
  --gut: 20px;
  --side: max(var(--gut), (100% - var(--maxw)) / 2);
  --hdr-h: 64px;
  --i-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 10.5l9-9M3.5 1.5h7v7' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
@media (min-width: 600px) { :root { --gut: 40px; } }
@media (min-width: 1024px) { :root { --hdr-h: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 16px; background: #000; color: #fff; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.br-m { display: none; }
.only-mo { display: none; }
@media (max-width: 1023px) {
  .br-m { display: inline; }
  .br-pc { display: none; }
  .only-mo { display: inline; }
  .only-pc { display: none; }
}

/* ── 공통 타이포 ───────────────────────────── */
.eyebrow { font-size: clamp(15px, 14.3px + .19vw, 18px); line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: clamp(18px, 14px + .8vw, 28px); }
.h2 { font-size: clamp(30px, 28.6px + .385vw, 36px); line-height: 1.42; font-weight: 400; letter-spacing: -0.03em; }
.h2 strong { font-weight: 700; }

/* ── 버튼 ──────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px; border-radius: 25px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.btn--gold { background: var(--gold-btn); color: #fff; --talk-fg: #b38c45; }
.btn--gold:hover { opacity: .9; }
.btn--dark { background: var(--dark); color: #fff; --talk-fg: #222; }
.btn--line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); --talk-fg: #fff; }
.btn--white .i-talk { color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.i-talk { width: 20px; height: 18px; flex: none; fill: currentColor; }
.i-talk text { font: 800 6.4px/1 Arial, sans-serif; letter-spacing: 0; text-anchor: middle; fill: var(--talk-fg, #222); }
.btn--gold .i-talk, .btn--dark .i-talk { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.link-arrow::after { content: ""; width: 11px; height: 11px; flex: none; background: currentColor; -webkit-mask: var(--i-ne) center / contain no-repeat; mask: var(--i-ne) center / contain no-repeat; }

.arrow { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background-color .2s, color .2s; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.arrow:hover { background: var(--ink); color: #fff; }
.arrow--light { border-color: #fff; color: #fff; }
.arrow--light:hover { background: #fff; color: var(--ink); }

.dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; background: #ccc; }
.dots button.is-on { background: var(--ink); }
.dots--gold button { background: #555; }
.dots--gold button.is-on { background: var(--gold); }

/* 가로 스크롤 트랙 공통 (스크롤바 숨김) */
[data-track] { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
[data-track]::-webkit-scrollbar { display: none; }

/* ── Header ───────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hdr__logo { position: relative; display: block; width: 171px; height: 36px; }
.hdr__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s; }
.hdr__logo-d { opacity: 0; }
.gnb { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; font-size: 16px; }
.gnb__list { display: flex; gap: 56px; margin: 0; padding: 0; list-style: none; }
.gnb__item { position: relative; }
.gnb__top { position: relative; display: block; padding: 8px 0; }
.gnb__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.gnb__item:hover .gnb__top::after, .gnb__item:focus-within .gnb__top::after, .gnb__top.is-on::after { transform: scaleX(1); }
.gnb__sub { position: absolute; top: 100%; left: 50%; min-width: 172px; margin: 0; padding: 12px 0; list-style: none; background: #fff; color: var(--ink); border-radius: 4px; box-shadow: 0 12px 32px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translate(-50%, 18px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.gnb__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
.gnb__item:hover .gnb__sub, .gnb__item:focus-within .gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.gnb__sub a { display: block; padding: 9px 24px; font-size: 15px; white-space: nowrap; transition: color .2s; }
.gnb__sub a:hover, .gnb__sub a[aria-current="page"] { color: var(--gold); }
.gnb__sub a[aria-current="page"] { font-weight: 600; }
.hdr__cta { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 18px 0 15px; border: 1px solid currentColor; border-radius: 20px; font-size: 14px; --talk-fg: #222; transition: background-color .2s, color .2s; }
.hdr__cta:hover { background: #fff; color: var(--ink); --talk-fg: #fff; }
.hdr__menu { width: 28px; height: 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hdr__menu span { display: block; width: 24px; height: 2px; margin-left: auto; background: currentColor; transition: transform .3s, opacity .3s; }
.hdr.is-solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.hdr.is-solid .hdr__logo-l { opacity: 0; }
.hdr.is-solid .hdr__logo-d { opacity: 1; }
.hdr.is-solid .hdr__cta:hover { background: var(--ink); color: #fff; --talk-fg: #222; }
.hdr.is-open { background: var(--dark); color: #fff; box-shadow: none; }
.hdr.is-open .hdr__logo-l { opacity: 1; }
.hdr.is-open .hdr__logo-d { opacity: 0; }
.hdr.is-open .hdr__menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hdr.is-open .hdr__menu span:nth-child(2) { opacity: 0; }
.hdr.is-open .hdr__menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 1024px) {
  .hdr__logo { width: 190px; height: 40px; }
  .gnb { display: flex; }
  .hdr__cta { display: inline-flex; }
  .hdr__menu { display: none; }
}
.mnav { position: fixed; inset: var(--hdr-h) 0 0; z-index: 49; background: var(--dark); color: #fff; padding: 28px var(--gut) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; }
.mnav nav { display: flex; flex-direction: column; }
.mnav__grp { padding: 16px 0; border-bottom: 1px solid #3a3a3a; }
.mnav__top { display: block; font-size: 22px; }
.mnav__grp ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 0; padding: 0; list-style: none; }
.mnav__grp ul a { font-size: 15px; color: rgba(255,255,255,.72); }
.mnav__grp ul a[aria-current="page"] { color: var(--gold); }
.mnav .btn { align-self: flex-start; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

/* ── Hero (메인) ──────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1200px; display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a2a28; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.22) 50%, rgba(0,0,0,.12) 100%); }
.hero__in { position: relative; padding-top: calc(var(--hdr-h) * .5); }
.hero__eyebrow { font-size: clamp(14px, 13.5px + .14vw, 16px); font-weight: 600; margin-bottom: clamp(18px, 1.3vw + 13px, 28px); }
.hero__title { font-size: clamp(36px, 31.4px + 1.282vw, 56px); line-height: 1.5; font-weight: 400; letter-spacing: -0.035em; }
.hero__title em { color: var(--gold); font-weight: 700; }
.hero__desc { margin-top: clamp(18px, 1vw + 14px, 28px); font-size: clamp(15px, 14.3px + .19vw, 18px); line-height: 1.7; color: rgba(255,255,255,.92); }
.hero .btn { margin-top: clamp(32px, 1vw + 28px, 42px); height: 50px; padding: 0 18px; }
@media (max-width: 1023px) {
  .hero { min-height: 560px; }
  .hero__bg { top: -70px; height: calc(100% + 70px); object-position: 48% 50%; }
  .hero::before { background: rgba(0,0,0,.4); }
  .hero__in { padding-top: 0; }
  .hero__title { line-height: 1.58; }
  .hero__desc { max-width: 290px; }
  .hero .btn { height: 40px; padding: 0 16px; font-size: 14px; }
}

/* ── Our Belief ───────────────────────────── */
.belief { position: relative; padding: 148px 0 140px; text-align: center; overflow: hidden; }
.belief__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; -webkit-mask-image: linear-gradient(#000 66%, transparent); mask-image: linear-gradient(#000 66%, transparent); }
.belief .wrap { position: relative; }
.belief__title { font-size: clamp(30px, 26.3px + 1.026vw, 46px); line-height: 1.45; font-weight: 400; letter-spacing: -0.035em; }
.belief__visual { width: min(545px, 64vw); margin: 16px auto 0; }
.belief__visual img { width: 100%; mix-blend-mode: multiply; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.stats li { display: flex; flex-direction: column; align-items: center; padding: 38px 20px 40px; background: rgba(255,255,255,.72); }
.stats__k { font-size: 18px; color: var(--sub); }
.stats__v { margin: 12px 0 18px; font-size: clamp(24px, 17.5px + 1.8vw, 50px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.stats__s { font-size: 17px; color: var(--text); }
@media (max-width: 1023px) {
  .belief { padding: 68px 0 70px; }
  .belief__bg { -webkit-mask-image: none; mask-image: none; }
  .belief__visual { width: 230px; margin-top: 20px; }
  .stats { grid-template-columns: 1fr; gap: 34px; margin-top: 10px; }
  .stats li { padding: 0; background: none; }
  .stats__k, .stats__s { font-size: 16px; }
  .stats__v { margin: 6px 0 10px; font-weight: 700; }
}

/* ── Treatment Program ────────────────────── */
.program { padding: 150px 0 150px; text-align: center; overflow: hidden; }
.prog { position: relative; z-index: 0; margin-top: 40px; overflow: hidden; touch-action: pan-y; user-select: none; }
.prog__track { display: flex; align-items: flex-start; gap: clamp(140px, 18.75vw, 360px); will-change: transform; }
.prog__track.is-anim { transition: transform .9s cubic-bezier(.65, 0, .25, 1); }
.prog__item { flex: none; }
.prog__row { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; }
.prog__row::before { content: ""; position: absolute; z-index: -1; top: 50%; left: -100vw; right: -100vw; height: 1px; background: var(--ink); }
.prog__w { padding: 0 8px; background: #fff; font-size: clamp(38px, 33.8px + 1.154vw, 56px); line-height: 1.3; font-weight: 700; letter-spacing: -0.04em; }
.prog__img { width: clamp(230px, 17.7vw, 340px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; flex: none; }
.prog__img img { width: 100%; height: 100%; object-fit: cover; }
.prog__desc { display: none; }
@media (max-width: 1023px) {
  .program { padding: 70px 0 70px; }
  .prog { margin-top: 30px; }
  .prog__track { gap: 0; }
  .prog__item { width: 100%; padding: 0 var(--gut); }
  .prog__row { flex-direction: column; gap: 22px; }
  .prog__w { background: none; padding: 0; }
  .prog__desc { display: block; margin-top: 30px; font-size: 15px; line-height: 1.6; color: var(--sub); }
}

/* ── Signature Treatments ─────────────────── */
.sig { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: #fff; overflow: hidden; }
.sig__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.sig__body { position: relative; min-width: 0; padding: 148px 0 141px; text-align: center; }
.sig__body .h2 { position: relative; z-index: 1; }
.sig__slider { position: relative; z-index: 1; width: min(680px, calc(100% - 200px)); margin: 50px auto 0; }
.sig__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.sig-card { flex: 0 0 100%; scroll-snap-align: start; text-align: left; }
.sig-card__img { aspect-ratio: 680 / 380; overflow: hidden; background: #333; }
.sig-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sig-card__box { position: relative; min-height: 210px; margin: -50px 0 0 7.5%; padding: 26px 30px 26px; background: #fff; color: var(--ink); }
.sig-card__no { display: block; font-size: 16px; color: var(--sub); line-height: 1.3; }
.sig-card__title { margin-top: 14px; font-size: 24px; line-height: 1.35; font-weight: 500; }
.sig-card__en { margin-top: 6px; font-size: 13px; color: #666; }
.sig-card__desc { margin-top: 14px; font-size: 15px; line-height: 1.73; color: var(--sub); }
.sig-card__more { position: absolute; top: 0; right: 0; width: 49px; height: 49px; background: var(--dark); }
.sig-card__more::before, .sig-card__more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
.sig-card__more::after { transform: translate(-50%, -50%) rotate(90deg); }
.sig__nav { position: absolute; z-index: 2; inset: 0 0 auto; aspect-ratio: 680 / 380; pointer-events: none; }
.sig__nav .arrow { position: absolute; top: 50%; margin-top: -25px; pointer-events: auto; }
.sig__nav [data-prev] { left: -89px; }
.sig__nav [data-next] { right: -89px; }
.sig__deco { position: absolute; left: 0; bottom: 0; margin: 0; font-size: clamp(64px, 7.8vw, 150px); line-height: .72; font-weight: 700; letter-spacing: -0.02em; color: #2d2d2d; white-space: nowrap; pointer-events: none; }
@media (max-width: 1023px) {
  .sig { grid-template-columns: 1fr; }
  .sig__media { aspect-ratio: 360 / 400; }
  .sig__body { padding: 70px var(--gut) 90px; }
  .sig__slider { width: 100%; margin-top: 30px; }
  .sig__nav { display: none; }
  .sig-card__img { aspect-ratio: 320 / 180; }
  .sig-card__box { margin: 0; min-height: 0; padding: 26px 20px 28px; }
  .sig-card__title { margin-top: 18px; font-size: 18px; }
  .sig-card__desc { font-size: 15px; }
  .sig-card__more { width: 40px; height: 40px; }
  .sig .dots { display: flex; margin-top: 22px; }
  .sig__deco { left: 50%; transform: translateX(-50%); font-size: 64px; }
}

/* ── Our Mission ──────────────────────────── */
.mission { position: relative; display: grid; place-items: center; min-height: clamp(520px, 44vw, 847px); padding: 80px 0; text-align: center; overflow: hidden; }
.mission__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission .wrap { position: relative; }
@media (max-width: 1023px) { .mission { min-height: 336px; padding: 60px 0; } }
.mission__title { font-size: clamp(30px, 22.2px + 2.18vw, 64px); line-height: 1.52; font-weight: 400; letter-spacing: -0.04em; }

/* ── Before You Give Up ───────────────────── */
.voices { position: relative; margin: 140px 0; border-block: 1px solid #333; }
.voices__grid { display: grid; grid-template-columns: calc(var(--side) + 339px) minmax(0, 1fr); }
.voices__head { display: flex; flex-direction: column; padding: 88px 40px 80px calc(100% - 339px); border-right: 1px solid #333; }
.voices__head .arrows { display: flex; gap: 10px; margin-top: auto; padding-top: 40px; }
.voices__body { min-width: 0; }
.voices__track { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 80px; padding: 76px 80px 78px; }
.voice { position: relative; flex: none; width: 340px; height: 372px; padding: 30px; overflow: hidden; scroll-snap-align: start; background: #e9e9e9; color: var(--ink); }
.voice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .45s; }
.voice > :not(img) { position: relative; }
.voice__q { display: block; height: 30px; font: 700 52px/1 Georgia, "Times New Roman", serif; color: #c4c4c4; transition: color .45s; }
.voice h3 { margin-top: 26px; font-size: 24px; line-height: 1.42; font-weight: 500; transition: color .45s; }
.voice p { margin-top: 20px; font-size: 15px; line-height: 1.73; color: #444; transition: color .45s; }
.voices__bar { position: absolute; left: calc(var(--side) + 339px); right: 0; bottom: -1px; height: 2px; }
.voices__bar span, .clinic__bar span, .film__bar span { position: absolute; top: 0; left: 0; height: 100%; background: var(--gold); transition: left .3s, width .3s; }
@media (min-width: 1024px) {
  .voice.is-current img, .voice:hover img { filter: brightness(.42) contrast(1.15); }
  .voice.is-current .voice__q, .voice:hover .voice__q,
  .voice.is-current h3, .voice:hover h3 { color: #fff; }
  .voice.is-current p, .voice:hover p { color: rgba(255,255,255,.88); }
}
@media (max-width: 1023px) {
  .voices { margin: 60px 0; }
  .voices__grid { grid-template-columns: 1fr; margin-inline: var(--gut); border-inline: 1px solid #333; }
  .voices__head { padding: 50px 20px 48px; border-right: 0; border-bottom: 1px solid #333; text-align: center; }
  .voices__head .arrows { display: none; }
  .voices__track { gap: 20px; padding: 40px 20px 0; scroll-padding-left: 20px; }
  .voice { width: min(100%, 340px); height: auto; aspect-ratio: 1; padding: 22px 20px; }
  .voice h3 { margin-top: 14px; font-size: 18px; }
  .voice p { margin-top: 16px; font-size: 15px; }
  .voices .dots { display: flex; margin: 20px 0 40px; }
  .voices__bar { display: none; }
}

/* ── Film ─────────────────────────────────── */
.film { position: relative; padding: 155px 0 136px; overflow: hidden; background: #f3f3f3; }
.film__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film .wrap { position: relative; }
.film__grid { display: grid; grid-template-columns: 1.03fr 1fr; gap: 40px; margin-top: 52px; }
.film__main { min-width: 0; }
.film__player { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.film__player iframe, .film__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: #fff; transition: transform .25s; }
.film__play::after { content: ""; position: absolute; left: 24px; top: 20px; border-left: 16px solid #111; border-block: 10px solid transparent; }
.film__poster:hover .film__play { transform: scale(1.08); }
/* 자동 재생 영상(2026-10-06): 소리 없는 반복 영상 위에 작은 재생 표시 — 누르면 유튜브 전체 영상 */
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__poster--live .film__play { left: auto; top: auto; right: 18px; bottom: 18px; width: 46px; height: 46px; margin: 0; background: rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.film__poster--live .film__play::after { left: 18px; top: 14px; border-left-width: 13px; border-block-width: 9px; }
@media (max-width: 1023px) { .film__poster--live .film__play { right: 12px; bottom: 12px; width: 38px; height: 38px; } .film__poster--live .film__play::after { left: 15px; top: 11px; border-left-width: 11px; border-block-width: 8px; } }
.film__caption { margin-top: 24px; font-size: 17px; font-weight: 500; }
.film__side { min-width: 0; }
.film__ch { font-size: 14px; margin-top: 4px; }
.film__list { margin-top: 22px; height: 348px; overflow-y: auto; padding-right: 13px; scrollbar-width: thin; scrollbar-color: #222 #ddd; }
.film__list::-webkit-scrollbar { display: block; width: 4px; }
.film__list::-webkit-scrollbar-track { background: #ddd; }
.film__list::-webkit-scrollbar-thumb { background: #222; }
.film__list li + li { margin-top: 2px; }
.film__list button { display: grid; grid-template-columns: 211px 1fr; grid-template-rows: auto auto; column-gap: 15px; align-content: center; width: 100%; padding: 9px; text-align: left; transition: background-color .2s; }
.film__list button:hover, .film__list button.is-active { background: rgba(0,0,0,.065); }
.film__list img { grid-row: 1 / 3; width: 211px; aspect-ratio: 16 / 9; object-fit: cover; }
.film__t { align-self: end; font-size: 16px; line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 270px; }
.film__m { align-self: start; margin-top: 10px; font-size: 13px; color: #666; }
.film__m i { font-style: normal; margin-left: 12px; }
.film__bar { display: none; }
@media (max-width: 1023px) {
  .film { padding: 70px 0 70px; }
  .film__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 34px; }
  .film__caption { margin-top: 18px; font-size: 16px; font-weight: 700; }
  .film__ch { display: none; }
  .film__list { margin-top: 0; height: auto; overflow: auto hidden; display: flex; gap: 20px; padding: 0; scroll-snap-type: x mandatory; }
  .film__list li { flex: 0 0 120px; scroll-snap-align: start; }
  .film__list li + li { margin-top: 0; }
  .film__list button { display: block; padding: 0; }
  .film__list button:hover, .film__list button.is-active { background: none; }
  .film__list img { width: 100%; }
  .film__t { margin-top: 12px; font-size: 14px; font-weight: 600; }
  .film__m { display: block; margin-top: 6px; font-size: 12px; }
  .film__m i { margin-left: 8px; }
  .film__bar { display: block; position: relative; height: 3px; margin-top: 22px; background: transparent; }
  .film__bar span { background: #bbb; }
}

/* ── Journal ──────────────────────────────── */
.journal { padding: 148px 0 140px; }
.journal__head { display: grid; grid-template-columns: 451px 1fr auto; align-items: start; }
.journal__desc { padding-top: 46px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.journal__all { margin-top: 50px; }
.journal__all-m { display: none; }
.journal__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 50px; }
.journal__list a { display: flex; flex-direction: column; height: 100%; padding: 28px 20px 22px; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.journal__list a:hover { border-color: var(--ink); }
.journal__t { min-height: 3.2em; font-size: 15px; line-height: 1.6; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.journal__list img { width: 100%; aspect-ratio: 232 / 135; object-fit: cover; margin-top: 20px; }
.journal__f { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 13px; color: #999; }
.journal__f::after { content: ""; width: 12px; height: 12px; background: var(--ink); -webkit-mask: var(--i-ne) center / contain no-repeat; mask: var(--i-ne) center / contain no-repeat; }
@media (max-width: 1199px) {
  .journal__list { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .journal__list li { flex: 0 0 272px; scroll-snap-align: start; }
}
@media (max-width: 1023px) {
  .journal { padding: 70px 0 70px; }
  .journal__head { grid-template-columns: 1fr; }
  .journal__desc { padding-top: 20px; font-size: 16px; line-height: 1.7; }
  .journal__all { display: none; }
  .journal__list { margin-top: 34px; }
  .journal__list a { padding: 26px 20px 20px; }
  .journal .dots { display: flex; margin-top: 24px; }
  .journal__all-m { display: flex; justify-content: center; margin-top: 30px; font-size: 16px; font-weight: 700; }
}

/* ── Clinic ───────────────────────────────── */
.clinic { display: grid; grid-template-columns: 1fr 1fr; min-height: 944px; }
.clinic__media img { width: 100%; height: 100%; object-fit: cover; }
.clinic__body { position: relative; min-width: 0; padding: 154px 0 0; background: var(--soft); text-align: center; }
.clinic__slider { position: relative; width: min(680px, calc(100% - 200px)); margin: 49px auto 0; }
.clinic__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.clinic__track figure { flex: 0 0 100%; aspect-ratio: 680 / 380; scroll-snap-align: start; overflow: hidden; }
.clinic__track img { width: 100%; height: 100%; object-fit: cover; }
.clinic__slider .arrow { position: absolute; top: 50%; margin-top: -25px; }
.clinic__slider [data-prev] { left: -89px; }
.clinic__slider [data-next] { right: -89px; }
.clinic__bar { position: absolute; left: 0; right: 0; bottom: 142px; height: 2px; }
.clinic__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1px; background: var(--ink); }
@media (max-width: 1023px) {
  .clinic { grid-template-columns: 1fr; min-height: 0; }
  .clinic__media { aspect-ratio: 360 / 355; }
  .clinic__body { padding: 40px var(--gut) 60px; }
  .clinic__slider { width: 100%; margin-top: 30px; }
  .clinic__slider .arrow { display: none; }
  .clinic__track figure { aspect-ratio: 320 / 207; }
  .clinic__bar { position: relative; bottom: auto; margin-top: 20px; }
}

/* ── FAQ ──────────────────────────────────── */
.faq { padding: 148px 0 0; }
.wrap--faq { max-width: calc(990px + var(--gut) * 2); }
.faq--end { padding-bottom: 140px; }
.faq .eyebrow, .faq .h2 { text-align: center; }
.acc { margin-top: 51px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { position: relative; display: block; padding: 22px 50px 22px 0; font-size: 18px; line-height: 1.5; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 20px; height: 1.3px; background: var(--ink); transition: transform .3s; }
.acc summary::after { transform: rotate(90deg); }
.acc details[open] summary::after { transform: rotate(0); }
.acc__body { padding: 4px 0 30px; max-width: 860px; }
.acc__body p { font-size: 16px; line-height: 1.75; color: #666; }
.acc__body p + p { margin-top: 10px; }
@media (max-width: 1023px) {
  .faq { padding-top: 70px; }
  .faq--end { padding-bottom: 70px; }
  .acc { margin-top: 34px; }
  .acc summary { padding: 22px 44px 22px 0; font-size: 16px; }
  .acc__body p { font-size: 15px; }
}

/* ── Visit ────────────────────────────────── */
.visit { padding: 148px 0 140px; }
.visit__in { display: grid; grid-template-columns: 1fr 1fr; }
.visit__info { min-width: 0; padding: 0 42px 0 max(var(--gut), 100% - var(--maxw) / 2); }
.visit__sub { margin-top: 40px; padding-bottom: 14px; font-size: 16px; color: var(--sub); border-bottom: 1px solid var(--ink); }
.hours > div { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.hours dd { font-size: 18px; }
.visit__note { margin-top: 24px; font-size: 15px; line-height: 1.75; color: #999; }
.visit .btns { margin-top: 34px; }
.visit__addr { display: none; }
.visit__map { min-width: 0; }
.visit__maplink { font-size: 15px; }
.visit__mapimg { display: block; margin-top: 22px; aspect-ratio: 960 / 632; overflow: hidden; background: #eef0f1; }
.visit__mapimg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) {
  .visit { padding: 70px 0 0; }
  .visit__in { grid-template-columns: 1fr; }
  .visit__info { padding: 0 var(--gut); }
  .visit__sub { margin-top: 30px; padding-bottom: 20px; font-size: 15px; border-bottom-color: var(--line); }
  .hours > div { padding: 22px 0; font-size: 16px; }
  .hours dd { font-size: 16px; }
  .visit .btns .btn { height: 44px; min-width: 128px; }
  .visit__addr { display: block; margin-top: 40px; }
  .visit__addr > div + div { margin-top: 28px; }
  .visit__addr dt { font-size: 15px; color: var(--sub); }
  .visit__addr dd { margin-top: 14px; }
  .visit__addr strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.6; }
  .visit__addr span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--sub); }
  .visit__map { padding-top: 40px; }
  .visit__maplink { margin-left: var(--gut); font-size: 16px; font-weight: 700; }
  .visit__mapimg { margin-top: 20px; aspect-ratio: 360 / 330; }
}

/* ── CTA ──────────────────────────────────── */
.cta { padding: 110px 0 100px; background: var(--dark); color: #fff; text-align: center; }
.cta__title { font-size: clamp(22px, 18.8px + .897vw, 36px); line-height: 1.5; font-weight: 400; letter-spacing: -0.035em; }
.cta .btns { justify-content: center; margin-top: 44px; }
@media (max-width: 1023px) {
  .cta { padding: 70px 0 40px; }
  .cta .btns { margin-top: 30px; }
  .cta .btn { height: 44px; min-width: 128px; }
}

/* ── Footer ───────────────────────────────── */
.ftr { background: var(--dark); color: #999; border-top: 1px solid #4e4e4e; padding: 50px 0 42px; font-size: 15px; }
.ftr__in { display: grid; grid-template-columns: 2.4fr .85fr 1fr 1.9fr; }
.ftr__brand img { width: 190px; height: 40px; }
.ftr__brand p { margin-top: 24px; line-height: 1.65; }
.ftr__col h3 { font-size: 15px; font-weight: 500; color: #fff; }
.ftr__col ul { margin-top: 14px; }
.ftr__col li { line-height: 30px; }
.ftr__col a:hover { color: #fff; }
.ftr__copy { margin-top: 44px; font-size: 14px; color: #999; }
@media (max-width: 1023px) {
  .ftr { padding: 30px 0 30px; border-top: 1px solid #4e4e4e; }
  .ftr__in { grid-template-columns: 138px 1fr; row-gap: 34px; }
  .ftr__brand, .ftr__info { grid-column: 1 / -1; }
  .ftr__brand img { width: 171px; height: 36px; }
  .ftr__brand p { margin-top: 20px; font-size: 14px; }
  .ftr__col ul { margin-top: 20px; }
  .ftr__copy { margin-top: 24px; padding-top: 20px; border-top: 1px solid #4e4e4e; }
}

/* ── 메인 CTA·푸터: 층과 깊이 (2026-10-06, 메인만 .cta--stage · .ftr--panel) ──
   밝은 무대 → 큰 치아 실루엣 → 뒤 치아(흐림) → 흰 카드 → 앞 치아 순으로 겹치고,
   카드와 앞 치아는 아래 어두운 푸터 판 위로 걸쳐 내려간다 (--cta-ov 만큼) */
:root { --cta-ov: 120px; --stage: #f1f0ed; }
.cta--stage { position: relative; z-index: 1; overflow-x: clip; padding: 120px 0 0; background: none; color: var(--ink); }
/* 무대 바탕은 카드가 걸쳐 내려간 만큼 위에서 끝난다 (섹션 상자는 카드 끝까지라, 섹션에 바탕을 칠하면 푸터 판을 덮는다) */
.cta__bg { position: absolute; inset: 0 0 var(--cta-ov); overflow: hidden; pointer-events: none; background: var(--stage); }
.cta__shape { position: absolute; left: 50%; top: 40px; width: min(1180px, 94vw); height: auto; translate: -50% 0; }
.cta__in { position: relative; }
.cta__card { position: relative; z-index: 2; max-width: 820px; margin: 0 auto calc(var(--cta-ov) * -1); padding: 60px 48px 58px; border-radius: 32px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 28px 64px -20px rgba(0,0,0,.24); }
.cta__mark { display: block; width: 34px; height: 34px; margin: 0 auto 22px; fill: none; stroke: var(--gold); stroke-width: 5; }
.cta--stage .cta__title strong { font-weight: 600; }
.cta--stage .btns { margin-top: 36px; }
.cta--stage .btn--dark:hover { opacity: .88; }
.cta__obj { position: absolute; pointer-events: none; }
.cta__obj img { display: block; width: 100%; height: auto; }
.cta__obj--front { z-index: 3; width: clamp(160px, 13vw, 220px); left: max(-16px, calc(50% - 590px)); bottom: -14px; }
.cta__obj--front img { rotate: -6deg; filter: drop-shadow(0 18px 22px rgba(0,0,0,.14)); }
.cta__obj--back { z-index: 1; width: clamp(104px, 8.4vw, 136px); left: calc(50% + 372px); top: -70px; }
.cta__obj--back img { rotate: 12deg; opacity: .92; }
@media (min-width: 1024px) and (hover: hover) { .cta__obj--back img { filter: blur(1.5px); } }

.ftr--panel { --pg: 24px; position: relative; padding: calc(var(--cta-ov) + 76px) 0 calc(var(--pg) + 42px); border-top: 0; background: var(--stage); }
.ftr--panel::before { content: ""; position: absolute; inset: 0 var(--pg) var(--pg); border-radius: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 13C42 9 33 4 22 5 10 6 4 16 4 28c0 12 6 20 8 30s1 22 4 31c2 7 6 9 10 8 5-1 7-9 9-17s5-17 15-17 13 9 15 17 4 16 9 17c4 1 8-1 10-8 3-9 2-21 4-31s8-18 8-30C96 16 90 6 78 5 67 4 58 9 50 13z' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='.45'/%3E%3C/svg%3E") no-repeat right -4% top 46% / min(760px, 64%) auto, radial-gradient(52% 38% at 50% 0, rgba(169,132,62,.18), rgba(169,132,62,0) 72%), var(--dark); }
.ftr--panel > * { position: relative; }
.ftr--panel .wrap { padding-inline: calc(var(--gut) + var(--pg)); }

@media (max-width: 1023px) {
  :root { --cta-ov: 64px; }
  .cta--stage { padding-top: 124px; }
  .cta__shape { top: 24px; width: 150vw; }
  .cta__card { padding: 46px 20px 38px; border-radius: 24px; }
  .cta__mark { width: 28px; height: 28px; margin-bottom: 18px; }
  .cta--stage .btns { margin-top: 28px; }
  .cta__obj--front { width: 88px; left: max(6px, calc(50% - 240px)); top: -76px; bottom: auto; }
  .cta__obj--back { width: 66px; left: auto; right: max(14px, calc(50% - 232px)); top: -58px; }
  .ftr--panel { --pg: 10px; padding-top: calc(var(--cta-ov) + 46px); }
  .ftr--panel::before { border-radius: 24px; background-size: 110% auto, 100% 100%; background-position: left 30% bottom -30px, 0 0; }
  .ftr--panel .wrap { width: auto; margin-inline: var(--pg); padding-inline: var(--gut); }
  .ftr--panel .ftr__copy { border-top-color: #3a3a3a; }
}

/* ── Signature 슬로건 ‘여러분의 치아를 살리는 것에 미친 의사’: 섹션 위 경계에 걸쳐 흐르는 큰 글자 (2026-10-06)
   글자 높이 절반은 위(흰 여백), 절반은 아래(사진·검은 상자). 같은 띠를 두 번 두고 각 섹션이 자기 쪽 절반만 잘라 보여준다
   (.program 안 = 윗절반, .sig 안 .sig-lead--under = 아랫절반, 같은 애니메이션이라 한 줄로 이어진다).
   글꼴 Noto Sans KR 900(슬로건 글자만 받는다). 색: 흰 바탕엔 회색(#bcbcbc, 대비 약 1.9:1), 어두운 쪽엔 반투명 흰색 30% — 양쪽 대비를 비슷하게. 굵기·빠르기(px/초)는 CRAZY DOCTOR 와 같고, 크기는 약 0.6배, 방향은 반대.
   위 섹션 아래 여백과 Signature 본문 위 여백을 ‘간격 + 글자 절반’으로 잡아 슬로건 위아래 간격이 같다 */
.program { position: relative; }
.sig { position: relative; }
:root { --lead-f: clamp(48px, 4.6vw, 88px); --lead-gap: clamp(64px, 5.4vw, 96px); }   /* 슬로건 글자 크기 · 위아래 숨 쉴 간격 */
.program:has(> .sig-lead) { padding-bottom: calc(var(--lead-gap) + var(--lead-f) * .5); }
.sig-lead { --dy: -.025em; position: absolute; left: 0; right: 0; bottom: calc(-.5em + var(--dy)); margin: 0; font-family: "Noto Sans KR", var(--font); font-size: var(--lead-f); line-height: 1; font-weight: 900; letter-spacing: -0.03em; color: #bcbcbc; white-space: nowrap; pointer-events: none; }
.sig-lead--under { z-index: 1; top: calc(-.5em - var(--dy)); bottom: auto; color: rgba(255,255,255,.3); }
.sig-lead__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* 화면 읽기용 문구 한 번 */
.sig-lead__track { display: inline-flex; }
.sig-lead__track > span { flex: none; padding-right: .9em; }
.sig-lead__track em { font-style: normal; color: #c4a467; }
.sig-lead--under .sig-lead__track em { color: rgba(214,176,104,.62); }
@media (min-width: 1024px) { .sig:has(> .sig-lead--under) .sig__body { padding-top: calc(var(--lead-gap) + var(--lead-f) * .5); } }
@media (max-width: 1023px) { :root { --lead-f: 40px; --lead-gap: 52px; } }

/* ── CLINIC: 왼쪽 큰 사진 = 지금 차례, 오른쪽 = 작은 사진 띠 (2026-10-06, main.js [data-clinic]) ──
   띠는 한 화면에 3장, 지금 차례는 금색 테두리·또렷하게, 나머지는 흐리게. 큰 사진은 살짝 큰 데서 제자리로 겹쳐 나타난다 */
.clinic__media[data-clinic-big] { position: relative; }
.clinic__big--next { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); }
.clinic__big--next.is-in { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1); }
[data-clinic] .clinic__track { gap: 12px; scrollbar-width: none; }
[data-clinic] .clinic__track::-webkit-scrollbar { display: none; }
[data-clinic] .clinic__track figure { position: relative; flex: 0 0 calc((100% - 24px) / 3); aspect-ratio: 4 / 3; cursor: pointer; }
[data-clinic] .clinic__track figure::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color .4s; pointer-events: none; }
[data-clinic] .clinic__track img { opacity: .45; transition: opacity .5s; }
[data-clinic] .clinic__track figure.is-current img { opacity: 1; }
[data-clinic] .clinic__track figure.is-current::after { border-color: var(--gold); }
[data-clinic] .clinic__track figure:focus-visible { outline-offset: -4px; }
@media (min-width: 1024px) {
  /* 띠가 낮아진 만큼 오른쪽 내용을 세로 가운데로, 진행선은 띠 바로 아래 */
  .clinic__body[data-clinic] { display: flex; flex-direction: column; justify-content: center; padding: 96px 0; }
  .clinic__body[data-clinic] .clinic__bar { position: relative; bottom: auto; margin-top: 64px; }
}
@media (max-width: 1023px) {
  [data-clinic] .clinic__track { gap: 8px; }
  [data-clinic] .clinic__track figure { flex-basis: calc((100% - 16px) / 3); }
}

/* ═══════════ 서브: 최소 삭제 세라믹 ═══════════ */
.shero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1200px; display: flex; align-items: center; color: #fff; overflow: hidden; background: #2c2a29; }
.shero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.shero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,0) 60%); }
.shero__in { position: relative; padding-top: calc(var(--hdr-h) * 1.7); }
.shero__title { font-size: clamp(28px, 23.85px + 1.154vw, 46px); line-height: 1.52; font-weight: 400; letter-spacing: -0.035em; }
.shero__title em { color: var(--gold); font-weight: 700; }
.shero__desc { margin-top: clamp(18px, 1.1vw + 14px, 30px); font-size: clamp(15px, 14.3px + .19vw, 18px); line-height: 1.65; color: rgba(255,255,255,.92); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 1.2vw + 22px, 40px); }
.pills li { display: inline-flex; align-items: center; height: 36px; padding: 0 20px; border-radius: 18px; background: rgba(255,255,255,.22); font-size: 17px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 1023px) {
  .shero { min-height: 560px; }
  .shero__bg { object-position: 66% 50%; }
  .shero::before { background: rgba(0,0,0,.18); }
  .pills li { height: 32px; padding: 0 20px; font-size: 15px; }
}

.c-intro { padding: 155px 0 140px; }
.c-intro .eyebrow, .c-intro .s-h2 { text-align: center; }
.s-h2 { font-size: clamp(30px, 26.3px + 1.026vw, 46px); line-height: 1.42; font-weight: 400; letter-spacing: -0.035em; }
.c-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 53px; align-items: start; }
.c-intro__img { aspect-ratio: 700 / 364; overflow: hidden; }
.c-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.c-intro__text { padding-top: 32px; }
.hl-title { font-size: 24px; line-height: 1.6; font-weight: 400; letter-spacing: -0.03em; }
.hl-src { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.hl-title mark { background: var(--dark); color: #fff; padding: 0 1px; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.c-intro__text p { margin-top: 26px; font-size: 16px; line-height: 1.65; color: var(--text); }
.c-intro__text p + p { margin-top: 16px; }
.bracket { position: relative; display: inline-block; margin-top: 40px; padding: 14px 14px 12px; font-size: 15px; font-weight: 700; }
.bracket::before, .bracket::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); }
.bracket::before { left: 0; top: 0; border-width: 4px 0 0 4px; }
.bracket::after { right: 0; bottom: 0; border-width: 0 4px 4px 0; }
@media (max-width: 1023px) {
  .c-intro { padding: 70px 0 70px; }
  .c-intro__grid { grid-template-columns: 1fr; gap: 30px; margin-top: 34px; }
  .c-intro__img { aspect-ratio: 320 / 220; }
  .c-intro__text { padding-top: 0; }
  .hl-title { font-size: 20px; }
  .c-intro__text p { margin-top: 22px; font-size: 15px; }
  .bracket { margin-top: 30px; }
}

.c-proc { display: grid; grid-template-columns: 933fr 987fr; }
.c-proc__left { position: relative; }
.c-proc__sticky { position: sticky; top: 0; height: 100vh; max-height: 1080px; padding: 154px 40px 0 max(var(--gut), 102.9% - var(--maxw) / 2); background: #eceaea url("https://channel-static.rebeauty.co.kr/savetooth123/renewal/ko-ver3/img/process-bg.jpg") center / cover no-repeat; overflow: hidden; }
.c-proc__sub { margin-top: 44px; font-size: 22px; line-height: 1.5; font-weight: 700; letter-spacing: -0.03em; }
.c-proc__sticky p:last-of-type { margin-top: 22px; font-size: 15px; line-height: 1.75; color: #444; }
.scroll-ind { position: absolute; left: calc(max(var(--gut), 102.9% - var(--maxw) / 2) + 13px); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .02em; }
.scroll-ind span { writing-mode: vertical-rl; }
.scroll-ind i { position: relative; width: 1px; height: 125px; background: rgba(0,0,0,.18); overflow: hidden; }
.scroll-ind i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--ink); animation: scrollLine 2.4s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(240%); } }
.c-proc__right { min-width: 0; padding: 95px 0 160px; background: var(--dark); color: #fff; text-align: center; overflow: hidden; }
.c-proc__deco { font-size: clamp(32px, 4.2vw, 80px); line-height: 1; font-weight: 700; color: #2d2d2d; white-space: nowrap; letter-spacing: -0.01em; }
.steps { width: min(705px, calc(100% - 80px)); margin: 64px auto 0; }
.step + .step { margin-top: 85px; }
.step__img { aspect-ratio: 705 / 439; overflow: hidden; background: #333; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__no { display: block; margin-top: 28px; font-size: 18px; color: var(--gold); letter-spacing: 0; }
.step h3 { margin-top: 12px; font-size: 22px; line-height: 1.5; font-weight: 500; }
.step p { margin-top: 14px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.82); }
@media (prefers-reduced-motion: reduce) { .scroll-ind i::after { animation: none; } }
@media (max-width: 1023px) {
  .c-proc { grid-template-columns: 1fr; }
  .c-proc__sticky { position: relative; height: auto; padding: 70px var(--gut) 40px; text-align: center; }
  .c-proc__sub { margin-top: 26px; font-size: 18px; }
  .scroll-ind { display: none; }
  .c-proc__right { padding: 50px 0 40px; }
  .steps { width: calc(100% - var(--gut) * 2); margin-top: 30px; }
  .step + .step { margin-top: 60px; }
  .step__img { aspect-ratio: 320 / 200; }
  .step__no { margin-top: 22px; font-size: 16px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; }
}

.c-diff { padding: 154px 0 120px; text-align: center; }
.diff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: start; }
.diff-card:nth-child(2) { margin-top: 40px; }
.diff-card .diff-card__en { position: relative; z-index: 1; margin-bottom: -.5em; font-size: clamp(32px, 2.6vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.diff-card__img { aspect-ratio: 464 / 280; overflow: hidden; }
.diff-card__img img { width: 100%; height: 100%; object-fit: cover; }
.diff-card h3 { margin-top: 34px; font-size: 22px; line-height: 1.5; font-weight: 500; }
.diff-card p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--text); }
@media (max-width: 1023px) {
  .c-diff { padding: 70px 0 60px; }
  .diff-grid { grid-template-columns: 1fr; gap: 50px; margin-top: 40px; }
  .diff-card:nth-child(2) { margin-top: 0; }
  .diff-card .diff-card__en { font-size: 34px; }
  .diff-card__img { aspect-ratio: 320 / 200; }
  .diff-card h3 { margin-top: 26px; font-size: 18px; }
  .diff-card p { font-size: 14px; }
}

.c-core { padding: 60px 0 140px; }
.c-core__grid { display: grid; grid-template-columns: .58fr 1fr; }
.c-core__sub { margin-top: 30px; font-size: 22px; line-height: 1.5; font-weight: 700; letter-spacing: -0.03em; }
.core-list { border-top: 1px solid var(--ink); }
.core-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 133px; padding: 20px 15px; border-bottom: 1px solid var(--ink); }
.core-list h3 { font-size: 22px; line-height: 1.4; font-weight: 500; }
.core-list p { margin-top: 12px; font-size: 15px; color: #444; }
.core-list img { width: 100px; height: 100px; flex: none; border-radius: 50%; }
@media (max-width: 1023px) {
  .c-core { padding: 40px 0 70px; }
  .c-core__grid { grid-template-columns: 1fr; text-align: center; }
  .c-core__sub { margin-top: 22px; font-size: 18px; }
  .core-list { margin-top: 34px; text-align: left; }
  .core-list li { min-height: 0; padding: 22px 0; }
  .core-list h3 { font-size: 18px; }
  .core-list p { margin-top: 10px; font-size: 14px; }
  .core-list img { width: 60px; height: 60px; }
}

.c-case { padding: 148px 0 145px; background: var(--soft); text-align: center; }
.c-case__sub { margin-top: 30px; font-size: 22px; line-height: 1.5; font-weight: 700; letter-spacing: -0.03em; }
.case-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 46px; }
.case-list figure { background: #fff; }
.case-list img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-list figcaption { padding: 18px 8px; font-size: 15px; line-height: 1.6; color: var(--text); }
.c-case__note { margin-top: 70px; font-size: 16px; line-height: 1.8; color: #666; }
@media (max-width: 1023px) {
  .c-case { padding: 70px 0 70px; }
  .c-case__sub { margin-top: 20px; font-size: 16px; }
  .c-case .wrap { padding-inline: 0; }
  .c-case .wrap > :not(.case-list) { padding-inline: var(--gut); }
  .case-list { display: flex; gap: 20px; margin-top: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: calc(50% - 115px); }
  .case-list li { flex: 0 0 230px; scroll-snap-align: center; }
  .case-list figcaption { padding: 22px 8px; font-size: 15px; }
  .c-case .dots { display: flex; margin-top: 24px; }
  .c-case__note { margin-top: 40px; font-size: 15px; }
}

/* ═══════════ 서브 공통 (2026-10-04 추가 · ceramic.html 구조를 다른 서브페이지에 쓰기 위한 보조 규칙) ═══════════ */
/* 밝은 사진을 배경으로 쓰는 배너는 글자가 읽히도록 더 어둡게 덮는다 */
.shero--dim::before { z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.32)); }
.shero--dim .shero__in { z-index: 2; }
@media (max-width: 1023px) { .shero--dim::before { background: rgba(0,0,0,.48); } }

/* 사진이 아직 없는 자리 (원본은 병원에서 추후 제공) */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; padding: 20px; background: repeating-linear-gradient(135deg, #f1efeb 0 12px, #e9e6e0 12px 24px); color: #7d766c; font-size: 14px; line-height: 1.6; text-align: center; }
.c-proc__right .ph { background: repeating-linear-gradient(135deg, #2b2b2b 0 12px, #262626 12px 24px); color: rgba(255,255,255,.55); }
.case-list .ph { aspect-ratio: 1; min-height: 0; }

/* 이미지 맞춤 */
.step__img--contain img { object-fit: contain; background: #1b1b1b; }
.step__img--top img, .c-intro__img--top img { object-position: 50% 18%; }

/* 연도형 단계 (경력·연혁) */
.steps--year .step__no { font-size: clamp(24px, 2vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.steps--year .step:not(:has(.step__img)) .step__no { margin-top: 0; }
.steps--year .step:not(:has(.step__img)) + .step { margin-top: 64px; }

/* 핵심 목록: 아이콘 대신 번호 */
.core-list__num { display: grid; place-items: center; width: 100px; height: 100px; flex: none; border-radius: 50%; background: #f9f4ee; color: var(--gold); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-core--top { padding-top: 140px; }
@media (max-width: 1023px) {
  .core-list__num { width: 60px; height: 60px; font-size: 18px; }
  .c-core--top { padding-top: 70px; }
}

/* 카드 수 변형 */
.diff-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 952px; margin-inline: auto; }
.case-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .diff-grid--2 { grid-template-columns: 1fr; } }

/* 진료시간 표 (c-intro 안) */
.c-intro__text .hours { margin-top: 26px; border-top: 1px solid var(--ink); }
.c-intro__text .btns { margin-top: 34px; }

/* 참고 안내 상자 */
.c-note { padding: 0 0 140px; }
.c-note__box { max-width: 990px; margin-inline: auto; padding: 32px 40px; background: var(--soft); font-size: 16px; line-height: 1.8; color: var(--text); }
.c-note__box strong { display: block; margin-bottom: 8px; font-size: 17px; color: var(--ink); }
.c-note__box p + p { margin-top: 8px; }
.c-note__box a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .c-note { padding-bottom: 70px; } .c-note__box { padding: 24px 22px; font-size: 15px; } }

/* 지도 */
.c-map { padding: 0 0 140px; }
.c-map__img { display: block; aspect-ratio: 1440 / 560; overflow: hidden; background: var(--soft); }
.c-map__img img { width: 100%; height: 100%; object-fit: cover; }
.c-map .link-arrow { margin-top: 22px; }
@media (max-width: 1023px) { .c-map { padding-bottom: 70px; } .c-map__img { aspect-ratio: 4 / 3; } }

/* 뉴스 목록 */
.news { padding: 155px 0 140px; }
.news .eyebrow, .news .s-h2, .news__lead { text-align: center; }
.news__lead { margin-top: 26px; font-size: 16px; color: var(--text); }
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; margin-top: 64px; }
.news-card a { display: block; }
.news-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card a:hover .news-card__img img { transform: scale(1.04); }
.news-card__date { display: block; margin-top: 18px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-card__t { display: -webkit-box; margin-top: 8px; font-size: 19px; line-height: 1.45; font-weight: 500; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__sum { display: -webkit-box; margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--sub); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 80px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-cur { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .gap { border: 0; min-width: 20px; padding: 0; color: var(--muted); }
.news-msg { margin-top: 64px; padding: 48px 20px; border: 1px solid var(--line); text-align: center; color: var(--sub); }
.news-msg a { color: var(--gold); text-decoration: underline; }
@media (max-width: 1023px) {
  .news { padding: 70px 0 70px; }
  .news-list { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .news-card__t { font-size: 18px; }
  .pagination { margin-top: 48px; }
}
@media (min-width: 600px) and (max-width: 1023px) { .news-list { grid-template-columns: 1fr 1fr; } }

/* 뉴스 상세 */
.article { padding: 120px 0 140px; }
.article__in { max-width: 820px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); font-size: 14px; color: var(--sub); }
.article__body { margin-top: 40px; font-size: 17px; line-height: 1.9; color: var(--text); word-break: keep-all; }
.article__body p, .article__body div { margin: 0; }
.article__body p { min-height: 1em; }
.article__body img { display: block; max-width: 100%; height: auto; margin: 24px auto; }
.article__body h2, .article__body h3, .article__body h4 { margin: 1.6em 0 .6em; font-size: 22px; line-height: 1.5; color: var(--ink); }
.article__body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.article__body iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 24px 0; border: 0; }
.article__body figure { margin: 24px 0; }
.article__body ul, .article__body ol { padding-left: 1.4em; margin: 1em 0; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 1023px) { .article { padding: 60px 0 70px; } .article__body { font-size: 16px; } }

/* 영상 */
.vsec { padding: 155px 0 140px; }
.vsec .eyebrow, .vsec .s-h2 { text-align: center; }
.vsec .film__player { margin-top: 53px; }
.vsec__ch { display: flex; justify-content: center; margin-top: 22px; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; margin-top: 80px; }
.vgrid button { display: block; width: 100%; text-align: left; }
.vgrid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); transition: opacity .3s; }
.vgrid button:hover img { opacity: .85; }
.vgrid .film__t { display: -webkit-box; max-width: none; margin-top: 14px; font-size: 16px; line-height: 1.5; font-weight: 500; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vgrid button.is-active .film__t { color: var(--gold); }
@media (max-width: 1023px) {
  .vsec { padding: 70px 0 70px; }
  .vsec .film__player { margin-top: 34px; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 28px 14px; margin-top: 48px; }
  .vgrid .film__t { margin-top: 10px; font-size: 14px; }
}

/* 준비 중 */
.c-soon { padding: 155px 0 140px; text-align: center; }
.c-soon p { margin-top: 26px; font-size: 16px; color: var(--text); }
.c-soon .btns { justify-content: center; margin-top: 40px; }
@media (max-width: 1023px) { .c-soon { padding: 70px 0; } }

/* 대표원장 배너: PC는 얼굴이 제목과 겹치지 않게 오른쪽으로, 모바일은 얼굴이 보이게 */
.shero__bg[data-pos="doctor"] { object-position: 15% 50%; }
@media (max-width: 1023px) { .shero__bg[data-pos="doctor"] { object-position: 58% 50%; } }

/* 치료 과정 단계 설명 안 강조어 (Subpage dental.docx 의 굵은 글씨) */
.step p strong { font-weight: 600; color: #fff; }

/* ═══════════ 메인 효과 수정 (2026-10-05) — 구조만. 움직임은 fx.css ═══════════ */
/* Our Belief: 배경을 고정할 때(fx.css) 원래 mask 대신 쓰는 하단 흰색 페이드 */
.belief__fade { display: none; }

/* Signature: CRAZY DOCTOR 를 이어 붙여 흐르게(fx.css). 흐르는 글자가 왼쪽 사진 위로 넘어가지 않게 가로만 자른다 */
.sig__deco { right: 0; clip-path: inset(-50% 0); }
.sig__deco-track { display: inline-flex; }
.sig__deco-track > span { flex: none; padding-right: .3em; }
@media (max-width: 1023px) { .sig__deco { left: 0; transform: none; } }

/* Our Mission: 배경 아이콘 (원근 레이어. 기울기·떠오름은 fx.css · fx.js) */
.mission__fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; perspective: 900px; }
.mission__defs { position: absolute; }
.mission__layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.mfx { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); color: var(--gold); opacity: var(--o, .8); transform: translateZ(var(--z, 0)); }
.mfx svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; filter: drop-shadow(0 10px 14px rgba(80, 60, 30, .16)); }
.mfx .mfx__f { fill: url(#mfxg); }
.mfx--ball { border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 16%, rgba(255,255,255,.7) 38%, rgba(214,200,176,.55) 100%); box-shadow: inset -6px -8px 16px rgba(169,132,62,.18), 0 16px 30px rgba(60,50,30,.12); }
.mfx--1 { --x: 11%; --y: 24%; --s: 118px; --z: 140px; }
.mfx--2 { --x: 85%; --y: 20%; --s: 96px; --z: 70px; }
.mfx--3 { --x: 26%; --y: 76%; --s: 40px; --z: 220px; }
.mfx--4 { --x: 78%; --y: 74%; --s: 104px; --z: 120px; }
.mfx--5 { --x: 92%; --y: 50%; --s: 30px; --z: 260px; }
.mfx--6 { --x: 18%; --y: 54%; --s: 64px; --z: -60px; --o: .7; }
.mfx--7 { --x: 66%; --y: 16%; --s: 40px; --z: 190px; }
.mfx--8 { --x: 42%; --y: 86%; --s: 54px; --z: -90px; --o: .55; }
@media (max-width: 1023px) {
  .mfx { --s2: .52; width: calc(var(--s) * var(--s2)); height: calc(var(--s) * var(--s2)); margin: calc(var(--s) * var(--s2) / -2) 0 0 calc(var(--s) * var(--s2) / -2); }
  .mfx--1 { --x: 12%; --y: 18%; }
  .mfx--2 { --x: 88%; --y: 16%; }
  .mfx--4 { --x: 84%; --y: 84%; }
  .mfx--3 { --x: 16%; --y: 86%; }
  .mfx--7, .mfx--8 { display: none; }
}
