/* 대한의료관광진흥협회 리뉴얼 시안
   토큰과 비례는 bs-sky-sports-club-landing 템플릿(하얀 둥근 판, 하늘색 사진, 남색 카드)에서 가져옴 */
:root {
  --ground: #e6edf4; --shell: #fff; --surface: #f3f7fb; --surface-2: #e9f1f8;
  --ink: #0b1a30; --ink-2: #2c3b52; --muted: #5a6880; --faint: #8a97ab;
  --line: rgba(11, 26, 48, .09); --line-2: rgba(11, 26, 48, .16);
  --navy: #0c1b34; --navy-2: #142a4c; --navy-3: #1d3660; --on-navy: #f3f7fc; --on-navy-2: #a9b8cf; --navy-line: rgba(255, 255, 255, .12);
  --sky: #2f9cf0; --sky-2: #8ccbf8; --sky-tint: #e2f0fc; --sky-ink: #0b5fae; --blue: #146dc6; --blue-2: #0f5fae;
  --red: #d2232a; --red-tint: #fdeced;
  --ok: #17845a; --ok-tint: #e3f4ec; --danger: #c0392b; --danger-tint: #fdecea;
  --r-shell: 28px; --r-xl: 22px; --r-lg: 18px; --r-md: 12px; --r-sm: 8px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 26, 48, .06), 0 2px 8px -2px rgba(11, 26, 48, .06);
  --shadow-2: 0 1px 2px rgba(11, 26, 48, .05), 0 14px 34px -14px rgba(11, 26, 48, .22);
  --shadow-3: 0 2px 6px rgba(11, 26, 48, .06), 0 34px 70px -28px rgba(11, 26, 48, .34);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-display: clamp(2.6rem, 4.6vw, 4.25rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 2.2vw, 3.4rem);
  --fs-h2: clamp(1.65rem, 1.15rem + 1.5vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .4vw, 1.45rem);
  --fs-lead: clamp(1.05rem, .98rem + .3vw, 1.22rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.77, 0, .175, 1);
  --container: 1320px; --gutter: clamp(18px, 3.4vw, 44px); --frame: 12px; --header-h: 76px;
  --section: clamp(84px, 9vw, 136px);
}
@font-face { font-family: "Geist Mono"; src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-mono:vf@latest/latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; overflow-wrap: break-word; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #bfe1fb; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #fff; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- 판(shell) ---------- */
.shell { position: relative; margin: var(--frame); background: var(--shell); border-radius: var(--r-shell); min-height: calc(100vh - 24px); overflow: clip; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.tight { padding-block: clamp(56px, 6vw, 88px); }
.band { background: var(--surface); }

/* ---------- 글자 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sky-ink); letter-spacing: -.005em; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.on-dark .eyebrow { color: var(--sky-2); }
.h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.035em; line-height: 1.22; }
.h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -.025em; line-height: 1.35; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head .lead { max-width: 52ch; }
.sec-head.solo { grid-template-columns: 1fr; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: var(--r-pill); font-size: 16px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; transition: background-color .18s, color .18s, box-shadow .18s, transform .14s; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: #dde8f3; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef4fb; }
.btn-line-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn-line-light:hover { background: rgba(255, 255, 255, .12); }
.btn .go { transition: transform .2s var(--ease-out); }
.btn:hover .go { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sky-ink); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 로고 ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--navy); }
.brand .emblem { width: 46px; height: 46px; flex: none; }
.brand-text { display: grid; line-height: 1.12; }
.brand-text small { font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: -.005em; }
.brand-text b { font-size: 19px; font-weight: 750; letter-spacing: -.045em; }
.brand-text i { white-space: nowrap; font-style: normal; font-size: 8.4px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ---------- 머리글: 유기방가옥·인증나라 방식(유리 알약 + 사진 위 흰 글씨 + 펼침 카드 메뉴) ---------- */
.site-header { position: sticky; top: 0; z-index: 90; padding: 12px var(--frame) 0; margin-bottom: calc(-1 * (var(--header-h) + 12px)); pointer-events: none; }
.hdr { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); width: 100%; max-width: calc(var(--container) + 2 * var(--gutter) + 24px); margin-inline: auto; padding: 0 12px 0 calc(var(--gutter) - 4px); border-radius: var(--r-pill); transition: height .3s var(--ease-out); }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled .hdr, .site-header.solid .hdr { height: 68px; }
.site-header.is-scrolled .hdr::before, .site-header.solid .hdr::before { opacity: 1; }
.site-header.solid { margin-bottom: 0; position: sticky; }
.nav { display: flex; gap: 0; margin-inline: auto; }
.nav-item { position: relative; }
.nav-item > a { position: relative; display: flex; align-items: center; gap: 3px; white-space: nowrap; padding: 12px 13px; font-size: 16px; font-weight: 600; letter-spacing: -.03em; color: var(--ink-2); transition: color .18s; }
.nav-item > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .26s var(--ease-out); }
.nav-item:hover > a, .nav-item:focus-within > a { color: var(--ink); }
.nav-item:hover > a::after, .nav-item:focus-within > a::after, .nav-item > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-chev { width: 14px; height: 14px; opacity: .55; transition: transform .2s; }
.nav-item:hover .nav-chev { transform: rotate(180deg); }
.dd { position: absolute; top: 100%; left: 50%; z-index: 80; width: 620px; margin-top: 12px; padding: 14px; display: grid; gap: 10px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility 0s linear .18s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav-item:hover .dd, .nav-item:focus-within .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.nav-item:first-child .dd { left: -10px; transform: translateY(8px); }
.nav-item:first-child:hover .dd, .nav-item:first-child:focus-within .dd { transform: none; }
.nav-item:last-child .dd, .nav-item:nth-last-child(2) .dd { left: auto; right: -10px; transform: translateY(8px); }
.nav-item:last-child:hover .dd, .nav-item:nth-last-child(2):hover .dd, .nav-item:last-child:focus-within .dd, .nav-item:nth-last-child(2):focus-within .dd { transform: none; }
.dd.narrow { width: 360px; }
.dd.narrow .dd-grid { grid-template-columns: 1fr; }
.dd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 10px; border-bottom: 1px solid var(--line); }
.dd-head b { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dd-head a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; font-size: 13.5px; font-weight: 600; color: var(--sky-ink); }
.dd-head .i { width: 14px; height: 14px; }
.dd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.dd-card { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background-color .16s; }
.dd-card:hover, .dd-card:focus-visible { background: var(--surface); }
.dd-card img { width: 52px; height: 52px; flex: none; border-radius: 12px; object-fit: cover; }
.dd-card strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.03em; color: var(--ink); line-height: 1.3; }
.dd-card small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.hdr-end { display: flex; align-items: center; gap: 6px; }
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lang > button:hover { background: rgba(11, 26, 48, .05); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility 0s linear .16s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.lang-menu a:hover { background: var(--surface); }
.lang-menu small { font-size: 11.5px; color: var(--muted); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background-color .16s; }
.icon-btn:hover { background: rgba(11, 26, 48, .06); }
.menu-btn { box-shadow: inset 0 0 0 1px var(--line-2); }
/* 첫 화면 사진 위: 흰 글씨 */
.over .site-header:not(.is-scrolled) .brand, .over .site-header:not(.is-scrolled) .nav-item > a, .over .site-header:not(.is-scrolled) .lang > button, .over .site-header:not(.is-scrolled) .icon-btn { color: #fff; }
.over .site-header:not(.is-scrolled) .brand-text small, .over .site-header:not(.is-scrolled) .brand-text i { color: rgba(255, 255, 255, .78); }
.over .site-header:not(.is-scrolled) .nav-item > a { text-shadow: 0 1px 12px rgba(5, 15, 35, .35); }
.over .site-header:not(.is-scrolled) .nav-item > a::after { background: #fff; }
.over .site-header:not(.is-scrolled) .menu-btn { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); background: rgba(5, 15, 35, .18); }
.over .site-header:not(.is-scrolled) .btn-primary { background: #fff; color: var(--navy); }
.over .site-header:not(.is-scrolled) .lang > button:hover, .over .site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 1400px) { .lang-t { display: none; } .nav-chev { display: none; } }
@media (max-width: 1240px) { .nav-item > a { padding-inline: 9px; font-size: 15px; } .nav-item > a::after { left: 9px; right: 9px; } .hdr-donate { display: none; } .brand-text i { display: none; } }
@media (max-width: 1080px) { .nav, .lang { display: none; } .hdr-end { margin-left: auto; } .hdr-donate { display: inline-flex; } }
@media (max-width: 560px) { :root { --header-h: 64px; --frame: 6px; } .hdr { padding: 0 6px 0 14px; } .site-header.is-scrolled .hdr, .site-header.solid .hdr { height: 60px; } .brand .emblem { width: 38px; height: 38px; } .brand-text b { font-size: 16.5px; } .brand-text i { display: none; } .hdr-donate { display: none; } }

/* ---------- 전체 메뉴(사이트맵 시트) ---------- */
.sheet { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.sheet.open { visibility: visible; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(8, 18, 36, .42); opacity: 0; transition: opacity .3s; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel { position: absolute; inset: 12px; overflow: auto; border-radius: var(--r-shell); background: #fff; padding: 20px clamp(20px, 4vw, 56px) 40px; transform: translateY(-16px); opacity: 0; transition: transform .38s var(--ease-out), opacity .3s; }
.sheet.open .sheet-panel { transform: none; opacity: 1; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.sheet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; margin-top: 36px; }
.sheet-group > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line-2); font-size: 22px; font-weight: 650; letter-spacing: -.04em; }
.sheet-group ul a { display: block; padding: 6px 0; font-size: 15.5px; color: var(--muted); transition: color .15s; }
.sheet-group ul a:hover { color: var(--ink); }
.sheet-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.sheet-foot .langs { display: flex; gap: 6px; margin-left: auto; }
.sheet-foot .langs a { padding: 8px 12px; border-radius: 999px; background: var(--surface); font-size: 14px; }
@media (max-width: 1000px) { .sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sheet-panel { inset: 6px; } .sheet-grid { grid-template-columns: 1fr; gap: 22px; } .sheet-group > a { font-size: 20px; } .sheet-group ul { display: flex; flex-wrap: wrap; gap: 0 16px; } .sheet-foot .langs { margin-left: 0; } }
.no-scroll { overflow: hidden; }

/* ---------- 첫 화면 슬라이드 ---------- */
.hero { position: relative; margin: 12px 12px 0; height: clamp(600px, calc(100vh - 36px), 900px); border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hs { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.hs.on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; z-index: 1; }
.hs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hs.on img { animation: kb 8s linear forwards; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.hs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 44, .72) 0%, rgba(6, 20, 44, .42) 42%, rgba(6, 20, 44, .06) 75%), linear-gradient(0deg, rgba(6, 20, 44, .55) 0%, rgba(6, 20, 44, 0) 34%), linear-gradient(180deg, rgba(6, 20, 44, .34) 0%, rgba(6, 20, 44, 0) 22%); }
.hs-copy { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-46%); }
.hs-copy .container { max-width: calc(var(--container) + 2 * var(--gutter)); }
.hs-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .9); margin-bottom: 22px; }
.hs-kicker b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hs-title { font-size: var(--fs-display); font-weight: 600; letter-spacing: -.045em; line-height: 1.16; max-width: 15ch; }
.hs-sub { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.7; color: rgba(255, 255, 255, .9); }
.hs-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hs .hs-kicker, .hs .hs-title, .hs .hs-sub, .hs .hs-cta { opacity: 0; transform: translateY(22px); }
.hs.on .hs-kicker, .hs.on .hs-title, .hs.on .hs-sub, .hs.on .hs-cta { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hs.on .hs-kicker { transition-delay: .35s; } .hs.on .hs-title { transition-delay: .45s; } .hs.on .hs-sub { transition-delay: .6s; } .hs.on .hs-cta { transition-delay: .72s; }
.hero-pager { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; }
.hero-pager .container { display: flex; align-items: flex-end; gap: 18px; padding-bottom: 30px; }
.hp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; flex: 1; max-width: 760px; }
.hp-tab { display: grid; gap: 10px; text-align: left; color: rgba(255, 255, 255, .62); font-size: 14px; font-weight: 600; padding-top: 4px; transition: color .2s; }
.hp-tab:hover, .hp-tab.on { color: #fff; }
.hp-tab .bar { position: relative; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hp-tab .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hp-tab.done .bar i { transform: scaleX(1); }
.hp-tab span { display: flex; gap: 8px; align-items: baseline; }
.hp-tab em { font-style: normal; font-family: var(--mono); font-size: 11.5px; font-weight: 500; opacity: .8; }
.hp-ctrl { display: flex; gap: 6px; margin-left: auto; }
.hp-ctrl button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .16s; }
.hp-ctrl button:hover { background: rgba(255, 255, 255, .24); }
.hp-ctrl .i { width: 18px; height: 18px; }
.hs-place { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--header-h) + 34px); font-size: 12.5px; color: rgba(255, 255, 255, .78); display: flex; align-items: center; gap: 6px; }
.hs-place .i { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .hero { margin: 6px 6px 0; height: min(760px, calc(100svh - 12px)); min-height: 600px; }
  .hs::after { background: linear-gradient(0deg, rgba(6, 20, 44, .86) 0%, rgba(6, 20, 44, .5) 48%, rgba(6, 20, 44, .1) 72%, rgba(6, 20, 44, .4) 100%); }
  .hs-copy { top: auto; bottom: 120px; transform: none; }
  .hs-title { font-size: clamp(2.15rem, 9.4vw, 2.7rem); }
  .hs-sub { font-size: 15.5px; margin-top: 16px; }
  .hs-cta { margin-top: 24px; } .hs-cta .btn-line-light { display: none; }
  .hp-tabs { gap: 10px; } .hp-tab span b { display: none; } .hp-tab { font-size: 12px; }
  .hp-ctrl button { width: 38px; height: 38px; }
  .hs-place { display: none; }
}

/* ---------- 빠른 찾기 띠(템플릿 quick-booking bar 자리) ---------- */
.quick { position: relative; z-index: 6; margin-top: 24px; }
.quick-in { max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; padding: 14px 14px 14px 26px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.quick-label { font-size: 15px; font-weight: 650; letter-spacing: -.03em; }
.quick-label small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.dept-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.dept-pills button { height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); background: var(--surface); transition: background-color .16s, color .16s; }
.dept-pills button:hover { background: var(--surface-2); }
.dept-pills button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.quick-result { display: flex; align-items: center; gap: 14px; }
.qr-count { display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 8px; border-radius: 14px; background: var(--sky-tint); color: var(--sky-ink); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; }
.qr-count small { font-size: 11px; font-weight: 600; letter-spacing: 0; }
.qr-text { font-size: 14px; color: var(--muted); line-height: 1.45; max-width: 210px; }
.qr-text b { color: var(--ink); display: block; font-size: 14.5px; }
@media (max-width: 1100px) { .quick-in { grid-template-columns: 1fr; padding: 18px; } .quick-result { justify-content: space-between; } .qr-text { max-width: none; flex: 1; } }

/* ---------- 협회 한 문장 + 숫자 ---------- */
.statement { font-size: clamp(1.5rem, 1.05rem + 1.45vw, 2.45rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.45; max-width: 34ch; color: var(--ink); }
.statement .pimg { display: inline-block; width: 1.9em; height: 1.05em; vertical-align: -.14em; border-radius: 999px; overflow: hidden; margin: 0 .08em; }
.statement .pimg img { width: 100%; height: 100%; object-fit: cover; }
.statement mark { background: none; color: var(--sky-ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-2); }
.stat { padding: 26px 24px 4px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(2.4rem, 1.7rem + 2vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .38em; font-weight: 600; vertical-align: .95em; margin-left: 2px; letter-spacing: 0; }
.stat p { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 22px 12px 18px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); } .stat:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--line); } }

/* ---------- 사업 묶음(bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 300px; }
.tile-navy { grid-column: span 5; background: var(--navy); color: var(--on-navy); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.tile-navy::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 156, 240, .32), rgba(47, 156, 240, 0) 66%); pointer-events: none; }
.tile-navy .h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); line-height: 1.32; margin-top: 22px; color: #fff; }
.tile-navy p { color: var(--on-navy-2); margin-top: 14px; }
.tile-navy .tags { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 550; background: var(--surface); color: var(--ink-2); }
.on-dark .tag, .tile-navy .tag { background: rgba(255, 255, 255, .08); color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--navy-line); }
.well { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(140, 203, 248, .14); color: var(--sky-2); }
.tile-photo { grid-column: span 7; }
.tile-photo img, .tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile-photo:hover img, .tile-img:hover img { transform: scale(1.035); }
.chip { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-1); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.tile-card { grid-column: span 4; background: var(--surface); padding: 28px; display: flex; flex-direction: column; transition: background-color .2s; }
.tile-card:hover { background: var(--surface-2); }
.tile-card .num-badge { font-family: var(--mono); font-size: 12px; color: var(--sky-ink); }
.tile-card h3 { margin-top: 14px; }
.tile-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.tile-card .link { margin-top: auto; padding-top: 22px; }
.tile-img { grid-column: span 4; }
@media (max-width: 980px) { .tile-navy, .tile-photo { grid-column: span 12; } .tile-photo { min-height: 320px; } .tile-card, .tile-img { grid-column: span 6; } }
@media (max-width: 620px) { .tile-card, .tile-img { grid-column: span 12; } .tile-img { min-height: 240px; } }

/* ---------- ONE-STOP 단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 30px 28px 30px; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.step:last-child { background: var(--navy); color: var(--on-navy); }
.step:last-child p { color: var(--on-navy-2); }
.step-n { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--sky-ink); }
.step:last-child .step-n { color: var(--sky-2); }
.step-n .i { width: 26px; height: 26px; stroke-width: 1.5; }
.step h3 { margin-top: 44px; font-size: 21px; letter-spacing: -.035em; line-height: 1.4; }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.65; }
.step .track { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.steps.in .step .track { transform: scaleX(1); }
.steps.in .step:nth-child(2) .track { transition-delay: .35s; } .steps.in .step:nth-child(3) .track { transition-delay: .7s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step h3 { margin-top: 24px; } }

/* ---------- 진료과 탭 + 병원 ---------- */
.dept-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; }
.dept-tabs { display: grid; gap: 4px; align-content: start; padding: 10px; border-radius: var(--r-lg); background: var(--surface); }
.dept-tabs button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-radius: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.03em; color: var(--ink-2); text-align: left; transition: background-color .16s, color .16s; }
.dept-tabs button:hover { background: var(--surface-2); }
.dept-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.dept-tabs button small { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.dept-tabs button[aria-selected="true"] small { color: var(--sky-ink); }
.dept-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: var(--on-navy); min-height: 460px; }
.dept-panel .dp-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.dept-panel h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -.04em; color: #fff; }
.dept-panel .care { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.dept-panel .care span { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; background: rgba(140, 203, 248, .12); color: #d6ebfc; }
.hosp { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.hosp li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--navy-line); font-size: 15.5px; color: var(--on-navy); }
.hosp li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--sky-2); }
.hosp-empty { margin-top: 28px; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: var(--on-navy-2); font-size: 15px; }
.dp-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.dept-panel .dp-img { position: relative; min-height: 260px; }
.dept-panel .dp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dept-panel.swap .dp-body > * { animation: fadeUp .5s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .dept-wrap { grid-template-columns: 1fr; } .dept-tabs { display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; } .dept-tabs button { flex: none; padding: 10px 14px; font-size: 15px; } .dept-tabs button small { display: none; } .dept-panel { grid-template-columns: 1fr; } .dept-panel .dp-img { order: -1; min-height: 220px; } }
@media (max-width: 520px) { .hosp { grid-template-columns: 1fr; } }

/* ---------- 사회공헌 ---------- */
.give { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.give-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.give-photos figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.give-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.give-photos img { width: 100%; height: 100%; object-fit: cover; }
.give-photos figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .92); }
.timeline-mini { margin-top: 30px; border-top: 1px solid var(--line-2); }
.timeline-mini li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline-mini time { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.timeline-mini b { font-weight: 600; font-size: 16px; letter-spacing: -.025em; }
.timeline-mini .amt { display: inline-block; margin-left: 8px; font-size: 13px; color: var(--red); font-weight: 600; }
@media (max-width: 900px) { .give { grid-template-columns: 1fr; } }

/* ---------- 소식(공지 + 영상) ---------- */
.news { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.news-list { border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 28px; }
.news-list a { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news-list li:last-child a { border-bottom: 0; }
.news-list .kind { justify-self: start; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sky-tint); color: var(--sky-ink); }
.news-list .kind.k-보도 { background: var(--red-tint); color: #b0151c; }
.news-list .t { font-size: 16px; font-weight: 550; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.news-list a:hover .t { color: var(--sky-ink); }
.news-list time { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.vid { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); aspect-ratio: 16 / 10; color: #fff; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease-out), opacity .3s; }
.vid:hover img { transform: scale(1.04); opacity: .7; }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 44, .8), rgba(6, 20, 44, 0) 55%); }
.vid .play { position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.vid:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.vid .play .i { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }
.vid .cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; font-weight: 600; letter-spacing: -.025em; font-size: 17px; }
.vid .cap small { display: block; font-size: 12.5px; font-weight: 500; opacity: .75; margin-bottom: 2px; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.vid-col { display: grid; gap: 16px; align-content: start; }
.vid-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vid-thumbs button { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); }
.vid-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vid-thumbs button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sky); }
@media (max-width: 960px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .news-list { padding: 4px 18px; } .news-list a { grid-template-columns: minmax(0, 1fr) auto; } .news-list .kind { display: none; } }

/* ---------- 참여 카드 3장(템플릿 회원권 자리) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.plan .well { background: var(--sky-tint); color: var(--sky-ink); }
.plan h3 { margin-top: 22px; font-size: 23px; letter-spacing: -.04em; }
.plan > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.55; }
.ticks .i { width: 18px; height: 18px; color: var(--sky); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan .ticks { margin-bottom: 28px; }
.plan.hl { position: relative; overflow: hidden; background: linear-gradient(160deg, #1a7ad6 0%, var(--blue) 45%, var(--blue-2) 100%); color: #fff; box-shadow: var(--shadow-2); }
.plan.hl::before, .plan.hl::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); pointer-events: none; }
.plan.hl::before { width: 380px; height: 380px; right: -170px; top: -170px; }
.plan.hl::after { width: 260px; height: 260px; right: -110px; top: -110px; }
.plan.hl .well { background: rgba(255, 255, 255, .16); color: #fff; }
.plan.hl > p, .plan.hl .ticks li { color: rgba(255, 255, 255, .9); }
.plan.hl .ticks .i { color: #fff; }
.acct { margin: 4px 0 22px; display: grid; gap: 8px; }
.acct button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); text-align: left; transition: background-color .16s; }
.acct button:hover { background: rgba(255, 255, 255, .2); }
.acct b { display: block; font-size: 13px; font-weight: 500; opacity: .85; }
.acct span { font-family: var(--mono); font-size: 15px; letter-spacing: .01em; }
.acct .i { width: 17px; height: 17px; opacity: .85; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

/* ---------- 꼬리글 ---------- */
.footer { margin-top: var(--section); background: var(--navy); color: var(--on-navy-2); border-radius: var(--r-xl); margin-inline: 12px; margin-bottom: 12px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.3fr; gap: 36px 28px; padding: clamp(48px, 6vw, 80px) var(--gutter) 40px; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.footer .brand { color: #fff; }
.footer .brand-text small, .footer .brand-text i { color: var(--on-navy-2); }
.footer-intro p { margin-top: 18px; font-size: 15px; line-height: 1.7; max-width: 36ch; }
.footer h2 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer ul a { display: block; padding: 4px 0; font-size: 14.5px; transition: color .15s; }
.footer ul a:hover, .footer .contact a:hover { color: #fff; }
.contact { display: grid; gap: 8px; font-size: 14.5px; }
.contact div { display: grid; grid-template-columns: 54px 1fr; gap: 8px; }
.contact span:first-child { color: #7f90ab; }
.contact a, .contact span:last-child { color: var(--on-navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; border-top: 1px solid var(--navy-line); font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom a:hover { color: #fff; }
.wordmark { padding: 0 var(--gutter) 6px; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.wordmark svg { display: block; width: 100%; height: auto; }
.wordmark text { fill: rgba(255, 255, 255, .07); font-family: var(--font); font-weight: 750; font-size: 140px; letter-spacing: -.05em; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-intro { grid-column: 1 / -1; } .footer-visit { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer { margin-inline: 6px; margin-bottom: 6px; } .footer-top { grid-template-columns: 1fr 1fr; } }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-3); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 나타남 효과 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hs.on img { animation: none; } * { scroll-behavior: auto !important; } }

/* ================= 서브 쪽 ================= */
.page-hero { position: relative; margin: 12px 12px 0; height: clamp(380px, 42vw, 520px); border-radius: var(--r-xl); overflow: hidden; color: #fff; background: var(--navy); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 9s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 44, .7), rgba(6, 20, 44, .25) 60%, rgba(6, 20, 44, .1)), linear-gradient(0deg, rgba(6, 20, 44, .5), rgba(6, 20, 44, 0) 50%), linear-gradient(180deg, rgba(6, 20, 44, .35), rgba(6, 20, 44, 0) 30%); }
.page-hero .container { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(34px, 4vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.crumbs .i { width: 13px; height: 13px; opacity: .7; }
.crumbs a:hover { color: #fff; }
.page-title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; }
.page-lead { margin-top: 16px; max-width: 52ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, .9); }
.subnav { position: sticky; top: 92px; z-index: 40; margin-top: 18px; }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%; margin-inline: auto; padding: 6px; border-radius: 999px; background: rgba(243, 247, 251, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background-color .16s, color .16s; }
.subnav a:hover { color: var(--ink); }
.subnav a.on, .subnav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
@media (max-width: 560px) { .subnav { top: 72px; } .subnav-in { border-radius: 16px; width: 100%; } .page-hero { margin: 6px 6px 0; height: 400px; } }
.anchor { scroll-margin-top: 150px; }

/* 인사말 */
.greet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.greet-side { position: sticky; top: 160px; }
.greet-side .h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.9rem); }
.greet-fig { margin-top: 32px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.greet-fig img { width: 100%; height: 100%; object-fit: cover; }
.prose p { font-size: 17.5px; line-height: 1.95; color: var(--ink-2); }
.prose p + p { margin-top: 1.15em; }
.prose .big { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.7; color: var(--ink); font-weight: 550; letter-spacing: -.03em; }
.sign { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.sign small { display: block; font-size: 14px; color: var(--muted); }
.sign b { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -.02em; }
.sign b span { font-size: 26px; letter-spacing: .3em; margin-left: 10px; font-weight: 650; }
.goals { display: grid; gap: 10px; margin: 30px 0; }
.goals li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: 14px; background: var(--surface); font-size: 16px; line-height: 1.6; }
.goals li b { font-family: var(--mono); font-size: 12.5px; color: var(--sky-ink); padding-top: 3px; }
@media (max-width: 900px) { .greet { grid-template-columns: 1fr; } .greet-side { position: static; } }

/* 개요 표 */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.facts dl { border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); padding: 8px 28px; }
.facts dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { font-size: 16px; font-weight: 550; letter-spacing: -.02em; }
.facts .fact-img { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 360px; }
.facts .fact-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts dl div { grid-template-columns: 90px 1fr; } }

/* 비전 */
.vision { display: grid; gap: 12px; max-width: 980px; margin-inline: auto; }
.v-goal { display: grid; place-items: center; text-align: center; padding: 34px 24px; border-radius: var(--r-xl); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.v-goal small { font-size: 14px; color: var(--sky-2); font-weight: 600; }
.v-goal b { display: block; margin-top: 6px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -.045em; font-weight: 650; }
.v-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; }
.v-row > div { display: grid; gap: 12px; }
.v-cell { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 78px; padding: 14px; border-radius: 16px; background: var(--surface); font-weight: 600; letter-spacing: -.03em; font-size: 16.5px; }
.v-core { display: grid; place-items: center; text-align: center; padding: 22px; border-radius: 16px; background: var(--blue); color: #fff; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.4; }
.v-base { display: flex; align-items: center; justify-content: center; min-height: 66px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; letter-spacing: -.03em; }
.v-arrow { display: grid; place-items: center; color: var(--faint); height: 18px; }
@media (max-width: 720px) { .v-row { grid-template-columns: 1fr 1fr; } .v-row .v-core { grid-column: 1 / -1; order: -1; } }

/* 조직도 */
.org { position: relative; max-width: 1100px; margin-inline: auto; }
.org-top { display: grid; justify-items: center; gap: 0; }
.org-node { display: inline-grid; place-items: center; min-width: 200px; padding: 14px 22px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; letter-spacing: -.03em; text-align: center; line-height: 1.35; }
.org-node small { display: block; font-size: 13px; font-weight: 500; color: var(--on-navy-2); }
.org-node.lt { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); min-width: 120px; padding: 11px 16px; font-size: 15px; }
.org-line { width: 1px; height: 22px; background: var(--line-2); }
.org-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; width: 100%; }
.org-mid .side { display: flex; gap: 8px; align-items: center; }
.org-mid .side.l { justify-content: flex-end; } .org-mid .side.r { justify-content: flex-start; }
.org-mid .side::after, .org-mid .side.r::before { content: ""; height: 1px; width: 34px; background: var(--line-2); }
.org-mid .side.r::after { display: none; }
.org-mid .side.l::after { order: 9; }
.org-branches { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 22px; }
.org-branches::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: var(--line-2); }
.org-col { position: relative; display: grid; gap: 6px; align-content: start; }
.org-col::before { content: ""; position: absolute; top: -22px; left: 50%; width: 1px; height: 22px; background: var(--line-2); }
.org-col > b { display: grid; place-items: center; padding: 14px 10px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 650; letter-spacing: -.03em; text-align: center; }
.org-col li { padding: 10px 12px; border-radius: 10px; background: var(--surface); font-size: 14.5px; text-align: center; line-height: 1.4; }
@media (max-width: 900px) { .org-branches { grid-template-columns: 1fr 1fr; } .org-branches::before, .org-col::before { display: none; } .org-mid { grid-template-columns: 1fr; gap: 10px; justify-items: center; } .org-mid .side::after, .org-mid .side.r::before { display: none; } .org-mid .side { flex-wrap: wrap; justify-content: center !important; } }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.map { position: relative; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.visit-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); display: flex; flex-direction: column; }
.visit-card h3 { color: #fff; font-size: 24px; letter-spacing: -.04em; }
.visit-card .contact { margin-top: 22px; font-size: 15.5px; gap: 12px; }
.visit-card .contact div { grid-template-columns: 70px 1fr; }
.visit-card .btns { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* 연혁 */
.hist-years { position: sticky; top: 84px; z-index: 30; margin: 0 auto 40px; }
.hist { display: block; }
.hist-year { position: relative; padding: 34px 0; border-top: 1px solid var(--line-2); }
.hist-year:first-child { border-top: 0; }
.hist-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 48px; } /* 해마다 따로 묶어서, 붙어 있는 연도 숫자가 다음 해와 겹치지 않음 */
.hist-y { position: sticky; top: 160px; align-self: start; padding: 30px 0; font-size: clamp(2.6rem, 2rem + 2vw, 4.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hist-y small { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.hist-items { padding: 28px 0; border-top: 1px solid var(--line-2); }
.hist-row:first-child .hist-items { border-top-color: var(--ink); }
.hist-items li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 12px 0; }
.hist-items time { font-family: var(--mono); font-size: 13.5px; color: var(--sky-ink); padding-top: 4px; }
.hist-items span { font-size: 16.5px; line-height: 1.6; letter-spacing: -.02em; }
.hist-items mark { background: none; color: var(--red); font-weight: 600; }
@media (max-width: 760px) { .hist-row { grid-template-columns: 1fr; } .hist-y { position: static; padding: 26px 0 0; font-size: 2.4rem; } .hist-items { border-top: 0; padding-top: 10px; } .hist-items li { grid-template-columns: 72px 1fr; } }

/* 사업 블록(외국인환자 유치 등) */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc.flip .svc-media { order: 2; }
.svc-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body .h2 { margin-bottom: 16px; }
.svc-body .lead { margin-bottom: 22px; }
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.svc-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; }
.svc-list .i { color: var(--sky); margin-top: 3px; }
.svc + .svc { margin-top: clamp(72px, 9vw, 128px); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc.flip .svc-media { order: 0; } }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); }
.card .well { background: var(--sky-tint); color: var(--sky-ink); }
.card h3 { margin-top: 20px; font-size: 20px; letter-spacing: -.035em; }
.card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.7; }
.card.navy { background: var(--navy); color: var(--on-navy); }
.card.navy .well { background: rgba(140, 203, 248, .14); color: var(--sky-2); }
.card.navy p { color: var(--on-navy-2); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
.process { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.process .pc { padding: 28px; border-radius: var(--r-lg); background: var(--surface); }
.process .pc h3 { font-size: 20px; letter-spacing: -.035em; }
.process .pc ol { margin-top: 14px; display: grid; gap: 8px; counter-reset: p; }
.process .pc ol li { counter-increment: p; display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 15.5px; }
.process .pc ol li::before { content: counter(p); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-size: 12px; font-weight: 700; color: var(--sky-ink); box-shadow: inset 0 0 0 1px var(--line-2); margin-top: 2px; }
.process .mid { display: grid; place-items: center; align-content: center; gap: 8px; padding: 0 8px; text-align: center; font-size: 13.5px; color: var(--muted); max-width: 170px; }
.process .mid .i { width: 28px; height: 28px; color: var(--sky); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process .mid { max-width: none; } .process .mid .i { transform: rotate(90deg); } }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px); background: var(--navy); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 27, 52, .95) 20%, rgba(12, 27, 52, .5)); }
.cta-band > div { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta-band .h2 { color: #fff; max-width: 20ch; }
.cta-band p { margin-top: 12px; color: var(--on-navy-2); max-width: 50ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 병원 쪽 */
.hsearch { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.field-search { position: relative; flex: 1; max-width: 420px; }
.field-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.field-search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.field-search input:focus { box-shadow: inset 0 0 0 2px var(--sky); background: #fff; }
.hsearch output { font-size: 14.5px; color: var(--muted); }
.search-hits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.search-hits button { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; font-weight: 600; }
.search-hits button small { color: var(--muted); font-weight: 500; font-size: 13px; }
.search-hits button:hover { box-shadow: inset 0 0 0 1px var(--sky); }
.search-empty { padding: 18px; border-radius: 14px; background: var(--surface); color: var(--muted); margin-bottom: 24px; }
@media (max-width: 760px) { .search-hits { grid-template-columns: 1fr; } }

/* 갤러리 */
.filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.filter button { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.filter button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filter button span { font-family: var(--mono); font-size: 11.5px; margin-left: 4px; opacity: .7; }
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; height: auto; transition: transform .9s var(--ease-out); }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; }
.lb { position: fixed; inset: 0; z-index: 260; display: grid; grid-template-rows: auto 1fr auto; background: rgba(6, 14, 28, .94); color: #fff; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lb-top .icon-btn { color: #fff; }
.lb-top .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.lb-stage { position: relative; margin: 0 72px; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-cap { padding: 16px 20px 22px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .85); }
@media (max-width: 600px) { .lb-stage { margin: 0 8px; } .lb-nav { top: auto; bottom: -64px; transform: none; } }

/* 네트워크 */
.branch-map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #f6f6f6; box-shadow: inset 0 0 0 1px var(--line); }
.branch-map img { width: 100%; }
.branch-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.branch-list span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 550; }
.branch-list span small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.partners-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #fff; padding: clamp(10px, 2vw, 24px); }
.prog { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.prog li { padding: 22px 18px; border-radius: 16px; background: var(--surface); }
.prog b { font-family: var(--mono); font-size: 12px; color: var(--sky-ink); font-weight: 500; }
.prog p { margin-top: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.45; font-size: 16.5px; }
@media (max-width: 900px) { .prog { grid-template-columns: 1fr 1fr; } }

/* 게시판 */
.board { border-top: 2px solid var(--ink); }
.board a { display: grid; grid-template-columns: 70px minmax(0, 1fr) 120px 28px; gap: 16px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.board a:hover { background: var(--surface); }
.board .no { font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: center; }
.board .t { font-size: 16.5px; font-weight: 550; letter-spacing: -.025em; }
.board .t .kind { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sky-tint); color: var(--sky-ink); vertical-align: 2px; }
.board .t .kind.k-보도 { background: var(--red-tint); color: #b0151c; }
.board time { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.board .i { color: var(--faint); }
.board-more { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 640px) { .board a { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 4px; } .board .no, .board .i { display: none; } .board time { grid-row: 2; font-size: 12px; } }
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .vids { grid-template-columns: 1fr; } }

/* 폼 */
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.fl { display: grid; gap: 7px; }
.fl > span { font-size: 14.5px; font-weight: 600; }
.fl > span em { font-style: normal; color: var(--red); margin-left: 2px; }
.fl input, .fl select, .fl textarea { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; transition: box-shadow .15s, background-color .15s; }
.fl textarea { height: 140px; padding: 14px; resize: vertical; line-height: 1.6; }
.fl input:focus, .fl select:focus, .fl textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--sky); }
.fl.err input, .fl.err textarea, .fl.err select { box-shadow: inset 0 0 0 2px var(--danger); background: var(--danger-tint); }
.fl .msg { display: none; font-size: 13.5px; color: var(--danger); }
.fl.err .msg { display: block; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 550; cursor: pointer; transition: background-color .15s, color .15s; }
.seg input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.agree details { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.agree summary { cursor: pointer; color: var(--sky-ink); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-foot p { font-size: 13.5px; color: var(--muted); max-width: 40ch; }
.form-ok { display: none; padding: 22px; border-radius: 16px; background: var(--ok-tint); color: var(--ok); font-weight: 550; margin-top: 18px; }
.form-ok.show { display: block; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.side-info { display: grid; gap: 12px; }
.info-box { padding: 24px; border-radius: var(--r-lg); background: var(--surface); }
.info-box h3 { font-size: 17px; letter-spacing: -.03em; }
.info-box p, .info-box li { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.info-box.navy { background: var(--navy); color: var(--on-navy); }
.info-box.navy h3 { color: #fff; }
.info-box.navy p, .info-box.navy li { color: var(--on-navy-2); }

/* 회원가입 단계 */
.join-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: j; }
.join-steps li { position: relative; padding: 32px 28px; border-radius: var(--r-xl); background: var(--surface); }
.join-steps li:last-child { background: var(--blue); color: #fff; }
.join-steps li:last-child p { color: rgba(255, 255, 255, .88); }
.join-steps b { font-family: var(--mono); font-size: 12.5px; color: var(--sky-ink); font-weight: 500; }
.join-steps li:last-child b { color: #d6ebfc; }
.join-steps h3 { margin-top: 36px; font-size: 22px; letter-spacing: -.04em; }
.join-steps p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.join-steps li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; z-index: 2; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5fae' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m10 8 4 4-4 4'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
@media (max-width: 860px) { .join-steps { grid-template-columns: 1fr; } .join-steps li::after { display: none; } .join-steps h3 { margin-top: 20px; } }

/* 404 */
.nf { display: grid; place-items: center; text-align: center; min-height: 70vh; padding: 140px var(--gutter) 60px; }
.nf b { font-family: var(--mono); color: var(--sky-ink); font-size: 14px; }
.nf h1 { margin-top: 14px; font-size: var(--fs-h1); letter-spacing: -.045em; }
.nf p { margin-top: 14px; color: var(--muted); }
.nf .btns { display: flex; gap: 10px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* 첫 화면 아래 협회 한 문장 + 사진 */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.intro-fig { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.intro-fig img { width: 100%; height: 100%; object-fit: cover; }
.intro-fig figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* 인사말 회장 사진(배경 없는 원본) + 서명 */
.greet-fig.chair { position: relative; aspect-ratio: 5 / 4.6; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(120% 90% at 50% 100%, #d7eafb 0%, var(--sky-tint) 45%, var(--surface) 100%); }
.greet-fig.chair::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; left: 50%; top: 14%; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(11, 95, 174, .14); }
.greet-fig.chair img { position: relative; width: auto; height: 92%; object-fit: contain; object-position: bottom; }
.greet-fig.chair figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-1); line-height: 1.35; }
.greet-fig.chair figcaption small { display: block; font-size: 12px; color: var(--muted); }
.greet-fig.chair figcaption b { font-size: 16px; letter-spacing: -.02em; }
.sign .sig { width: 190px; height: auto; mix-blend-mode: multiply; }
@media (max-width: 560px) { .sign { flex-wrap: wrap; } .sign .sig { width: 150px; } }

/* 외국어 안내 쪽 */
.lsw { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.site-header.is-scrolled .lsw { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lsw a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.over .site-header:not(.is-scrolled) .lsw a { color: #fff; }
.lsw a[aria-current="page"] { background: #fff; color: var(--navy) !important; box-shadow: var(--shadow-1); }
[class*="lang-"] .nav-item > a { font-size: 15px; }
.brand-text b.en-name { font-size: 15.5px; letter-spacing: -.02em; max-width: 270px; line-height: 1.2; }
.lang-hero .hs-title { max-width: 18ch; }
.lang-en .hs-title { letter-spacing: -.03em; }
.stat b.lf { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.dcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.dc { border-radius: var(--r-lg); background: var(--surface); transition: background-color .2s; }
.dc[open] { background: var(--navy); color: var(--on-navy); }
.dc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; cursor: pointer; }
.dc summary::-webkit-details-marker { display: none; }
.dc summary b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.dc summary small { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.dc[open] summary small { color: var(--sky-2); }
.dc summary .i { transition: transform .25s; }
.dc[open] summary .i { transform: rotate(180deg); }
.dc-body { padding: 0 22px 22px; }
.dc-care { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-care span { padding: 5px 11px; border-radius: 999px; font-size: 13px; background: rgba(140, 203, 248, .14); color: #d6ebfc; }
.dc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 16px; }
.dc-list li { padding: 9px 0; border-bottom: 1px solid var(--navy-line); font-size: 15px; }
.dc-empty { margin-top: 16px; color: var(--on-navy-2); font-size: 15px; }
@media (max-width: 1180px) { [class*="lang-"] .nav { display: none; } }
@media (max-width: 860px) { .dcs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .brand-text b.en-name { font-size: 13px; max-width: 150px; } .lsw a { padding: 6px 8px; font-size: 12.5px; } [class*="lang-"] .brand-text small { display: none; } }

/* 병원 이름 버튼(진료과 패널) */
.hosp .hl { display: inline-flex; align-items: center; gap: 6px; color: #fff; font: inherit; text-align: left; text-decoration: underline; text-decoration-color: rgba(140, 203, 248, .45); text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
.hosp .hl:hover { color: var(--sky-2); text-decoration-color: var(--sky-2); }
.hosp .hl i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; background: rgba(140, 203, 248, .18); color: var(--sky-2); text-decoration: none; }

/* 병원 사진 카드 */
.hcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hc { position: relative; display: block; text-align: left; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.hc:hover { box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.hc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.hc:hover .hc-img img { transform: scale(1.04); }
.hc-t { display: block; padding: 14px 16px 16px; }
.hc-t small { display: block; font-size: 12.5px; color: var(--sky-ink); font-weight: 600; }
.hc-t b { display: block; margin-top: 2px; font-size: 16.5px; font-weight: 650; letter-spacing: -.03em; }
.hc-go { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: var(--shadow-1); }
@media (max-width: 1000px) { .hcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .hcs { grid-template-columns: 1fr 1fr; gap: 10px; } .hc-t b { font-size: 15px; } }

/* 병원 소개 창 */
.hm { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.hm-scrim { position: absolute; inset: 0; background: rgba(8, 18, 36, .5); opacity: 0; transition: opacity .22s; }
.hm.open .hm-scrim { opacity: 1; }
.hm-panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-3); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .22s, transform .3s var(--ease-out); }
.hm.open .hm-panel { opacity: 1; transform: none; }
.hm-x { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 255, .92); }
.hm-media { position: relative; min-height: 320px; background: var(--surface-2); }
.hm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-body { padding: clamp(24px, 3vw, 40px); }
.hm-body .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.04em; }
.hm-intro { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.hm-points { margin-top: 16px; display: grid; gap: 6px; }
.hm-points li { position: relative; padding-left: 18px; font-size: 15px; }
.hm-points li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.hm-info { margin-top: 20px; border-top: 1px solid var(--line-2); }
.hm-info div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.hm-info dt { color: var(--muted); }
.hm-info a { color: var(--sky-ink); font-weight: 600; }
.hm-video:not(:empty) { margin-top: 18px; }
.hm-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hm-links:empty { display: none; }
.hm-links a { padding: 7px 13px; border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 600; }
.hm-links a:hover { background: var(--surface-2); }
.hm-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
@media (max-width: 820px) { .hm { padding: 0; place-items: end center; } .hm-panel { grid-template-columns: 1fr; max-height: 92vh; border-radius: 22px 22px 0 0; } .hm-media { min-height: 220px; } }

/* 외국인환자유치 플랫폼 */
.pf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pf .new { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 1px; }
.pf .lead { margin-top: 16px; }
.pf-sv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.pf-sv li { padding: 18px 18px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.band .pf-sv li { background: #fff; }
.pf-sv b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.pf-sv span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.pf-jl { margin-top: 28px; font-size: 14px; font-weight: 650; color: var(--muted); }
.pf-jr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; counter-reset: j; }
.pf-jr li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.pf-jr li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--sky-tint); z-index: 0; }
.pf-jr li:first-child::before { display: none; }
.pf-jr em { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; font-family: var(--mono); font-size: 13px; background: var(--navy); color: #fff; box-shadow: 0 0 0 4px var(--surface); }
.pf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pf-visual { display: grid; place-items: center; position: relative; }
.pf-visual::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47, 156, 240, .18), rgba(47, 156, 240, 0) 68%); }
.pf-phone { position: relative; width: min(320px, 100%); padding: 10px; border-radius: 42px; background: #0d1628; box-shadow: var(--shadow-3); }
.pf-phone img { width: 100%; height: auto; border-radius: 32px; }
.pf-guide { margin-top: 56px; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pf-guide img { width: 100%; }
.pf-guide figcaption { padding: 16px 22px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .pf { grid-template-columns: 1fr; } .pf-visual { order: -1; } .pf-phone { width: 240px; } }
@media (max-width: 520px) { .pf-sv { grid-template-columns: 1fr; } .pf-jr li { font-size: 12px; } }

/* 하단 기관 로고 띠 */
.logos { padding: clamp(64px, 7vw, 96px) 0 0; overflow: hidden; }
.lg-label { font-size: 13.5px; font-weight: 650; color: var(--muted); margin: 0 0 12px; }
.lg-row { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lg-row + .container { margin-top: 26px; }
.lg-track { display: flex; gap: 12px; width: max-content; animation: lgmove 48s linear infinite; }
.lg-row.partner .lg-track { animation-duration: 70s; animation-direction: reverse; }
.lg-row:hover .lg-track, .lg-row:focus-within .lg-track { animation-play-state: paused; }
.lg-track a, .lg-track span { display: grid; place-items: center; width: 196px; height: 74px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.lg-track a:hover { box-shadow: inset 0 0 0 1px var(--sky), var(--shadow-1); }
.lg-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes lgmove { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .lg-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gutter); } }
@media (max-width: 560px) { .lg-track a, .lg-track span { width: 150px; height: 60px; } }

/* 접수 폼 보조 */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note-s { font-size: 13px; color: var(--muted); }
.fl input[type=file] { height: auto; padding: 12px; background: #fff; }
.seg input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.seg input[type=checkbox]:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-ok.show { display: block; }
/* 게시판 */
.bsearch { margin-bottom: 18px; }
.board .pin { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--sky-tint); color: var(--sky-ink); font-family: var(--font); font-size: 12px; font-weight: 700; }
.board .clip { display: inline-block; vertical-align: -2px; color: var(--muted); }
.board-empty { padding: 40px 8px; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.news-list .kind.k-pin { background: var(--red-tint); color: #b0151c; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 26px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 12px; background: var(--surface); font-weight: 600; font-family: var(--mono); font-size: 14px; }
.pager button[aria-current] { background: var(--navy); color: #fff; }
.pager span { padding: 8px 4px; color: var(--muted); }
/* 글 보기 */
.post { max-width: 860px; margin-inline: auto; }
.post-loading { padding: 60px 0; text-align: center; color: var(--muted); }
.post-head { padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.post-title { margin-top: 12px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.3; }
.post-head time { display: block; margin-top: 10px; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.post-files { display: grid; gap: 6px; margin: 20px 0 0; padding: 18px 20px; border-radius: 16px; background: var(--surface); }
.post-files b { font-size: 14px; }
.post-files a { display: flex; align-items: center; gap: 8px; color: var(--sky-ink); font-weight: 600; font-size: 15px; word-break: break-all; }
.post-files small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.post-body { padding: 32px 0 40px; font-size: 17px; line-height: 1.9; color: var(--ink-2); overflow-wrap: anywhere; }
.post-body p { margin: 0 0 1em; }
.post-body h2, .post-body h3, .post-body h4 { margin: 1.4em 0 .6em; color: var(--ink); letter-spacing: -.03em; line-height: 1.4; }
.post-body img { max-width: 100%; height: auto; margin: 14px auto; border-radius: 14px; }
.post-body a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1em; list-style: revert; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.post-body td, .post-body th { border: 1px solid var(--line-2); padding: 8px 10px; }
.post-body .vid { margin: 16px 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line-2); margin-bottom: 22px; }
.post-nav a { padding: 14px 16px; border-radius: 14px; background: var(--surface); font-weight: 600; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-nav a:last-child { text-align: right; }
.post-nav small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav a:last-child { text-align: left; } }

.cards3.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards3.c2 { grid-template-columns: 1fr; } }

/* 사회공헌 주요 활동 */
.acts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.act { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.act > div { padding: 24px 26px 26px; }
.act time { font-family: var(--mono); font-size: 12.5px; color: var(--sky-ink); }
.act h3 { margin-top: 8px; font-size: 20px; font-weight: 650; letter-spacing: -.035em; line-height: 1.35; }
.act p { margin-top: 8px; font-size: 15.5px; color: var(--muted); line-height: 1.7; }
.act .amt { display: block; margin-top: 14px; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.act-ph { grid-column: span 2; }
.act-wide { grid-column: span 4; }
.act-wide figure { aspect-ratio: 21 / 9; }
.act-ph figure { aspect-ratio: 16 / 9; overflow: hidden; }
.act-ph img { width: 100%; height: 100%; object-fit: cover; }
.act-amt { background: var(--navy); box-shadow: none; }
.act-amt h3 { color: #fff; } .act-amt p { color: var(--on-navy-2); } .act-amt time { color: var(--sky-2); } .act-amt .amt { color: #fff; }
@media (max-width: 900px) { .acts { grid-template-columns: 1fr 1fr; } .act, .act-ph { grid-column: span 1; } .act-wide { grid-column: 1 / -1; } }
@media (max-width: 560px) { .acts { grid-template-columns: 1fr; } }
