/* 해운대튼튼마취통증의학과 — 사이트 공통 스타일 */
:root {
  --c-primary: #0a7c97;
  --c-primary-d: #076177;
  --c-primary-l: #e5f2f5;
  --c-deep: #06394a;
  --c-deeper: #042a37;
  --c-ink: #13232a;
  --c-text: #3b4b52;
  --c-muted: #6f8087;
  --c-line: #e2e9eb;
  --c-soft: #f3f8f9;
  --c-cream: #f8f5ef;
  --c-sand: #b4976b;
  --c-white: #fff;
  --c-red: #c4473a;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 18px 40px -22px rgba(6, 57, 74, .35);
  --shadow-s: 0 6px 20px -12px rgba(6, 57, 74, .3);
  --hd-h: 84px;
  --wrap: 1240px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 72px); }
body { overflow-x: clip; margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--c-text); background: var(--c-white); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.35; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--c-muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 880px; }
.ic { width: 20px; height: 20px; flex: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-d); }
.btn-line { border: 1px solid var(--c-line); color: var(--c-ink); background: #fff; }
.btn-line:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-white { background: #fff; color: var(--c-deep); }
.btn-white:hover { background: var(--c-primary-l); }
.btn-ghost-white { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--c-ink); }
.icon-btn:hover { background: var(--c-soft); }
.icon-btn .ic { width: 24px; height: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-primary); font-size: 15px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* 로고 */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { display: block; height: 42px; width: auto; }

/* 헤더 · 메가메뉴 */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--hd-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(6, 57, 74, .4); }
.hd-inner { max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 24px; }
.gnb { flex: 1; height: 100%; position: relative; display: flex; justify-content: center; }
.gnb-list { display: grid; grid-template-columns: repeat(6, minmax(110px, 140px)); height: 100%; }
.gnb-item { display: flex; }
.gnb-link { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 21.5px; color: var(--c-ink); letter-spacing: -.02em; position: relative; }
.gnb-link::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 2px; background: var(--c-primary); transition: left .25s, right .25s; }
.gnb-item:hover .gnb-link, .gnb-link[aria-current] { color: var(--c-primary); }
.gnb-item:hover .gnb-link::after { left: 22%; right: 22%; }
.gnb-item { position: relative; }
.gnb-sub { position: absolute; top: 100%; left: 50%; min-width: 100%; width: max-content; padding: 10px; background: #fff; border: 1px solid var(--c-line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 18px 30px -18px rgba(6, 57, 74, .3); opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .2s, transform .2s, visibility .2s; }
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 9px 16px; font-size: 16.5px; color: var(--c-text); border-radius: 6px; line-height: 1.45; text-align: center; white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a:focus-visible { color: var(--c-primary); background: var(--c-soft); }
.hd-right { display: flex; align-items: center; gap: 8px; flex: none; }
.hd-burger { display: none; }

/* 모바일 전체 메뉴 */
.mnav { position: fixed; inset: 0; z-index: 300; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.mnav[hidden] { display: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--c-line); flex: none; }
.mnav-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 20px; background: var(--c-soft); }
.mnav-quick > * { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: #fff; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--c-ink); }
.mnav-quick .ic { color: var(--c-primary); width: 22px; height: 22px; }
.mnav-list { padding: 8px 20px 40px; }
.mnav-group { border-bottom: 1px solid var(--c-line); }
.mnav-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 18px; font-weight: 700; color: var(--c-ink); }
.mnav-toggle .ic { transition: transform .2s; color: var(--c-muted); }
.mnav-toggle[aria-expanded='true'] { color: var(--c-primary); }
.mnav-toggle[aria-expanded='true'] .ic { transform: rotate(180deg); }
.mnav-sub { padding: 0 4px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mnav-sub[hidden] { display: none; }
.mnav-sub a { display: block; padding: 8px 0; font-size: 15.5px; color: var(--c-text); }

/* 사이드탭 · 모바일 하단바 */
.sidetab { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; background: #fff; border-radius: 999px; box-shadow: var(--shadow); padding: 8px; gap: 2px; border: 1px solid var(--c-line); }
.sidetab > * { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 0; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--c-ink); letter-spacing: -.02em; transition: background .2s, color .2s; }
.sidetab > *:hover { background: var(--c-primary-l); color: var(--c-primary-d); }
.sidetab .ic { width: 22px; height: 22px; color: var(--c-primary); }
.sidetab-top { background: var(--c-primary); color: #fff !important; margin-top: 4px; }
.sidetab-top .ic { color: #fff; }
.sidetab-top:hover { background: var(--c-primary-d) !important; }

/* 모달 */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 30, 39, .55); backdrop-filter: blur(3px); }
.modal-panel { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 26px 28px 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.modal-title { font-size: 21px; font-weight: 700; color: var(--c-ink); margin: 0; }
.modal-actions { display: flex; gap: 8px; margin-top: 20px; }
.modal-actions .btn { flex: 1; padding: 0 12px; }

/* 진료시간 표 · 상태 */
.hours-table { font-size: 15px; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { white-space: nowrap; padding: 11px 8px; border-bottom: 1px solid var(--c-line); text-align: center; }
.hours-table thead th { font-size: 13px; color: var(--c-muted); font-weight: 600; border-bottom: 1px solid var(--c-ink); padding-top: 4px; }
.hours-table tbody th { font-weight: 700; color: var(--c-ink); width: 56px; }
.hours-table tr.sat th { color: var(--c-primary); }
.hours-table tr.sun th, .hours-table .closed { color: var(--c-red); font-weight: 600; }
.hours-table tr.is-today { background: var(--c-primary-l); }
.hours-table tr.is-today th::after { content: '오늘'; display: inline-block; margin-left: 6px; font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: var(--c-primary); color: #fff; vertical-align: 2px; }
.hours-note { font-size: 13.5px; color: var(--c-muted); margin: 10px 0 0; }
.hours-note:empty { display: none; }
.status-line { margin: 6px 0 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--c-soft); color: var(--c-muted); font-size: 14px; font-weight: 700; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-open { background: #e3f5ec; color: #1b8a55; }
.status.is-open::before { animation: blink 1.6s infinite; }
.status.is-lunch, .status.is-last { background: #fff3df; color: #b06c00; }
.status.is-closed { background: #f9e7e5; color: var(--c-red); }
@keyframes blink { 50% { opacity: .3; } }

/* 플레이스홀더(사진 준비 중) */
.ph { position: relative; width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; background: linear-gradient(135deg, #e7f0f2, #f5f8f8 55%, #ece6dc); border-radius: inherit; overflow: hidden; }
.ph::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(10, 124, 151, .04) 18px 19px); }
.ph span { position: relative; font-size: 13.5px; font-weight: 600; color: var(--c-muted); letter-spacing: .02em; }
.ph-portrait svg { position: absolute; bottom: 0; width: 70%; fill: rgba(10, 124, 151, .1); }
.ph-portrait span { position: absolute; bottom: 16px; }

/* 섹션 공통 */
.sec { padding: 120px 0; }
.sec-soft { background: var(--c-soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.sec-lead { color: var(--c-muted); font-size: 17px; margin: 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 24px; }
.sec-head-invert h2 { color: #fff; }
.sec-head-invert .sec-lead { color: rgba(255, 255, 255, .7); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); margin: 0 0 14px; }
.sec-head-invert .eyebrow, .dz-head-invert .eyebrow { color: #7fd0e2; }
.sec-more { text-align: center; margin: 40px 0 0; }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--c-muted); margin-top: 24px; }
.note .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--c-primary); }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── 메인: 히어로 ── */
.hero { position: relative; overflow: hidden; color: #fff; min-height: min(860px, calc(100vh - var(--hd-h))); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(1200px 600px at 85% 20%, rgba(52, 182, 208, .45), transparent 60%), radial-gradient(900px 500px at 10% 100%, rgba(180, 151, 107, .28), transparent 60%), linear-gradient(135deg, #075468 0%, #063b4c 55%, #042a37 100%); }
.hero-art { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: min(760px, 70vw); opacity: .9; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 760px); gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #a8e2ee; letter-spacing: .04em; }
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.hero-title { color: #fff; font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; line-height: 1.28; letter-spacing: -.035em; margin: 18px 0 22px; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .78); margin-bottom: 0; }
.today { font-size: 14px; color: var(--c-muted); font-weight: 600; }

/* 특징 */

/* 부위 카드 */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); transition: border-color .25s, box-shadow .25s, transform .25s; overflow: hidden; }
.pain-card::before { content: ''; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: var(--c-primary-l); transform: scale(0); transition: transform .4s; }
.pain-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.pain-card:hover::before { transform: scale(1); }
.pain-ic { position: relative; width: 64px; height: 64px; color: var(--c-ink); margin-bottom: 22px; }
.pain-ic .hl-dot { fill: rgba(10, 124, 151, .18); stroke: var(--c-primary); }
.pain-ic .hl { stroke: var(--c-primary); }
.pain-name { position: relative; font-size: 20px; font-weight: 700; color: var(--c-ink); }
.pain-sum { position: relative; font-size: 14px; color: var(--c-muted); margin-top: 4px; line-height: 1.5; }
.pain-go { position: absolute; right: 22px; top: 26px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-soft); color: var(--c-primary); transition: background .25s, color .25s; }
.pain-go .ic { width: 18px; height: 18px; }
.pain-card:hover .pain-go { background: var(--c-primary); color: #fff; }

/* 비수술치료 카드 */
.sec-treat { background: linear-gradient(160deg, var(--c-deep), var(--c-deeper)); position: relative; overflow: hidden; }
.sec-treat::before { content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; right: -300px; top: -400px; background: radial-gradient(circle, rgba(52, 182, 208, .18), transparent 60%); }
.treat-card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 270px; padding: 30px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .25s, border-color .25s, transform .25s; }
.treat-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(127, 208, 226, .5); transform: translateY(-4px); }
.treat-no { font-size: 13px; font-weight: 700; color: #7fd0e2; letter-spacing: .1em; }
.treat-ic { position: absolute; right: 24px; top: 24px; width: 56px; height: 56px; color: rgba(255, 255, 255, .55); }
.treat-name { font-size: 21px; font-weight: 700; margin-top: auto; padding-top: 48px; letter-spacing: -.02em; }
.treat-sum { font-size: 14.5px; color: rgba(255, 255, 255, .68); margin-top: 8px; line-height: 1.6; }
.treat-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: #7fd0e2; }
.treat-go .ic { width: 16px; height: 16px; }

/* 의료진 */
.sec-doctor { background: var(--c-cream); }
.doctor-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.doctor-photo { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #e9e3d8; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-body h2 { font-size: clamp(30px, 3.4vw, 44px); }
.doctor-title { font-size: .55em; font-weight: 600; color: var(--c-primary); vertical-align: middle; margin-right: 6px; }
.doctor-spec { color: var(--c-sand); font-weight: 600; margin-bottom: 28px; }
.doctor-quote { margin: 0 0 16px; padding-left: 20px; border-left: 3px solid var(--c-primary); font-size: 20px; font-weight: 600; color: var(--c-ink); line-height: 1.55; }
.doctor-text { color: var(--c-text); }
.doctor-career { margin: 28px 0 32px; padding: 24px 0; border-top: 1px solid rgba(0, 0, 0, .08); border-bottom: 1px solid rgba(0, 0, 0, .08); columns: 2; column-gap: 32px; }
.doctor-career li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.6; margin-bottom: 8px; break-inside: avoid; }
.doctor-career li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary); }

/* 장비 슬라이더 */
.slider-nav { display: flex; gap: 8px; }
.slider-nav .icon-btn { border: 1px solid var(--c-line); }
.slider-nav [data-slide='-1'] .ic { transform: rotate(180deg); }
.equip-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.equip-track::-webkit-scrollbar { display: none; }
.equip-card { scroll-snap-align: start; }
.equip-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-soft); margin-bottom: 18px; }
.equip-img img { width: 100%; height: 100%; object-fit: cover; }
.equip-cat { font-size: 13px; font-weight: 700; color: var(--c-primary); letter-spacing: .04em; margin: 0 0 2px; }
.equip-name { font-size: 19px; margin-bottom: 6px; }
.equip-desc { font-size: 14.5px; color: var(--c-muted); margin: 0; line-height: 1.6; }

/* 둘러보기 */
.sec-tour { background: var(--c-soft); }
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.tour-item { border-radius: var(--radius); overflow: hidden; }
.tour-wide { grid-column: span 2; grid-row: span 2; }

/* 공지 · FAQ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.news-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; border-bottom: 2px solid var(--c-ink); margin-bottom: 8px; }
.news-head h2 { font-size: 26px; margin: 0; }
.notice-list li { border-bottom: 1px solid var(--c-line); }
.notice-list a { display: flex; align-items: center; gap: 12px; padding: 18px 4px; }
.notice-list a:hover .n-title { color: var(--c-primary); }
.n-pin { flex: none; font-size: 12px; font-weight: 700; color: #fff; background: var(--c-primary); padding: 2px 8px; border-radius: 999px; }
.n-title { flex: 1; font-weight: 500; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-date { flex: none; font-size: 14px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.notice-list .empty { padding: 40px 0; text-align: center; color: var(--c-muted); }
.faq { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-weight: 600; color: var(--c-ink); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; flex: none; font-weight: 800; color: var(--c-primary); }
.faq summary .ic { margin-left: auto; color: var(--c-muted); transition: transform .2s; }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 4px 20px 28px; color: var(--c-text); }
.faq-a p:last-child { margin: 0; }

/* 오시는 길 */
.loc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.loc-info h2 { font-size: clamp(28px, 3vw, 38px); }
.loc-addr { font-size: 18px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.loc-park { display: flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: 15px; }
.loc-park .ic { color: var(--c-primary); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.map-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-soft); border: 1px solid var(--c-line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.map-links a { flex: 1; min-width: 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 12px; border-radius: 12px; border: 1px solid var(--c-line); font-size: 14.5px; font-weight: 600; color: var(--c-ink); background: #fff; }
.map-links a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.only-mobile { display: none; }

/* CTA 띠 */
.cta-band { background: linear-gradient(120deg, var(--c-primary), #0b6a82 60%, var(--c-deep)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-eyebrow { font-size: 14px; color: #a8e2ee; font-weight: 600; margin: 0 0 6px; }
.cta-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin: 0; letter-spacing: -.02em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 푸터 */
.site-footer { background: var(--c-deeper); color: rgba(255, 255, 255, .62); font-size: 14.5px; padding-bottom: 0; }
.ft-inner { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px 48px; display: grid; grid-template-columns: 1.2fr 1.3fr .7fr; gap: 56px; }
.ft-tel a { display: inline-block; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.01em; margin-top: 24px; }
.ft-addr { margin: 4px 0; }
.ft-park { display: flex; align-items: center; gap: 6px; }
.ft-park .ic { width: 18px; height: 18px; }
.ft-h { color: #fff; font-weight: 700; margin-bottom: 8px; }
.site-footer .hours-table { font-size: 14px; }
.site-footer .hours-table th, .site-footer .hours-table td { border-color: rgba(255, 255, 255, .1); padding: 8px 6px; color: rgba(255, 255, 255, .8); }
.site-footer .hours-table thead th { border-color: rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .5); }
.site-footer .hours-table tbody th { color: #fff; }
.site-footer .hours-table tr.sun th, .site-footer .hours-table .closed { color: #ff9f94; }
.site-footer .hours-table tr.sat th { color: #7fd0e2; }
.site-footer .hours-table tr.is-today { background: rgba(255, 255, 255, .06); }
.site-footer .hours-note { color: rgba(255, 255, 255, .5); }
.ft-links { display: flex; flex-direction: column; gap: 10px; }
.ft-links a:hover { color: #fff; }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .08); max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 32px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.ft-bottom p { margin: 0 0 4px; }

/* ── 서브페이지 ── */
.subhero { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 90% 0%, rgba(52, 182, 208, .35), transparent 60%), linear-gradient(135deg, #075468, #053342); color: #fff; padding: 72px 0 64px; }
.subhero::after { content: ''; position: absolute; right: -80px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.subhero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.subhero h1 { color: #fff; font-size: clamp(32px, 4vw, 50px); margin: 12px 0 10px; }
.subhero-lead { color: rgba(255, 255, 255, .75); font-size: 17px; margin: 0; max-width: 640px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.crumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumb a:hover { color: #fff; }
.subtabs { position: sticky; top: var(--hd-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--c-line); }
.subtabs ul { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; overflow-x: auto; scrollbar-width: none; }
.subtabs ul::-webkit-scrollbar { display: none; }
.subtabs a { position: relative; display: block; padding: 18px 20px; white-space: nowrap; font-weight: 600; font-size: 15.5px; color: var(--c-muted); }
.subtabs a:hover { color: var(--c-ink); }
.subtabs a[aria-current='page'] { color: var(--c-primary); }
.subtabs a[aria-current='page']::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--c-primary); }

/* 의료진 페이지 */
.greet-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.greet-head h2 { font-size: clamp(28px, 3vw, 38px); }
.greet-lead { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--c-ink); line-height: 1.5; margin-bottom: 24px; }
.greet-body p { font-size: 17px; }
.greet-sign { margin-top: 32px; color: var(--c-muted); }
.greet-sign b { font-size: 22px; color: var(--c-ink); margin-left: 6px; }
.profile { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.profile-aside { position: sticky; top: calc(var(--hd-h) + 76px); display: grid; gap: 14px; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #e7eef0; }
.profile-card { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); display: grid; gap: 4px; }
.profile-card-name { margin: 0; font-size: 20px; font-weight: 700; color: var(--c-ink); }
.profile-card-name span { font-size: 14px; font-weight: 600; color: var(--c-primary); margin-left: 4px; }
.profile-card-spec { margin: 0 0 10px; font-size: 14px; color: var(--c-muted); }
.profile-card .btn { width: 100%; height: 46px; font-size: 15px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-role { color: var(--c-primary); font-weight: 700; margin: 0; }
.profile-name { font-size: clamp(34px, 3.6vw, 48px); margin: 4px 0; }
.profile-spec { color: var(--c-sand); font-weight: 600; margin-bottom: 36px; }
.profile-cols { display: grid; gap: 32px; }
.profile-cols h3 { font-size: 15px; letter-spacing: .06em; color: var(--c-primary); padding-bottom: 10px; border-bottom: 1px solid var(--c-line); margin-bottom: 12px; }
.profile-cols li { position: relative; padding-left: 14px; margin-bottom: 6px; }
.profile-cols li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-line); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principles li { padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--c-line); }
.pr-no { display: block; font-size: 34px; font-weight: 800; color: var(--c-primary-l); -webkit-text-stroke: 1px var(--c-primary); margin-bottom: 16px; }
.principles h3 { font-size: 19px; }
.principles p { font-size: 15px; color: var(--c-muted); margin: 0; }

/* 둘러보기 · 장비 페이지 */
.tour-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tour-gallery li .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.tour-gallery .tour-wide { grid-column: span 2; grid-row: span 2; }
.tour-gallery .tour-wide .ph { aspect-ratio: auto; height: calc(100% - 40px); }
.tour-cap { margin: 10px 0 0; font-weight: 600; color: var(--c-ink); }
.equip-list { display: grid; gap: 28px; }
.equip-row { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 28px; border-radius: 24px; border: 1px solid var(--c-line); }
.equip-row .equip-img { margin: 0; }
.equip-row:nth-child(even) .equip-img { order: 2; }
.equip-txt h2 { font-size: 28px; }

/* 진료안내 페이지 */
.loc-page { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; }
.loc-cards { display: grid; gap: 14px; align-content: start; }
.info-card { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--c-soft); }
.info-ic { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--c-primary); display: grid; place-items: center; flex: none; }
.info-card h2 { font-size: 15px; color: var(--c-muted); margin: 0 0 2px; font-weight: 600; }
.info-card p { margin: 0; font-size: 17px; font-weight: 600; color: var(--c-ink); }
.hours-page { max-width: 760px; }
.hours-page .sec-head { margin-bottom: 24px; }
.hours-page .status-line { text-align: center; }
.hours-page .hours-table { background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.hours-page .hours-table th, .hours-page .hours-table td { padding: 16px 10px; }
.hours-guide { margin: 24px 0 0; padding: 20px 24px; border-radius: var(--radius-s); background: #fff; }
.hours-guide li { position: relative; padding-left: 16px; font-size: 15px; margin: 4px 0; }
.hours-guide li::before { content: '·'; position: absolute; left: 2px; color: var(--c-primary); font-weight: 800; }
.hours-page .loc-actions { justify-content: center; }

/* 단계(step) · 체크 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 32px 26px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step:not(:last-child)::after { content: ''; position: absolute; right: -13px; top: 50px; width: 10px; height: 10px; border-top: 2px solid var(--c-primary); border-right: 2px solid var(--c-primary); transform: rotate(45deg); z-index: 1; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; color: var(--c-muted); margin: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.check-grid li { display: flex; gap: 10px; align-items: center; padding: 16px 18px; border-radius: var(--radius-s); background: var(--c-soft); font-weight: 500; color: var(--c-ink); }
.check-grid .ic { color: var(--c-primary); }
.tbd { display: flex; gap: 14px; margin-top: 32px; padding: 22px 24px; border-radius: var(--radius-s); border: 1px dashed var(--c-primary); background: var(--c-primary-l); }
.tbd .ic { color: var(--c-primary); margin-top: 3px; }
.tbd b { color: var(--c-ink); }
.tbd p { margin: 4px 0 0; font-size: 15px; }
.tbd a { color: var(--c-primary); font-weight: 600; text-decoration: underline; }
.prose h2 { font-size: 20px; margin-top: 40px; }
.prose ul { list-style: disc; padding-left: 20px; }
.preparing { padding: 40px 0; }
.preparing .btn { margin-top: 12px; }
.nf h1 { font-size: 36px; }

/* ── 상세(질환·치료) 인포그래픽 ── */
.dz-intro { padding: 100px 0; }
.dz-intro-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; }
.dz-intro-txt h2 { font-size: clamp(26px, 2.8vw, 36px); }
.dz-intro-txt p { font-size: 17px; }
.dz-figure { margin: 0; padding: 28px; border-radius: 28px; background: linear-gradient(160deg, var(--c-soft), #fff); border: 1px solid var(--c-line); }
.dz-figure svg { width: 100%; height: auto; }
.dz-figure figcaption { margin-top: 12px; font-size: 13.5px; color: var(--c-muted); text-align: center; }
.reviewed { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--c-soft); font-size: 13.5px; color: var(--c-muted); }
.reviewed .ic { width: 16px; height: 16px; color: var(--c-primary); }
.dz-sec { padding: 100px 0; }
.dz-soft { background: var(--c-soft); }
.dz-deep { background: linear-gradient(160deg, var(--c-deep), var(--c-deeper)); color: #fff; }
.dz-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.dz-head h2 { font-size: clamp(26px, 3vw, 38px); }
.dz-head p { color: var(--c-muted); margin: 0; }
.dz-head-invert h2 { color: #fff; }
.symptom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.symptom { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); font-weight: 600; color: var(--c-ink); line-height: 1.5; }
.symptom-no { font-size: 13px; font-weight: 800; color: var(--c-primary); letter-spacing: .1em; }
.redflag { display: flex; gap: 14px; margin-top: 24px; padding: 22px 26px; border-radius: var(--radius-s); background: #fdf1ef; border: 1px solid #f3cdc7; }
.redflag .ic { color: var(--c-red); margin-top: 3px; }
.redflag b { color: var(--c-red); }
.redflag ul { margin-top: 6px; }
.redflag li { position: relative; padding-left: 14px; font-size: 15px; }
.redflag li::before { content: '·'; position: absolute; left: 2px; font-weight: 800; }
.cause-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cause { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--c-line); background: #fff; position: relative; overflow: hidden; }
.cause::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--c-primary), #7fd0e2); }
.cause-no { font-size: 40px; font-weight: 800; color: var(--c-primary-l); line-height: 1; margin-bottom: 12px; }
.cause h3 { font-size: 20px; }
.cause p { font-size: 15.5px; }
.cause-signs { padding: 14px 16px; border-radius: 10px; background: var(--c-soft); font-size: 14.5px !important; margin: 0; }
.cause-signs b { display: block; color: var(--c-primary); font-size: 13px; margin-bottom: 2px; }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: f; }
.flow-step { position: relative; padding: 32px 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.flow-step::before { content: ''; position: absolute; top: -6px; left: 28px; width: 11px; height: 11px; border-radius: 50%; background: #7fd0e2; box-shadow: 0 0 0 6px rgba(127, 208, 226, .18); }
.flow-no { font-size: 13px; font-weight: 700; color: #7fd0e2; letter-spacing: .1em; }
.flow-step h3 { color: #fff; font-size: 20px; margin-top: 10px; }
.flow-step p { color: rgba(255, 255, 255, .72); font-size: 15px; }
.flow-eq { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #bfe7ef !important; font-size: 13px !important; margin: 0; }
.tx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tx-card { position: relative; display: block; height: 100%; padding: 30px 28px 64px; border-radius: var(--radius); background: var(--c-soft); transition: background .25s, transform .25s; }
.tx-card:hover { background: var(--c-primary-l); transform: translateY(-3px); }
.tx-card h3 { font-size: 19px; color: var(--c-primary-d); }
.tx-card p { font-size: 15px; margin: 0; }
.tx-go { position: absolute; left: 28px; bottom: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-primary); }
.tx-go .ic { width: 16px; height: 16px; }
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.care { display: flex; gap: 16px; padding: 26px; border-radius: var(--radius); background: #fff; }
.care > .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--c-primary); color: #fff; }
.care h3 { font-size: 17px; margin-bottom: 4px; }
.care p { font-size: 15px; margin: 0; color: var(--c-muted); }
.eq-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.eq-mini a { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--c-line); }
.eq-mini a:hover { border-color: var(--c-primary); }
.eq-cat { font-size: 13px; font-weight: 700; color: var(--c-primary); }
.eq-mini b { font-size: 18px; color: var(--c-ink); }
.eq-desc { font-size: 14.5px; color: var(--c-muted); }
.caution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.caution { padding: 32px; border-radius: var(--radius); background: #fff; }
.caution h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.caution h2 .ic { color: var(--c-primary); }
.caution-warn h2 .ic { color: #b06c00; }
.caution li { position: relative; padding-left: 16px; margin-bottom: 8px; font-size: 15.5px; }
.caution li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.caution-warn li::before { background: #e0a43a; }
.detail .faq-list { max-width: 880px; margin: 0 auto; }
.refs { max-width: 880px; margin: 0 auto; padding: 48px 0 100px; }
.refs h2 { font-size: 16px; color: var(--c-muted); letter-spacing: .04em; }
.refs ol { list-style: decimal; padding-left: 20px; font-size: 14px; color: var(--c-muted); }
.refs li { margin-bottom: 6px; }
.refs a { color: var(--c-primary-d); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }

/* SSR 목록(공지·FAQ·Q&A·비급여) */
.board { border-top: 2px solid var(--c-ink); }
.board-row { display: flex; align-items: center; gap: 12px; padding: 20px 8px; border-bottom: 1px solid var(--c-line); }
.board-row:hover .board-title { color: var(--c-primary); }
.board-title { flex: 1; font-weight: 500; color: var(--c-ink); min-width: 0; }
.board-meta { font-size: 14px; color: var(--c-muted); flex: none; font-variant-numeric: tabular-nums; }
.board-empty { padding: 60px 0; text-align: center; color: var(--c-muted); border-bottom: 1px solid var(--c-line); }
.badge { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--c-soft); color: var(--c-muted); }
.badge .ic { width: 12px; height: 12px; }
.badge-primary { background: var(--c-primary); color: #fff; }
.badge-done { background: #e3f5ec; color: #1b8a55; }
.article-head { padding-bottom: 24px; border-bottom: 1px solid var(--c-line); margin-bottom: 32px; }
.article-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.article-body { font-size: 17px; line-height: 1.85; }
.article-body img { height: auto; border-radius: 12px; margin: 16px 0; }
.article-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); display: flex; justify-content: center; }
.answer { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--c-soft); }
.answer h3 { font-size: 17px; color: var(--c-primary-d); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-weight: 600; font-size: 15px; }
.pager a:hover { background: var(--c-soft); }
.pager [aria-current] { background: var(--c-primary); color: #fff; }
.board-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--c-ink); }
.form input[type=text], .form input[type=password], .form textarea { width: 100%; font: inherit; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-l); }
.form textarea { min-height: 200px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.form-msg { font-size: 14.5px; color: var(--c-red); min-height: 1.5em; margin: 0; }
.form-help { font-size: 13.5px; color: var(--c-muted); font-weight: 400; }
.price-table { border-top: 2px solid var(--c-ink); font-size: 15.5px; }
.price-table th, .price-table td { padding: 16px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.price-table thead th { font-size: 14px; color: var(--c-muted); font-weight: 600; }
.price-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c-ink); white-space: nowrap; }
.price-cat td { background: var(--c-soft); font-weight: 700; color: var(--c-primary-d); }

/* 메인 팝업(관리자) */
.popups { position: fixed; z-index: 350; left: 40px; top: calc(var(--hd-h) + 24px); display: flex; gap: 12px; max-width: calc(100vw - 80px); }
.popup { width: 380px; max-width: 100%; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.popup img { width: 100%; height: auto; }
.popup-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line); }
.popup-foot button { padding: 13px; font-size: 14px; color: var(--c-text); }
.popup-foot button + button { border-left: 1px solid var(--c-line); font-weight: 600; color: var(--c-ink); }

/* ── 반응형 ── */
@media (max-width: 1280px) {
  .gnb-list { grid-template-columns: repeat(6, minmax(100px, 124px)); }
  .gnb-link { font-size: 20px; }
  .sidetab { right: 12px; }
}
@media (max-width: 1100px) {
  :root { --hd-h: 68px; }
  .gnb { display: none; }
  .hd-inner { justify-content: space-between; padding: 0 12px 0 20px; }
  .hd-burger { display: inline-grid; }
  .sidetab { display: none; }
  .popups { left: 16px; right: 16px; max-width: none; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid, .loc-grid, .greet-grid, .loc-page, .dz-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .profile { grid-template-columns: 5fr 7fr; gap: 36px; }
  .doctor-photo { max-width: 420px; }
  .equip-track { grid-auto-columns: calc((100% - 20px) / 2.2); }
  .news-grid { grid-template-columns: 1fr; gap: 56px; }
  .ft-inner { grid-template-columns: 1fr 1fr; }
  .ft-links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .principles, .steps, .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .equip-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .only-mobile { display: block; }
}
@media (max-width: 720px) {
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile-aside { position: static; grid-template-columns: 120px 1fr; align-items: center; }
  .profile-photo { border-radius: 18px; }
  .profile-card { border: 0; padding: 0; background: none; min-width: 0; }
  .profile-card .btn { height: 42px; padding: 0 14px; font-size: 14.5px; }
  .profile-card .btn-lbl { display: none; }
  .wrap, .subhero-inner, .subtabs ul { padding-left: 16px; padding-right: 16px; }
  .hd-inner { padding: 0 6px 0 16px; }
  .sec, .dz-sec { padding: 72px 0; }
  .dz-intro { padding: 64px 0; }
  .sec-head, .dz-head { margin-bottom: 36px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero-sub { margin-bottom: 0; }
  .hero-art { width: 120vw; right: -40vw; opacity: .5; }
  .pain-grid { gap: 10px; }
  .pain-card { padding: 22px 18px; }
  .pain-ic { width: 48px; height: 48px; margin-bottom: 14px; }
  .pain-name { font-size: 17px; }
  .pain-sum { font-size: 13px; }
  .pain-go { display: none; }
  .treat-card { min-height: 0; }
  .treat-name { padding-top: 36px; }
  .doctor-career { columns: 1; }
  .equip-track { grid-auto-columns: 78%; }
  .tour-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .tour-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ft-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .principles, .steps, .symptom-grid, .check-grid, .care-grid, .caution-grid, .form-row { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .equip-row { grid-template-columns: 1fr; padding: 18px; }
  .equip-row:nth-child(even) .equip-img { order: 0; }
  .subhero { padding: 48px 0 44px; }
  .subtabs a { padding: 15px 14px; font-size: 14.5px; }
  .subtabs a[aria-current='page']::after { left: 14px; right: 14px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .modal-panel { padding: 22px 18px; }
  .modal-actions { flex-direction: column; }
  .hours-table th, .hours-table td { padding: 10px 3px; font-size: 13.5px; letter-spacing: -.02em; }
  .board-row { flex-wrap: wrap; }
  .board-title { flex-basis: 100%; order: -1; }
  .popup { width: 100%; }
  .dz-figure { padding: 16px; }
}
@media (max-width: 380px) {
  .mnav-quick > * { font-size: 12px; }
}

/* ── 인포그래픽(SVG) ── */
.dg { font-family: var(--font); }
.dg-t { font-size: 14px; fill: var(--c-text); }
.dg-strong { font-weight: 700; fill: var(--c-ink); }
.dg-small { font-size: 12.5px; fill: var(--c-muted); }
.dg-num { font-weight: 700; fill: var(--c-ink); font-variant-numeric: tabular-nums; }
.dg-red { fill: var(--c-red); }
.dg-invert { fill: #fff; font-weight: 700; }
.dg-leader { stroke: var(--c-muted); stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
.dg-dot { fill: var(--c-primary); }
.dg-skin { fill: #eef5f7; stroke: #c9dde2; stroke-width: 1.2; }
.dg-muscle { fill: rgba(196, 71, 58, .12); stroke: rgba(196, 71, 58, .35); stroke-width: 1; }
.dg-bone { fill: #fff; stroke: #7aa7b3; stroke-width: 1.6; }
.dg-disc { fill: #bfe1e9; stroke: #7fbccb; stroke-width: 1; }
.dg-disc-hl { fill: #f2b8b1; stroke: var(--c-red); stroke-width: 1.2; }
.dg-herni { fill: var(--c-red); opacity: .85; }
.dg-cord { stroke: #f0c27a; stroke-width: 12; fill: none; stroke-linecap: round; opacity: .8; }
.dg-cord-fill { fill: #f6d9a6; stroke: #e0b060; stroke-width: 1.2; }
.dg-canal { fill: #fff; stroke: #7aa7b3; stroke-width: 1.2; }
.dg-nerve { stroke: #e0a43a; stroke-width: 4; fill: none; stroke-linecap: round; }
.dg-nerve-faint { opacity: .45; }
.dg-sep { stroke: var(--c-line); stroke-width: 1; }
.dg-track { fill: var(--c-soft); }
.dg-bar { fill: #7fc4d4; }
.dg-bar-hl { fill: var(--c-primary); }
.dg-device { fill: var(--c-deep); }
.dg-beam { fill: rgba(10, 124, 151, .07); stroke: rgba(10, 124, 151, .3); stroke-dasharray: 4 4; }
.dg-contrast { fill: rgba(10, 124, 151, .28); stroke: var(--c-primary); stroke-width: 1.2; stroke-dasharray: 3 3; }
.dg-needle { stroke: #5b6b72; stroke-width: 2.4; stroke-linecap: round; }
.dg-hub { fill: #c9d4d8; stroke: #5b6b72; stroke-width: 1; }
.dg-pulse { animation: dgpulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dgpulse { 50% { opacity: .55; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .dg-pulse { animation: none; } }
.dg-hot { fill: rgba(196, 71, 58, .2); }
.dg-capsule { fill: rgba(10, 124, 151, .08); stroke: var(--c-primary); stroke-width: 1.4; stroke-dasharray: 5 4; }
.dg-tendon { stroke: #d9a35b; stroke-width: 7; fill: none; stroke-linecap: round; opacity: .9; }
.dg-calc { fill: #fff; stroke: var(--c-red); stroke-width: 2; }
.dg-bursa { fill: rgba(127, 196, 212, .45); stroke: #7fbccb; }
.dg-cart { fill: none; stroke: #8fd0df; stroke-width: 8; stroke-linecap: round; }
.dg-menis { fill: #bfe1e9; stroke: #7fbccb; }
.dg-ligament { stroke: #b07ad6; stroke-width: 5; fill: none; stroke-linecap: round; opacity: .8; }
.dg-inset { fill: #fff; stroke: var(--c-line); stroke-width: 1.5; }
.dg-tendon-dot { fill: #f1d3a6; stroke: #d9a35b; }
.dg-nerve-dot { fill: #f6d26e; stroke: #e0a43a; stroke-width: 2; }
.dg-fascia { stroke: var(--c-primary); stroke-width: 6; fill: none; stroke-linecap: round; opacity: .75; }
.dg-bunion { fill: rgba(196, 71, 58, .18); stroke: var(--c-red); stroke-dasharray: 3 3; }
.dg-band { fill: rgba(10, 124, 151, .12); stroke: rgba(10, 124, 151, .4); stroke-dasharray: 4 4; }
.dg-ganglion { fill: #f6d26e; stroke: var(--c-red); stroke-width: 2; }
.dg-rash { fill: rgba(196, 71, 58, .55); stroke: #fff; stroke-width: 1; }
.dg-layer-skin { fill: #f6e3d6; }
.dg-layer-fat { fill: #fbf1d9; }
.dg-layer-muscle { fill: #f3d6d2; }
.dg-layer-bone { fill: #eef2f3; stroke: #c9d6da; }
.dg-target { fill: rgba(10, 124, 151, .3); stroke: var(--c-primary); stroke-width: 1.5; stroke-dasharray: 3 3; }
.dg-panel { fill: var(--c-soft); stroke: var(--c-line); }
.dg-arrow { stroke: var(--c-primary); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dg-fiber { stroke: #d9a35b; stroke-width: 6; stroke-linecap: round; }
.dg-fiber-weak { stroke: #d9a35b; stroke-width: 4; stroke-linecap: round; opacity: .5; stroke-dasharray: 6 5; }
.dg-fiber-new { stroke: var(--c-primary); stroke-width: 3; stroke-linecap: round; opacity: .55; }
.dg-wave { stroke: var(--c-primary); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.dg-wave-b { opacity: .5; }
.dg-stiff { fill: #fde9e6; stroke: var(--c-red); }
.dg-hand { fill: #f6e3d6; stroke: #c99a80; stroke-width: 1.4; }
.dg-flake { stroke: #6cc3d8; stroke-width: 1.8; stroke-linecap: round; }
.dg-cold { fill: rgba(108, 195, 216, .18); stroke: rgba(108, 195, 216, .6); stroke-dasharray: 4 4; }
.dg-cool { fill: rgba(108, 195, 216, .45); }
.dg-heat { stroke: #e07b4a; stroke-width: 3; fill: none; stroke-linecap: round; }
.dg-pad { fill: #fff; stroke: #9fb8c0; stroke-width: 1.5; }
.dg-zap { stroke: #e0a43a; stroke-width: 3; fill: none; stroke-linejoin: round; }
.dg-water { stroke: #4aa9c4; stroke-width: 3; fill: none; stroke-linecap: round; }
@media (max-width: 720px) {
  .dg-t { font-size: 16px; }
  .dg-small { font-size: 14px; }
  .dz-figure { padding: 10px; }
}
.dz-tight { padding: 0 0 8px; } .dz-tight + .dz-sec { padding-top: 60px; } .caution h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; } .caution h3 .ic { color: var(--c-primary); } .caution-warn h3 .ic { color: #b06c00; }
.dg-line-hook { stroke: #9fb8c0; stroke-width: 2; }
.dg-bag { fill: rgba(255, 255, 255, .9); stroke: #7aa7b3; stroke-width: 1.6; }
.dg-fluid { fill: rgba(127, 196, 212, .45); }
.dg-chamber { fill: #fff; stroke: #7aa7b3; }
.dg-drop { fill: #4aa9c4; }
.dg-tube { stroke: #9fc9d4; stroke-width: 4; fill: none; stroke-linecap: round; }
.dg-vein { stroke: #6b8fd6; stroke-width: 6; fill: none; stroke-linecap: round; opacity: .7; }
.dg-gut { stroke: #e0a46a; stroke-width: 10; fill: none; stroke-linecap: round; opacity: .55; }
.dg-seat { fill: #e7eef0; stroke: #9fb8c0; }
.dg-body { stroke: #7aa7b3; stroke-width: 18; stroke-linecap: round; }
.dg-neck { stroke: #7aa7b3; stroke-width: 10; fill: none; stroke-linecap: round; }
.dg-neck-hl { stroke: var(--c-red); }
.dg-head { fill: #fff; stroke: #7aa7b3; stroke-width: 2; }
.caution-single { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.caution-danger .caution { background: #fdf1ef; border: 1px solid #f3cdc7; } .caution-danger .caution li::before { background: var(--c-red); }

/* ── 사진 ── */
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo + .hero-bg { opacity: .9; background: linear-gradient(100deg, rgba(4, 42, 55, .96) 0%, rgba(6, 59, 76, .88) 38%, rgba(7, 84, 104, .55) 70%, rgba(7, 84, 104, .35) 100%); }
.hero-photo ~ .hero-art { opacity: .35; }
.doctor-photo img, .profile-photo img { object-position: center 18%; }
.equip-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-item { position: relative; background: var(--c-soft); }
.tour-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tour-item:hover img { transform: scale(1.04); }
.tour-label { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(4, 42, 55, .72); color: #fff; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(4px); }
.tour-gallery li { display: flex; flex-direction: column; }
.tour-btn { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--c-soft); }
.tour-gallery .tour-wide .tour-btn { aspect-ratio: auto; flex: 1; }
.tour-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tour-btn:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 450; background: rgba(2, 18, 24, .92); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; }
.lightbox-cap { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255, 255, 255, .1); }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-prev .ic { transform: rotate(180deg); }
.lb-next { right: 12px; }

/* 의료진 소개: 사진 | 인사말 2열 + 아래 학력·경력 */
.profile { display: block; }
.profile-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.profile-top .profile-aside { position: static; }
.profile-body { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--c-line); }
.profile-body .profile-cols { grid-template-columns: 1fr 1.5fr 1.5fr; gap: 40px; }
@media (max-width: 1100px) {
  .profile-top { grid-template-columns: 5fr 7fr; gap: 36px; }
  .profile-body .profile-cols { grid-template-columns: 1fr 1fr; }
  .profile-body .profile-cols > div:nth-child(2) { grid-row: span 2; }
}
@media (max-width: 720px) {
  .profile-top { grid-template-columns: 1fr; gap: 28px; }
  .profile-top .profile-aside { grid-template-columns: 120px 1fr; }
  .profile-body { margin-top: 48px; padding-top: 40px; }
  .profile-body .profile-cols { grid-template-columns: 1fr; gap: 28px; }
  .profile-body .profile-cols > div:nth-child(2) { grid-row: auto; }
}
/* 의료진 소개: 인사말 왼쪽 | 사진 오른쪽 (휴대폰에서는 사진이 위) */
/* 의료진 소개: 사진(왼쪽, 위에 "원장 인사말" 제목) · 인사말(오른쪽) */
.profile-top { grid-template-columns: 5fr 7fr; }
.profile-top .profile-aside { order: 1; }
.profile-top .profile-greet { order: 2; }
.profile-head h2 { margin: 6px 0 0; font-size: clamp(26px, 2.6vw, 34px); }
@media (max-width: 1100px) { .profile-top { grid-template-columns: 5fr 7fr; } }
@media (max-width: 720px) { .profile-top { grid-template-columns: 1fr; } .profile-top .profile-aside { order: 0; } }
.profile-card-spec { margin-bottom: 0; }
.equip-img:has(.is-product) { background: #fff; border: 1px solid var(--c-line); } .equip-img img.is-product { object-fit: contain; padding: 6%; }

/* 장비소개 상세 */
.eq-index { margin-bottom: 40px; }
.eq-index ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.eq-index a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--c-line); font-weight: 700; color: var(--c-ink); font-size: 15px; transition: border-color .2s, color .2s; }
.eq-index a span { font-size: 12.5px; font-weight: 600; color: var(--c-primary); }
.eq-index a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.eq-detail { align-items: start; }
.eq-maker { margin: -2px 0 14px; font-size: 14px; color: var(--c-muted); font-weight: 600; }
.eq-summary { font-size: 16.5px; }
.eq-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.eq-features li { display: flex; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--c-soft); }
.eq-features .ic { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--c-primary); color: #fff; margin-top: 1px; }
.eq-features b { display: block; color: var(--c-ink); font-size: 15px; margin-bottom: 2px; }
.eq-features span { font-size: 14px; color: var(--c-text); line-height: 1.55; }
.eq-specs { margin: 0 0 18px; border-top: 1px solid var(--c-line); }
.eq-specs div { display: grid; grid-template-columns: 140px 1fr; padding: 10px 2px; border-bottom: 1px solid var(--c-line); font-size: 14.5px; }
.eq-specs dt { color: var(--c-muted); font-weight: 600; }
.eq-specs dd { margin: 0; color: var(--c-ink); font-weight: 600; }
.eq-uses p { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--c-muted); letter-spacing: .02em; }
.eq-uses ul { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-uses a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--c-primary-l); color: var(--c-primary-d); font-size: 14px; font-weight: 600; }
.eq-uses a:hover { background: var(--c-primary); color: #fff; }
.eq-refs { margin: 14px 0 0; font-size: 12.5px; color: var(--c-muted); }
.eq-refs a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1100px) { .eq-index ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .eq-index ul { grid-template-columns: repeat(2, 1fr); }
  .eq-detail .equip-img { position: static; }
  .eq-features { grid-template-columns: 1fr; }
  .eq-specs div { grid-template-columns: 110px 1fr; }
}
.eq-detail:nth-child(even) { grid-template-columns: 7fr 5fr; }
@media (max-width: 720px) { .eq-detail:nth-child(even) { grid-template-columns: 1fr; } }

/* 상세 일러스트: 번호 표시 + 설명 목록 */
.dz-illus { padding: 18px; background: #fff; }
.illus { position: relative; border-radius: 18px; overflow: hidden; }
.illus img { width: 100%; height: auto; display: block; }
.illus-pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-size: 13px; font-weight: 800; border: 2.5px solid #fff; box-shadow: 0 4px 12px -2px rgba(6, 57, 74, .45); transition: transform .2s, box-shadow .2s; }
.illus-pin.is-hot { background: var(--c-red); }
.illus-pin.is-hot::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(196, 71, 58, .45); animation: pinPulse 1.8s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.illus-pin.is-active { transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 0 6px rgba(10, 124, 151, .25); }
.illus-legend { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 16px 0 4px; padding: 0; text-align: left; }
.illus-legend li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; cursor: default; transition: background .2s; }
.illus-legend li:hover, .illus-legend li.is-active { background: var(--c-soft); }
.illus-num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 800; margin-top: 1px; }
.illus-legend li.is-hot .illus-num { background: var(--c-red); }
.illus-legend b { display: block; font-size: 14.5px; color: var(--c-ink); line-height: 1.4; }
.illus-legend li.is-hot b { color: var(--c-red); }
.illus-legend span:not(.illus-num) { font-size: 13px; color: var(--c-muted); line-height: 1.45; }
@media (max-width: 720px) {
  .dz-illus { padding: 10px; }
  .illus-pin { width: 22px; height: 22px; font-size: 11px; border-width: 2px; }
  .illus-legend { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .illus-pin.is-hot::after { animation: none; } }
.illus-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.illus-lines line { stroke: rgba(10, 42, 53, .55); stroke-width: 1.4; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.illus-dot { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--c-primary); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.illus-dot.is-hot { border-color: var(--c-red); }
@media (max-width: 720px) { .illus-dot { width: 8px; height: 8px; border-width: 2px; } }
.dz-figure .illus .illus-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 일러스트가 있는 상세: 개요 1열 + 아래 [그림 | 번호 설명] 2열 */
.dz-intro--illus .dz-intro-grid { grid-template-columns: 1fr; gap: 48px; }
.dz-intro--illus .dz-intro-txt { max-width: 860px; }
.dz-intro--illus .dz-illus { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; padding: 28px; }
.dz-intro--illus .illus-legend { grid-template-columns: 1fr; gap: 6px; margin: 0; }
.dz-intro--illus .illus-legend li { padding: 12px 14px; border: 1px solid var(--c-line); }
.dz-intro--illus .illus-legend li.is-hot { border-color: #f3cdc7; background: #fdf5f4; }
.dz-intro--illus .illus-legend b { font-size: 15.5px; }
.dz-intro--illus .illus-legend span:not(.illus-num) { font-size: 13.5px; }
.dz-intro--illus .dz-illus figcaption { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 900px) {
  .dz-intro--illus .dz-illus { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
}
@media (max-width: 720px) {
  .dz-intro--illus .dz-intro-grid { gap: 28px; }
  .dz-intro--illus .illus-legend li { padding: 8px 10px; }
}
.dz-intro--illus .dz-illus { align-items: stretch; }
.dz-intro--illus .illus-media { display: flex; align-items: center; }
.dz-intro--illus .illus-legend { grid-auto-rows: 1fr; height: 100%; }
.dz-intro--illus .illus-legend li { align-items: center; }
@media (max-width: 900px) { .dz-intro--illus .illus-legend { grid-auto-rows: auto; height: auto; } }

/* 상세 페이지: 실제 병원 공간 사진 */
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.space-grid.space-2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin-inline: auto; }
.space-grid figure { margin: 0; }
.space-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; background: var(--c-soft); }
.space-grid figcaption { margin-top: 10px; text-align: center; font-size: 15px; color: var(--c-text); }
@media (max-width: 720px) { .space-grid, .space-grid.space-2 { grid-template-columns: 1fr; gap: 20px; } }

/* 메인 히어로 배경 사진: 한 장당 7초, 천천히 겹쳐 바뀌며 살짝 확대 (키프레임 %는 사진 4장 기준) */
.hero-slides { overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: heroSlide calc(var(--n) * 7s) linear infinite; animation-delay: calc(var(--i) * 7s - 1.5s); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
@keyframes heroSlide {
  0% { opacity: 0; transform: scale(1); }
  5.4% { opacity: 1; }
  25% { opacity: 1; }
  30.4% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide:first-child { opacity: 1; }
}

/* 앱·기능 아이콘 이미지 */
.app-ic { width: 24px; height: 24px; flex: none; object-fit: contain; }
.sidetab .app-ic, .mnav-quick .app-ic { width: 26px; height: 26px; }
.map-links .app-ic { width: 26px; height: 26px; }
.btn .app-ic { width: 22px; height: 22px; }


/* 질환·치료 상세 본문 글자 키움 (2026-10-13 요청) */
.dz .dz-intro-txt p { font-size: 18.5px; }
.dz .symptom { font-size: 17px; }
.dz .redflag li { font-size: 16.5px; }
.dz .cause h3 { font-size: 21.5px; }
.dz .cause p { font-size: 17px; }
.dz .cause-signs { font-size: 16px !important; }
.dz .flow-step h3 { font-size: 21px; }
.dz .flow-step p { font-size: 16.5px; }
.dz .tx-card h3 { font-size: 20.5px; }
.dz .tx-card p { font-size: 16.5px; }
.dz .care h3 { font-size: 18.5px; }
.dz .care p { font-size: 16.5px; }
.dz .caution li { font-size: 17px; }
.dz .step h3 { font-size: 19.5px; }
.dz .step p { font-size: 16.5px; }
.dz .principles h3 { font-size: 20px; }
.dz .principles p { font-size: 16.5px; }
.dz .tbd p { font-size: 16.5px; }
.dz .faq summary { font-size: 17.5px; }
.dz .faq-a p { font-size: 16.5px; }
.dz .refs ol { font-size: 15px; }
.dz .dz-figure figcaption { font-size: 15px; }
.dz .illus-legend b { font-size: 16.5px; }
.dz .illus-legend span:not(.illus-num) { font-size: 14.5px; }
.dz .space-grid figcaption { font-size: 16px; }
@media (max-width: 600px) {
  .dz .dz-intro-txt p { font-size: 17px; }
  .dz .cause p, .dz .symptom, .dz .caution li { font-size: 16px; }
}
.dz .dz-head p { font-size: 17.5px; }
.dz .note { font-size: 15.5px; }

/* 메인: 숫자로 보는 통증 정보 */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); }
.stat-n { margin: 0 0 10px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; color: var(--c-primary); letter-spacing: -.03em; line-height: 1.1; }
.stat-t { margin: 0 0 14px; font-size: 15.5px; color: var(--c-ink); line-height: 1.6; }
.stat-go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--c-primary); }
.stat-go .ic { width: 16px; height: 16px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* 숫자 카드: 포스터형 (그림 위에 글자를 얹음 — 글자는 HTML이라 검색·AI가 읽음) */
.stat--poster { position: relative; overflow: hidden; aspect-ratio: 4 / 5; padding: 24px 20px 20px; border: 0; background: #063b4c; color: #fff; isolation: isolate; box-shadow: 0 24px 40px -28px rgba(4, 42, 55, .7); }
.stat--poster .stat-bg { position: absolute; inset: 0; z-index: -1; }
.stat--poster .stat-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.stat--poster .stat-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 42, 55, .55) 0%, rgba(4, 42, 55, .05) 42%, rgba(4, 42, 55, 0) 58%, rgba(4, 42, 55, .85) 100%); }
.stat--poster:hover .stat-bg img { transform: scale(1.05); }
.stat--poster .stat-n { color: #fff; font-size: clamp(30px, 2.6vw, 40px); text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.stat--poster .stat-t { color: rgba(255, 255, 255, .92); font-size: 14.5px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.stat--poster .stat-go { color: #a8e2ee; }
@media (max-width: 1100px) {
  .stats:has(.stat--poster) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: thin; }
  .stats:has(.stat--poster) .stat { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }
}
/* 포스터 카드는 넓게: PC 3+2 배치(가운데 정렬), 글자가 그림 위쪽 빈 공간에 들어가도록 */
@media (min-width: 1101px) {
  .stats:has(.stat--poster) { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; max-width: 1160px; margin: 0 auto; }
  .stats:has(.stat--poster) .stat { flex: 0 1 calc((100% - 44px) / 3); }
}
.stat--poster { padding: 28px 26px 22px; }
.stat--poster .stat-t { font-size: 15.5px; max-width: 30em; }
.stat--poster .stat-bg::after { background: linear-gradient(180deg, rgba(4, 42, 55, .7) 0%, rgba(4, 42, 55, .35) 32%, rgba(4, 42, 55, 0) 52%, rgba(4, 42, 55, 0) 62%, rgba(4, 42, 55, .88) 100%); }

/* ── 메인: 어떤 병원인가요 — 3장 슬라이드 (배경 그림 위에 HTML 글자) ── */
.banner { position: relative; overflow: hidden; }
.banner-track { display: flex; transition: transform .7s cubic-bezier(.25, .46, .45, .94); }
.banner-slide { flex: 0 0 100%; min-width: 0; display: flex; }
.banner-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--c-ink); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.banner-btn:hover { background: #fff; color: var(--c-primary); }
.banner-prev { left: 24px; }
.banner-prev .ic { transform: rotate(180deg); }
.banner-next { right: 24px; }
@media (min-width: 1101px) { .banner-next { right: 112px; } } /* 오른쪽 사이드탭에 가리지 않게 */
.banner-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.banner-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .3s, background .3s; }
.banner-dots button[aria-current] { width: 26px; background: #fff; }
.banner[data-cur="0"] .banner-dots button { background: rgba(6, 57, 74, .28); }
.banner[data-cur="0"] .banner-dots button[aria-current] { background: var(--c-primary); }
@media (prefers-reduced-motion: reduce) { .banner-track { transition: none; } }

.ab { position: relative; flex: 1; min-height: 600px; display: flex; align-items: center; overflow: hidden; padding: 64px 0 72px; }
.ab-bg { position: absolute; inset: 0; }
.ab-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.ab-bg::after { content: ""; position: absolute; inset: 0; }
.ab-light .ab-bg::after { background: linear-gradient(90deg, rgba(238, 246, 249, .92) 0%, rgba(238, 246, 249, .75) 38%, rgba(238, 246, 249, 0) 62%); }
.ab-dark .ab-bg::after { background: linear-gradient(90deg, rgba(4, 34, 46, .9) 0%, rgba(4, 34, 46, .7) 40%, rgba(4, 34, 46, 0) 66%); }
.ab-in { position: relative; width: 100%; }
.ab-txt { max-width: 560px; }
.ab-title { margin: 10px 0 18px; font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.3; letter-spacing: -.03em; color: var(--c-ink); }
.ab-lead { margin: 0 0 26px; font-size: 17px; line-height: 1.75; color: var(--c-text); }
.ab-points { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-points li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: 15px; font-weight: 600; color: var(--c-ink); box-shadow: 0 8px 20px -14px rgba(6, 57, 74, .4); }
.ab-points .ic { width: 18px; height: 18px; color: var(--c-primary); }
.ab-dark .eyebrow { color: #a8e2ee; }
.ab-dark .ab-title { color: #fff; }
.ab-list { margin: 0 0 26px; display: grid; gap: 2px; }
.ab-list > div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ab-list dt { font-size: 14.5px; font-weight: 600; color: #a8e2ee; }
.ab-list dd { margin: 0; font-size: 15.5px; color: rgba(255, 255, 255, .92); line-height: 1.6; }
.ab-list b { color: #ffd38a; font-weight: 700; }
.ab-cap { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #a8e2ee; letter-spacing: .02em; }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ab-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.ab-chips b { color: #fff; font-weight: 600; }
.ab-links li { padding: 0; }
.ab-links a { display: block; padding: 8px 14px; color: #fff; }
.ab-links li:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 900px) {
  .banner-btn { display: none; }
  .ab { min-height: 0; align-items: flex-start; padding: 48px 0 64px; }
  .ab-bg img { object-position: 70% center; }
  .ab-light .ab-bg::after { background: rgba(238, 246, 249, .86); }
  .ab-dark .ab-bg::after { background: rgba(4, 34, 46, .8); }
  .ab-lead { font-size: 16px; }
  .ab-list > div { grid-template-columns: 76px 1fr; }
}

/* 통증 부위 카드: 그림 아이콘 */
.pain-ic-img { width: 112px; height: 112px; margin: -8px 0 14px -8px; }
.pain-ic-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .35s ease; }
.pain-card:hover .pain-ic-img img { transform: scale(1.06); }
@media (max-width: 600px) { .pain-ic-img { width: 88px; height: 88px; margin: -6px 0 10px -6px; } }

/* ── 사이드탭: 모바일·태블릿은 오른쪽 아래 작은 세로 탭 (레퍼런스: 성신외과 모바일) ── */
.sidetab .st-short { display: none; }
@media (max-width: 1100px) {
  .sidetab { display: flex; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); right: calc(8px + env(safe-area-inset-right)); transform: none; width: 52px; padding: 0; gap: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 0; box-shadow: 0 18px 40px -18px rgba(4, 34, 46, .45), 0 0 0 1px rgba(19, 35, 42, .06); transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .35s; }
  .sidetab.is-tucked { transform: translateX(calc(100% + 16px)); opacity: 0; pointer-events: none; }
  .sidetab > * { width: 100%; padding: 7px 2px; gap: 2px; border-radius: 0; font-size: 10.5px; letter-spacing: -.02em; border-top: 1px solid var(--c-line); }
  .sidetab > :first-child { border-top: 0; }
  .sidetab .app-ic, .sidetab .ic { width: 22px; height: 22px; }
  .sidetab .st-full { display: none; }
  .sidetab .st-short { display: inline; }
  .sidetab-tel { background: var(--c-ink); color: #7fd3df !important; padding: 8px 2px !important; }
  .sidetab-tel .app-ic { filter: brightness(0) invert(1); }
  .sidetab-tel:hover { background: #0c1a20 !important; }
  .sidetab-top { margin-top: 0; padding: 6px 2px 7px !important; background: #0b1c22; font-size: 10px; letter-spacing: .06em; border-top: 0 !important; }
  .sidetab-top .ic { width: 18px; height: 18px; }
}
@media (max-width: 1100px) and (max-height: 600px) {
  .sidetab > * { padding: 5px 2px; }
  .sidetab .app-ic { width: 20px; height: 20px; }
}

/* ── 메인: 비수술 치료 — 그림 카드가 오른쪽에서 왼쪽으로 천천히 흐르는 띠(끝나면 처음 카드가 바로 이어짐, 마우스·손가락으로 끌기 가능). 움직임은 site.js ── */
.treat-marquee { overflow: hidden; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.treat-belt { display: flex; width: max-content; will-change: transform; }
.treat-marquee { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.treat-marquee.is-dragging { cursor: grabbing; }
.treat-marquee.is-dragging a { pointer-events: none; }
.treat-marquee img { -webkit-user-drag: none; }
.treat-track { display: flex; gap: 18px; padding-right: 18px; }
.treat-track > li { flex: 0 0 280px; }
.treat-card--img { padding: 0; min-height: 0; height: 100%; overflow: hidden; }
.treat-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #0b3a4a; }
.treat-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; transition: transform .5s ease; }
.treat-card--img:hover .treat-img img { transform: scale(1.05); }
.treat-img-ic { display: grid; place-items: center; }
.treat-img-ic .treat-ic { position: static; width: 64px; height: 64px; }
.treat-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.treat-card--img .treat-no { font-size: 12px; }
.treat-card--img .treat-name { font-size: 18px; padding-top: 4px; margin-top: 0; line-height: 1.35; word-break: keep-all; }
.treat-card--img .treat-sum { font-size: 13.5px; line-height: 1.55; margin-top: 6px; word-break: keep-all; }
.treat-card--img .treat-go { margin-top: 12px; font-size: 13.5px; }
@media (max-width: 720px) {
  .treat-track > li { flex-basis: 220px; }
  .treat-track { gap: 14px; padding-right: 14px; }
  .treat-card--img .treat-name { font-size: 16.5px; }
}

/* 숫자로 보는 통증 정보: PC 3+2 배치, 오른쪽 사이드탭과 겹치지 않게 폭 제한 */
@media (min-width: 1101px) {
  .stats:has(.stat--poster) { max-width: 1100px; }
}

/* ── "어떤 병원인가요?" 슬라이드 · 모바일/태블릿(900px 이하): PC처럼 글 왼쪽 · 그림 오른쪽 (글이 그림에 조금 걸침) ── */
@media (max-width: 900px) {
  .ab { min-height: 0; align-items: center; padding: 36px 0 48px; }
  .ab-bg img { object-position: 78% center; }
  .ab-light .ab-bg::after { background: linear-gradient(90deg, rgba(238, 246, 249, .96) 0%, rgba(238, 246, 249, .88) 46%, rgba(238, 246, 249, .35) 66%, rgba(238, 246, 249, 0) 80%); }
  .ab-dark .ab-bg::after { background: linear-gradient(90deg, rgba(4, 34, 46, .95) 0%, rgba(4, 34, 46, .86) 46%, rgba(4, 34, 46, .3) 68%, rgba(4, 34, 46, 0) 82%); }
  .ab-txt { max-width: 62%; }
  .ab-title { font-size: 19px; line-height: 1.32; margin: 6px 0 10px; }
  .ab-lead { font-size: 12.5px; line-height: 1.65; margin-bottom: 12px; }
  .ab .eyebrow { font-size: 10.5px; }
  .ab-points { gap: 6px; }
  .ab-points li { padding: 5px 9px; font-size: 11.5px; gap: 5px; }
  .ab-points .ic { width: 13px; height: 13px; }
  .ab-list { margin-bottom: 12px; }
  .ab-list > div { grid-template-columns: 50px 1fr; gap: 6px; padding: 4px 0; }
  .ab-list dt { font-size: 11px; }
  .ab-list dd { font-size: 11.5px; line-height: 1.5; }
  .ab-cap { font-size: 11px; margin-bottom: 6px; }
  .ab-chips { gap: 5px; margin-bottom: 12px; }
  .ab-chips li { font-size: 11px; padding: 4px 9px; }
  .ab-links a { padding: 4px 9px; }
  .ab .btn { height: 36px; padding: 0 14px; font-size: 12.5px; }
  .banner-dots { bottom: 16px; }
}

/* 메인 병원 둘러보기: 이름표를 배지 대신 사진 아래쪽에 은은하게 (사진과 어울리게) */
.tour-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, rgba(4, 30, 40, 0) 0%, rgba(4, 30, 40, .38) 100%); pointer-events: none; transition: opacity .4s; }
.tour-label { z-index: 1; left: 16px; bottom: 14px; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: rgba(255, 255, 255, .86); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); display: inline-flex; align-items: center; gap: 8px; }
.tour-label::before { content: ""; width: 14px; height: 1px; background: rgba(255, 255, 255, .7); }
.tour-wide .tour-label { font-size: 14px; left: 20px; bottom: 18px; }
@media (max-width: 720px) { .tour-label { left: 10px; bottom: 9px; font-size: 11.5px; gap: 6px; } .tour-label::before { width: 10px; } }

/* ── 사이드탭 · PC(1101px~): 모바일과 같은 디자인(짙은 전화칸 · 구분선 · 짙은 TOP), 화면 오른쪽 가운데에 조금 크게 ── */
@media (min-width: 1101px) {
  .sidetab { right: 16px; top: 50%; transform: translateY(-50%); width: 68px; padding: 0; gap: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 0; box-shadow: 0 18px 40px -18px rgba(4, 34, 46, .45), 0 0 0 1px rgba(19, 35, 42, .06); }
  .sidetab > * { width: 100%; padding: 11px 4px; gap: 5px; border-radius: 0; font-size: 11.5px; letter-spacing: -.02em; border-top: 1px solid var(--c-line); }
  .sidetab > :first-child { border-top: 0; }
  .sidetab > *:hover { background: var(--c-primary-l); color: var(--c-primary-d); }
  .sidetab .app-ic, .sidetab .ic { width: 26px; height: 26px; }
  .sidetab-tel { background: var(--c-ink); color: #7fd3df !important; padding: 13px 4px !important; }
  .sidetab-tel .app-ic { filter: brightness(0) invert(1); }
  .sidetab-tel:hover { background: #0c1a20 !important; color: #7fd3df !important; }
  .sidetab-top { margin-top: 0; padding: 9px 4px 10px !important; background: #0b1c22; color: #fff !important; font-size: 11px; letter-spacing: .06em; border-top: 0 !important; }
  .sidetab-top:hover { background: #12303a !important; }
  .sidetab-top .ic { width: 20px; height: 20px; color: #fff; }
}

/* 의료진 소개 모바일: 제목 → 프로필 사진(가로 꽉) → 이름 카드 → 인사말 */
@media (max-width: 720px) {
  .profile-top .profile-aside, .profile-aside { grid-template-columns: 1fr; max-width: 440px; width: 100%; margin: 0 auto; gap: 14px; }
  .profile-photo { border-radius: 22px; }
  .profile-card { text-align: center; }
  .profile-head h2 { font-size: 26px; }
}

/* 의료진 소개: "원장 인사말" 제목을 사진과 인사말 전체의 가운데 위에 */
.profile-top .profile-head { grid-column: 1 / -1; order: 0; text-align: center; margin-bottom: -16px; }
@media (max-width: 720px) { .profile-top .profile-head { margin-bottom: -8px; } }
/* 의료진 소개: 인사말·이력 글자 키움 */
.profile-greet p { font-size: 18px; line-height: 1.85; }
.profile-greet .greet-lead { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; }
.profile-greet .greet-sign { font-size: 16px; }
.profile-greet .greet-sign b { font-size: 24px; }
.profile-cols h3 { font-size: 17px; }
.profile-cols li { font-size: 17px; line-height: 1.65; margin-bottom: 8px; }
@media (max-width: 720px) {
  .profile-greet p { font-size: 16.5px; }
  .profile-cols li { font-size: 16px; }
}

/* 원본 로고(가로형 이미지) 크기 */
@media (max-width: 1280px) { .site-header .logo-img { height: 34px; } }
@media (max-width: 1100px) { .logo-img { height: 34px; } }
@media (max-width: 400px) { .logo-img { height: 30px; } }
.site-footer .logo-img { height: 38px; }

/* ── 메인 팝업 ──
   PC: 첫 팝업이 화면 가운데, 추가될 때마다 그 왼쪽으로 이어짐(오른쪽 끝 = 첫 팝업)
   모바일: 첫 팝업이 맨 위, 나머지는 뒤에 겹겹이 */
/* --n = 팝업 수(JS). 카드 폭은 화면에 다 들어가도록 최대 380px, 왼쪽 공간이 모자라면 묶음 전체를 오른쪽으로 당김 */
.popups { --cw: min(380px, calc((100vw - 32px - (var(--n, 1) - 1) * 16px) / var(--n, 1))); --pw: calc(var(--n, 1) * var(--cw) + (var(--n, 1) - 1) * 16px);
  left: auto; right: max(16px, min(calc(50% - var(--cw) / 2), calc(100vw - 16px - var(--pw)))); top: 50%; transform: translateY(-50%); flex-direction: row-reverse; align-items: flex-start; gap: 16px; max-width: calc(100vw - 32px); justify-content: flex-start; }
.popup { position: relative; width: var(--cw); flex: none; }
.popup-foot button { padding: 8px 10px; font-size: 13.5px; line-height: 1.3; }
.popup-allclose { position: absolute; top: -46px; right: 0; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(19, 35, 42, .88); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.popup-allclose:hover { background: #13232a; }
.popup-allclose[hidden] { display: none; }
@media (max-width: 720px) {
  .popups { left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%); width: min(360px, calc(100vw - 48px)); max-width: none; display: grid; gap: 0; }
  .popup { grid-area: 1 / 1; width: 100%; transform: translateY(calc(var(--k, 0) * 12px)) scale(calc(1 - var(--k, 0) * .04)); transform-origin: 50% 100%; transition: transform .25s; }
  .popup:nth-child(n+4) { visibility: hidden; } /* 4번째부터는 뒤에 숨김(앞의 것을 닫으면 나타남) */
  .popup-allclose { top: auto; bottom: -58px; right: 50%; transform: translateX(50%); }
}

/* 네이버 지도: 구글 지도 자리 그대로 채움 */
.map-frame { position: relative; }
.map-frame .naver-map { width: 100% !important; height: 100% !important; }
.map-frame iframe[hidden] { display: none; }
