/* ============================================================
   港才通 HK Talent Link — 主樣式表
   深藍・金 | 專業穩重
   ============================================================ */

:root {
  --navy-900: #071729;
  --navy-800: #0A2138;
  --navy-700: #0E2C48;
  --navy-600: #143A5C;
  --navy-100: #E8EDF3;

  --gold-600: #8A6E2C;
  --gold-500: #A98B3F;
  --gold-400: #BFA05A;
  --gold-200: #E4D5B8;

  --cream: #FAF8F3;
  --cream-2: #F3EFE6;
  --paper: #FFFFFF;

  --ink: #12233A;
  --ink-2: #3C4F66;
  --ink-3: #6B7C90;
  --line: #E2DED4;
  --line-dark: rgba(255,255,255,.12);

  --serif: "Noto Serif TC", "Songti TC", "PingFang TC", "Microsoft JhengHei", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(10,33,56,.05), 0 4px 16px rgba(10,33,56,.04);
  --shadow-md: 0 8px 30px rgba(10,33,56,.08);
  --shadow-lg: 0 20px 60px rgba(10,33,56,.14);

  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 5px;

  --wrap: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--cream); }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.gold { color: var(--gold-400); }

/* ---------- 通用標題 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .16em;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  margin: 0 0 22px;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--ink-3); }
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(201,162,39,.16);
}
.eyebrow .dot.gold { background: var(--gold-400); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  margin: 0;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--ink);
  margin-bottom: 18px;
}
.section-head .sub {
  font-size: 16.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.9;
}

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
  background: var(--gold-500);
  color: #FFFDF6;
  border-color: rgba(0,0,0,.08);
}
.btn-gold:hover {
  background: var(--gold-600);
}

.btn-ghost {
  background: transparent;
  color: #FFF;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-200);
  background: rgba(255,255,255,.05);
}

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gold-600);
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(168,135,30,.28);
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 14px; border-color: var(--gold-600); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease),
              box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,248,243,.94);
  backdrop-filter: blur(14px) saturate(150%);
  padding: 11px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 2px 24px rgba(10,33,56,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
/* 【Logo】assets/logo-banner.png — 藍底卡片、紅色扇貝、白色中英文全稱（取自原稿比例） */
.brand-banner {
  display: block;
  height: 52px; width: auto;
  flex: none;
}
/* 深色面板上的單色白標 */
.cred-logo { width: 19px; height: 19px; flex: none; object-fit: contain; opacity: .88; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav > a:not(.btn):not(.lang-switch) {
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255,255,255,.78);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav > a:not(.btn):not(.lang-switch)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-500);
  transition: width .3s var(--ease);
}
.nav > a:not(.btn):not(.lang-switch):hover { color: #FFF; }
.nav > a:not(.btn):not(.lang-switch):hover::after { width: 100%; }
.site-header.scrolled .nav > a:not(.btn):not(.lang-switch) { color: var(--ink-2); }
.site-header.scrolled .nav > a:not(.btn):not(.lang-switch):hover { color: var(--navy-800); }

.lang-switch {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-400);
  border: 1px solid rgba(201,162,39,.45);
  border-radius: 3px;
  padding: 4px 9px;
  transition: all .25s var(--ease);
}
.lang-switch:hover { background: var(--gold-500); color: #0A2138; border-color: var(--gold-500); }

.nav-cta { margin-left: 4px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0 11px;
}
.burger span {
  display: block;
  height: 1.5px;
  background: #FFF;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease), background .3s;
}
.site-header.scrolled .burger { border-color: var(--line); }
.site-header.scrolled .burger span { background: var(--navy-800); }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: #FFF;
  padding: 168px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .16;
}
.glow-a {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(201,162,39,.34), transparent 68%);
  top: -220px; right: -140px;
}
.glow-b {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(38,96,150,.5), transparent 70%);
  bottom: -260px; left: -180px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 74px;
}

.hero-copy h1 {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: .005em;
  margin-bottom: 26px;
  max-width: 640px;
  text-wrap: balance;
}
.hero-copy h1 .gold { color: var(--gold-200); }

.lede {
  font-size: 16.5px;
  line-height: 1.95;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin: 0 0 34px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.hero-note svg { width: 15px; height: 15px; color: var(--gold-400); }

/* --- 右側：公司概況面板 --- */
.hero-visual { position: relative; }
.cred-panel {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(4px);
}
.cred-head {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.62);
}
.cred-body { margin: 0; }
.cred-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255,255,255,.075);
  align-items: baseline;
}
.cred-row dt {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
}
.cred-row dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
}
.cred-row dd em { font-style: normal; color: var(--gold-200); }
.cred-foot {
  padding: 14px 22px;
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.38);
}

/* --- 數據條 --- */
.hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.14);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat:last-child { border-right: none; }
.stat strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--gold-200);
  line-height: 1.1;
  letter-spacing: .02em;
}
.stat span { font-size: 12.5px; color: rgba(255,255,255,.5); letter-spacing: .06em; }

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience { padding: 108px 0; background: var(--cream); }

.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.aud-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px 40px 38px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.aud-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,39,.35); }
.aud-card:hover::before { transform: scaleX(1); }

.aud-tag {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.aud-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy-100), #F5F2EA);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.aud-icon svg { width: 28px; height: 28px; }

.aud-card h3 { font-size: 25px; margin-bottom: 14px; color: var(--ink); }
.aud-card > p { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin: 0 0 24px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(201,162,39,.14);
  box-shadow: inset 0 0 0 1px rgba(201,162,39,.4);
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 5px; height: 2.5px;
  border-left: 1.4px solid var(--gold-600);
  border-bottom: 1.4px solid var(--gold-600);
  transform: rotate(-45deg);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 100px 0 108px; background: var(--paper); border-top: 1px solid var(--line); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc-card {
  position: relative;
  background: var(--paper);
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.svc-card:hover { background: #FDFBF6; z-index: 2; }

.svc-no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.svc-card h3 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.45;
}
.svc-en {
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 16px;
  line-height: 1.5;
  min-height: 26px;
}
.svc-card p:not(.svc-en) {
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 22px;
  flex-grow: 1;
}
.svc-meta {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.svc-card.highlight { background: linear-gradient(170deg, #FBF7EA, #FDFBF6); }
.svc-card.highlight:hover { background: linear-gradient(170deg, #F8F2DF, #FDFBF6); }
.svc-card.highlight h3 { color: var(--navy-700); }
.svc-badge {
  position: absolute;
  top: 22px; right: 20px;
  font-size: 10px;
  letter-spacing: .1em;
  background: var(--gold-500);
  color: #FFFDF6;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 104px 0 112px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.tl-item {
  position: relative;
  padding: 0 32px 44px 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: 19px; left: 44px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--line) 70%, transparent 100%);
}
.tl-item:nth-child(3n)::before { display: none; }

.tl-dot {
  position: relative;
  z-index: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(201,162,39,.4);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: .04em;
  margin-bottom: 22px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.tl-item:hover .tl-dot {
  background: var(--navy-800);
  color: var(--gold-300, #EBDCA6);
  border-color: var(--navy-800);
  transform: scale(1.08);
}

.tl-body h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.tl-body p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0 0 12px; }
.tl-time {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gold-600);
  background: rgba(201,162,39,.09);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ============================================================
   NURSE
   ============================================================ */
.nurse {
  position: relative;
  padding: 112px 0;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800) 60%, #0C2740);
  color: #FFF;
  overflow: hidden;
  isolation: isolate;
}
.nurse-bg { position: absolute; inset: 0; z-index: 0; }
.nurse-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.2), transparent 66%);
  filter: blur(80px);
  top: -280px; left: -180px;
}
.nurse-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

.nurse-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 66px;
  align-items: start;
}

.nurse-copy h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.34;
  margin-bottom: 24px;
  color: #FFF;
}
.nurse-copy h2 .gold {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nurse-lede {
  font-size: 15.5px;
  line-height: 2;
  color: rgba(255,255,255,.7);
  max-width: 580px;
  margin: 0 0 46px;
  font-weight: 300;
}
.nurse-lede strong { color: var(--gold-200); font-weight: 500; }

.nurse-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
  margin-bottom: 44px;
}
.ns { position: relative; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.ns-no {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--gold-400);
  display: block;
  margin-bottom: 8px;
}
.ns h4 { font-size: 17px; color: #FFF; margin-bottom: 8px; font-weight: 600; }
.ns p { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.58); margin: 0; }

.nurse-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 36px 32px 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.nurse-card h3 {
  font-size: 20px;
  color: #FFF;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.warn-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.warn-list li {
  display: flex;
  gap: 13px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
}
.warn-list li span {
  flex: none;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--gold-400);
  padding-top: 2px;
}
.nurse-card-foot {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nurse-card-foot strong { font-size: 14px; color: var(--gold-200); font-weight: 500; }
.nurse-card-foot span { font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ============================================================
   WHY
   ============================================================ */
.why { padding: 108px 0; background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 44px;
}
.why-item { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.why-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy-700);
  margin-bottom: 20px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.why-ico svg { width: 24px; height: 24px; }
.why-item:hover .why-ico {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--gold-200);
}
.why-item h3 { font-size: 18.5px; color: var(--ink); margin-bottom: 11px; }
.why-item p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0; }

/* ============================================================
   CASES
   ============================================================ */
.cases { padding: 96px 0 104px; background: var(--paper); border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,162,39,.35);
}
.case-tag {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--gold-600);
  background: rgba(201,162,39,.1);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.case-card h3 {
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 12px;
}
.case-desc {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  margin: 0 0 22px;
  flex-grow: 1;
}
.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-facts span {
  font-size: 11.5px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 11px;
  background: var(--paper);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0 108px; background: var(--cream); border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.faq-head .sub { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin: 0; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 46px 24px 0;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-600); }

.faq-ico {
  position: absolute;
  right: 4px; top: 50%;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transform: translateY(-50%);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  left: 50%; top: 50%;
  transition: transform .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { width: 11px; height: 1.2px; transform: translate(-50%,-50%); }
.faq-ico::after { width: 1.2px; height: 11px; transform: translate(-50%,-50%); }

.faq-item[open] .faq-ico { background: var(--navy-800); border-color: var(--navy-800); }
.faq-item[open] .faq-ico::before { background: var(--gold-200); }
.faq-item[open] .faq-ico::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }

.faq-body { padding: 0 56px 26px 0; animation: fadeIn .35s var(--ease); }
.faq-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  padding: 108px 0;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: #FFF;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.16), transparent 68%);
  filter: blur(80px);
  right: -180px; top: -240px;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.38;
  margin-bottom: 22px;
  color: #FFF;
}
.contact-copy > p {
  font-size: 15.5px;
  line-height: 2;
  color: rgba(255,255,255,.66);
  margin: 0 0 42px;
  font-weight: 300;
  max-width: 460px;
}

.contact-channels { display: flex; flex-direction: column; gap: 2px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.025);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  margin-bottom: 10px;
}
.channel:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(201,162,39,.4);
  transform: translateX(4px);
}
.channel-static { cursor: default; }
.channel-static:hover {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.1);
  transform: none;
}
.channel-static em { font-size: 14px; line-height: 1.55; }
.ch-ico {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: rgba(201,162,39,.13);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  flex: none;
}
.ch-ico svg { width: 20px; height: 20px; }
.channel span { display: flex; flex-direction: column; line-height: 1.4; }
.channel strong { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55); letter-spacing: .06em; }
.channel em { font-style: normal; font-size: 15.5px; color: #FFF; margin-top: 3px; letter-spacing: .02em; }

/* --- 表單 --- */
.contact-form {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 40px 38px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  color: var(--ink);
}
.contact-form h3 {
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); letter-spacing: .04em; }
.req { color: var(--gold-600); }

.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
  outline: none;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236B7C90' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #A9B3C0; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-500);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(201,162,39,.13);
}
.field input.invalid, .field textarea.invalid { border-color: #C4553F; box-shadow: 0 0 0 3px rgba(196,85,63,.1); }

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px;
}
.seg {
  border: none;
  background: transparent;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: 4px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.seg.is-active {
  background: var(--navy-800);
  color: #FFF;
  box-shadow: 0 2px 8px rgba(10,33,56,.18);
}

.form-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.75; margin: 14px 0 0; text-align: center; }
.form-success {
  margin: 14px 0 0;
  padding: 18px 18px 16px;
  background: rgba(201,162,39,.08);
  border: 1px solid rgba(201,162,39,.32);
  border-radius: var(--r-sm);
  animation: fadeIn .4s var(--ease);
}
.form-success p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--gold-600);
  text-align: center;
}
.form-success .btn { font-size: 14px; padding: 12px 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.6);
  padding: 68px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 54px;
}
.footer-logo { margin-bottom: 22px; }
.footer-logo .brand-banner { height: 56px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin: 0; max-width: 300px; color: rgba(255,255,255,.5); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
  margin-bottom: 8px;
}
.footer-col a, .footer-col p {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  margin: 0;
  line-height: 1.7;
  transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--gold-200); }
.footer-col .hours { font-size: 12.5px; color: rgba(255,255,255,.38); margin-top: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom p { font-size: 11.5px; color: rgba(255,255,255,.35); margin: 0; line-height: 1.8; }
.footer-bottom .disclaimer { max-width: 620px; text-align: right; }

/* ============================================================
   動畫
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.shown { opacity: 1; transform: none; }


/* 防止网格子项以 min-content 撑宽页面（移动端溢出） */
.hero-inner > *, .svc-grid > *, .why-grid > *, .timeline > *, .stats-inner > *,
.case-grid > *, .aud-grid > *, .nurse-steps > *, .footer-top > * { min-width: 0; }
.cred-panel, .cred-body, .cred-row, .cred-row dd { min-width: 0; }
.cred-row dd { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb-ring, .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   響應式
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: auto; order: 2; transform: none; margin-top: 4px; }
  .cred-panel { max-width: 560px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .nurse-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 34px; }
  .faq-head { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl-item:nth-child(3n)::before { display: block; }
  .tl-item:nth-child(2n)::before { display: none; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 12px 24px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav > a:not(.btn):not(.lang-switch),
  .site-header.scrolled .nav > a:not(.btn):not(.lang-switch) {
    color: var(--ink-2);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
  }
  .nav > a:not(.btn):not(.lang-switch)::after { display: none; }
  .lang-switch { margin: 16px 0 0; align-self: flex-start; color: var(--gold-600); border-color: rgba(168,135,30,.4); }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
  .burger { display: flex; }

  .case-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .aud-grid { grid-template-columns: 1fr; }
  .nurse-steps { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .brand-banner { height: 44px; }
  .hero { padding-top: 132px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.4; }
  .hero-visual { height: auto; transform: none; margin: 6px 0 0; }
  .cred-row { grid-template-columns: 92px 1fr; gap: 12px; padding: 13px 18px; }
  .cred-head { padding: 14px 18px; }
  .cred-foot { padding: 12px 18px; }
  .hero-stats .stat { padding: 20px 16px; }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 11px; }
  .audience, .services, .process, .nurse, .why, .cases, .faq, .contact { padding-top: 68px; padding-bottom: 68px; }
  .section-head { margin-bottom: 38px; }
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .timeline { grid-template-columns: 1fr; }
  .tl-item { padding: 0 0 34px 0; }
  .tl-item::before { display: none !important; }
  .aud-card { padding: 32px 24px 28px; }
  .nurse-card, .contact-form { padding: 30px 22px 26px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom .disclaimer { text-align: left; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { left: 10px; }
}
