/* ==========================================================================
   臺中市婦女企業諮詢協會 - 設計系統
   閱讀區 1400px / 淡紫柔和 / 繁中 + 泰文雙語
   ========================================================================== */

/* ---------- 1. 變數 ---------- */
:root {
  /* 品牌紫 */
  --purple-900: #3f3358;
  --purple-700: #574476;
  --purple-600: #6d5b92;
  --purple-400: #8c79b8;
  --purple-200: #cfc4e4;
  --purple-100: #e9e3f3;
  --purple-50:  #f3f0f8;

  /* 中性 */
  --cream:  #fbfafc;
  --white:  #ffffff;
  --ink:    #2f2a38;
  --muted:  #6b6478;
  --line:   #e6e1ee;

  /* 點綴 */
  --rose:   #c9a0b8;
  --rose-50:#fbf2f6;
  --gold:   #c9a96e;

  /* 狀態 */
  --ok:     #4f8a6d;
  --warn:   #b98544;

  --shadow-sm: 0 1px 3px rgba(109, 91, 146, .06);
  --shadow:    0 2px 8px rgba(109, 91, 146, .06), 0 12px 32px rgba(109, 91, 146, .08);
  --shadow-lg: 0 4px 12px rgba(109, 91, 146, .08), 0 24px 56px rgba(109, 91, 146, .12);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --container: 1400px;
  --gutter: 24px;

  --font-sans:  "Noto Sans TC", "Noto Sans", "Noto Sans Thai", -apple-system,
                "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", "Noto Serif", "Noto Sans Thai", Georgia,
                "PingFang TC", serif;
}

/* ---------- 2. 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
  color: var(--purple-900);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.28; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.2em; }
a { color: var(--purple-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--purple-400); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--purple-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 版面容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* 長文行寬另收，避免 1400px 一行太長 */
.prose { max-width: 820px; }
.prose-center { max-width: 820px; margin-inline: auto; }

.section { padding: clamp(56px, 6vw, 96px) 0; }
.section--tint { background: var(--purple-50); }
.section--white { background: var(--white); }
.section--deep {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-900) 100%);
  color: #fff;
}
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: rgba(255, 255, 255, .88); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--purple-400);
  margin-bottom: .9em;
}
.section--deep .eyebrow { color: var(--purple-200); }

/* 跳至主要內容 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--purple-700);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 4. 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--purple-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(109, 91, 146, .28);
}
.btn--primary:hover { background: var(--purple-700); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: var(--purple-200);
  color: var(--purple-700);
}
.btn--ghost:hover { background: var(--purple-50); border-color: var(--purple-400); }
.btn--light { background: #fff; color: var(--purple-700); }
.btn--light:hover { background: var(--purple-50); color: var(--purple-900); }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. 頂部細條 ---------- */
.topbar {
  background: var(--purple-900);
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
  line-height: 1.6;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding-block: 6px;
}
.topbar__note { display: flex; align-items: center; gap: 8px; }
.topbar__badge {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 2px 11px;
  font-size: .76rem;
  letter-spacing: .04em;
}
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 3px;
}
.lang a {
  padding: 3px 13px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.lang a[aria-current="true"] { background: #fff; color: var(--purple-900); }

/* ---------- 6. 導覽 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--purple-400), var(--purple-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(109, 91, 146, .3);
}
.brand__text { line-height: 1.3; }
.brand__name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--purple-900);
}
.brand__sub {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav__link:hover { background: var(--purple-50); color: var(--purple-700); }
.nav__link[aria-current="page"] { color: var(--purple-700); background: var(--purple-50); }
.nav__caret { width: 9px; height: 9px; transition: transform .2s ease; opacity: .6; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 232px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item.is-open .submenu,
.nav__item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--ink);
}
.submenu a:hover { background: var(--purple-50); color: var(--purple-700); }

.header__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple-700);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--purple-700);
  transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(880px 480px at 88% -8%, var(--purple-100) 0%, transparent 62%),
    radial-gradient(640px 420px at 2% 106%, var(--rose-50) 0%, transparent 60%),
    var(--cream);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 6vw, 92px) 0 clamp(40px, 4vw, 64px);
}
.hero h1 { margin-bottom: .45em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, var(--purple-100) 62%);
  padding-inline: 2px;
}
.hero__lead {
  font-size: clamp(1.02rem, .98rem + .35vw, 1.16rem);
  color: var(--muted);
  max-width: 34em;
}
.hero__note {
  margin-top: 22px;
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero 圖區（CSS 佔位，日後可直接換成 img） */
.hero__media {
  position: relative;
  aspect-ratio: 4 / 3.25;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--purple-400) 0%, var(--purple-700) 58%, var(--purple-900) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(260px 260px at 78% 22%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(300px 300px at 14% 84%, rgba(201, 160, 184, .35), transparent 70%);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
}
.media-placeholder {
  position: relative;
  text-align: center;
  color: rgba(255, 255, 255, .9);
  padding: 24px;
}
.media-placeholder svg { margin: 0 auto 14px; opacity: .92; }
.media-placeholder span {
  display: block;
  font-size: .84rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .72);
}
.media-placeholder strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}

/* 數據條 */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(24px, 4vw, 48px);
}
.stat-bar__item { background: #fff; padding: 26px 24px; text-align: center; }
.stat-bar__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 700;
  color: var(--purple-700);
  line-height: 1.2;
}
.stat-bar__label { font-size: .9rem; color: var(--muted); }

/* ---------- 8. 卡片與格線 ---------- */
.grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--purple-200);
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.card__foot { margin-top: auto; padding-top: 18px; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--purple-50);
  color: var(--purple-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon-badge--rose { background: var(--rose-50); color: #a4718c; }

/* 宗旨三欄 */
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple-400);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 38px);
  box-shadow: var(--shadow-sm);
}
.pillar__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--purple-400);
}
.pillar h3 { margin: .5em 0 .6em; }
.pillar p { color: var(--muted); margin-bottom: 0; }

.value-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--purple-700);
}
.value-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  flex: none;
}

/* ---------- 9. 課程卡 ---------- */
.course-card { position: relative; overflow: hidden; }
.course-card__thumb {
  height: 132px;
  margin: calc(-1 * clamp(24px, 2.4vw, 34px)) calc(-1 * clamp(24px, 2.4vw, 34px)) 22px;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-200));
  display: grid;
  place-items: center;
  color: var(--purple-700);
  position: relative;
}
.course-card__thumb--b { background: linear-gradient(135deg, var(--rose-50), #e8d7e2); color: #97627f; }
.course-card__thumb--c { background: linear-gradient(135deg, #e6eef0, #cfe0e3); color: #46707a; }
.course-card__thumb--d { background: linear-gradient(135deg, #f2ecdf, #e4d6bb); color: #8a7444; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.tag--open   { background: #e7f2ec; color: var(--ok); }
.tag--soon   { background: #f7efe2; color: var(--warn); }
.tag--full   { background: #efedf3; color: var(--muted); }
.tag--purple { background: var(--purple-50); color: var(--purple-700); }
.tag--rose   { background: var(--rose-50); color: #a4718c; }

.meta-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: .92rem;
  color: var(--muted);
}
.meta-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 7px;
  align-items: flex-start;
}
.meta-list b {
  flex: none;
  min-width: 4.2em;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 10. 學習路徑 ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.path::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-200), var(--purple-400), var(--rose));
}
.path__step { text-align: center; padding: 0 14px; position: relative; }
.path__dot {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--purple-400);
  color: var(--purple-700);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--cream);
}
.section--tint .path__dot { box-shadow: 0 0 0 6px var(--purple-50); }
.path__step h3 { font-size: 1.12rem; margin-bottom: .4em; }
.path__step p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }

/* ---------- 11. 公告 ---------- */
.news-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.news-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.news-hero__thumb {
  height: 236px;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-700));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .85);
}
.news-hero__body { padding: clamp(22px, 2.4vw, 32px); }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li {
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 18px 6px;
  align-items: baseline;
}
.news-list a:hover { background: var(--purple-50); }
.news-list time {
  font-size: .85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.news-list strong {
  font-weight: 600;
  color: var(--ink);
  font-size: .99rem;
  line-height: 1.6;
}
.news-list a:hover strong { color: var(--purple-700); }

/* 篩選鈕 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--purple-200); color: var(--purple-700); }
.filter-btn[aria-pressed="true"] {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: #fff;
}

/* ---------- 12. 雙語據點區 ---------- */
.bilingual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.bilingual__panel {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
}
.bilingual__panel h3 { font-size: 1.15rem; margin-bottom: .6em; }
.bilingual__th {
  font-family: "Noto Sans Thai", var(--font-sans);
  font-size: .95rem;
  line-height: 2;
  color: rgba(255, 255, 255, .8);
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .7em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(-45deg);
}

/* ---------- 13. 心聲與夥伴 ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 36px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--purple-200);
  margin-bottom: 10px;
}
.quote p { font-size: 1rem; color: var(--ink); }
.quote__who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--muted);
}
.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--purple-200), var(--rose));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.partner {
  height: 76px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
  padding: 8px;
  line-height: 1.4;
}

/* ---------- 14. CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-900));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(36px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 0; max-width: 46em; }
.cta-band__text { position: relative; z-index: 1; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- 15. 內頁標頭 ---------- */
.page-head {
  background:
    radial-gradient(700px 320px at 82% -20%, var(--purple-100), transparent 64%),
    var(--purple-50);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px);
}
.page-head h1 { margin-bottom: .35em; }
.page-head p { color: var(--muted); max-width: 44em; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 18px;
  list-style: none;
  padding: 0;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--purple-200); }

/* 頁內錨點導覽 */
.anchor-nav {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.anchor-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav li { margin: 0; }
.anchor-nav a {
  display: block;
  white-space: nowrap;
  padding: 15px 16px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.anchor-nav a:hover { color: var(--purple-700); }
.anchor-nav a.is-active { color: var(--purple-700); border-bottom-color: var(--purple-600); }

/* ---------- 16. 表格 / 表單 / FAQ ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--purple-50); color: var(--purple-900); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .req { color: #a4718c; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px var(--purple-100);
}
.form-note { font-size: .86rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  background: none;
  border: 0;
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--purple-900);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--purple-600); }
.faq__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--purple-700);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .2s ease;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 4px 22px; color: var(--muted); max-width: 62em; }
.faq__a.is-open { display: block; }
.faq__a p:last-child { margin-bottom: 0; }

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 32px);
  box-shadow: var(--shadow-sm);
}
.info-row { display: flex; gap: 14px; margin-bottom: 18px; }
.info-row:last-child { margin-bottom: 0; }
.info-row__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-700);
  display: grid;
  place-items: center;
}
.info-row__body { font-size: .95rem; line-height: 1.7; }
.info-row__body b { display: block; color: var(--purple-900); }
.info-row__body span { color: var(--muted); }

.map-placeholder {
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px dashed var(--purple-200);
  background: repeating-linear-gradient(45deg, var(--purple-50) 0 12px, #fff 12px 24px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  padding: 20px;
}

/* 時間軸 */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--purple-100);
}
.timeline li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 22px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple-400);
}
.timeline b { display: block; color: var(--purple-700); font-size: .92rem; letter-spacing: .04em; }
.timeline span { color: var(--muted); font-size: .97rem; }

/* 提示框 */
.notice {
  background: var(--rose-50);
  border: 1px solid #f0dce6;
  border-left: 4px solid var(--rose);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .92rem;
  color: #7c5468;
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- 17. 頁尾 ---------- */
.site-footer {
  background: var(--purple-900);
  color: rgba(255, 255, 255, .72);
  padding: clamp(48px, 5vw, 72px) 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 44px;
}
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .1em;
  margin-bottom: 1.1em;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: rgba(255, 255, 255, .5); }
.footer-brand p { color: rgba(255, 255, 255, .62); font-size: .92rem; max-width: 30em; margin-top: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
}

/* 示範內容標記 */
.demo-flag {
  background: #fff8e6;
  border: 1px dashed #e0c98a;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: .87rem;
  color: #8a6d2f;
  margin-bottom: 24px;
}

/* ---------- 18. 多語版字型微調 ---------- */
html[lang="th"] body { line-height: 2; }
html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] h4 { font-family: "Noto Sans Thai", var(--font-serif); line-height: 1.55; }
html[lang="th"] .brand__name { font-family: "Noto Sans Thai", var(--font-serif); font-size: .98rem; }
html[lang="th"] .quote__mark,
html[lang="th"] .path__dot,
html[lang="th"] .stat-bar__num { font-family: var(--font-serif); }

html[lang="vi"] body { font-family: "Noto Sans", var(--font-sans); }
html[lang="vi"] h1,
html[lang="vi"] h2,
html[lang="vi"] h3,
html[lang="vi"] h4 { font-family: "Noto Serif", var(--font-serif); line-height: 1.42; }
html[lang="vi"] .brand__name { font-family: "Noto Serif", var(--font-serif); font-size: .96rem; }

.bilingual__vi,
.bilingual__th { font-size: .95rem; line-height: 2; color: rgba(255, 255, 255, .8); }
.bilingual__vi { font-family: "Noto Sans", var(--font-sans); }

/* ---------- 19. 響應式 ---------- */
@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 90px; }
  .site-header .container { min-height: 68px; }
  .nav-toggle { display: grid; }
  .header__cta .btn { display: none; }

  .nav {
    position: fixed;
    inset: 110px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); }
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--purple-100);
    border-radius: 0;
    margin: 2px 0 8px 16px;
    padding: 0 0 0 8px;
    min-width: 0;
    display: none;
  }
  .nav__item:hover .submenu { display: none; }
  .nav__item.is-open .submenu { display: block; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 560px; aspect-ratio: 16 / 11; }
  .news-feature { grid-template-columns: minmax(0, 1fr); }
  .bilingual { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .anchor-nav { top: 68px; }
}

@media (max-width: 860px) {
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 0; }
  .path::before { display: none; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .stat-bar { grid-template-columns: minmax(0, 1fr); }
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .partner-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar__note { display: none; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .news-list a { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .topbar, .anchor-nav, .site-footer, .btn { display: none; }
  body { background: #fff; }
}
