/* 서온치과의원 — site.css
   결: 흰 바탕 + 맑은 하늘·청록, 둥근 유리 카드, 병원 사이트의 빠른 정보 문법.
   글꼴: Pretendard(본문·제목) + Outfit(숫자·영문 작은 표제). */
:root {
  --ink: #0e1c26;
  --ink-2: #2f404c;
  --mute: #5d6d79;
  --mute-2: #8a99a4;
  --line: #e1e9ee;
  --line-2: #eef3f6;
  --white: #ffffff;
  --ice: #f3f8fb;
  --sky: #e2f2f9;
  --sky-2: #c6e6f4;
  --sky-3: #8fcfe9;
  --aqua: #14a8b2;
  --aqua-d: #08757f;
  --aqua-l: #d7f2f2;
  --navy: #0d2433;
  --warm: #f6f1ea;
  --alert: #d8553f;
  --glass: rgba(255, 255, 255, .66);
  --shadow: 0 18px 50px -24px rgba(13, 46, 66, .28);
  --shadow-s: 0 8px 24px -14px rgba(13, 46, 66, .3);
  --r-xl: 36px;
  --r-l: 26px;
  --r-m: 18px;
  --r-s: 12px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --num: "Outfit", "Pretendard Variable", Pretendard, sans-serif;
  --pad: clamp(20px, 4.6vw, 64px);
  --max: 1320px;
  --hd-h: 76px;
  --karis-site-header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.7; letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: calc(var(--karis-bar-h, 0px) + 8px); z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.num { font-family: var(--num); letter-spacing: 0; font-feature-settings: "tnum"; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--num); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua-d); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec.tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec.ice { background: var(--ice); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.split { grid-template-columns: 1fr auto; align-items: end; }
.sec-title { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.28; font-weight: 700; letter-spacing: -.035em; }
.sec-lead { color: var(--mute); font-size: clamp(15px, 1.2vw, 17px); max-width: 40em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; }

/* ---------------------------------------------------------- 단추 */
.btn { --bg: var(--aqua-d); --fg: #fff; --fill: var(--navy); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; border: 0; white-space: nowrap; transition: color .35s var(--ease), box-shadow .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn .ar { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn.line { --bg: transparent; --fg: var(--ink); --fill: var(--sky); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--sky-2); }
.btn.white { --bg: #fff; --fg: var(--ink); --fill: var(--sky); }
.btn.sm { height: 44px; padding: 0 18px; font-size: 15px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aqua-d); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.tlink:hover { background-size: 100% 1.5px; }
.tlink .ar { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tlink:hover .ar { transform: translateX(4px); }
.karis-link-off { cursor: default; }

/* ---------------------------------------------------------- 머리줄 */
.hd { position: fixed; z-index: 900; left: 0; right: 0; top: var(--karis-bar-h, 0px); height: var(--hd-h); transition: transform .5s var(--ease), background-color .35s, box-shadow .35s; }
.hd::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); opacity: 0; transition: opacity .35s; }
.hd.is-solid::before, body.no-hero .hd::before { opacity: 1; }
.hd.is-solid { box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-110%); }
.hd-in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo svg { width: 36px; height: 36px; }
.logo-t { display: grid; line-height: 1.12; }
.logo-t b { font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.logo-t small { font-family: var(--num); font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--mute); }
.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: clamp(14px, 1.7vw, 30px); }
.gnb a { position: relative; display: block; padding: 8px 2px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.gnb a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--aqua); transform: scale(0); transition: transform .35s var(--ease); }
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--ink); }
.gnb a:hover::after, .gnb a[aria-current="page"]::after { transform: scale(1); }
.hd-act { display: flex; align-items: center; gap: 12px; flex: none; }
.hd-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--num); font-weight: 600; font-size: 16px; color: var(--ink); }
.hd-tel svg { width: 18px; height: 18px; color: var(--aqua-d); }
.nav-tg { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ice); }
.nav-tg i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-tg i:nth-child(1) { top: 18px; }
.nav-tg i:nth-child(2) { top: 26px; }
body.nav-open .nav-tg i:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-tg i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* 지금 진료 상태(머리줄·첫 화면·진료시간표가 같이 씀) */
.now-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--ice); color: var(--ink-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.now-pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mute-2); }
.is-open .dot, .now-pill.is-open .dot { background: #19b46b; }
.is-open .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #19b46b; opacity: 0; animation: ping 2.2s var(--ease) infinite; }
.is-lunch .dot { background: #e5a12a; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* 좁은 화면 메뉴 */
.m-nav { position: fixed; z-index: 880; left: 0; right: 0; top: var(--karis-bar-h, 0px); height: calc(100dvh - var(--karis-bar-h, 0px)); padding: calc(var(--hd-h) + 10px) var(--pad) 28px; background: rgba(243, 248, 251, .86); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); display: flex; flex-direction: column; gap: 22px; overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0 round 0 0 40px 40px); transition: clip-path .6s var(--ease), visibility 0s .6s; }
body.nav-open .m-nav { visibility: visible; clip-path: inset(0 0 0 0 round 0); transition: clip-path .6s var(--ease); }
.m-nav ul { display: grid; }
.m-nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.m-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; transform: translateY(110%); transition: transform .6s var(--ease); }
.m-nav li a small { font-family: var(--num); font-size: 12px; color: var(--mute-2); font-weight: 500; letter-spacing: .12em; }
body.nav-open .m-nav li a { transform: none; }
body.nav-open .m-nav li:nth-child(2) a { transition-delay: .04s; } body.nav-open .m-nav li:nth-child(3) a { transition-delay: .08s; }
body.nav-open .m-nav li:nth-child(4) a { transition-delay: .12s; } body.nav-open .m-nav li:nth-child(5) a { transition-delay: .16s; }
body.nav-open .m-nav li:nth-child(6) a { transition-delay: .2s; } body.nav-open .m-nav li:nth-child(7) a { transition-delay: .24s; }
body.nav-open .m-nav li:nth-child(8) a { transition-delay: .28s; } body.nav-open .m-nav li:nth-child(9) a { transition-delay: .32s; }
.m-nav .m-foot { margin-top: auto; display: grid; gap: 12px; opacity: 0; transform: translateY(14px); transition: opacity .5s .3s, transform .5s .3s var(--ease); }
body.nav-open .m-nav .m-foot { opacity: 1; transform: none; }
.m-nav .m-hours { font-size: 14px; color: var(--mute); display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.m-nav .m-hours b { color: var(--ink); font-weight: 600; }
.m-nav .btn { justify-content: center; }

/* 공지 띠 (첫 화면 위쪽 알약) */
.notice { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 18px 6px 6px; margin-bottom: clamp(18px, 2.4vw, 30px); background: var(--navy); color: #dcebf3; border-radius: 999px; font-size: 14px; width: max-content; max-width: 100%; }
.notice > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.notice .tag { flex: none; font-family: var(--num); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--navy); background: var(--sky-3); padding: 5px 11px; border-radius: 999px; }
.notice a { flex: none; color: #fff; font-weight: 600; font-size: 13.5px; margin-left: 8px; }
/* ---------------------------------------------------------- 첫 화면 */
.hero { position: relative; padding: calc(var(--karis-bar-h, 0px) + var(--hd-h) + clamp(14px, 2vw, 28px)) 0 clamp(56px, 5vw, 76px); background: linear-gradient(180deg, var(--ice) 0%, #fff 78%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -22vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(143, 207, 233, .45), rgba(143, 207, 233, 0) 64%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; padding: 8px 0 64px; }
.hero-loc { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero-loc .pin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-s); color: var(--aqua-d); }
.hero-loc .pin svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(36px, 4.1vw, 64px); line-height: 1.16; font-weight: 700; letter-spacing: -.045em; }
.hero h1 .ac { color: var(--aqua-d); }
.hero-sub { font-size: clamp(15.5px, 1.25vw, 18px); color: var(--ink-2); max-width: 31em; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; color: var(--aqua-d); }
.hero-media { position: relative; height: clamp(400px, 58vh, 620px); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 120px; overflow: hidden; background: var(--sky); isolation: isolate; }
.hero-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frost { position: absolute; inset: -2px; z-index: 1; pointer-events: none; --w: 140%; background: rgba(236, 246, 251, .42); -webkit-backdrop-filter: blur(26px) saturate(1.15); backdrop-filter: blur(26px) saturate(1.15); -webkit-mask-image: linear-gradient(100deg, transparent calc(var(--w) - 22%), #000 var(--w)); mask-image: linear-gradient(100deg, transparent calc(var(--w) - 22%), #000 var(--w)); }
.sweep { position: absolute; z-index: 2; top: -10%; bottom: -10%; width: 22%; left: calc(var(--w, 140%) - 22%); pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0)); mix-blend-mode: soft-light; opacity: 0; }
.today-card { position: absolute; z-index: 3; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); width: min(330px, calc(100% - 28px)); padding: 20px 22px; border-radius: var(--r-l); background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow); display: grid; gap: 10px; }
.today-card .k { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--mute); }
.today-card > .t { font-family: var(--num); font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.today-card .s { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.today-card .bar { position: relative; height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.today-card .bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; background: linear-gradient(90deg, var(--sky-3), var(--aqua)); width: var(--p, 0%); transition: width 1.2s var(--ease); }

/* 빠른 안내 (상호로 찾아온 분이 먼저 찾는 것) */
.quick { position: relative; z-index: 4; margin-top: clamp(-60px, -4.2vw, -40px); }
.quick ul { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow); overflow: hidden; }
.quick li + li { border-left: 1px solid var(--line-2); }
.quick a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 22px 24px; height: 100%; position: relative; transition: background-color .35s; }
.quick a:hover { background: var(--ice); }
.quick .ic { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--aqua-d); transition: rotate .45s var(--ease), translate .45s var(--ease), background-color .35s; }
.quick a:hover .ic { translate: 0 -3px; rotate: -6deg; background: var(--aqua-l); }
.quick .ic svg { width: 22px; height: 22px; }
.quick .k { font-size: 13px; color: var(--mute); font-weight: 600; }
.quick .v { font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.quick .v.num { font-size: 17px; }

/* ---------------------------------------------------------- 진료시간표 (업종 대표 화면 1) */
.hours { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hours-side { display: grid; gap: 22px; position: sticky; top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 24px); }
.hours-notes { display: grid; gap: 12px; margin-top: 6px; }
.hours-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hours-notes svg { width: 18px; height: 18px; margin-top: 4px; color: var(--aqua-d); }
.tt { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 40px); }
.tt-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.tt-top h3 { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.tt-status { font-size: 14px; }
.tt-axis, .tt-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 132px; gap: 16px; align-items: center; }
.tt-axis { font-family: var(--num); font-size: 12px; color: var(--mute-2); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.tt-axis .sc { position: relative; height: 18px; }
.tt-axis .sc span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tt-rows { display: grid; }
.tt-row { position: relative; padding: 13px 0; border-bottom: 1px solid var(--line-2); transition: background-color .3s; }
.tt-row:last-child { border-bottom: 0; }
.tt-d { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.tt-d small { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--aqua-d); padding: 1px 6px; border-radius: 6px; letter-spacing: 0; opacity: 0; scale: .6; transition: opacity .35s, scale .45s var(--ease); }
.tt-row.is-today .tt-d small { opacity: 1; scale: 1; }
.tt-bar { position: relative; height: 26px; border-radius: 9px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 12)); }
.tt-bar .seg { position: absolute; top: 3px; bottom: 3px; border-radius: 7px; background: var(--sky-2); transform-origin: left center; }
.tt-bar .seg.night { background: linear-gradient(90deg, var(--sky-2), #6f9fd8); }
.tt-bar .seg.lunch { background: repeating-linear-gradient(135deg, #f3e3c4 0 5px, #faf0dc 5px 10px); }
.tt-row.is-today .seg { background: var(--aqua); }
.tt-row.is-today .seg.night { background: linear-gradient(90deg, var(--aqua), #3f7fcf); }
.tt-row.is-today .seg.lunch { background: repeating-linear-gradient(135deg, #f0d9a8 0 5px, #faefd6 5px 10px); }
.tt-row.is-off .tt-bar::after { content: "휴진"; position: absolute; inset: 3px; border-radius: 7px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--mute); background: repeating-linear-gradient(135deg, var(--line-2) 0 6px, #fff 6px 12px); }
.tt-t { font-family: var(--num); font-size: 15.5px; font-weight: 500; text-align: right; color: var(--ink-2); }
.tt-row.is-today { background: linear-gradient(90deg, rgba(215, 242, 242, .0), rgba(215, 242, 242, .65) 18%, rgba(215, 242, 242, .65) 82%, rgba(215, 242, 242, 0)); }
.tt-row.is-today .tt-t { color: var(--ink); font-weight: 600; }
.tt-now { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--alert); border-radius: 2px; pointer-events: none; }
.tt-now::before { content: attr(data-t); position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -2px); font-family: var(--num); font-size: 11px; font-weight: 600; color: #fff; background: var(--alert); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.tt-tag { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.tt-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 13px; color: var(--mute); }
.tt-legend i { display: inline-block; width: 18px; height: 10px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--sky-2); }
.tt-legend i.n { background: linear-gradient(90deg, var(--sky-2), #6f9fd8); }
.tt-legend i.l { background: repeating-linear-gradient(135deg, #f3e3c4 0 4px, #faf0dc 4px 8px); }
.tt-foot { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--mute); }
.tt-foot b { color: var(--ink); }

/* ---------------------------------------------------------- 진료과목 (가로 흐름) */
.tx { overflow: hidden; background: var(--navy); color: #fff; padding: clamp(64px, 7vw, 104px) 0; }
.tx .sec-title { color: #fff; }
.tx .sec-lead { color: #a9c3d2; }
.tx .eyebrow { color: var(--sky-3); }
.tx-viewport { position: relative; }
.tx-track { display: flex; gap: 22px; padding: 0 var(--pad); width: max-content; counter-reset: tx; }
.tx-card { counter-increment: tx; position: relative; flex: none; width: clamp(280px, 25vw, 360px); border-radius: var(--r-l); overflow: hidden; background: #13344a; display: grid; grid-template-rows: auto 1fr; transition: translate .5s var(--ease), background-color .4s; }
.tx-card:hover { background: #18405a; translate: 0 -6px; }
.tx-card figure { position: relative; aspect-ratio: 4 / 2.9; overflow: hidden; }
.tx-card figure img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale .9s var(--ease); }
.tx-card:hover figure img { scale: 1.18; }
.tx-card figure::after { content: counter(tx, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font-family: var(--num); font-size: 14px; font-weight: 600; color: #fff; background: rgba(13, 36, 51, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 3px 10px; border-radius: 999px; }
.tx-body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.tx-body .en { font-family: var(--num); font-size: 12px; letter-spacing: .16em; color: var(--sky-3); font-weight: 500; }
.tx-body h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.tx-body p { font-size: 14.5px; color: #b9cfdb; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tx-body .more { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.tx-body .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tx-card:hover .more svg { transform: translateX(4px); }
.tx-card.karis-link-off .more, .karis-tier-link-off .more { display: none; }
.tx-progress { margin: 34px var(--pad) 0; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; max-width: calc(var(--max) - 2 * var(--pad)); }
.tx-progress i { display: block; height: 100%; width: 100%; background: var(--sky-3); transform-origin: left; transform: scaleX(0); }

/* ---------------------------------------------------------- 진료 원칙 (겹쳐 쌓이는 카드) */
.promise-list { display: grid; gap: 18px; }
.promise { position: sticky; top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 28px); display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(26px, 3.2vw, 44px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); transform-origin: center top; }
.promise:nth-child(2) { top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 44px); background: #fbfdfe; }
.promise:nth-child(3) { top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 60px); background: var(--ice); }
.promise:nth-child(4) { top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 76px); background: var(--sky); }
.promise .no { font-family: var(--num); font-size: clamp(44px, 5vw, 72px); font-weight: 300; color: var(--aqua); line-height: 1; }
.promise h3 { font-size: clamp(21px, 2.1vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.promise p { color: var(--ink-2); font-size: 15.5px; }

/* 낱말 단위로 밝아지는 문장 */
.statement { font-size: clamp(24px, 3.1vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.45; max-width: 22em; }
.statement .w { display: inline-block; transition: color .2s; }
.mo .statement .w { color: #c5d3dc; }

/* 숫자 */
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; margin-top: clamp(40px, 5vw, 70px); }
.fig { background: #fff; padding: clamp(22px, 3vw, 38px); display: grid; gap: 6px; }
.fig .v { font-family: var(--num); font-size: clamp(40px, 4.6vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.fig .v small { font-family: var(--sans); font-size: .34em; font-weight: 600; margin-left: 4px; color: var(--mute); letter-spacing: 0; }
.fig .k { font-size: 14.5px; color: var(--mute); font-weight: 600; }

/* ---------------------------------------------------------- 둘러보기 */
.tour { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.tour figure { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--sky); }
.tour figure img { width: 100%; height: 100%; object-fit: cover; }
.tour figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; }
.tour .t1 { grid-column: 1 / 8; aspect-ratio: 16 / 10.4; }
.tour .t2 { grid-column: 8 / 13; aspect-ratio: auto; }
.tour .t3 { grid-column: 1 / 5; aspect-ratio: 4 / 3.6; }
.tour .t4 { grid-column: 5 / 9; aspect-ratio: 4 / 3.6; }
.tour .t5 { grid-column: 9 / 13; aspect-ratio: 4 / 3.6; }
.open-img { clip-path: inset(0 round var(--r-l)); }

/* ---------------------------------------------------------- 소식 카드 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, translate .5s var(--ease); }
.news-card:hover { box-shadow: inset 0 0 0 1px var(--sky-2), var(--shadow); translate: 0 -5px; }
.news-card figure { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover img { transform: scale(1.05); }
.news-card .b { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.cat { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--sky); color: var(--aqua-d); font-size: 12.5px; font-weight: 700; }
.news-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.025em; line-height: 1.45; }
.news-card p { font-size: 14.5px; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[data-karis-empty] .empty-msg { display: block; }
.empty-msg { display: none; padding: 40px; text-align: center; color: var(--mute); }

/* 글 목록(줄) */
.post-list { border-top: 2px solid var(--ink); }
.post-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 120px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; transition: padding .4s var(--ease); }
.post-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ice); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.post-row:hover::before { transform: none; }
.post-row:hover { padding-left: 20px; }
.post-row h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.post-row p { font-size: 14px; color: var(--mute); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post-row time { font-family: var(--num); font-size: 14px; color: var(--mute); text-align: right; }

/* ---------------------------------------------------------- 하위 페이지 머리 */
.page-head { position: relative; padding: calc(var(--karis-bar-h, 0px) + var(--hd-h) + clamp(44px, 6vw, 90px)) 0 clamp(40px, 5vw, 70px); background: linear-gradient(180deg, var(--ice), #fff); overflow: hidden; }
.page-head::after { content: ""; position: absolute; width: 46vw; height: 46vw; right: -12vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(143, 207, 233, .4), rgba(143, 207, 233, 0) 64%); pointer-events: none; }
.crumb { display: flex; gap: 8px; font-size: 13.5px; color: var(--mute); margin-bottom: 18px; }
.crumb a:hover { color: var(--aqua-d); }
.crumb span::before { content: "/"; margin-right: 8px; color: var(--mute-2); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.2; font-weight: 700; letter-spacing: -.045em; }
.page-head p.lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 18px); max-width: 38em; }
.page-head .tabs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.page-head .tabs a { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background-color .3s, color .3s; }
.page-head .tabs a:hover { background: var(--sky); color: var(--ink); }
.head-band { position: relative; margin-top: clamp(36px, 5vw, 60px); height: clamp(220px, 34vw, 460px); border-radius: var(--r-xl); overflow: hidden; background: var(--sky); isolation: isolate; }
.head-band img { width: 100%; height: 118%; object-fit: cover; }

/* ---------------------------------------------------------- 소개·인사말 */
.greet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.greet figure { position: relative; border-radius: var(--r-xl) var(--r-xl) 120px var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sky); }
.greet figure img { width: 100%; height: 115%; object-fit: cover; }
.greet .txt { display: grid; gap: 20px; font-size: 16.5px; color: var(--ink-2); }
.greet .txt .quote { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; color: var(--ink); letter-spacing: -.035em; line-height: 1.45; }
.greet .sign { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; font-size: 15px; color: var(--mute); }
.greet .sign b { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.para p + p { margin-top: 1em; }

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat li { border-radius: var(--r-l); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 28px; display: grid; gap: 10px; align-content: start; transition: translate .5s var(--ease), box-shadow .4s; }
.feat li:hover { translate: 0 -5px; box-shadow: inset 0 0 0 1px var(--sky-2), var(--shadow); }
.feat .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--sky); color: var(--aqua-d); display: grid; place-items: center; margin-bottom: 6px; }
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.feat p { font-size: 15px; color: var(--mute); }

/* 의료진 */
.docs { display: grid; gap: clamp(60px, 8vw, 110px); }
.doc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.doc:nth-child(even) figure { order: 2; }
.doc figure { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--sky); }
.doc figure img { width: 100%; height: 112%; object-fit: cover; }
.doc .role { font-size: 14px; font-weight: 700; color: var(--aqua-d); }
.doc h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.04em; margin: 4px 0 18px; }
.doc h3 small { font-size: .46em; font-weight: 600; color: var(--mute); margin-left: 10px; letter-spacing: 0; }
.doc .focus { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.doc .focus span { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--sky); color: var(--aqua-d); font-size: 14px; font-weight: 600; }
.doc .say { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.55; letter-spacing: -.025em; color: var(--ink); margin-bottom: 16px; }
.doc .days { margin-top: 22px; display: flex; gap: 6px; }
.doc .days span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--line-2); color: var(--mute-2); }
.doc .days span.on { background: var(--navy); color: #fff; }
.docs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.docs-table th, .docs-table td { padding: 15px 10px; text-align: center; border-bottom: 1px solid var(--line-2); }
.docs-table thead th { background: var(--ice); font-weight: 700; font-size: 14px; }
.docs-table tbody th { text-align: left; padding-left: 22px; font-weight: 700; white-space: nowrap; }
.docs-table td .o { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); }
.docs-table td .h { font-size: 12.5px; color: var(--aqua-d); font-weight: 700; }
.docs-table tr:last-child th, .docs-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------- 진료과목 목록 페이지 */
.tx-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; counter-reset: tl; }
.tl-card { counter-increment: tl; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, translate .5s var(--ease); min-height: 270px; }
.tl-card:hover { box-shadow: inset 0 0 0 1px var(--sky-2), var(--shadow); translate: 0 -5px; }
.tl-card figure { overflow: hidden; background: var(--sky); }
.tl-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tl-card:hover figure img { transform: scale(1.06); }
.tl-card .b { padding: 26px 26px 28px; display: grid; gap: 8px; align-content: start; }
.tl-card .n { font-family: var(--num); color: var(--aqua); font-size: 14px; font-weight: 600; }
.tl-card .n::before { content: counter(tl, decimal-leading-zero); }
.tl-card .en { font-family: var(--num); font-size: 11.5px; letter-spacing: .16em; color: var(--mute-2); }
.tl-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.tl-card p { font-size: 14.5px; color: var(--mute); }
.tl-card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--aqua-d); display: inline-flex; gap: 6px; align-items: center; }
.tl-card .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tl-card:hover .more svg { transform: translateX(4px); }
.karis-link-off .more, .karis-tier-link-off .more { display: none; }

/* 진료 상세 */
.tx-detail-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.tx-detail-head .en { font-family: var(--num); font-size: 13px; letter-spacing: .18em; color: var(--aqua-d); font-weight: 600; }
.tx-hero { position: relative; margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.tx-hero figure { border-radius: var(--r-xl); overflow: hidden; background: var(--sky); aspect-ratio: 16 / 10.5; }
.tx-hero figure + figure { aspect-ratio: auto; }
.tx-hero img { width: 100%; height: 100%; object-fit: cover; }
.tx-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.rich { font-size: 16.5px; color: var(--ink-2); }
.rich h3 { font-size: 22px; color: var(--ink); font-weight: 700; letter-spacing: -.03em; margin: 1.6em 0 .6em; }
.rich h3:first-child { margin-top: 0; }
.rich p { margin-bottom: 1em; }
.rich ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.rich li { position: relative; padding-left: 20px; }
.rich li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.aside-card { position: sticky; top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 24px); border-radius: var(--r-l); background: var(--ice); padding: 28px; display: grid; gap: 18px; }
.aside-card h4 { font-size: 14px; color: var(--mute); font-weight: 700; margin-bottom: 4px; }
.aside-card .who { display: grid; gap: 8px; font-size: 15px; }
.aside-card .who p { display: grid; grid-template-columns: 22px 1fr; }
.aside-card .who p::before { content: "✓"; color: var(--aqua-d); font-weight: 700; }
.aside-card .period { font-size: 15px; font-weight: 600; }
.steps-mini { counter-reset: s; display: grid; gap: 10px; }
.steps-mini p { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; font-size: 15px; align-items: start; }
.steps-mini p::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--aqua-d); font-family: var(--num); font-size: 13px; font-weight: 600; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--sky-2); margin-top: 1px; }
.notice-box { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--mute); }
.other-tx { display: flex; flex-wrap: wrap; gap: 10px; }
.other-tx a { height: 46px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: background-color .3s, box-shadow .3s; }
.other-tx a:hover { background: var(--sky); box-shadow: inset 0 0 0 1px var(--sky-2); }

/* ---------------------------------------------------------- 비급여 진료비 (업종 대표 화면 2) */
.fee-board { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 40px); }
.fee-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--ice); width: max-content; max-width: 100%; margin-bottom: 26px; }
.fee-tabs button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border: 0; background: none; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--mute); transition: color .3s; }
.fee-tabs button[aria-selected="true"] { color: #fff; }
.fee-tabs .ink { position: absolute; z-index: 0; top: 5px; left: 0; height: 42px; border-radius: 999px; background: var(--navy); transition: transform .5s var(--ease), width .5s var(--ease); }
.fee-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fee-table thead th { position: sticky; top: 0; background: #fff; text-align: left; font-size: 13px; font-weight: 700; color: var(--mute); padding: 12px 14px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.fee-table thead th.r, .fee-table td.r { text-align: right; }
.fee-table td { padding: 16px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.fee-table tbody tr { transition: background-color .25s; }
.fee-table tbody tr:hover { background: var(--ice); }
.fee-table .g { font-size: 12.5px; font-weight: 700; color: var(--aqua-d); white-space: nowrap; }
.fee-table .nm { font-weight: 600; }
.fee-table .nm small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); margin-top: 2px; }
.fee-table .u { color: var(--mute); white-space: nowrap; }
.fee-table .p { font-family: var(--num); font-weight: 600; white-space: nowrap; font-size: 15.5px; }
.fee-table tr[hidden] { display: none; }
.fee-note { margin-top: 22px; display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.fee-note p { padding-left: 14px; position: relative; }
.fee-note p::before { content: "·"; position: absolute; left: 2px; }
.ins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ins li { border-radius: var(--r-l); background: #fff; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.ins .tag { justify-self: start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--aqua-l); color: var(--aqua-d); }
.ins h3 { font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.ins p { font-size: 14.5px; color: var(--mute); }

/* 금액대 낮을 때 오시는 길 쪽 비급여 요약 */
.fee-mini { width: 100%; border-collapse: collapse; font-size: 15px; }
.fee-mini th, .fee-mini td { padding: 13px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.fee-mini td.p { text-align: right; font-family: var(--num); font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------- 처음 오시는 분 단계 */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps svg.path { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.steps svg.path path { fill: none; stroke: var(--aqua); stroke-width: 2; stroke-dasharray: 5 7; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.steps .dot { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--sky-2), var(--shadow-s); font-family: var(--num); font-size: 20px; font-weight: 600; color: var(--aqua-d); position: relative; z-index: 1; }
.steps h3 { font-size: 18px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.steps p { font-size: 14.5px; color: var(--mute); }
.bring { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bring li { padding: 26px; border-radius: var(--r-l); background: var(--ice); display: grid; gap: 6px; }
.bring b { font-size: 17px; }
.bring span { font-size: 14.5px; color: var(--mute); }

/* 자주 묻는 질문 */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 10px; padding: 22px 4px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--num); font-size: 15px; font-weight: 600; color: var(--aqua-d); }
.faq summary .pm { position: relative; width: 22px; height: 22px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .a { padding: 0 4px 24px 54px; color: var(--ink-2); font-size: 15.5px; overflow: hidden; }

/* ---------------------------------------------------------- 오시는 길 */
.loc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #eef4f2; min-height: 420px; box-shadow: inset 0 0 0 1px var(--line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .route { fill: none; stroke: var(--aqua-d); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 0; }
.map .pin-g { transform-box: fill-box; transform-origin: 50% 100%; }
.map-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.loc-info { display: grid; gap: 14px; align-content: start; }
.loc-info .addr { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.03em; line-height: 1.45; }
.loc-row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.loc-row .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--sky); color: var(--aqua-d); display: grid; place-items: center; }
.loc-row .ic svg { width: 21px; height: 21px; }
.loc-row h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.loc-row p { font-size: 15px; color: var(--ink-2); }
.copied { position: fixed; z-index: 1500; left: 50%; bottom: 30px; transform: translate(-50%, 20px); opacity: 0; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.copied.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- 예약·상담 양식 */
.reserve { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.call-card { border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; position: sticky; top: calc(var(--karis-bar-h, 0px) + var(--hd-h) + 24px); overflow: hidden; }
.call-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 207, 233, .35), transparent 66%); }
.call-card .k { font-size: 14px; color: #a9c3d2; font-weight: 600; }
.call-card .tel { font-family: var(--num); font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.01em; }
.call-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; color: #d5e5ee; }
.call-card dt { color: #8fb0c3; }
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { position: relative; }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 0; border-radius: var(--r-m); box-shadow: inset 0 0 0 1.5px var(--line); padding: 26px 18px 10px; transition: box-shadow .3s; appearance: none; -webkit-appearance: none; }
.fld textarea { min-height: 150px; resize: vertical; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld label { position: absolute; left: 18px; top: 18px; font-size: 16px; color: var(--mute); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--aqua), 0 0 0 5px rgba(20, 168, 178, .14); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label, .fld select + label { transform: translateY(-10px) scale(.78); color: var(--aqua-d); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; width: 100%; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; height: 42px; padding: 0 17px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.pills input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.pills input:focus-visible + span { outline: 3px solid var(--aqua); 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: 3px; accent-color: var(--aqua-d); }
.form-done { display: none; text-align: center; padding: 50px 20px; border-radius: var(--r-xl); background: var(--ice); }
.form-done.on { display: grid; gap: 12px; justify-items: center; }
.form-done .ok { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--aqua-d); box-shadow: var(--shadow-s); }
.form-done .ok svg { width: 34px; height: 34px; }
.form-done .ok path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-done.on .ok path { animation: chk .8s .2s var(--ease) forwards; }
@keyframes chk { to { stroke-dashoffset: 0; } }
.form-done h3 { font-size: 22px; letter-spacing: -.03em; }
.form-done p { color: var(--mute); font-size: 15px; }

/* ---------------------------------------------------------- 마지막 권유 + 바닥 */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 30px; align-items: end; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .3; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 36, 51, .96) 30%, rgba(13, 36, 51, .55)); }
.cta h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }
.cta p { margin-top: 14px; color: #b7cdd9; font-size: 16px; }
.cta .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ft { background: #0a1a25; color: #9db3c1; padding: clamp(56px, 7vw, 90px) 0 40px; margin-top: clamp(80px, 10vw, 140px); font-size: 14px; }
.ft-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft .logo-t b { color: #fff; }
.ft .logo-t small { color: #7f97a6; }
.ft h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.ft-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.ft-hours dt { color: #7f97a6; }
.ft-hours dd { color: #e3edf2; font-family: var(--num); }
.ft-tel { font-family: var(--num); font-size: 28px; color: #fff; font-weight: 500; display: block; margin-bottom: 8px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 24px 0 14px; }
.ft-links a, .ft-links span { color: #c8d6de; font-weight: 600; }
.ft-links a:hover { color: #fff; }
.ft-legal { line-height: 1.9; font-size: 13px; color: #7f97a6; }
.ft-legal span + span::before { content: "|"; margin: 0 10px; color: #3a4d59; }

/* ---------------------------------------------------------- 페이지 전환 (서리 유리) */
.veil { position: fixed; z-index: 1600; inset: 0; pointer-events: none; visibility: hidden; display: grid; place-items: center; background: rgba(240, 248, 251, .55); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); clip-path: inset(100% 0 0 0); }
.veil .vm { display: grid; justify-items: center; gap: 14px; opacity: 0; }
.veil .vm svg { width: 58px; height: 58px; }
.veil .vm b { font-size: 17px; letter-spacing: -.03em; }
.veil .vl { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sky-3), var(--aqua)); transform-origin: left; transform: scaleX(0); }
html.veil-in .veil { visibility: visible; clip-path: inset(0 0 0 0); }
html.veil-in .veil .vm { opacity: 1; }

/* 처음 상태(연출이 켜진 경우에만): 등장 전 감춤 */
.mo [data-rv] { opacity: 0; }

/* ---------------------------------------------------------- 반응형 */
@media (max-width: 1360px) { .hd-tel { display: none; } }
@media (max-width: 1180px) {
  .gnb { display: none; }
  .nav-tg { display: block; }
  .hd-act { margin-left: auto; }
  .quick ul { grid-template-columns: repeat(3, 1fr); }
  .quick li:nth-child(4) { border-left: 0; }
  .quick li:nth-child(n+4) { border-top: 1px solid var(--line-2); }
  .ins { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --hd-h: 66px; --karis-site-header-h: 66px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4px 0 0; gap: 20px; }
  .hero-media { height: clamp(320px, 62vw, 520px); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 80px; }
  .quick { margin-top: 18px; }
  .hours, .greet, .doc, .tx-cols, .reserve, .loc, .tx-detail-head { grid-template-columns: 1fr; }
  .hours-side, .aside-card, .call-card { position: static; }
  .doc:nth-child(even) figure { order: 0; }
  .doc figure { aspect-ratio: 16 / 11; }
  .promise { grid-template-columns: 1fr; gap: 10px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr 1fr; }
  .tx-list { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .steps svg.path { display: none; }
  .steps li { grid-template-columns: 62px 1fr; column-gap: 18px; }
  .steps li .dot { grid-row: 1 / 4; }
  .steps li::before { content: ""; position: absolute; left: 30px; top: 66px; bottom: -26px; width: 2px; background: repeating-linear-gradient(var(--sky-2) 0 5px, transparent 5px 11px); }
  .steps li:last-child::before { display: none; }
  .steps h3 { margin-top: 0; }
  .bring { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .tour .t1 { grid-column: 1 / 13; }
  .tour .t2 { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
  .tour .t3 { grid-column: 7 / 13; aspect-ratio: 4 / 5; }
  .tour .t4, .tour .t5 { grid-column: span 6; }
  .tx-hero { grid-template-columns: 1fr; }
  .tx-hero figure + figure { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 44px); }
  .hero-chips .chip:nth-child(n+3) { display: none; }
  .hero-cta .btn { flex: 1; justify-content: center; padding: 0 16px; }
  .quick ul { grid-template-columns: 1fr 1fr; }
  .quick li { border-left: 0 !important; border-top: 1px solid var(--line-2); }
  .quick li:nth-child(-n+2) { border-top: 0; }
  .quick li:nth-child(even) { border-left: 1px solid var(--line-2) !important; }
  .quick li:last-child { grid-column: 1 / -1; }
  .quick a { padding: 16px; column-gap: 10px; grid-template-columns: auto 1fr; }
  .quick .ic { width: 38px; height: 38px; border-radius: 12px; }
  .quick .ic svg { width: 19px; height: 19px; }
  .quick .v { font-size: 14.5px; }
  .quick .k { font-size: 12px; }
  .tt { padding: 18px 14px; border-radius: var(--r-l); }
  .tt-axis, .tt-row { grid-template-columns: 40px minmax(0, 1fr) 92px; gap: 8px; }
  .tt-t { font-size: 13px; }
  .tt-d { font-size: 15px; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; }
  .tt-axis .sc span:nth-child(even) { display: none; }
  .tx-card { width: 78vw; }
  .tx-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tx-viewport::-webkit-scrollbar { display: none; }
  .tx-card { scroll-snap-align: center; }
  .news-grid, .feat, .figs { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .fig .v { font-size: 38px; }
  .ins { grid-template-columns: 1fr; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-card figure { aspect-ratio: 16 / 9; }
  .post-row { grid-template-columns: 1fr; gap: 6px; }
  .post-row time { text-align: left; order: -1; }
  .form .row2 { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table td { display: block; }
  .fee-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .fee-table td { padding: 0; border: 0; }
  .fee-table td.g { grid-column: 1 / -1; }
  .fee-table td.u { grid-column: 1; font-size: 13px; }
  .fee-table td.p { grid-column: 2; grid-row: 2 / 4; align-self: center; }
  .fee-table td.r.p + td.p { grid-row: auto; }
  .fee-table td.note { grid-column: 1 / -1; font-size: 13px; color: var(--mute); }
  .fee-tabs { width: 100%; border-radius: 18px; }
  .fee-tabs button { flex: 1 0 auto; padding: 0 12px; }
  .faq summary { grid-template-columns: 30px 1fr 24px; font-size: 16px; }
  .faq .a { padding-left: 40px; }
  .map { min-height: 340px; }
  .doc .days span { width: 36px; height: 36px; }
  .greet figure { aspect-ratio: 4 / 3.4; border-radius: var(--r-xl) var(--r-xl) 70px var(--r-xl); }
  .notice { font-size: 13px; width: 100%; }
  .notice a { display: none; }
  .today-card { padding: 16px 18px; }
  .today-card .t { font-size: 24px; }
  .tour .t2, .tour .t3 { aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .frost, .sweep { display: none; }
}

.tx-card:not([href]) .more { display: none; }

.feat.duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .feat.duo { grid-template-columns: 1fr; } }

.promise::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #eaf2f6; opacity: var(--dim, 0); pointer-events: none; }

@media (max-width: 560px) {
  .hd-act > .btn { display: none; }
  .hd-in { gap: 10px; }
  .logo svg { width: 32px; height: 32px; }
  .logo-t b { font-size: 17px; }
  .logo-t small { font-size: 8.5px; letter-spacing: .14em; }
  .now-pill { height: 30px; padding: 0 10px; font-size: 12px; }
  .hd .now-pill { max-width: 150px; overflow: hidden; }
  .hd .now-pill .t { overflow: hidden; text-overflow: ellipsis; }
  .quick a { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 6px; }
  .quick .ic { grid-row: auto; }
  .quick .v.num { white-space: nowrap; font-size: 14.5px; }
  .fld input[type="date"] { min-width: 0; max-width: 100%; }
}
@media (max-width: 380px) { .hd .now-pill { display: none; } }
.tt-d small { white-space: nowrap; font-size: 11px; line-height: 1.5; flex: none; }

@media (max-width: 700px) { .sec-head.split { grid-template-columns: 1fr; align-items: start; } .sec-head.split .sec-lead br { display: none; } }

@media (max-width: 960px) { .call-card { position: relative; top: auto; } }

.tx-hero figure + figure, .tour .t2 { position: relative; aspect-ratio: auto; }
.tx-hero figure + figure img, .tour .t2 img { position: absolute; inset: 0; width: 100%; height: 100%; }

