@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

/* ============================================================
   치과 홈페이지 — 비지니스(매거진형) 스타일. digitalartdc 구성.
   따뜻한 미색 바탕 + 흰 구역 + 짙은 남색 꼬리말. --accent 는 치과 대표색.
   ============================================================ */
:root {
  --ink: #23272e; --ink2: #4b515b; --muted: #8a8f98; --line: #e4e1da;
  --paper: #f3f1ec; --paper2: #ece8e0; --white: #fff;
  --navy: #1c2a44; --navy2: #233553; --navy-line: rgba(255,255,255,.14);
  --accent: #8a2e2e; --accent-dark: color-mix(in srgb, var(--accent) 78%, #000); --accent-light: color-mix(in srgb, var(--accent) 70%, #fff); --wrap: 1180px; --serif: 'Playfair Display', Georgia, serif;
  color-scheme: light only;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.b-body { font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; color: var(--ink); background: #fff;
  font-size: 15px; line-height: 1.75; letter-spacing: -.01em; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
.b-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.b-center { text-align: center; }
.b-small { font-size: 12.5px; color: var(--muted); }
.b-paper { background: var(--paper); }
.b-sec { padding: 110px 0; }
.b-label { display: block; font-size: 11px; letter-spacing: .22em; color: var(--muted); margin-bottom: 14px; }
.b-h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.35; }
.b-en { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15px; margin: 8px 0 34px; }
.b-lead { max-width: 620px; color: var(--ink2); margin: -16px 0 40px; font-size: 14.5px; }

/* 머리 */
.b-topbar { background: var(--paper); font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.b-topbar .b-wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.b-topbar-links a { margin-left: 18px; }
.b-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.b-head .b-wrap { display: flex; align-items: center; height: 68px; }
.b-logo img { height: 34px; }
.b-wordlogo { font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.b-nav { margin-left: auto; }
.b-nav > ul { display: flex; gap: 4px; }
.b-nav > ul > li { position: relative; }
.b-nav > ul > li > a { display: block; padding: 0 16px; line-height: 68px; font-size: 14.5px; font-weight: 500; }
.b-nav > ul > li.on > a { color: var(--accent); }
.b-nav > ul > li > ul { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 170px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(0,0,0,.08); padding: 10px 0; opacity: 0; visibility: hidden; transition: .2s; }
.b-nav > ul > li:hover > ul { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.b-nav > ul > li > ul a { display: block; padding: 8px 20px; font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
.b-nav > ul > li > ul a:hover { background: var(--paper); color: var(--ink); }
.b-burger { display: none; margin-left: auto; width: 40px; height: 40px; position: relative; }
.b-burger i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); }
.b-burger i:nth-child(1) { top: 13px; } .b-burger i:nth-child(2) { top: 19.5px; } .b-burger i:nth-child(3) { top: 26px; }

/* 첫 화면 */
.b-hero { position: relative; height: 62vh; min-height: 460px; background-color: var(--paper2); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; color: #fff; }
.b-hero.b-img-tall { background-position: center 22%; }    /* 세로 사진: 머리 쪽이 보이게 */
.b-hero.b-img-square { background-position: center 30%; }
.b-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.08) 60%, rgba(0,0,0,0)); }
.b-hero .b-wrap { position: relative; width: 100%; }
.b-eyebrow { font-size: 11.5px; letter-spacing: .32em; opacity: .9; margin-bottom: 14px; }
.b-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -.01em; }
.b-hero-sub { margin-top: 18px; font-size: 16px; opacity: .9; }
.b-hero-center { text-align: center; }
.b-hero-center::before { background: rgba(10,20,40,.5); }
.b-hero-center h1 { font-family: inherit; font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; }
.b-hero-center .b-eyebrow { letter-spacing: .1em; font-size: 15px; }

/* 소개 탭 (치과소개 쪽) */
.b-subtab { background: #fff; border-bottom: 1px solid var(--line); margin-top: -28px; position: relative; z-index: 2; }
.b-subtab .b-wrap { display: flex; background: #fff; border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.b-subtab a { flex: 1; text-align: center; padding: 15px 10px; font-size: 13.5px; color: var(--ink2); border-right: 1px solid var(--line); white-space: nowrap; }
.b-subtab a:last-child { border-right: 0; }
.b-subtab a.on { background: var(--navy); color: #fff; }

/* 소개 (흑백 사진 | 글) */
.b-intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.b-intro:has(.b-img-tall) { min-height: 700px; }
.b-intro-img { position: relative; background: #111; }
.b-intro-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; position: absolute; inset: 0; }   /* 인물 사진은 머리가 잘리지 않게 위쪽 기준 */
.b-intro-img.b-img-tall img { object-position: center 30%; }
.b-intro-img.b-img-wide img { object-position: center 40%; }
.b-steps-img img, .b-std figure img { object-position: center 35%; }
.b-intro-img span { position: absolute; left: 36px; bottom: 28px; color: #fff; font-size: 11px; letter-spacing: .34em; }
.b-intro-text { background: var(--paper); padding: 60px 56px; }
.b-intro-text h2 { font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.b-intro-text .b-en { margin: 6px 0 26px; }
.b-intro-text p { color: var(--ink2); font-size: 14.5px; }
.b-intro-text p + p { margin-top: 10px; }
.b-infobox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.b-infobox div { background: #fff; border: 1px solid var(--line); padding: 18px 16px; }
.b-infobox small { display: block; font-size: 10.5px; letter-spacing: .16em; color: var(--muted); margin-bottom: 10px; }
.b-infobox b { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.b-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.b-ba figure { position: relative; }
.b-ba img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b-ba figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.9); font-size: 10.5px; letter-spacing: .12em; padding: 4px 9px; }
.b-ba-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* 번호 목록 */
.b-numlist li { display: flex; align-items: center; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.b-numlist li:first-child { border-top: 1px solid var(--line); }
.b-numlist span { flex: none; width: 36px; height: 36px; border: 1px solid var(--accent); color: var(--accent); font-size: 12px; display: grid; place-items: center; background: #fff; }

/* 진행 단계 */
.b-steps { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.b-steps-img { aspect-ratio: 4/3.2; overflow: hidden; }
.b-steps-img.b-img-tall { aspect-ratio: 4/4.6; }
.b-steps-img img { width: 100%; height: 100%; object-fit: cover; }
.b-steps ol li { display: flex; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.b-steps ol li.on { background: #fff; border: 1px solid var(--line); }
.b-stepno { flex: none; width: 32px; height: 32px; border: 1px solid var(--accent); color: var(--accent); font-size: 11.5px; display: grid; place-items: center; background: #fff; }
.b-steps ol li.on .b-stepno { background: var(--accent); color: #fff; }
.b-steps small { display: block; font-size: 10.5px; letter-spacing: .18em; color: var(--muted); margin-bottom: 4px; }
.b-steps h3 { font-size: 16px; font-weight: 600; }
.b-steps p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* 선택 기준 */
.b-std { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--line); }
.b-std:nth-child(even) figure { order: 2; }
.b-std figure { aspect-ratio: 16/9; overflow: hidden; }
.b-std figure.b-img-tall { aspect-ratio: 4/3; }
.b-std figure img { width: 100%; height: 100%; object-fit: cover; }
.b-std small { display: block; font-size: 10.5px; letter-spacing: .22em; color: var(--muted); margin-bottom: 14px; position: relative; padding-right: 60px; }
.b-std small::after { content: ''; position: absolute; left: 100px; top: 50%; width: 36px; height: 1px; background: var(--muted); }
.b-std h3 { font-size: 21px; font-weight: 600; margin-bottom: 12px; letter-spacing: -.02em; }
.b-std-lead { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.b-std p { font-size: 14px; color: var(--ink2); }

/* 공간 미리보기 */
.b-space { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.b-space-big img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b-space-big figcaption { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; color: var(--ink2); }
.b-space-big figcaption b { flex: none; font-weight: 500; font-size: 11px; color: var(--accent); border: 1px solid var(--accent); padding: 3px 8px; background: #fff; }
.b-space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.b-space-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.b-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b-gallery-cap { margin-top: 0; }
.b-gallery-cap img { aspect-ratio: 1; object-fit: cover; background: var(--paper); }
.b-gallery-cap figcaption { margin-top: 10px; font-size: 13px; color: var(--ink2); }
.b-gallery-cap figcaption b { display: block; font-size: 14.5px; color: var(--ink); }
/* 장비 사진이 1~2장뿐이면 세 칸 자리 왼쪽에 몰리지 않게 가운데로 */
@media (min-width: 761px) {
  .b-gallery-cap:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
  .b-gallery-cap:has(> :only-child) { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* 관리 */
.b-care-wrap { max-width: 820px; }
.b-care { padding: 20px 0; border-bottom: 1px solid var(--line); }
.b-care h3 { font-size: 15.5px; font-weight: 500; line-height: 1.7; }
.b-care-note { margin: 24px 0; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.b-care-note b { color: var(--accent); }
.b-care-wrap .b-small { margin-top: 30px; }

/* 메인 패널 */
.b-panels { position: relative; display: flex; height: calc(100vh - 102px); min-height: 560px; background: #0e1420; }
.b-panel { flex: 1; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; display: flex; align-items: flex-end; overflow: hidden; transition: flex .6s cubic-bezier(.2,.7,.2,1); }
.b-panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,32,.35), rgba(14,20,32,.15) 50%, rgba(14,20,32,.85)); transition: .4s; }
.b-panel:hover { flex: 1.35; }
.b-panel:hover::before { background: linear-gradient(180deg, rgba(14,20,32,.15), rgba(14,20,32,.05) 50%, rgba(14,20,32,.8)); }
.b-panel-in { position: relative; padding: 0 30px 48px; width: 100%; }
.b-panel small { display: block; font-size: 10.5px; letter-spacing: .3em; opacity: .85; margin-bottom: 10px; }
.b-panel h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 8px; }
.b-panel p { font-size: 12.5px; opacity: .8; letter-spacing: .02em; }
.b-panel + .b-panel { border-left: 1px solid rgba(255,255,255,.12); }
.b-panels-tag, .b-panels-hint { position: absolute; z-index: 2; color: rgba(255,255,255,.7); font-size: 10.5px; letter-spacing: .3em; }
.b-panels-tag { top: 30px; left: 50%; transform: translateX(-50%); }
.b-panels-hint { bottom: 16px; right: 24px; }

/* 의료진 · 원칙 · 스토리 · 방문 */
.b-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.b-doc figure { position: relative; aspect-ratio: 1; background: var(--paper2); overflow: hidden; }
.b-doc figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.b-doc figure span { position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 300; }
.b-docs-few { grid-template-columns: 1fr; }
.b-docs-few .b-doc { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
.b-docs-few .b-doc h3 { margin-top: 0; font-size: 26px; grid-column: 2; }
.b-docs-few .b-doc > p { grid-column: 2; font-size: 14px; }
.b-docs-few .b-doc .b-creds { grid-column: 2; }
.b-docs-few .b-doc figure { grid-row: 1 / span 3; }
/* 배경 지운 원장님 컷: 부드러운 바탕 위에 크게 세움 */
.b-doc-cut figure { aspect-ratio: 4/5; background: radial-gradient(ellipse at 50% 38%, #fff 0%, var(--paper) 55%, var(--paper2) 100%); }
.b-doc-cut figure::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 0; height: 26px; background: radial-gradient(ellipse at center, rgba(0,0,0,.16), transparent 70%); }
.b-doc-cut figure img { position: relative; z-index: 1; object-fit: contain; object-position: center bottom; height: 96%; margin-top: 4%; }
.b-doc-cut figure span { z-index: 2; }
.b-docs-few .b-doc-cut { grid-template-columns: 440px 1fr; }
.b-doc h3 { margin-top: 14px; font-size: 16px; font-weight: 600; }
.b-doc > p { font-size: 12.5px; color: var(--muted); }
.b-creds { margin-top: 12px; border-top: 1px solid var(--line); }
.b-creds li { font-size: 13px; color: var(--ink2); padding: 7px 0; border-bottom: 1px solid var(--line); }
.b-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.b-principles div { background: #fff; border: 1px solid var(--line); padding: 26px 22px; }
.b-principles small { display: block; color: var(--accent); font-size: 11px; letter-spacing: .14em; margin-bottom: 12px; }
.b-principles h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.b-principles p { font-size: 13.5px; color: var(--ink2); }
.b-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.b-story figure { aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.b-story img { width: 100%; height: 100%; object-fit: cover; }
.b-story h3 { margin-top: 12px; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.b-story p { font-size: 13px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.b-map { aspect-ratio: 4/3; background: var(--paper2); }
.b-map iframe { width: 100%; height: 100%; border: 0; }
.b-visit-photo { margin-top: 16px; }
.b-visit-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.b-visit-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.b-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.b-table th { width: 90px; text-align: left; color: var(--muted); font-weight: 500; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.b-table td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink2); }
.b-btns { display: flex; gap: 8px; margin-top: 18px; }
.b-btn { padding: 9px 18px; background: var(--navy); color: #fff; font-size: 13px; }

/* 꼬리말 */
.b-foot { background: var(--navy); color: #d7deea; padding: 70px 0 0; }
.b-foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.b-foot-col + .b-foot-col { border-left: 1px solid var(--navy-line); padding-left: 40px; }
.b-foot-name { font-size: 15px; font-weight: 600; color: #fff; }
.b-foot-tel { font-size: 26px; font-weight: 700; color: #fff; margin: 4px 0 26px; letter-spacing: -.01em; }
.b-foot-sns-t { font-family: var(--serif); font-size: 24px; color: #fff; margin-bottom: 12px; }
.b-sns { display: flex; gap: 8px; margin-bottom: 30px; }
.b-sns a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--navy-line); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.b-quick { background: var(--navy2); border: 1px solid var(--navy-line); padding: 24px; }
.b-quick small { font-size: 10px; letter-spacing: .22em; color: #9fb0cc; }
.b-quick h3 { font-size: 24px; font-weight: 700; color: #fff; margin: 6px 0 8px; }
.b-quick p { font-size: 12.5px; color: #b5c0d4; margin-bottom: 18px; }
.b-qbtns { display: flex; gap: 8px; }
.b-qbtn { flex: 1; background: #fff; color: var(--navy); padding: 12px 10px; font-size: 13.5px; font-weight: 700; text-align: center; }
.b-qbtn small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-bottom: 2px; }
.b-foot-col h3 { font-size: 15px; color: #fff; font-weight: 600; margin-bottom: 10px; }
.b-foot-col h3 + p { font-size: 13.5px; margin-bottom: 26px; }
.b-foot-col p { font-size: 13.5px; }
.b-foot-h2 { font-family: var(--serif); font-size: 26px !important; font-weight: 400 !important; margin-bottom: 18px !important; }
.b-foot-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.b-foot-table th { text-align: left; font-weight: 500; color: #9fb0cc; padding: 9px 0; border-bottom: 1px solid var(--navy-line); width: 92px; vertical-align: top; }
.b-foot-table td { padding: 9px 0; border-bottom: 1px solid var(--navy-line); color: #fff; }
.b-foot-note { font-size: 12px; color: #9fb0cc; margin-top: 10px; }
.b-foot-bottom { margin-top: 60px; padding: 22px 30px; border-top: 1px solid var(--navy-line); font-size: 11.5px; color: #9fb0cc; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* 반응형 */
@media (max-width: 1000px) {
  .b-docs, .b-principles { grid-template-columns: 1fr 1fr; }
  .b-foot-grid { grid-template-columns: 1fr; }
  .b-foot-col + .b-foot-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--navy-line); padding-top: 30px; }
  .b-visit, .b-steps, .b-std, .b-space, .b-intro { grid-template-columns: 1fr; }
  .b-std:nth-child(even) figure { order: 0; }
  .b-intro-img { min-height: 0; aspect-ratio: 4/3; }
  .b-intro-img.b-img-tall { aspect-ratio: 4/5; }
  .b-intro-img.b-img-square { aspect-ratio: 1; }
  .b-intro-img img { object-position: center 12%; }
  .b-panels { flex-wrap: wrap; height: auto; }
  .b-panel { flex: 0 0 50%; height: 46vh; min-height: 300px; }
  .b-panel:hover { flex: 0 0 50%; }
  .b-panel + .b-panel { border-left: 0; }
}
@media (max-width: 760px) {
  .b-topbar { display: none; }
  .b-head .b-wrap { height: 58px; padding: 0 18px; }
  .b-burger { display: block; }
  .b-nav { position: fixed; left: 0; right: 0; top: 58px; bottom: 0; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .35s; margin: 0; padding: 10px 22px 60px; }
  .b-head.open .b-nav { transform: none; }
  .b-nav > ul { flex-direction: column; gap: 0; }
  .b-nav > ul > li > a { line-height: 1.4; padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .b-nav > ul > li > ul { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 6px 0 14px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .b-nav > ul > li > ul a { padding: 4px 0; }
  .b-wrap { padding: 0 20px; }
  .b-sec { padding: 70px 0; }
  .b-hero { height: 58vh; min-height: 380px; }
  .b-hero h1 { font-size: 40px; }
  .b-subtab { margin-top: 0; }
  .b-intro-text { padding: 36px 22px; }
  .b-infobox { grid-template-columns: 1fr; gap: 8px; }
  .b-numlist li { gap: 16px; font-size: 14px; }
  .b-panel { flex: 0 0 100%; height: 42vh; }
  .b-panel:hover { flex: 0 0 100%; }
  .b-docs, .b-principles, .b-stories, .b-gallery, .b-space-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .b-docs { grid-template-columns: 1fr; }
  .b-docs-few .b-doc { grid-template-columns: 1fr; gap: 16px; }
  .b-docs-few .b-doc figure { grid-row: auto; }
  .b-docs-few .b-doc h3, .b-docs-few .b-doc > p, .b-docs-few .b-doc .b-creds { grid-column: 1; }
  .b-foot-bottom { flex-direction: column; gap: 6px; }
}

/* ══ 진료 쪽 (digitalartdc 임플란트 쪽 구성) ══════════════════ */
.b2-eyebrow { font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.b2-eyebrow.dark { color: var(--muted); }
.b2-hero { position: relative; min-height: 70vh; background-size: cover; background-position: center; background-color: #111; display: flex; align-items: center; color: #fff; }
.b2-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,20,.78), rgba(5,10,20,.45) 55%, rgba(5,10,20,.3)); }
.b2-hero.b-img-tall { background-position: center 25%; }
.b2-hero .b-wrap { position: relative; width: 100%; padding-top: 60px; padding-bottom: 80px; }
.b2-hero h1 { font-size: clamp(34px, 3.8vw, 56px); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.b2-hero h1 em { font-style: normal; color: var(--accent-light); font-weight: 400; }
.b2-hero-sub { margin-top: 22px; font-size: 16px; line-height: 1.8; opacity: .9; max-width: 560px; }
.b2-mouse { display: block; width: 18px; height: 30px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 10px; margin-top: 50px; position: relative; }
.b2-mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; background: #fff; border-radius: 1px; animation: b2-scroll 1.6s infinite; }
@keyframes b2-scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }
.b2-hero-info { min-height: 46vh; text-align: center; }
.b2-hero-info::before { background: rgba(120,150,180,.55); }
.b2-hero-info h1 { font-size: clamp(28px, 3vw, 42px); }
.b2-hero-info .b2-hero-sub { margin: 14px auto 0; }
.b2-pagetitle { text-align: center; padding: 70px 0 10px; }
.b2-pagetitle h2 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.b2-pagetitle p { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.b2-pagetitle p i { font-style: normal; margin: 0 8px; }
.b-subtab { background: #2b2b2b; border: 0; margin-top: 0; }
.b-subtab .b-wrap { background: transparent; border: 0; justify-content: center; }
.b-subtab a { flex: none; color: #cfcfcf; border: 0; padding: 18px 20px; font-size: 13px; }
.b-subtab a.on { background: transparent; color: #fff; box-shadow: inset 0 -3px 0 var(--accent-light); }

.b2-sec { padding: 110px 0; }
.b2-sec-tint { background: color-mix(in srgb, var(--accent) 7%, #f6fbfa); }
.b2-title { font-size: clamp(28px, 3.1vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.3; }
.b2-title em { font-style: normal; color: var(--accent-dark); font-weight: 600; }
.b2-title.light { color: #fff; }
.b2-title.light em { color: var(--accent-light); }
.b2-lead { max-width: 820px; margin: 22px auto 0; font-size: 15px; color: var(--ink2); line-height: 1.9; }
.b2-lead.light { color: rgba(255,255,255,.85); }
.b2-note { font-size: 12px; color: var(--muted); margin-top: 18px; }
.b2-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 50px auto 0; max-width: 1000px; }
.b2-collage-big img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.b2-collage-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.b2-collage-side figure { overflow: hidden; }
.b2-collage-side img { width: 100%; height: 100%; object-fit: cover; }
.b2-collage-1 { grid-template-columns: 1fr; }
.b2-collage-1 .b2-collage-big img { aspect-ratio: 16/9; }
.b2-band-tint { background: color-mix(in srgb, var(--accent) 9%, #f4faf8); padding: 60px 0; }
.b2-hint { font-size: 13px; color: var(--ink2); margin-bottom: 20px; text-align: center; }
.b2-sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.b-sl { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #111; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.b-sl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.b-sl .b-sl-before { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.b-sl-line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.b-sl-knob { position: absolute; top: 50%; left: var(--x, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 85%, #fff); box-shadow: 0 4px 14px rgba(0,0,0,.3); pointer-events: none; display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 700; }
.b-sl-tag { position: absolute; bottom: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; background: rgba(0,0,0,.6); color: #fff; pointer-events: none; }
.b-sl-tag.b { left: 10px; } .b-sl-tag.a { right: 10px; }
.b2-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.b2-three figure { overflow: hidden; background: var(--paper); }
.b2-three img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b2-three-link a figure { aspect-ratio: 1; }
.b2-three-link a img { aspect-ratio: 1; }
.b2-three-link a span { display: block; margin-top: 12px; font-size: 14.5px; font-weight: 500; }
/* 칸이 2개·1개뿐이면 세 칸 자리에 빈칸이 남지 않게 가운데로 모읍니다 */
@media (min-width: 761px) {
  .b2-three:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 66%; margin-left: auto; margin-right: auto; }
  .b2-three:has(> :only-child) { grid-template-columns: 1fr; max-width: 33%; margin-left: auto; margin-right: auto; }
}
.b2-num { font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.03em; }
.b2-num i { font-style: normal; font-weight: 300; color: var(--accent-light); margin-right: 8px; }
.b2-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.b2-chips span { font-size: 12.5px; color: var(--ink2); background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 4px; }
.b2-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 46px; }
.b2-steps figure { background: #fff; border: 1px solid var(--line); }
.b2-steps img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b2-steps figcaption { padding: 12px 10px; }
.b2-steps figcaption b { display: block; font-size: 13.5px; font-weight: 600; }
.b2-steps figcaption span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.b2-dark { position: relative; padding: 110px 0; background-size: cover; background-position: center; color: #fff; }
.b2-dark::before { content: ''; position: absolute; inset: 0; background: rgba(8,12,22,.82); }
.b2-dark .b-wrap { position: relative; }
.b2-dark-short { padding: 90px 0; }
/* 로고 심볼 워터마크 — 어두운 띠 왼쪽에 크게, 아주 연하게 (만들기 가 로고에서 mark_w.png 를 만듭니다) */
.b2-dark .b2-mark { position: absolute; left: -4%; top: 50%; transform: translateY(-50%); width: 36%; max-width: 520px; height: auto; opacity: .06; pointer-events: none; }
@media (max-width: 900px) { .b2-dark .b2-mark { width: 80%; left: -20%; } }
.b2-pills { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 36px auto 0; }
.b2-pills span { display: block; padding: 13px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; }
.b2-btn { display: inline-block; margin-top: 30px; padding: 12px 30px; border: 1px solid rgba(255,255,255,.7); color: #fff; font-size: 14px; border-radius: 999px; }
.b2-btn:hover { background: #fff; color: var(--navy); }
.b2-navy { background: var(--navy); color: #fff; padding: 110px 0; }
.b2-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 46px auto 0; max-width: 1000px; }
.b2-two figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.b2-two figcaption { background: var(--accent); color: #fff; padding: 14px 16px; }
.b2-two figcaption b { display: block; font-size: 14.5px; }
.b2-two figcaption span { display: block; font-size: 12.5px; opacity: .9; margin-top: 3px; }
.b2-risk { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 50px; text-align: left; }
.b2-risk figure { overflow: hidden; }
.b2-risk img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b2-risk li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.b2-risk li i { font-style: normal; color: var(--accent-dark); font-weight: 700; font-size: 13px; padding-top: 3px; }
.b2-risk li b { display: block; font-size: 16px; font-weight: 600; }
.b2-risk li span { display: block; font-size: 13.5px; color: var(--ink2); margin-top: 3px; }
.b2-mosaic { position: relative; }
.b2-mosaic-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.b2-mosaic-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.b2-mosaic-band { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(820px, 90%); background: var(--accent); color: #fff; text-align: center; padding: 40px 30px; }
.b2-mosaic-band h2 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.35; }
.b2-mosaic-band p { margin-top: 12px; font-size: 14px; opacity: .92; }
.b2-care { max-width: 760px; margin: 36px auto 0; text-align: left; }
.b2-care p { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.b2-care p i { font-style: normal; color: var(--accent-dark); font-weight: 700; font-size: 13px; padding-top: 2px; }
@media (max-width: 1000px) {
  .b2-steps { grid-template-columns: repeat(3, 1fr); }
  .b2-mosaic-grid { grid-template-columns: repeat(4, 1fr); }
  .b2-risk { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .b2-hero { min-height: 60vh; }
  .b2-hero .b-wrap { padding-top: 40px; padding-bottom: 60px; }
  .b2-sec { padding: 70px 0; }
  .b2-collage { grid-template-columns: 1fr; }
  .b2-collage-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .b2-three { grid-template-columns: 1fr; gap: 10px; }
  .b2-three-link { grid-template-columns: repeat(3, 1fr); }
  .b2-three-link a span { font-size: 12.5px; }
  .b2-steps { grid-template-columns: 1fr 1fr; }
  .b2-mosaic-grid { grid-template-columns: repeat(3, 1fr); }
  .b2-mosaic-band { position: static; transform: none; width: 100%; }
  .b-subtab .b-wrap { justify-content: flex-start; }
}
