/* Korea Clinic Directory — design v2 (2026-10-23) */
:root {
  --bg: #f5f7fb; --surface: #ffffff; --surface-2: #f9fbfd; --ink: #0b1b33; --ink-2: #33445e; --muted: #67778f; --line: #e3e9f2; --soft: #eef3f9;
  --brand: #0e7c86; --brand-600: #0a6670; --brand-50: #e7f6f6; --brand-ink: #ffffff;
  --accent: #ff7a45; --accent-600: #f2602a;
  --navy: #0b1b33; --navy-2: #13294a;
  --ok: #0f9d6e; --warn: #b26b00; --warn-soft: #fff4dc;
  --r-lg: 22px; --r: 16px; --r-sm: 11px;
  --sh-1: 0 1px 2px rgba(11, 27, 51, .05), 0 2px 8px rgba(11, 27, 51, .04);
  --sh-2: 0 2px 4px rgba(11, 27, 51, .05), 0 14px 34px rgba(11, 27, 51, .09);
  --sh-3: 0 30px 70px rgba(5, 15, 35, .28);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --hdr: 68px;
  color-scheme: light;
}
html[lang="ja"] { --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif; }
html[lang="zh-Hant-TW"] { --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
html[lang="zh-Hans-CN"] { --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a111c; --surface: #111b2a; --surface-2: #0f1826; --ink: #e8eef6; --ink-2: #c3cedc; --muted: #93a2b6; --line: #223146; --soft: #152234;
    --brand: #2fb8bf; --brand-600: #48c8ce; --brand-50: #10313a; --warn-soft: #2a2213; --warn: #f0b552; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a111c; --surface: #111b2a; --surface-2: #0f1826; --ink: #e8eef6; --ink-2: #c3cedc; --muted: #93a2b6; --line: #223146; --soft: #152234;
  --brand: #2fb8bf; --brand-600: #48c8ce; --brand-50: #10313a; --warn-soft: #2a2213; --warn: #f0b552; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 64px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.72 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="ko"] body, html[lang="ja"] body, html[lang="zh-Hant-TW"] body, html[lang="zh-Hans-CN"] body { line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
.ic { flex: none; vertical-align: middle; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: .96rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-primary:hover { background: var(--brand-600); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-600)); color: #fff; box-shadow: 0 8px 22px rgba(242, 96, 42, .35); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; justify-content: flex-start; }
.btn-static { background: var(--soft); color: var(--ink-2); font-weight: 600; cursor: default; white-space: normal; }
.btn-primary.btn-wa { background: #1fae54; box-shadow: 0 6px 18px rgba(31, 174, 84, .3); }
.btn-primary.btn-line { background: #06b04a; box-shadow: 0 6px 18px rgba(6, 176, 74, .3); }
.btn-primary.btn-naver { background: #03a94e; box-shadow: 0 6px 18px rgba(3, 169, 78, .3); }
.btn-primary.btn-kakao { background: #fee500; color: #1d1b10; box-shadow: 0 6px 18px rgba(200, 180, 0, .3); }
.btn-wa:not(.btn-primary), .btn-line:not(.btn-primary), .btn-naver:not(.btn-primary), .btn-kakao:not(.btn-primary) { background: var(--surface); color: var(--ink); border-color: var(--line); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .ic { transition: transform .15s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 27, 51, .06); }
.hbar { display: flex; align-items: center; gap: 18px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; text-decoration: none !important; }
.brand svg { flex: none; filter: drop-shadow(0 4px 10px rgba(14, 124, 134, .25)); }
.brand-name { font-size: 1.06rem; }
.brand-inv { color: #fff; }
.draft-pill { font-size: .72rem; font-weight: 700; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.mainnav { display: flex; gap: 4px; margin-left: 12px; }
.mainnav a { color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.mainnav a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.hactions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--surface); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); z-index: 60; }
.lang li a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.lang li a:hover, .lang li a[aria-current] { background: var(--brand-50); color: var(--brand); }
.navtoggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px; color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: var(--hdr); flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--sh-2); margin: 0; }
  .nav-open .mainnav { display: flex; }
  .mainnav a { padding: 12px; }
  .navtoggle { display: inline-flex; }
  .hide-sm { display: none !important; }
  .draft-pill { display: none; }
}

/* home hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 10% 0%, #16406a 0%, transparent 60%), linear-gradient(180deg, #0b1b33, #10284a); isolation: isolate; }
.hero-art { position: absolute; top: 0; bottom: 0; right: 0; left: 28%; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
@media (max-width: 760px) { .hero-art { left: 0; -webkit-mask-image: none; mask-image: none; opacity: .55; } }
.hero-art .skyline { width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 500px at 15% 10%, rgba(20, 184, 166, .22), transparent 60%), linear-gradient(180deg, rgba(8, 20, 40, .55) 0%, rgba(8, 20, 40, .15) 45%, rgba(8, 20, 40, .55) 100%); }
.hero-in { padding: 88px 20px 76px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .01em; color: #d8fbf7; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(2.2rem, 3.4vw + 1.1rem, 3.9rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 16px; max-width: 16ch; }
html[lang="ko"] .hero h1, html[lang="ja"] .hero h1, html[lang="zh-Hant-TW"] .hero h1, html[lang="zh-Hans-CN"] .hero h1 { max-width: 20ch; letter-spacing: -.01em; }
.hero-sub { font-size: 1.12rem; color: #cfdced; max-width: 40rem; margin: 0 0 30px; }
.hsearch { display: grid; grid-template-columns: minmax(0, 1fr) 230px auto; gap: 8px; background: #fff; padding: 8px; border-radius: 18px; box-shadow: var(--sh-3); max-width: 820px; color: var(--ink); }
.hs-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: #f4f7fb; color: #67778f; }
.hs-field input, .hs-field select { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1rem; color: #0b1b33; padding: 14px 0; outline: none; }
.hs-field select { cursor: pointer; }
.hsearch .btn { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .9rem; color: #b9c9dd; }
.popular a { color: #fff; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.popular a:hover { background: rgba(255, 255, 255, .2); text-decoration: none; }
.hstats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 46px 0 0; max-width: 820px; }
.hstats li { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.hstats b { display: block; font-size: 1.9rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.hstats span { font-size: .86rem; color: #c3d2e4; }
@media (max-width: 760px) {
  .hero-in { padding: 56px 16px 48px; }
  .hsearch { grid-template-columns: 1fr; }
  .hstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* bands and section heads */
.band { padding: 64px 0; }
.band-soft { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.band-dark .shead h2, .band-dark h3 { color: #fff; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.shead h2 { font-size: clamp(1.45rem, 1vw + 1.1rem, 2rem); line-height: 1.25; letter-spacing: -.02em; margin: 0; }
.shead p { margin: 6px 0 0; color: var(--muted); max-width: 48rem; }
.band-dark .shead p { color: #b9c9dd; }
.home-answer { margin: 0; }

/* answer block (AEO) */
.answer { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--r); padding: 18px 22px; font-size: 1.07rem; color: var(--ink); box-shadow: var(--sh-1); }

/* specialty tiles */
.stiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.stile { position: relative; padding-right: 40px !important; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--ink); text-decoration: none !important; transition: transform .18s, box-shadow .18s, border-color .18s; }
.stile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--c2) 40%, var(--line)); }
.stile-ic { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px color-mix(in srgb, var(--c2) 35%, transparent); }
.stile-name { font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.stile-count { color: var(--muted); font-size: .9rem; }
.stile-arrow { position: absolute; right: 18px; top: 22px; color: var(--muted); }

/* city cards */
.citycards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.citycard { position: relative; display: block; height: 300px; border-radius: var(--r-lg); overflow: hidden; color: #fff; box-shadow: var(--sh-2); isolation: isolate; text-decoration: none !important; }
.citycard .skyline { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; transition: transform .6s ease; }
.citycard:hover .skyline { transform: scale(1.04); }
.citycard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 14, 30, 0) 35%, rgba(5, 14, 30, .55) 62%, rgba(5, 14, 30, .9)); }
.citycard-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.citycard h3 { font-size: 1.9rem; margin: 0; letter-spacing: -.02em; }
.citycard p { margin: 2px 0 10px; color: #d6e2f1; }
.citycard .link-arrow { color: #fff; }

/* clinic cards */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform .18s, box-shadow .18s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.ccard-media { position: relative; display: block; aspect-ratio: 16 / 8.2; overflow: hidden; }
.cover { position: absolute; inset: 0; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.cover svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-ic { position: absolute; right: -14px; bottom: -26px; color: #fff; opacity: .26; transform: rotate(-8deg); }
.cover-mono { position: absolute; left: 16px; bottom: 14px; min-width: 52px; height: 52px; padding: 0 12px; display: grid; place-items: center; border-radius: 14px; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.chip-spec { position: absolute; left: 14px; top: 14px; color: #fff; background: rgba(8, 18, 36, .35); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.ccard-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 18px; flex: 1; }
.ccard-title { margin: 0; font-size: 1.16rem; line-height: 1.3; letter-spacing: -.01em; }
.ccard-title a { color: var(--ink); }
.ccard-ko { margin: -8px 0 0; color: var(--muted); font-size: .9rem; }
.ccard-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; color: var(--ink-2); }
.ccard-meta li { display: flex; gap: 8px; align-items: flex-start; }
.ccard-meta .ic { margin-top: 3px; color: var(--brand); }
.ccard-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; color: var(--ink-2); }
.ccard-stats span { display: inline-flex; align-items: center; gap: 6px; }
.ccard-stats .ic { color: var(--muted); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.tags li.more { background: transparent; border: 1px dashed var(--line); }
.ccard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .88rem; }
.verified-mini { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }

/* treatment tiles */
.ttiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ttile { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--ink); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.ttile:hover { transform: translateY(-2px); border-color: var(--brand); }
.ttile-name { font-weight: 800; }
.ttile-count { font-size: .85rem; color: var(--muted); }
.ttile-price { font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.ttile-price small, .ptile-price small { font-weight: 600; color: var(--muted); font-size: .78rem; margin: 0 4px; }

/* maps */
.mapbox { margin-bottom: 26px; }
.js-map { height: 420px; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #dfe9f3, #eef4f9); border: 1px solid var(--line); z-index: 0; }
.map-lg .js-map { height: 480px; }
.map-sm .js-map { height: 210px; border-radius: 14px; }
.map-sm { margin-bottom: 10px; }
.mapnote { font-size: .75rem; color: var(--muted); margin: 6px 2px 0; }
.mpin span { display: block; width: 26px; height: 26px; margin: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pc); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.leaflet-popup-content { font-family: var(--font); }

/* how we verify */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: how; }
.how li { position: relative; padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.how-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #14b8a6, #0e5b8a); color: #fff; margin-bottom: 14px; }
.how h3 { margin: 0 0 6px; font-size: 1.12rem; }
.how p { margin: 0; color: #c3d2e4; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 38px; border-radius: var(--r-lg); background: radial-gradient(600px 200px at 0% 0%, rgba(20, 184, 166, .25), transparent), linear-gradient(135deg, #0f3d5c, #0b1b33); color: #fff; box-shadow: var(--sh-2); }
.cta h2 { margin: 0 0 6px; font-size: 1.5rem; }
.cta p { margin: 0; color: #c8d6e8; max-width: 44rem; }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; padding: 26px; } }

/* page hero (hubs, search, about) */
.phero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(140deg, var(--navy), #123a5c); isolation: isolate; }
.phero-art { position: absolute; inset: 0; z-index: -2; }
.phero-art .skyline { width: 100%; height: 100%; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 40, .82) 0%, rgba(8, 20, 40, .55) 55%, rgba(8, 20, 40, .2) 100%); }
.phero-in { padding: 34px 20px 46px; }
.phero h1 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem); line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 16px; max-width: 24ch; }
.phero .lead.answer { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-left: 5px solid #5eead4; color: #eef5fb; box-shadow: none; max-width: 52rem; backdrop-filter: blur(6px); }
.phero .kicker { margin-bottom: 4px; }
.spec-art { position: absolute; inset: 0; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.spec-art-ic { position: absolute; right: 4%; top: 50%; transform: translateY(-50%) rotate(-8deg); color: #fff; opacity: .16; }
.trt-art { position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 30%, rgba(94, 234, 212, .35), transparent 70%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px), linear-gradient(135deg, #0b3a4a, #0e7c86); }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; opacity: .45; }
.phero .crumbs, .lhero .crumbs { color: #c7d4e6; }
.phero .crumbs a, .lhero .crumbs a { color: #e6eef8; }

/* listing hero */
.lhero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.lhero-bg { position: absolute; inset: 0; z-index: -2; opacity: .55; }
.lhero-bg .cover { position: absolute; inset: 0; }
.lhero-bg .cover-ic { right: 6%; bottom: -60px; width: 340px; height: 340px; opacity: .18; }
.lhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 14, 30, .78), rgba(6, 14, 30, .35) 70%, rgba(6, 14, 30, .15)); }
.lhero-in { padding: 30px 20px 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(6px); }
.badge-ok { background: rgba(16, 185, 129, .22); border-color: rgba(110, 231, 183, .5); }
.lhero h1 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 4px; max-width: 30ch; }
.lhero-ko { margin: 0 0 18px; color: #dbe6f3; font-size: 1.05rem; }
.kstats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
.kstats li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.kstats .ic { margin-top: 2px; opacity: .9; }
.kstats b { display: block; font-size: 1.02rem; line-height: 1.35; }
.kstats span { font-size: .8rem; color: #d6e2f1; }
@media (max-width: 860px) { .kstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sticky section tabs */
.tabs { position: sticky; top: var(--hdr); z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tabs ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; padding: 14px 14px 12px; color: var(--muted); font-weight: 700; font-size: .92rem; white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* listing layout */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 30px; padding-bottom: 40px; align-items: start; }
@media (max-width: 1020px) { .lgrid { grid-template-columns: 1fr; } }
main { min-width: 0; }
.listing > .answer { margin: 0 0 22px; }
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; margin-bottom: 20px; box-shadow: var(--sh-1); }
@media (max-width: 600px) { .sec { padding: 20px 16px; border-radius: 18px; } }
.sec > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 16px; }
.sec > h2::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), #5eead4); flex: none; }
.sec h3 { font-size: 1.08rem; margin: 22px 0 6px; }
.sec p, .sec ul, .sec ol { margin: 0 0 12px; }
.sec ul, .sec ol { padding-left: 1.2em; }
.sec li { margin: 4px 0; }
.sec-faq h3 { position: relative; margin: 16px 0 0; padding: 16px 18px 6px 50px; background: var(--surface-2); border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; font-size: 1.02rem; }
.sec-faq h3::before { content: "Q"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; background: var(--brand); }
.sec-faq h3 + p { margin: 0; padding: 4px 18px 16px 50px; background: var(--surface-2); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; color: var(--ink-2); }
.sec-sources { background: var(--surface-2); font-size: .94rem; }
.listed-in { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.listed-in a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .9rem; }
.editorial { font-size: .92rem; padding: 12px 16px; border-radius: 12px; background: var(--soft); }
.editorial.unknown { background: var(--soft); color: var(--ink-2); }
code { font-size: .85em; background: var(--soft); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; word-break: break-all; }
article a { overflow-wrap: anywhere; }
.verified { font-size: .88rem; color: var(--muted); }
.note { font-size: .9rem; color: var(--muted); }
.ko { color: var(--muted); font-weight: 400; font-size: .88em; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
tr:last-child > * { border-bottom: 0; }
thead th { background: var(--surface-2); font-weight: 700; font-size: .82rem; color: var(--muted); white-space: nowrap; letter-spacing: .01em; }
tbody tr:hover { background: color-mix(in srgb, var(--brand-50) 50%, transparent); }
table.facts thead { display: none; }
table.facts th[scope="row"] { width: 32%; color: var(--muted); font-weight: 700; background: var(--surface-2); }
table.prices, table.compare { min-width: 720px; }
.sec table.prices { min-width: 620px; font-size: .9rem; }
.sec table.prices th, .sec table.prices td { padding: 10px 11px; }
table.prices td:not(:first-child), table.prices th:not(:first-child) { white-space: nowrap; }
table.prices td:first-child, table.prices th[scope="row"] { min-width: 11em; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.compare th[scope="row"] .ko { display: block; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill-event { background: #fff1e6; color: #c2410c; }

/* sidebar cards */
.side { display: grid; gap: 16px; }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.scard-soft { background: var(--surface-2); }
.scard-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 1.02rem; }
.scard-title .ic { color: var(--brand); }
.scard p { margin: 0 0 10px; font-size: .93rem; color: var(--ink-2); }
.scard-line { display: flex; gap: 8px; align-items: flex-start; }
.scard-line .ic { margin-top: 3px; color: var(--brand); }
.actions { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.taxi { border-top: 1px dashed var(--line); padding-top: 12px; }
.label { font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 4px !important; text-transform: uppercase; letter-spacing: .05em; }
html[lang="ko"] .label, html[lang="ja"] .label, html[lang="zh-Hant-TW"] .label, html[lang="zh-Hans-CN"] .label { text-transform: none; letter-spacing: 0; }
.addr-ko { font-weight: 600; color: var(--ink) !important; }
.copy { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .84rem; font-weight: 600; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.copy:hover { border-color: var(--brand); color: var(--brand); }
.hours { font-size: .92rem; }
.hours th { width: 46%; font-weight: 600; color: var(--ink-2); padding: 8px 0; }
.hours td { text-align: right; padding: 8px 0; font-variant-numeric: tabular-nums; }
.hours tbody tr:hover { background: none; }
.closed { color: #c2410c; font-weight: 700; }
.maplinks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; font-weight: 600; margin: 0 !important; }

/* filters (hubs) */
.filters { display: grid; gap: 10px; margin: -6px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbtn { font: inherit; font-size: .88rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.chipbtn[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* price tiles (treatment hubs) */
.ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.ptile { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--ink); text-decoration: none !important; }
.ptile:hover { border-color: var(--brand); }
.ptile-name { font-weight: 800; font-size: 1.05rem; }
.ptile-place { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .85rem; }
.ptile-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); margin-top: 6px; }
.ptile-price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.ptile-fx { font-size: .85rem; color: var(--muted); }
.ptile-item { font-size: .84rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 6px; }
.note-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); margin-bottom: 26px; }
.note-card .ic { color: var(--brand); margin-top: 3px; }
.note-card h2 { font-size: 1.1rem; margin: 0 0 6px; }
.note-card p { margin: 0 0 6px; }

/* search page */
.sgrid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.sfilters { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select { font: inherit; font-weight: 500; font-size: .95rem; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.rcount { font-weight: 800; font-size: 1.1rem; margin: 0 0 14px; }
.empty { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }
@media (max-width: 900px) { .sgrid { grid-template-columns: 1fr; } .sfilters { position: static; } }

/* about */
.about h2 { font-size: 1.35rem; margin: 28px 0 10px; }
.about { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 32px; box-shadow: var(--sh-1); }

/* ads: collapsed until switched on; never inside <main> */
.ad-slot[hidden] { display: none !important; }
.ad-label { font-size: .7rem; color: var(--muted); }

/* footer */
.site-footer { background: #07111f; color: #aebccf; padding: 56px 0 28px; margin-top: 0; }
.fgrid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 28px; }
.fbrand p { color: #93a3b8; font-size: .92rem; margin: 14px 0 0; max-width: 30rem; }
.fnote { color: #f0b552 !important; font-size: .82rem !important; }
.fcol h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 12px; }
html[lang="ko"] .fcol h2, html[lang="ja"] .fcol h2, html[lang="zh-Hant-TW"] .fcol h2, html[lang="zh-Hans-CN"] .fcol h2 { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.fcol a { color: #c4d0de; }
.fcol a:hover { color: #fff; }
.fbottom { border-top: 1px solid #1a2a40; margin-top: 36px; padding-top: 20px; font-size: .84rem; color: #8193a8; }
.fbottom p { margin: 0 0 6px; }
.flangs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.flangs a { color: #c4d0de; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }

/* root language chooser */
.page-root { min-height: 100vh; display: grid; place-items: center; background: #06303f; color: #fff; position: relative; isolation: isolate; padding: 24px 16px; }
.root-art { position: fixed; inset: 0; z-index: -1; }
.root-art .skyline { width: 100%; height: 100%; }
.chooser { width: 100%; max-width: 520px; padding: 28px; border-radius: 24px; background: rgba(6, 18, 34, .6); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); box-shadow: var(--sh-3); }
.chooser p { color: #c9d6e6; }
.chooser ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.chooser li a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.chooser li a .ic { grid-row: span 2; align-self: center; }
.chooser li a span { color: #b9c9dd; font-size: .88rem; }
.chooser li a:hover { background: rgba(255, 255, 255, .16); }
.chooser h1 { font-size: 3rem; margin: 0; }

/* clinics' own logos and photos (permission 2026-10-23) */
.ccard-media.has-photo { background: var(--soft); }
.ccard-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ccard:hover .ccard-media > img { transform: scale(1.04); }
.ccard-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 30, .32), rgba(6, 14, 30, 0) 34%, rgba(6, 14, 30, 0) 58%, rgba(6, 14, 30, .38)); }
.logo-box { display: inline-grid; place-items: center; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(6, 14, 30, .2); overflow: hidden; }
.logo-box img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-dark { background: #0b1b33; }
.ccard-logo { position: absolute; left: 14px; bottom: 12px; height: 46px; max-width: 62%; padding: 8px 12px; }
.ccard-logo img { max-height: 30px; }
.ccard-logo.logo-tall { width: 58px; height: 58px; padding: 6px; }
.ccard-logo.logo-tall img { max-height: 46px; }
.rend-tag { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(8, 18, 36, .66); backdrop-filter: blur(6px); }
.ccard-media .rend-tag { top: 14px; bottom: auto; right: 14px; }

.lhero.has-photo { background: #0b1b33; }
.lhero-photo { opacity: 1; }
.lhero-photo img { width: 100%; height: 100%; object-fit: cover; }
.lhero-soft img { filter: blur(10px) saturate(1.1); transform: scale(1.08); }
.lhero.has-photo::after { background: linear-gradient(90deg, rgba(6, 14, 30, .9), rgba(6, 14, 30, .66) 48%, rgba(6, 14, 30, .28)), linear-gradient(0deg, rgba(6, 14, 30, .5), rgba(6, 14, 30, 0) 50%); }
.lhero.has-photo .lhero-in { padding-top: 40px; padding-bottom: 44px; }
.lhero-head { display: flex; align-items: center; gap: 18px; }
.lhero-logo { flex: none; width: 96px; height: 96px; padding: 12px; border-radius: 22px; }
.lhero-logo.logo-wide { width: 196px; height: 84px; padding: 14px 18px; }
@media (max-width: 600px) { .lhero-head { flex-direction: column; align-items: flex-start; gap: 12px; } .lhero-logo { width: 62px; height: 62px; padding: 8px; border-radius: 14px; } .lhero-logo.logo-wide { width: 150px; height: 60px; padding: 10px 14px; } }

.gallery { margin: 0 0 22px; }
.gal { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 172px 172px; border-radius: var(--r-lg); overflow: hidden; }
.gal li { margin: 0; min-width: 0; }
.gal li:first-child { grid-row: span 2; }
.gal-1 { grid-template-columns: 1fr; grid-template-rows: 352px; }
.gal-1 li:first-child { grid-row: auto; }
.gal-2, .gal-3 { grid-template-columns: 2fr 1fr; }
.gal-2 li:nth-child(2) { grid-row: span 2; }
.gal-4 li:nth-child(4) { grid-column: span 2; }
.gal-item { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--soft); }
.gal-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gal-item:hover img { transform: scale(1.035); }
.gal-item:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.gal-more { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; color: #fff; background: rgba(6, 14, 30, .52); }
.gal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin: 10px 2px 0; font-size: .84rem; color: var(--muted); }
.gal-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.gal-all { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.gal-all:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 700px) {
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 6px; border-radius: 18px; }
  .gal::-webkit-scrollbar { display: none; }
  .gal li { flex: 0 0 86%; height: 232px; scroll-snap-align: start; }
  .gal-1 li { flex-basis: 100%; }
  .gal li[hidden] { display: none; }
}

.sec .docs { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 16px; }
.docs li { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .92rem; line-height: 1.35; }
.doc-ph { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--soft); margin-bottom: 6px; }
.doc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.docs li > span:not(.doc-ph) { color: var(--muted); font-size: .8rem; }

dialog.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff; background: rgba(4, 9, 20, .95); display: none; grid-template-rows: auto minmax(0, 1fr) auto; }
dialog.lb[open] { display: grid; }
dialog.lb::backdrop { background: rgba(4, 9, 20, .9); }
html:has(dialog.lb[open]) { overflow: hidden; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .9rem; color: #c7d4e6; }
.lb-fig { position: relative; margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 72px; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 8px; }
.lb-cap { margin: 0; padding: 12px 16px 20px; text-align: center; font-size: .95rem; color: #e6eef8; }
.lb-cap .rend-tag { position: static; display: inline-block; margin-left: 8px; }
.lb button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .2); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
@media (max-width: 600px) { .lb-fig { padding: 0 6px; } .lb-prev { left: 10px; } .lb-next { right: 10px; } .lb-prev, .lb-next { background: rgba(4, 9, 20, .55); } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .tabs, .side, .site-footer, .band-soft, .hero-art { display: none !important; } .sec { box-shadow: none; } }
