/* 연세의원 — 흰 바탕 · 남색/하늘색 · Pretendard 하나(굵기로 위계) · 사진 크게 · 부드러운 움직임 */
:root {
  --navy: #0d2659;
  --navy2: #163a86;
  --blue: #1f5fd6;
  --sky: #2ba3ff;
  --mist: #eef3fb;
  --ink: #141c2b;
  --sub: #566173;
  --off: #8b95a7;
  --line: #e4e9f1;
  --ok: #19c37d;
  --warn: #f5a524;
  --red: #e5484d;
  --shadow: 0 18px 40px rgba(13, 38, 89, .10);
  --shadow-s: 0 6px 18px rgba(13, 38, 89, .07);
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.7; word-break: keep-all; padding-bottom: 64px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--sky); color: #fff; }
.wrap { width: 100%; max-width: 1240px; 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); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.3; }
.en { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }
.src { font-size: 13px; color: var(--off); }

/* 쪽 넘어갈 때 흰 막 — 들어올 땐 CSS만으로 걷히고, 나갈 땐 JS가 덮는다 */
body::before, body::after { content: ""; position: fixed; inset: 0; background: #fff; z-index: 250; pointer-events: none; }
body::before { animation: curtain .7s .05s var(--ease) forwards; }
body::after { opacity: 0; transition: opacity .28s ease; }
body.leaving::after { opacity: 1; }
@keyframes curtain { to { opacity: 0; visibility: hidden; } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ── 상단 ───────────────────────────── */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); transition: background .35s, box-shadow .35s, transform .45s var(--ease); }
.hd.hd-hide { transform: translateY(-100%); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: -.02em; transition: background .35s, box-shadow .35s, transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; transition: color .35s; }
.logo-txt small { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--off); transition: color .35s; }
.hd-tel { display: none; }
.hd-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; align-content: center; gap: 6px; padding: 0 10px; cursor: pointer; }
.hd-btn i { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, background .35s; }
.hd.open .hd-btn i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hd.open .hd-btn i:nth-child(2) { opacity: 0; }
.hd.open .hd-btn i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* 모바일 메뉴 */
.gnb { position: fixed; top: 64px; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; background: #fff; display: flex; flex-direction: column; padding: 8px 20px 32px; clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-io), visibility 0s .55s; visibility: hidden; }
.hd.open .gnb { clip-path: inset(0); visibility: visible; transition: clip-path .55s var(--ease-io); }
.grp { padding: 14px 0; border-bottom: 1px solid var(--line); }
.g1 { display: block; font-size: 22px; font-weight: 800; color: var(--navy); padding: 4px 0 8px; }
.sub { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.sub a { font-size: 15px; color: var(--sub); padding: 4px 0; }
.sub a[aria-current] { color: var(--blue); font-weight: 700; }
.gnb .gnb-tel { margin-top: 24px; background: var(--navy); color: #fff; text-align: center; border-radius: 14px; font-size: 18px; font-weight: 700; padding: 16px; }
.hd.open .grp, .hd.open .gnb-tel { animation: menuIn .6s var(--ease) both; }
.hd.open .grp:nth-child(2) { animation-delay: .06s; }
.hd.open .grp:nth-child(3) { animation-delay: .12s; }
.hd.open .gnb-tel { animation-delay: .18s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } }
/* 첫 화면 위 투명 헤더 */
.hd-over { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
.hd-over .logo-txt b { color: #fff; }
.hd-over .logo-txt small { color: rgba(255,255,255,.7); }
.hd-over .logo-mark { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.hd-over .hd-btn i { background: #fff; }
.hd-over.solid, .hd-over.open { background: #fff; box-shadow: 0 1px 0 var(--line); }
.hd-over.solid .logo-txt b, .hd-over.open .logo-txt b { color: var(--navy); }
.hd-over.solid .logo-txt small, .hd-over.open .logo-txt small { color: var(--off); }
.hd-over.solid .logo-mark, .hd-over.open .logo-mark { background: var(--navy); box-shadow: none; }
.hd-over.solid .hd-btn i, .hd-over.open .hd-btn i { background: var(--navy); }

/* ── 첫 화면 ───────────────────────────── */
.mv { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 112px 0 64px; }
.mv-bgs { position: absolute; inset: -30px; transition: transform .8s var(--ease); }
.mv-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 8s linear; }
.mv-bg.on { opacity: 1; transform: scale(1); }
.mv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,24,58,.72) 0%, rgba(9,24,58,.5) 45%, rgba(9,24,58,.85) 100%); pointer-events: none; }
.mv-in { position: relative; z-index: 2; }
.mv-txt { text-align: center; transition: transform .8s var(--ease); }
.mv-txt .en { color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .32em; }
.mv h1 { font-size: clamp(30px, 7.6vw, 62px); font-weight: 800; line-height: 1.25; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.mv h1 b { color: var(--sky); font-weight: 800; }
.pill { display: inline-block; margin: 22px 0 0; padding: 10px 22px; border-radius: 999px; background: rgba(31,95,214,.85); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.2); backdrop-filter: blur(6px); }
.mv-a { animation: up 1s var(--ease) both; }
.mv-txt .en.mv-a { animation-delay: .25s; }
.pill.mv-a { animation-delay: .9s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } }
.mv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.mv-cards .mcard { animation: up 1.1s var(--ease) both; }
.mv-cards .mcard:nth-child(1) { animation-delay: 1.05s; }
.mv-cards .mcard:nth-child(2) { animation-delay: 1.18s; }
.mv-cards .mcard:nth-child(3) { animation-delay: 1.31s; }
.mv-cards .mcard-n { grid-column: 1 / -1; }
.mcard { position: relative; display: block; border-radius: var(--r); padding: 24px 24px 22px; box-shadow: 0 20px 40px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.mcard h3 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.mcard p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; opacity: .85; }
.mcard .go { font-weight: 700; font-size: 15px; display: inline-block; transition: transform .4s var(--ease); }
.mcard:hover .go { transform: translateX(6px); }
.mcard .ico { position: absolute; right: 20px; top: 20px; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease); }
.mcard:hover .ico { transform: rotate(-10deg) scale(1.1); }
.mcard .ico svg { width: 24px; height: 24px; }
.mcard-n { background: rgba(13,38,89,.9); }
.mcard-n .go { color: var(--sky); }
.mcard-b { background: rgba(31,95,214,.9); }
.mcard-w { background: rgba(255,255,255,.95); color: var(--navy); }
.mcard-w p { color: var(--sub); opacity: 1; }
.mcard-w .go { color: var(--blue); }
.mcard-b p, .mcard-w p { display: none; }
.mcard-b, .mcard-w { padding: 20px 18px 18px; }
.mcard-b h3, .mcard-w h3 { font-size: 20px; margin-top: 52px; }
.mcard-b .ico, .mcard-w .ico { left: 18px; right: auto; top: 18px; width: 42px; height: 42px; }
.mc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #c8d3ea; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status[data-state="open"] { color: var(--ok); }
.status[data-state="open"]::before { animation: pulse 1.6s infinite; }
.status[data-state="lunch"] { color: var(--warn); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,195,125,.6); } 100% { box-shadow: 0 0 0 9px rgba(25,195,125,0); } }
.clock { font-size: 13px; opacity: .7; font-variant-numeric: tabular-nums; }
.mv-ctrl { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.mv-ctrl b { color: #fff; }
.mv-ctrl .bar { width: 90px; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.mv-ctrl .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; transform-origin: left; animation: slideBar 5.5s linear infinite; }
@keyframes slideBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mv-scroll { display: none; }

/* ── 글자·요소 등장 ───────────────────────────── */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.split.on .w > span, .reveal.on .split .w > span, .sec-tit.on .w > span { transform: none; }
.split-now .w > span { transition-delay: calc(.35s + var(--i, 0) * 70ms); transition-duration: 1.2s; }
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.on { opacity: 1; transform: none; }
.js .reveal.stagger { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s; transition-delay: calc(var(--i, 0) * 80ms); }
.js .stagger.on > * { opacity: 1; transform: none; }
/* 관찰 대상(칸)은 그대로 두고 안의 사진만 가렸다 걷는다 */
.js .img-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.3s var(--ease-io), transform 1.8s var(--ease); }
.js .on .img-reveal img, .js .img-reveal.on img { clip-path: inset(0 0 0 0); transform: scale(1); }
.stagger.on > li .img-reveal img { transition-delay: calc(var(--i, 0) * 80ms); }

/* ── 손 움직임: 커서 · 기울기 · 자석 ───────────────────────────── */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--sky); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(43,163,255,.6); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .02em; transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s; }
.cursor-ring span { opacity: 0; transition: opacity .25s; }
.c-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(43,163,255,.12); border-color: rgba(43,163,255,.35); }
.c-label .cursor-ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: rgba(13,38,89,.88); border-color: transparent; backdrop-filter: blur(4px); }
.c-label .cursor-ring span { opacity: 1; }
.c-label .cursor-dot, .c-hover .cursor-dot { opacity: 0; }
.c-down .cursor-ring { transform: scale(.85); }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .4s; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .4s; }
.tilt:hover::after { opacity: 1; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .4s; }
[data-magnet] { transition: transform .5s var(--ease); }
[data-magnet].is-magnet { transition: transform .15s linear; }

/* ── 공통 섹션 ───────────────────────────── */
.hsec { padding: 80px 0; }
.bg-alt { background: var(--mist); }
.sec-tit { text-align: center; margin-bottom: 40px; }
.sec-tit h2 { font-size: clamp(26px, 5.4vw, 42px); font-weight: 700; color: var(--ink); }
.sec-tit > p:not(.en) { margin: 16px auto 0; max-width: 640px; color: var(--sub); }
.sec-tit.light h2 { color: #fff; }
.sec-tit.light > p:not(.en) { color: rgba(255,255,255,.72); }
.btn-line { display: inline-block; margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--navy); padding-bottom: 4px; position: relative; }
.btn-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); transform-origin: right; transition: transform .5s var(--ease-io); }
.btn-line:hover::after { transform: scaleX(0); transform-origin: right; animation: lineIn .5s .3s var(--ease-io) forwards; }
@keyframes lineIn { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.btn-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--navy2); color: #fff; font-weight: 700; font-size: 16px; overflow: hidden; isolation: isolate; }
.btn-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sky); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-io); }
.btn-pill:hover::before { transform: none; }
.btn-sky { background: var(--sky); }
.btn-sky::before { background: #fff; }
.btn-sky:hover { color: var(--navy); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--navy); }

/* POINT 슬라이드 */
.pt-sec { background: radial-gradient(circle at 92% 70%, rgba(43,163,255,.12), transparent 40%); }
.pt { position: relative; }
.pt-item { display: none; }
.pt-item.on { display: grid; gap: 28px; }
.pt-item.on .pt-img { animation: ptImg 1.1s var(--ease-io) both; }
.pt-item.on .pt-img img { animation: ptZoom 1.6s var(--ease) both; }
.pt-item.on .pt-txt > * { animation: up .9s var(--ease) both; }
.pt-item.on .pt-txt > :nth-child(2) { animation-delay: .1s; }
.pt-item.on .pt-txt > :nth-child(3) { animation-delay: .2s; }
@keyframes ptImg { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ptZoom { from { transform: scale(1.2); } }
.pt-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.pt-img img { width: 100%; height: 100%; object-fit: cover; }
.pt-txt .no { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 800; color: var(--navy2); font-size: 18px; }
.pt-txt .no::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--sky); }
.pt-txt h3 { font-size: clamp(24px, 4.4vw, 36px); font-weight: 700; margin-bottom: 16px; }
.pt-txt p { color: var(--sub); margin: 0; font-size: 17px; line-height: 1.85; }
.pt-nav { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.pt-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid #cfd7e4; background: #fff; font-size: 18px; color: var(--navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.pt-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pt-nav .btn-pill { margin-left: 8px; }

/* 진료 카드 (홈) */
.care-sec { background: var(--mist); }
.plus { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.18); color: #fff; transition: transform .6s var(--ease), background .3s; }
a:hover > .plus { transform: rotate(90deg); }
.cbig { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 30px 26px; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.cbig-bg, .tw-bg, .sv-bg, .cta-bg { position: absolute; left: 0; right: 0; top: -12%; bottom: -12%; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.cbig-bg { transition: scale 1.4s var(--ease); }
.cbig:hover .cbig-bg { scale: 1.06; }
.cbig::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,38,89,.92) 0%, rgba(22,58,134,.7) 55%, rgba(22,58,134,.35) 100%); }
.cbig h3 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 8px; }
.cbig p:not(.en) { margin: 0 0 18px; opacity: .9; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags i { font-style: normal; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); }
.csub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cbox { display: block; padding: 26px 20px 22px; border-radius: 18px; min-height: 170px; box-shadow: var(--shadow-s); overflow: hidden; }
.cbox:hover, .cico a:hover, .sym li:hover, .fsteps li:hover { box-shadow: var(--shadow); }
.cbox .en { font-size: 11px; letter-spacing: .14em; margin-bottom: 8px; padding-right: 40px; }
.cbox h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.cbox p:not(.en) { margin: 0; font-size: 14px; line-height: 1.6; }
.cbox-w { background: #fff; }
.cbox-w .plus { background: var(--mist); color: var(--navy); }
.cbox-w p:not(.en) { color: var(--sub); }
.cbox-w::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43,163,255,.1), transparent 45%); }
.cbox-b { background: var(--navy2); color: #fff; }
.cbox-n { background: var(--navy); color: #fff; }
.cbox-b .en, .cbox-n .en { color: rgba(255,255,255,.7); }
.cbox-b p:not(.en), .cbox-n p:not(.en) { opacity: .85; }
.cico { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cico a { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 18px; padding: 22px 10px; box-shadow: var(--shadow-s); overflow: hidden; }
.cico a::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(43,163,255,.12), transparent 50%); }
.cico a:last-child { grid-column: 1 / -1; }
.cico .i { width: 54px; height: 54px; border-radius: 50%; background: var(--mist); color: var(--navy2); display: grid; place-items: center; margin-bottom: 12px; transition: background .4s, color .4s, transform .6s var(--ease); }
.cico a:hover .i { background: var(--navy2); color: #fff; transform: translateY(-4px); }
.cico .i svg { width: 24px; height: 24px; }
.cico b { font-size: 16px; font-weight: 700; }
.cico span:last-child { font-size: 13px; color: var(--sub); }

/* 진료시간 남색 띠 */
.hours-sec { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hours-sec::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(43,163,255,.18), transparent 65%); animation: float 12s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(-120px, 140px); } }
.hours-sec .wrap { position: relative; }
.hw { display: grid; gap: 20px; }
.hw-big { border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 30px 26px; background: rgba(255,255,255,.02); }
.hw-big > b { display: block; font-size: 64px; font-weight: 800; line-height: 1; color: var(--sky); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hw-big h3 { font-size: 22px; margin: 14px 0 10px; }
.hw-big p { margin: 0 0 18px; color: rgba(255,255,255,.72); font-size: 15px; }
.hw-big .tags { margin-bottom: 24px; }
.hw-big .tags i { border: 1px solid rgba(255,255,255,.25); background: none; font-size: 13px; }
.hw-list .cap { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6); margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.week { list-style: none; margin: 0; padding: 0; }
.week li { display: grid; grid-template-columns: 30px 1fr 104px; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 10px; font-size: 15px; transition: background .3s; }
.week li:hover { background: rgba(255,255,255,.05); }
.week li b { color: var(--sky); font-weight: 800; }
.week li em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.85); font-weight: 600; }
.week .bar { position: relative; height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.week .bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #2b7cff, var(--sky)); opacity: .55; transform-origin: left; }
.js .week .bar i { transform: scaleX(0); transition: transform 1.4s var(--ease); transition-delay: calc(.2s + var(--i, 0) * 90ms); }
.js .hw-list.on .week .bar i { transform: none; }
.week .bar .lunch { position: absolute; top: 0; bottom: 0; background: var(--navy); }
.week li.is-today { background: rgba(255,255,255,.08); }
.week li.is-today .bar i { opacity: 1; }
.week li.is-today em { color: #fff; font-weight: 800; }
.week .now { position: absolute; top: 0; bottom: 0; width: 3px; background: #ff5a7a; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.axis { display: flex; justify-content: space-between; margin: 10px 124px 0 50px; font-size: 12px; color: rgba(255,255,255,.5); }
.src-l { margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.55); }

/* 둘러보기 미리보기 */
.tw { display: grid; gap: 14px; }
.tw-left { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 340px; padding: 30px 26px; border-radius: var(--r); color: #fff; overflow: hidden; isolation: isolate; }
.tw-left::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(13,38,89,.95), rgba(22,58,134,.82)); }
.tw-left h3 { font-size: 27px; font-weight: 800; margin-bottom: 12px; }
.tw-left p:not(.en):not(.big) { margin: 0; opacity: .82; font-size: 15px; }
.tw-left .big { margin: 0; font-size: 60px; font-weight: 800; color: var(--sky); line-height: 1; }
.tw-left .big small { font-size: 18px; color: #fff; margin-left: 6px; }
.tw-right { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tw-right li { display: flex; }
.tw-right li a { flex: 1; }
.tw-right a { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.tw-right img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tw-right a:hover img { transform: scale(1.08); }
.tw-right span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(9,24,58,.85)); }

/* 진료시간·문의·오시는 길 */
.info-sec { padding-top: 0; }
.info2 { display: grid; gap: 14px; }
.i-hours { background: var(--navy2); color: #fff; border-radius: var(--r); padding: 28px 26px; }
.i-hours h3, .i-call h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.i-hours table { width: 100%; border-collapse: collapse; font-size: 15px; }
.i-hours td { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.i-hours td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.i-hours > p { margin: 14px 0 0; font-size: 14px; color: var(--sky); font-weight: 600; }
.i-call { background: var(--mist); border-radius: var(--r); padding: 28px 26px; }
.i-call .tel, .vcall .tel { display: block; font-size: clamp(32px, 7vw, 44px); font-weight: 800; color: var(--navy2); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.i-call p { color: var(--sub); font-size: 15px; margin: 6px 0 18px; }
.i-call .btns { display: grid; gap: 8px; }
.i-call .btns a { display: block; text-align: center; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform .4s var(--ease), box-shadow .4s; }
.i-call .btns a:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.b-n { background: #03c75a; color: #fff; }
.b-k { background: #fee500; color: #191919; }
.loc { display: grid; margin-top: 14px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.loc-map { display: block; min-height: 260px; overflow: hidden; position: relative; }
.loc-map span { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.4s var(--ease); }
.loc-map:hover span { transform: scale(1.06); }
.loc-bd { padding: 28px 26px; }
.loc-bd h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.loc-bd .addr { margin: 0 0 18px; color: var(--sub); font-size: 15px; }
.loc-bd dl, .facts { display: grid; grid-template-columns: 62px 1fr; gap: 10px 12px; margin: 0; font-size: 15px; }
.loc-bd dt, .facts dt { font-weight: 700; color: var(--navy2); }
.loc-bd dd, .facts dd { margin: 0; color: var(--sub); }
.loc-bd .btn-line { margin-top: 20px; }

/* FAQ */
.faq-sec { background: var(--mist); }
.qa { background: #fff; border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow-s); transition: box-shadow .4s; }
.qa:hover { box-shadow: var(--shadow); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.5; }
.qa summary h3::before { content: "Q. "; color: var(--sky); }
.qa summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--navy2); transition: transform .5s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa-a { overflow: hidden; }
.qa p { margin: 0; padding: 0 22px 22px; color: var(--sub); font-size: 15px; }
.bg-alt .qa, .faq-g .qa { box-shadow: var(--shadow-s); }

/* 흐르는 띠 */
.marquee { overflow: hidden; background: var(--mist); padding: 26px 0; border-top: 1px solid var(--line); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span { font-size: clamp(26px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; padding-right: 48px; color: transparent; -webkit-text-stroke: 1.2px var(--navy2); }
.mq-track span:nth-child(odd) { color: var(--navy2); -webkit-text-stroke: 0; }
.mq-track span::after { content: "✦"; margin-left: 48px; color: var(--sky); -webkit-text-stroke: 0; font-size: .6em; vertical-align: middle; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── 하위 페이지 공통 ───────────────────────────── */
.sv { position: relative; color: #fff; padding: 80px 0 64px; isolation: isolate; overflow: hidden; }
.sv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,38,89,.92), rgba(22,58,134,.72)); }
.sv-bg { animation: svZoom 2.4s var(--ease) both; }
@keyframes svZoom { from { scale: 1.15; } }
.sv-in { text-align: center; }
.sv .en { animation: up 1s .2s var(--ease) both; }
.sv h1 { font-size: clamp(30px, 6.5vw, 50px); font-weight: 800; }
.crumb { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.7); animation: up 1s .6s var(--ease) both; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 8px; }
.snb { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 40; transition: top .45s var(--ease); }
body:has(.hd-hide) .snb { top: 0; }
.snb-in { display: flex; overflow-x: auto; scrollbar-width: none; }
.snb-in::-webkit-scrollbar { display: none; }
.snb a { flex: 1 0 auto; text-align: center; padding: 16px 14px; font-weight: 700; font-size: 15px; color: var(--sub); white-space: nowrap; position: relative; transition: color .3s; }
.snb a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--sky); transform: scaleX(0); transition: transform .5s var(--ease); }
.snb a:hover { color: var(--navy); }
.snb a:hover::after, .snb a[aria-current]::after { transform: scaleX(1); }
.snb a[aria-current] { color: var(--navy); }
.h-sm { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.note { font-size: 14px; color: var(--sub); margin: 24px 0 0; text-align: center; }
.note a { color: var(--blue); font-weight: 700; }
.keybox { text-align: left; background: #fff; border-radius: 18px; padding: 22px 24px; border-left: 4px solid var(--sky); box-shadow: var(--shadow-s); margin-top: 24px; }
.keybox p { margin: 4px 0; font-size: 15px; color: var(--sub); }
.keybox b { color: var(--navy); margin-right: 12px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { background: var(--mist); color: var(--navy); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; transition: background .3s, color .3s; }
.chips li:hover { background: var(--navy2); color: #fff; }

/* 사진 + 글 (소개·진료 상세·처음 오시는 분) */
.greet { display: grid; gap: 32px; align-items: center; }
.greet-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.greet-img img { width: 100%; height: 100%; object-fit: cover; }
.greet-txt h2 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.greet-txt > p:not(.en) { color: #39445a; margin: 0 0 12px; font-size: 17px; }

/* 숫자 띠 */
.stats { background: var(--navy); color: #fff; padding: 56px 0 40px; }
.stats-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
.stats-in > div { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 2px solid rgba(43,163,255,.5); }
.stats-in b { font-size: 46px; font-weight: 800; line-height: 1; color: var(--sky); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stats-in b small { font-size: 20px; color: #fff; margin-left: 2px; }
.stats-in > div > span { font-size: 14px; color: rgba(255,255,255,.72); }
.stats-src { font-size: 12px; color: rgba(255,255,255,.45); margin: 24px auto 0; }

/* 진료 방식 3장 */
.vals { display: grid; gap: 34px; }
.val-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 20px; box-shadow: var(--shadow-s); }
.val-img img { width: 100%; height: 100%; object-fit: cover; }
.val .no { margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--sky); letter-spacing: .1em; }
.val h3 { font-size: 23px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.val > p:last-child { margin: 0; color: var(--sub); font-size: 15px; }
.subj { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.subj li { background: #fff; color: var(--navy); font-weight: 800; font-size: 18px; padding: 14px 26px; border-radius: 999px; box-shadow: var(--shadow-s); }

/* 진료 사진 카드 */
.ccards { display: grid; gap: 16px; }
.ccard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); transition: box-shadow .5s, transform .6s var(--ease); }
.ccard:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.cc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ccard:hover .cc-img img { transform: scale(1.08); }
.cc-bd { position: relative; display: flex; flex-direction: column; padding: 22px 24px 26px; }
.cc-bd .en { font-size: 11px; margin-bottom: 6px; }
.cc-bd b { font-size: 23px; font-weight: 800; color: var(--navy); }
.cc-bd small { font-size: 15px; color: var(--blue); font-weight: 600; margin: 2px 0 10px; }
.cc-tags { font-size: 14px; color: var(--sub); }
.cc-go { position: absolute; right: 22px; top: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--navy); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.cc-go svg { width: 18px; height: 18px; }
.ccard:hover .cc-go { background: var(--navy2); color: #fff; transform: rotate(-45deg); }

/* 증상 카드 */
.sym { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sym li { background: #fff; border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow-s); overflow: hidden; }
.sym li::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(43,163,255,.1), transparent 50%); }
.sy-no { display: block; font-size: 34px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--sky); line-height: 1; margin-bottom: 14px; }
.sym b { display: block; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.sym p { margin: 0; color: var(--sub); font-size: 15px; }

/* 진료 순서 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 0 0 0 30px; border-left: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(43,163,255,.18); }
.st-no { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--sky); }
.steps b, .fsteps b { display: block; font-size: 20px; color: var(--navy); margin: 4px 0; }
.steps p, .fsteps p { margin: 0; color: var(--sub); font-size: 15px; }

/* 준비물 · 응급 */
.two { display: grid; gap: 16px; }
.prep, .emer { background: #fff; border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow-s); }
.prep ul, .emer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prep li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ck { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--sky); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.ck svg { width: 15px; height: 15px; }
.emer { border-top: 4px solid var(--red); position: relative; }
.emer .h-sm { color: var(--red); padding-right: 44px; }
.em-ico { position: absolute; right: 24px; top: 26px; color: var(--red); }
.em-ico svg { width: 30px; height: 30px; animation: blink 2s ease-in-out infinite; }
.emer li { position: relative; padding-left: 18px; font-size: 16px; }
.emer li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.emer > p { margin: 18px 0 0; font-size: 14px; color: var(--sub); padding-top: 16px; border-top: 1px solid var(--line); }

/* 이전·다음 */
.hsec.pn-sec { padding: 0 0 80px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.pn-a { display: flex; flex-direction: column; padding: 22px 22px; border-radius: 18px; background: var(--mist); transition: background .4s, color .4s; }
.pn-a span { font-size: 13px; color: var(--off); transition: color .4s; }
.pn-a b { font-size: 19px; color: var(--navy); transition: color .4s; }
.pn-a:hover { background: var(--navy2); }
.pn-a:hover span { color: rgba(255,255,255,.7); }
.pn-a:hover b { color: #fff; }
.pn-next { text-align: right; }
.pn-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; font-weight: 700; color: var(--navy); padding: 12px 20px; }

/* 문의 띠 */
.cta { position: relative; color: #fff; padding: 80px 0; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(13,38,89,.95), rgba(22,58,134,.85)); }
.cta-in { display: grid; gap: 26px; }
.cta h2 { font-size: clamp(24px, 4.6vw, 36px); font-weight: 800; }
.cta-in p:not(.en) { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: 15px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 처음 오시는 분 */
.fsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fsteps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; overflow: hidden; }
.fsteps li::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(43,163,255,.1), transparent 50%); }
.fi-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.fi-ico svg { width: 26px; height: 26px; }
.finfo { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 18px; }
.finfo li { display: flex; gap: 16px; }
.finfo .i { flex: 0 0 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy2); display: grid; place-items: center; box-shadow: var(--shadow-s); }
.finfo .i svg { width: 22px; height: 22px; }
.finfo b { font-size: 17px; color: var(--navy); }
.finfo p { margin: 2px 0 0; color: var(--sub); font-size: 15px; }
.faq-g { margin-bottom: 44px; }

/* 둘러보기 사진 */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-flow: dense; }
.gallery li.wide { grid-column: 1 / -1; }
.gallery figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-s); cursor: zoom-in; }
.gallery li.wide figure { aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.js .gallery figure:hover img, .gallery figure:hover img { transform: scale(1.06); transition-delay: 0s; transition-duration: 1.4s; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(transparent, rgba(9,24,58,.85)); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,16,40,.92); display: grid; place-items: center; padding: 60px 16px; opacity: 0; transition: opacity .4s; }
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.show figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 700; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: var(--sky); }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* 진료시간·오시는 길 */
.vgrid { display: grid; gap: 32px; }
#hours, #parking { scroll-margin-top: 140px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours thead th { font-size: 13px; color: var(--off); font-weight: 600; border-bottom: 2px solid var(--navy); }
.hours tbody th { font-weight: 700; }
.hours tbody tr { transition: background .3s; }
.hours tbody tr:hover { background: #f7f9fd; }
.hours tr.is-today { background: var(--mist); }
.hours tr.is-today th { color: var(--blue); }
.vcall { background: var(--navy); color: #fff; border-radius: var(--r); padding: 30px 26px; align-self: start; overflow: hidden; }
.vcall h3 { font-size: 20px; margin-bottom: 8px; }
.vcall .tel { color: #fff; }
.vcall p { color: rgba(255,255,255,.72); margin: 8px 0 0; font-size: 15px; }
.map { position: relative; display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.map img { transition: transform 1.4s var(--ease); }
.map:hover img { transform: scale(1.05); }
.map span { position: absolute; right: 12px; bottom: 12px; background: rgba(13,38,89,.9); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 10px; }
.addr { margin: 18px 0; }
.map-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-s { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #cfd7e4; background: #fff; font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn-s:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.bus { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.bus li { background: var(--mist); border-radius: 14px; padding: 16px 18px; }
.bus b { display: block; color: var(--navy); font-size: 15px; }
.bus span { font-size: 14px; color: var(--sub); }

/* ── 아래 ───────────────────────────── */
.ft { background: #0a1d46; color: rgba(255,255,255,.7); padding: 52px 0 32px; font-size: 14px; }
.ft-top { display: grid; gap: 32px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo-w .logo-txt b { color: #fff; }
.logo-w .logo-mark { background: rgba(255,255,255,.12); }
.ft-tel { display: block; margin-top: 18px; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.ft-hours { margin: 6px 0 0; font-size: 13px; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ft-cols b { display: block; color: #fff; margin-bottom: 10px; font-size: 15px; }
.ft-cols a { display: block; padding: 3px 0; font-size: 13px; transition: color .3s, transform .4s var(--ease); }
.ft-cols a:hover { color: var(--sky); transform: translateX(4px); }
.ft-info { margin: 22px 0 0; line-height: 1.9; }
.ft-info a { color: #fff; }
.ft-info i { display: inline-block; width: 1px; height: 10px; background: rgba(255,255,255,.25); margin: 0 10px; }
.ft-note { margin: 16px 0 0; font-size: 12px; color: rgba(255,255,255,.45); }

/* 빠른 메뉴: 모바일은 아래 띠, PC는 오른쪽 */
.quick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); box-shadow: 0 -4px 20px rgba(13,38,89,.15); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
.quick a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 15px 0; font-weight: 700; font-size: 15px; }
.quick svg { width: 18px; height: 18px; }
.q-call { background: var(--navy); color: #fff; }
.q-hours { background: var(--sky); color: #fff; }
.q-map { background: #fff; color: var(--navy); }
.q-top { display: none; }

@media (min-width: 720px) {
  .csub { grid-template-columns: repeat(4, 1fr); }
  .cico { grid-template-columns: repeat(5, 1fr); }
  .cico a:last-child { grid-column: auto; }
  .info2 { grid-template-columns: 1fr 1fr; }
  .i-call .btns { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 380px; }
  .gallery li.wide { grid-column: span 2; }
  .gallery figure, .gallery li.wide figure { aspect-ratio: auto; height: 100%; }
  .tw-right { grid-template-columns: repeat(4, 1fr); }
  .stats-in { grid-template-columns: repeat(4, 1fr); }
  .vals { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .ccards { grid-template-columns: repeat(2, 1fr); }
  .sym { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .steps li { border-left: 0; border-top: 2px solid var(--line); padding: 30px 20px 0 0; }
  .steps li::before { left: 0; top: -7px; }
  .two { grid-template-columns: 1fr 1fr; }
  .fsteps { grid-template-columns: repeat(2, 1fr); }
  .cta-in { grid-template-columns: 1fr auto; align-items: center; }
  .pn { grid-template-columns: 1fr auto 1fr; }
  .pn-all { grid-column: auto; grid-row: auto; align-self: center; }
  .ft-top { grid-template-columns: 1fr 1.3fr; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; font-size: 17px; }
  .hd-in { height: 84px; }
  .hd-btn { display: none; }
  /* PC 메뉴 — 마우스를 올리면 하위 메뉴 전체가 한꺼번에 펼쳐진다 */
  .gnb { position: static; height: auto; overflow: visible; clip-path: none; visibility: visible; flex-direction: row; padding: 0; background: none; gap: 0; transition: none; align-self: stretch; }
  .grp { position: relative; padding: 0; border: 0; width: 170px; display: flex; flex-direction: column; align-items: center; }
  .g1 { font-size: 17px; font-weight: 700; color: var(--ink); padding: 0; height: 84px; display: flex; align-items: center; position: relative; transition: color .35s; }
  .g1::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px; background: var(--sky); transform: scaleX(0); transition: transform .45s var(--ease); }
  .grp:hover .g1::after, .g1[aria-current]::after { transform: scaleX(1); }
  .sub { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: center; gap: 2px; padding: 22px 0 28px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
  .sub a { font-size: 15px; padding: 6px 0; color: var(--sub); transition: color .25s; }
  .sub a:hover { color: var(--blue); }
  .hd::after { content: ""; position: absolute; left: 0; right: 0; top: 84px; height: 0; background: #fff; box-shadow: 0 20px 30px rgba(13,38,89,.08); border-top: 1px solid var(--line); opacity: 0; transition: height .45s var(--ease), opacity .3s; z-index: -1; }
  .hd:has(.gnb:hover)::after { height: 270px; opacity: 1; }
  .hd:has(.gnb:hover) .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .08s, transform .5s .08s var(--ease), visibility 0s; }
  .hd-over:has(.gnb:hover) { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .hd-over:has(.gnb:hover) .logo-txt b { color: var(--navy); }
  .hd-over:has(.gnb:hover) .logo-txt small { color: var(--off); }
  .hd-over:has(.gnb:hover) .logo-mark { background: var(--navy); box-shadow: none; }
  .hd-over:has(.gnb:hover) .g1, .hd-over:has(.gnb:hover) .hd-tel { color: var(--ink); }
  .gnb .gnb-tel { display: none; }
  .hd.open .grp { animation: none; }
  .hd-over .g1 { color: #fff; }
  .hd-over.solid .g1 { color: var(--ink); }
  .hd-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--navy); font-variant-numeric: tabular-nums; }
  .hd-tel svg { width: 18px; height: 18px; color: var(--sky); }
  .hd-over .hd-tel { color: #fff; }
  .hd-over.solid .hd-tel { color: var(--navy); }
  .logo { flex: 0 0 220px; }
  .hd-tel { flex: 0 0 220px; justify-content: flex-end; }
  .snb { top: 84px; }
  .snb-in { justify-content: center; }
  .snb a { flex: 0 0 auto; padding: 20px 30px; font-size: 16px; }
  .snb a::after { left: 30px; right: 30px; }

  .mv { min-height: 100vh; min-height: 100svh; padding: 170px 0 90px; display: flex; flex-direction: column; justify-content: center; }
  .mv-txt .en { font-size: 13px; }
  .pill { font-size: 16px; padding: 12px 28px; }
  .mv-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1020px; margin: 64px auto 0; }
  .mv-cards .mcard-n { grid-column: auto; }
  .mcard { padding: 34px 32px 30px; min-height: 250px; }
  .mcard h3 { font-size: 27px; margin-top: 18px; }
  .mcard-n h3 { margin-top: 0; font-size: 24px; }
  .mcard-b p, .mcard-w p { display: block; }
  .mcard-b .ico, .mcard-w .ico { left: auto; right: 22px; top: 22px; width: 46px; height: 46px; }
  .mv-ctrl { justify-content: flex-start; max-width: 1240px; width: 100%; margin: 40px auto 0; padding: 0 20px; }
  .mv-scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.7); }
  .mv-scroll span { width: 1px; height: 46px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
  .mv-scroll span::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; animation: drip 2s var(--ease-io) infinite; }
  @keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

  .hsec { padding: 130px 0; }
  .sec-tit { margin-bottom: 60px; }
  .pt-item.on { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
  .pt-nav { position: absolute; right: 0; bottom: 20px; width: calc(46.5% - 36px); margin: 0; }
  .pt-txt { padding-bottom: 90px; }
  .cbig { min-height: 360px; padding: 48px 54px; }
  .cbig .plus { right: 30px; top: 30px; width: 46px; height: 46px; }
  .csub { gap: 14px; margin-top: 14px; }
  .cbox { padding: 30px 26px 26px; min-height: 200px; }
  .cbox h3 { font-size: 24px; }
  .cico { gap: 14px; margin-top: 14px; }
  .cico a { padding: 30px 10px; }
  .hw { grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
  .hw-big { padding: 40px 36px; }
  .hw-big > b { font-size: 84px; }
  .week li { font-size: 16px; padding: 13px 10px; }
  .tw { grid-template-columns: 340px 1fr; gap: 20px; }
  .tw-left { min-height: 0; padding: 40px 36px; }
  .tw-right { gap: 16px; }
  .tw-right a { aspect-ratio: auto; min-height: 360px; }
  .info2 { gap: 20px; }
  .i-hours, .i-call { padding: 40px 40px; }
  .loc { grid-template-columns: 1.1fr 1fr; margin-top: 20px; }
  .loc-map { min-height: 400px; }
  .loc-bd { padding: 44px 48px; }
  .sv { padding: 140px 0 110px; }
  .gallery { gap: 16px; grid-auto-rows: 460px; }
  .vgrid { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .hours { font-size: 17px; }
  .greet { grid-template-columns: 1fr 1fr; gap: 80px; }
  .greet-img { aspect-ratio: 4 / 5; }
  .stats { padding: 80px 0 50px; }
  .stats-in b { font-size: 64px; }
  .ccards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sym { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sym li { padding: 32px 26px; }
  .fsteps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .prep, .emer { padding: 40px 40px; }
  .cta { padding: 110px 0; }
  .hsec.pn-sec { padding: 0 0 120px; }

  .quick { left: auto; right: 24px; bottom: auto; top: 50%; transform: translateY(-50%); grid-template-columns: 1fr; gap: 8px; background: none; box-shadow: none; padding: 0; }
  .quick a { flex-direction: column; gap: 4px; width: 80px; padding: 14px 0; font-size: 12px; border-radius: 16px; box-shadow: 0 8px 24px rgba(13,38,89,.18); transition: transform .4s var(--ease); }
  .quick a:hover { transform: translateX(-6px); }
  .quick svg { width: 22px; height: 22px; }
  .q-top { display: grid; place-items: center; width: 80px; height: 48px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; cursor: pointer; box-shadow: 0 8px 24px rgba(13,38,89,.18); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .q-top.show { opacity: 1; pointer-events: auto; }
  .q-top svg { width: 20px; height: 20px; }
}

/* 커서를 쓰는 기기에서만 기본 화살표 숨김 */
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor .gallery figure { cursor: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .stagger > *, .split .w > span { opacity: 1; transform: none; }
  .js .img-reveal img { clip-path: none; transform: none; }
  .js .week .bar i { transform: none; }
  .mq-track { animation: none; }
}
