:root {
  --blue-deep: #5C4430;
  --blue: #8A6647;
  --blue-bright: #B08A5F;
  --blue-pale: #F5EEE3;
  --blue-line: #E5D8C4;
  --ink: #2B2318;
  --ink-soft: #6B5D4D;
  --paper: #FFFFFF;
  --paper-alt: #FAF6EF;
  --gold: #B08A4E;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans TC", system-ui, -apple-system, Arial, sans-serif;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* TOP UTILITY BAR */
.utility-bar {
  background: var(--blue-deep); color: #fff; font-size: 12.5px;
}
.utility-bar .wrap {
  display: flex; justify-content: space-between; align-items: center; height: 36px;
}
.utility-bar a { text-decoration: none; color: #DCEBF9; }
.utility-bar .u-links { display: flex; gap: 18px; }
@media (max-width: 700px) { .utility-bar .u-links span:not(:first-child) { display: none; } }

/* NAV */
nav.topnav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blue-line);
}
nav.topnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--blue-deep);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; font-family: "Noto Serif TC", serif;
}
.brand-name { font-weight: 700; font-size: 19px; color: var(--blue-deep); }
.brand-sub { font-size: 11.5px; color: var(--ink-soft); display: block; margin-top: 1px; }
.navlinks { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 600; }
.navlinks a { text-decoration: none; color: var(--ink-soft); }
.navlinks a:hover, .navlinks a.active { color: var(--blue-deep); }
.nav-cta { background: var(--blue-deep); color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.nav-cta:hover { background: var(--blue); }
@media (max-width: 860px) { .navlinks { display: none; } }

/* HERO */
header.hero {
  padding: 76px 0 68px;
  background: linear-gradient(160deg, var(--blue-pale) 0%, #FFFFFF 60%);
  border-bottom: 1px solid var(--blue-line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
h1.hero-title { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.3; margin: 0 0 20px; color: var(--blue-deep); }
.hero-sub { font-size: 16.5px; color: var(--ink-soft); line-height: 1.85; max-width: 520px; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: all 0.15s ease; }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue-deep); border: 1.5px solid var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue-deep); }
.hero-panel {
  background: var(--paper); border: 1px solid var(--blue-line); border-radius: 18px;
  padding: 30px; box-shadow: 0 20px 40px -20px rgba(22,58,95,0.18);
}
.hero-panel h3 { margin: 0 0 16px; font-size: 15px; color: var(--blue-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-fact { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--blue-line); font-size: 14px; color: var(--ink-soft); }
.hero-fact:last-child { border-bottom: none; }
.hero-fact strong { color: var(--ink); min-width: 84px; display: inline-block; }

/* TRUST STRIP */
.trust-strip { background: var(--blue-deep); color: #fff; padding: 22px 0; }
.trust-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: center; }
.trust-item { flex: 1; min-width: 140px; font-size: 13.5px; font-weight: 600; color: #DCEBF9; }
.trust-item strong { display: block; font-size: 15px; color: #fff; margin-bottom: 4px; }

section { padding: 80px 0; }
section.alt { background: var(--paper-alt); }
h2.section-title { font-size: 30px; text-align: center; margin: 0 0 14px; color: var(--blue-deep); }
p.section-sub { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 0 auto 48px; font-size: 15.5px; line-height: 1.8; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: var(--blue-pale); border-radius: 18px; padding: 32px; border: 1px solid var(--blue-line);
}
.about-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 2; }
.about-text p { font-size: 16px; line-height: 1.9; color: var(--ink-soft); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { background: var(--paper); border: 1px solid var(--blue-line); border-radius: 14px; padding: 26px 20px; text-align: center; }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-weight: 700; font-size: 20px;
}
.team-name { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.team-role { font-size: 12.5px; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.team-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* CENTERS */
.centers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 960px) { .centers-grid { grid-template-columns: repeat(2, 1fr); } }
.center-card {
  background: var(--paper); border: 1px solid var(--blue-line); border-radius: 14px; padding: 26px 18px;
  text-align: center; text-decoration: none; transition: all 0.15s ease;
}
.center-card:hover { border-color: var(--blue-bright); transform: translateY(-2px); }
.center-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-deep); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 20px; font-weight: 700;
}
.center-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.center-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

/* HEALTH LIBRARY TEASER */
.lib-teaser {
  background: var(--blue-deep); border-radius: 20px; padding: 52px 40px; text-align: center; color: #fff;
}
.lib-teaser h2 { color: #fff; }
.lib-teaser p { color: #C9DCEE; max-width: 600px; margin: 0 auto 28px; line-height: 1.8; }
.lib-teaser .btn-primary { background: #fff; color: var(--blue-deep); }

/* STORIES */
.stories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .stories-grid { grid-template-columns: 1fr; } }
.story-card { background: var(--paper); border: 1px solid var(--blue-line); border-radius: 14px; padding: 28px; }
.story-tag { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.story-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; margin: 0 0 14px; }
.story-quote { font-size: 14px; font-style: italic; color: var(--ink); border-left: 3px solid var(--blue-bright); padding-left: 14px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper); border: 1px solid var(--blue-line); border-radius: 16px; padding: 32px; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--blue-line); font-size: 14.5px; }
.contact-row:last-child { border-bottom: none; }
.contact-row .label { min-width: 90px; font-weight: 700; color: var(--blue-deep); }
.contact-row .value { color: var(--ink-soft); line-height: 1.7; }
.map-placeholder {
  background: var(--blue-pale); border: 1px solid var(--blue-line); border-radius: 16px;
  height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 14px; text-align: center; padding: 20px;
}

footer { padding: 48px 0 32px; border-top: 1px solid var(--blue-line); background: var(--paper-alt); }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.foot-links a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.foot-links a:hover { color: var(--blue-deep); }
.foot-copy { text-align: center; color: var(--ink-soft); font-size: 13px; border-top: 1px solid var(--blue-line); padding-top: 22px; }

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); text-decoration: none;
}
