/* Korea Stem Cell Guide (koreastemcellguide.com) — 3판 [결정 2026-11-17 대표] 「코리아 줄기세포도 디자인 다시해」 → 카인드글로벌 명동식.
   카인드 실측(셀365웰 4판과 같은 기준): 사진 첫 화면(왼쪽 큰 제목), 큰 숫자 4개, 제목 56px, 사진 카드 격자, 실내 사진 줄.
   색은 2판(남색 #0b133c·하늘색 #00a8f0)을 유지해 셀365웰(짙은 갈색·크림)과 구분.
   Motion: CD-13 사진 가림막 걷힘(주제 카드) · LON-07 단어별 흐림 등장(첫 화면 제목) · 기존 rv 등장. 움직임 줄이기 = 끝 상태. */
:root {
  --navy: #0b133c; --ink: #262626; --ink-2: #4a4a4a; --muted: #8f9baa; --line: #e6ecf2;
  --sky: #00a8f0; --sky-deep: #0083c0; --sky-soft: #eef8fd; --sky-mid: #cfeaf8; --gold: #b08a3f;
  --radius: 14px; --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", Meiryo, "Yu Gothic", "Microsoft JhengHei", sans-serif;
  --display: Marcellus, "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink-2); background: #fff; font-size: 16px; line-height: 1.8; overflow-wrap: break-word; padding-bottom: 68px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* header: wordmark · (desktop nav) · globe languages · hamburger */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head > .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { font-family: var(--display); font-size: 17px; letter-spacing: .08em; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--sky); }
.top-nav { display: flex; gap: 22px; margin: 0 auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; padding: 4px 0; border-bottom: 1px solid transparent; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--sky-deep); border-bottom-color: var(--sky); }
.head-r { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.langs { display: flex; align-items: center; gap: 2px; color: var(--navy); }
.globe { margin-right: 4px; }
.langs a { font-size: 12.5px; color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 999px; }
.langs a[aria-current="true"] { color: var(--navy); background: var(--sky-soft); font-weight: 600; }
.menu-btn { width: 40px; height: 40px; border: 0; background: none; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px; cursor: pointer; }
.menu-btn span { display: block; height: 1.6px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-head.open .menu-btn span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.site-head.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-head.open .menu-btn span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.drawer { display: none; border-top: 1px solid var(--line); background: #fff; }
.site-head.open .drawer { display: block; }
.drawer .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; padding-top: 16px; padding-bottom: 24px; }
.drawer a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: 15px; }
.drawer .btn { grid-column: 1 / -1; margin-top: 16px; border: 0; color: #fff; justify-self: start; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; font-size: 15px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: var(--sky-deep); }
.btn.ghost { background: rgba(255,255,255,.88); color: var(--navy); }
.btn.ghost:hover { background: #fff; color: var(--sky-deep); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* photo hero (Kind-style): full-bleed photo, navy scrim on the left, big left-aligned headline, stats row */
.hero, .page-head { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .page-head::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,14,44,.86) 0%, rgba(8,14,44,.62) 42%, rgba(8,14,44,.12) 78%), linear-gradient(0deg, rgba(8,14,44,.7) 0%, rgba(8,14,44,0) 38%); }
.hero { min-height: max(680px, min(calc(100vh - 68px), 980px)); display: flex; flex-direction: column; justify-content: flex-end; padding: 80px 0 calc(58px + env(safe-area-inset-bottom)); }
.hero .hero-bg { object-position: 70% 50%; }
.hero > .wrap { width: 100%; }
.hero-inner { position: relative; max-width: 1160px; width: 100%; margin-bottom: auto; padding-top: 3vh; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9fdcfb; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1.06; letter-spacing: -.015em; margin: 0 0 26px; color: #fff; max-width: 13.5em; }
.hero h1 em, .page-head h1 em { font-style: normal; color: #7fd2fb; }
.hero .lead { max-width: 560px; margin: 0 0 34px; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.7; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.stat { padding: 22px 24px 26px 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: #fff; }
.stat span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); max-width: 22ch; }
.page-head { padding: 112px 0 72px; }
.page-head .hero-bg { opacity: .9; }
.page-head .wrap { position: relative; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; margin: 0 0 18px; color: #fff; max-width: 15em; }
.page-head .lead { color: rgba(255,255,255,.88); margin: 0; max-width: 680px; font-size: 17px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #fff; }
/* LON-07 word blur reveal (hero headline) */
.hero h1 .w { display: inline-block; }
.wa .hero h1 .w { animation: wordIn 1s var(--ease) both; animation-delay: calc(250ms + var(--i) * 110ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(16px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }

/* trust bar (proof chips) */
.trustbar { background: var(--sky-soft); border-bottom: 1px solid var(--line); }
.trustbar .proof { margin: 0; border: 0; }
.trustbar .proof li { padding: 22px 20px 22px 44px; text-align: left; position: relative; border-color: var(--sky-mid); }
.trustbar .proof li::before { content: ""; position: absolute; left: 18px; top: 27px; width: 14px; height: 8px; border-left: 2px solid var(--sky-deep); border-bottom: 2px solid var(--sky-deep); transform: rotate(-45deg); }

/* sections */
section.block { padding: 88px 0; }
section.block.tight { padding: 64px 0; }
h2.title, h2 { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.18; margin: 0 0 22px; letter-spacing: -.01em; }
.home h2.title { font-size: clamp(34px, 4vw, 56px); margin-top: 104px !important; margin-bottom: 36px; }
.home h2.title:first-child { margin-top: 24px !important; }
h2.title::before { content: ""; display: block; width: 40px; height: 2px; background: var(--sky); margin: 0 0 20px; }
h3 { font-size: 18px; line-height: 1.45; margin: 0 0 8px; color: var(--ink); font-weight: 600; }
.title em { font-style: normal; color: var(--sky-deep); }
.intro { max-width: 760px; color: var(--ink-2); margin: 0 0 36px; font-size: 17px; }
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px -18px rgba(11,19,60,.25); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(11,19,60,.32); }
.card .tag { display: inline-block; font-family: var(--display); font-size: 13px; letter-spacing: .1em; color: var(--sky-deep); margin-bottom: 10px; text-transform: uppercase; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--sky-deep); }
.card p { margin: 0; }
.card p + p { margin-top: 8px; }
.card .ko { color: var(--muted); font-size: 14px; }
.card .more { font-weight: 600; text-decoration: none; }
.note { background: var(--sky-soft); border-radius: var(--radius); padding: 20px 24px; color: var(--ink); margin: 28px 0; }
ul.clean { margin: 0 0 20px; padding-left: 0; list-style: none; }
ul.clean li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); }
ul.clean li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
ul.check { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
ul.check li { position: relative; padding: 14px 18px 14px 50px; border-radius: 12px; background: var(--sky-soft); color: var(--ink); font-weight: 500; }
ul.check li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 18px; height: 18px; border: 1.6px solid var(--sky-deep); border-radius: 50%; }
.src a { font-size: 14px; color: var(--muted); }
.src a::before { content: "Source · "; font-weight: 700; color: var(--sky-deep); }
html[lang^="ja"] .src a::before { content: "出典 · "; }
html[lang^="zh"] .src a::before { content: "出處 · "; }

/* proof chips under hero */
.proof { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof li { padding: 22px 18px; font-size: 14.5px; color: var(--ink); text-align: center; border-right: 1px solid var(--line); }
.proof li:last-child { border-right: 0; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); color: var(--sky); font-size: 26px; line-height: 1.1; }
.steps p { margin: 0; }

/* table */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sky-soft); font-size: 13px; color: var(--navy); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .tbl.stack thead { display: none; }
  .tbl.stack table, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
  .tbl.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tbl.stack tr:last-child { border-bottom: 0; }
  .tbl.stack td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; }
  .tbl.stack td::before { content: attr(data-h); font-size: 12px; font-weight: 600; color: var(--muted); }
  .tbl.stack td:first-child { font-weight: 700; color: var(--sky-deep); }
}

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
details summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--sky); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* topic photo cards (Kind device grid → guide topics) + CD-13 mask reveal */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.tcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tcard .ph { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 2; background: var(--sky-soft); }
.tcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tcard:hover .ph img { transform: scale(1.045); }
.tc-b { display: flex; flex-direction: column; gap: 6px; padding: 20px 2px 0; }
.tcard .tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-deep); }
.tc-h { font-family: var(--display); font-size: 26px; line-height: 1.25; color: var(--navy); }
.tc-p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.tc-more { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.tc-more i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.tcard:hover .tc-h { color: var(--sky-deep); }
.tcard:hover .tc-more i { transform: translateX(4px); }
.tcard.rv-wait { filter: none; transform: none; opacity: 1; }
.tcard.rv-wait .ph { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.tcard.rv-wait .tc-b { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0ms) + 300ms); }
.tcard.rv-wait.in .ph { clip-path: inset(0 0 0 0); }
.tcard.rv-wait.in .tc-b { opacity: 1; transform: none; }

/* partner clinic: info + real interior strip */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: stretch; background: var(--navy); color: rgba(255,255,255,.82); border-radius: 8px; overflow: hidden; }
.pcard { padding: 44px 0 44px 44px; display: flex; flex-direction: column; gap: 10px; }
.pcard .tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fdcfb; }
.pcard h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.2; margin: 0; }
.pcard h3 a, .pcard .more { color: #fff; text-decoration: none; }
.pcard .ko { color: rgba(255,255,255,.55); font-size: 14px; margin: 0; }
.pcard p { margin: 0; }
.pcard .more { margin-top: auto; padding-top: 12px; font-weight: 600; }
.pcard .more:hover, .pcard h3 a:hover { color: #9fdcfb; }
.pstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2.6fr); gap: 4px; }  /* 넷째 칸 = 원장 사진: 넓게(좁은 칸이라 어깨가 잘림, 2026-11-20 대표 지적) */
.pstrip img[src$="partner-4.webp"] { object-position: 50% 22%; }
.pstrip figure { margin: 0; overflow: hidden; }
.pstrip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pstrip figure:hover img { transform: scale(1.05); }
.cap { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.qsplit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.qsplit .check { margin: 0; }
.qph { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.qph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .qsplit { grid-template-columns: 1fr; gap: 28px; } }

/* contact band */
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: 8px; padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; color: #fff; background: var(--navy); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,14,44,.92) 0%, rgba(8,14,44,.7) 60%, rgba(8,14,44,.45) 100%); }
.band h2 { font-size: clamp(30px, 3.4vw, 44px); }
.band h2::before { display: none; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.9); margin: 0; }
.hero .btn:not(.ghost) { background: #7fd2fb; color: var(--navy); }
.hero .btn:not(.ghost):hover { background: #fff; color: var(--navy); }
.band .ctas { flex-direction: column; align-items: flex-start; }
.band .btn { background: #fff; color: var(--navy); }
.band .btn.ghost { background: rgba(255,255,255,.16); color: #fff; }

/* footer */
.site-foot { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 14px; }
.site-foot .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot h2 { font-family: var(--display); font-weight: 400; color: #fff; font-size: 17px; letter-spacing: .06em; margin: 0 0 12px; line-height: 1.8; }
.site-foot a { color: rgba(255,255,255,.88); }
.site-foot p { margin: 4px 0; }

/* Lijin-style bottom contact dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: space-around; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); }
.dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--navy); text-decoration: none; font-size: 11px; line-height: 1.3; padding: 2px 0; }
.dock a:hover { color: var(--sky-deep); }
.dock a:first-child { color: #1fa855; }

/* reveal (single) — CD-14 blur-in for cards, stagger via --d */
.rv-wait { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0ms); }
.rv-wait.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .wa .hero h1 .w { animation: none; }
  .tcard.rv-wait .ph { clip-path: none; transition: none; }
  .tcard.rv-wait .tc-b { opacity: 1; transform: none; transition: none; }
  .tcard .ph img, .pstrip img { transition: none; }
  .rv-wait { opacity: 1; transform: none; filter: none; transition: none; }
  .card, .card:hover { transition: none; transform: none; }
}

/* CJK */
html[lang^="ja"] body, html[lang^="zh"] body { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
html[lang^="ja"] .hero h1, html[lang^="zh"] .hero h1, html[lang^="ja"] h2, html[lang^="zh"] h2, html[lang^="ja"] .page-head h1, html[lang^="zh"] .page-head h1 { font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
html[lang^="ja"] .eyebrow, html[lang^="zh"] .eyebrow { letter-spacing: .06em; }
html[lang^="ja"] .tc-h, html[lang^="zh"] .tc-h, html[lang^="ja"] .pcard h3, html[lang^="zh"] .pcard h3 { font-family: var(--sans); font-weight: 600; font-size: 22px; }
html[lang^="ja"] .hero h1, html[lang^="zh"] .hero h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.22; }

/* responsive */
@media (max-width: 1100px) { .top-nav { display: none; } }
@media (min-width: 1101px) { .drawer .wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
  .partner { grid-template-columns: 1fr; gap: 0; }
  .pcard { padding: 36px 32px; }
  .pstrip { height: 300px; }
}
@media (max-width: 880px) {
  .grid.c3, .grid.c2, .site-foot .cols { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(2n) { border-right: 0; }
  .proof li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .band { grid-template-columns: 1fr; padding: 44px 24px; }
  .drawer .wrap { grid-template-columns: 1fr 1fr; }
  section.block { padding: 64px 0; }
}
@media (max-width: 560px) {
  .brand { font-size: 14px; letter-spacing: .04em; }
  .head-r { gap: 4px; }
  .globe { display: none; }
  .langs a { padding: 4px 5px; font-size: 11.5px; }
  .hero { min-height: 0; padding: 88px 0 0; }
  .hero .hero-bg { object-position: 78% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(8,14,44,.55) 0%, rgba(8,14,44,.8) 60%, rgba(8,14,44,.92) 100%); }
  .hero .lead { font-size: 16px; }
  .stats { margin-top: 44px; }
  .stat { padding: 20px 14px 22px 0; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat span { font-size: 12.5px; }
  .tgrid { grid-template-columns: 1fr; gap: 36px; }
  .pstrip { height: 200px; }
  .page-head { padding: 80px 0 52px; }
  .page-head::before { background: linear-gradient(180deg, rgba(8,14,44,.7), rgba(8,14,44,.88)); }
  .home h2.title { margin-top: 72px !important; }
  .proof { grid-template-columns: 1fr; }
  .proof li { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof li:last-child { border-bottom: 0; }
  .drawer .wrap { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 18px; }
  .card { padding: 22px; }
}
@media (max-width: 360px) { .brand { font-size: 12.5px; letter-spacing: .02em; } .langs a { padding: 3px 3px; } }
.langs a, .dock a span, .btn { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 400px) { .brand { white-space: normal; line-height: 1.15; max-width: 132px; font-size: 13px; } .site-head > .wrap { gap: 8px; } }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 높이가 낮은 노트북 화면(1366×768 등): 첫 화면 숫자 설명이 아래 고정 메뉴에 가리지 않게 첫 화면을 조금 줄인다 */
@media (min-width: 1001px) and (max-height: 820px) {
  .hero { padding-top: 40px; min-height: max(560px, calc(100vh - 68px)); }
  .hero-inner { padding-top: 0; }
  .hero h1 { font-size: clamp(40px, min(5.2vw, 8.4vh), 72px); margin-bottom: 18px; }
  .hero .lead { margin-bottom: 24px; }
  .stats { margin-top: 28px; }
  .stat { padding: 18px 24px 20px 0; }
}

/* 제휴 병원 원장 영상(세로 9:16) */
.vid { margin: 28px auto 36px; max-width: 380px; }
.vid-frame { position: relative; aspect-ratio: 9 / 16; background: var(--navy); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(11,19,60,.55); }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.vid figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.vid figcaption strong { display: block; font-size: 18px; color: var(--ink); line-height: 1.35; margin-bottom: 4px; }
.vid .vid-len { display: inline-block; font-size: 11.5px; letter-spacing: .12em; color: var(--gold); margin-right: 8px; }
.vid .vid-note { color: var(--muted); }
.vid-tx { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.vid-tx summary { cursor: pointer; font-size: 13.5px; color: var(--sky-deep); }
.vid-tx p { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
/* 용어사전 */
.terms { margin: 8px 0 32px; display: grid; gap: 0; }
.terms > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms dt { margin: 0 0 4px; font-weight: 600; font-size: 16.5px; }
.terms dt a { color: var(--navy); text-decoration: none; }
.terms dt a:hover { color: var(--sky-deep); text-decoration: underline; }
.terms dd { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
@media (min-width: 760px) { .terms { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
/* 용어사전 도구 — HB-82 윗선 탭 + 모바일 가로 넘김 끝 흐림, AC-52 차례로 떠오름 */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gtools { position: sticky; top: 64px; z-index: 20; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 14px 0 6px; margin: 8px 0; border-bottom: 1px solid var(--line); }
.gsearch { display: block; }
.gsearch input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.gsearch input:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.gtabs { position: relative; margin-top: 12px; }
.gtabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.gtabs li { flex: 1; min-width: 0; }
.gtabs a { display: block; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .25s cubic-bezier(.22,1,.36,1), border-color .25s cubic-bezier(.22,1,.36,1); }
.gtabs a b { font-weight: 600; color: var(--sky-deep); margin-right: .6em; }
.gtabs a:hover, .gtabs a[aria-current="true"] { color: var(--navy); border-top-color: var(--navy); }
.gfade { display: none; }
.gcount { margin: 6px 0 0; font-size: 13px; color: var(--muted); min-height: 1.2em; }
.gsec { scroll-margin-top: 210px; }
.gsec[hidden], .terms > div[hidden] { display: none; }
@keyframes gRise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
.terms.rise > div { animation: gRise .45s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(min(var(--i, 0), 12) * 40ms); }
@media (max-width: 759px) {
  .gtools { top: 64px; }
  .gtabs ul { overflow-x: auto; scrollbar-width: none; gap: 14px; padding-right: 48px; }
  .gtabs ul::-webkit-scrollbar { display: none; }
  .gtabs li { flex: none; width: 136px; }
  .gfade { display: block; position: absolute; top: 0; right: 0; height: 100%; width: 64px; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .terms.rise > div { animation: none; } .gtabs a { transition: none; } }
/* 편의 기능(2026-11-19): 위 띠 제휴 병원 오늘 진료 · 아래 막대 안 바로 질문 */
.todaybar { background: var(--navy); }
.todaybar .wrap { min-height: 32px; display: flex; align-items: center; justify-content: center; padding-top: 5px; padding-bottom: 5px; }
.todaybar .today { color: rgba(255,255,255,.86); font-size: 12px; text-decoration: none; text-align: center; line-height: 1.5; }
.todaybar .today:hover { color: #fff; }
.today b { color: var(--sky-mid); font-weight: 600; margin-right: 6px; }
.today .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5fd38a; margin-right: 7px; vertical-align: 1px; }
.today .dot.off { background: var(--muted); }
.today small { color: rgba(255,255,255,.55); font-size: 11px; margin-left: 6px; }
.dock { align-items: center; }
.dq { display: none; }
.dq .hp { position: absolute; left: -9999px; }
.dq-lead { margin: 0; font-size: 12.5px; color: var(--navy); line-height: 1.35; font-weight: 600; }
.dq-f input, .dq-f select { width: 100%; box-sizing: border-box; height: 40px; padding: 0 14px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.dq-f input:focus, .dq-f select:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.dq-ok { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }
.dq-send { height: 40px; padding: 0 20px; flex: none; }
.dq [aria-invalid] { border-color: #e0533d !important; outline: 1px solid #e0533d; }
.dq-st { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0; padding: 10px 20px; font-size: 13px; background: #fff; color: var(--navy); border-top: 1px solid var(--line); display: none; pointer-events: none; text-align: center; }
.dq-st:not(:empty) { display: block; }
.dq-st.err { color: #c2412c; } .dq-st.ok { color: #1f7a45; }
@media (min-width: 1100px) {
  .dock { justify-content: center; gap: 6px; padding-left: 24px; padding-right: 24px; }
  .dock > a { flex: none; width: 74px; }
  .dock > a.dq-open { display: none; }
  .dq { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 1000px; margin-right: 10px; }
  .dq-lead { max-width: 170px; flex: none; }
  .dq-f { flex: 1; min-width: 0; }
  .dq-c { flex: 1.3; }
  .dq-ok { max-width: 150px; flex: none; }
}
@media (max-width: 1099px) {
  .dock.open .dq { display: flex; flex-direction: column; align-items: stretch; gap: 10px; position: absolute; left: 0; right: 0; bottom: 100%; background: #fff; padding: 16px 20px 18px; border-top: 1px solid var(--line); box-shadow: 0 -14px 30px -20px rgba(11,19,60,.4); }
  .dock.open a.dq-open { color: var(--sky-deep); }
}
@media (max-width: 760px) { .today small { display: block; margin: 0; } }
