/* ============================================================
   三井作造 ｜ 設計師培訓 — 業務流程教材
   深炭黑 + 香檳金 + 暖米
   ============================================================ */

:root {
  /* ===== 亮版（預設） ===== */
  --bg-deep:        #ece5d5;
  --bg:             #f7f2e6;
  --bg-elev:        #ffffff;
  --bg-elev-2:      #fbf6ea;

  --gold:           #a3804a;
  --gold-bright:    #8a6938;
  --gold-soft:      #b89968;
  --gold-dark:      #6e5530;
  --gold-line:      rgba(163,128,74,.22);
  --gold-line-2:    rgba(163,128,74,.45);
  --gold-tint:      rgba(163,128,74,.08);

  --red:            #b84a3b;
  --red-soft:       rgba(184,74,59,.10);
  --red-line:       rgba(184,74,59,.35);

  --green:          #4a8359;
  --green-soft:     rgba(74,131,89,.10);
  --green-line:     rgba(74,131,89,.32);

  --blue:           #4a7aa3;
  --blue-soft:      rgba(74,122,163,.10);
  --blue-line:      rgba(74,122,163,.32);

  --text:           #2a2620;
  --text-bright:    #14110c;
  --text-muted:     #6a6358;
  --text-dim:       #9a9388;

  --line:           rgba(20,17,12,.08);
  --line-soft:      rgba(20,17,12,.04);

  --serif:    "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --sans:     "Noto Sans TC", "PingFang TC", "Helvetica Neue", sans-serif;
  --display:  "Cormorant Garamond", "Noto Serif TC", serif;

  --container: 1180px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 10px;
  --radius-lg: 18px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== 暗版 ===== */
[data-theme="dark"] {
  --nav-bg:           rgba(8,8,12,.78);
  --hero-overlay-top: rgba(8,8,12,.6);
  --hero-overlay-bot: rgba(8,8,12,.92);
  --hero-glow:        rgba(201,168,120,.12);

  --bg-deep:        #06060a;
  --bg:             #0c0c10;
  --bg-elev:        #14141a;
  --bg-elev-2:      #1c1c24;

  --gold:           #c9a878;
  --gold-bright:    #e6cb96;
  --gold-soft:      #b89968;
  --gold-dark:      #8b7340;
  --gold-line:      rgba(201,168,120,.22);
  --gold-line-2:    rgba(201,168,120,.50);
  --gold-tint:      rgba(201,168,120,.08);

  --red:            #d97766;
  --red-soft:       rgba(217,119,102,.14);
  --red-line:       rgba(217,119,102,.40);

  --green:          #8cc99a;
  --green-soft:     rgba(140,201,154,.12);
  --green-line:     rgba(140,201,154,.40);

  --blue:           #7fa9d4;
  --blue-soft:      rgba(127,169,212,.12);
  --blue-line:      rgba(127,169,212,.35);

  --text:           #ebe4d6;
  --text-bright:    #f7f1e2;
  --text-muted:     #a8a294;
  --text-dim:       #6e6a60;

  --line:           rgba(255,255,255,.07);
  --line-soft:      rgba(255,255,255,.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .02em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1100px 540px at 12% -8%, rgba(201,168,120,.06), transparent 60%),
    radial-gradient(900px 480px at 110% 15%, rgba(201,168,120,.04), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(201,168,120,.025), transparent 60%);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

.ic {
  width: 22px; height: 22px;
  flex: 0 0 auto;
  color: var(--gold);
  display: inline-block;
  vertical-align: middle;
}
.ic--lg { width: 36px; height: 36px; }
.ic--xl { width: 52px; height: 52px; }
.ic--sm { width: 16px; height: 16px; }

/* ===== 進度條 ===== */
.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 60;
  background: transparent;
}
.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  transition: width .12s linear;
}

/* ===== 導覽 ===== */
.nav {
  position: fixed; top: 2px; left: 0; right: 0; z-index: 50;
  background: var(--nav-bg, rgba(247,242,230,.85));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--gold-line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand__cn {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500;
  letter-spacing: .26em;
  color: var(--text-bright);
}
.brand__en {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: .42em;
  color: var(--gold);
  margin-top: 4px;
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
}
.nav__links a {
  font-size: 13px; color: var(--text-muted);
  letter-spacing: .14em;
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__cta {
  padding: 9px 18px;
  border: 1px solid var(--gold-line-2);
  border-radius: 999px;
  color: var(--gold) !important;
}
.nav__cta:hover { background: var(--gold-tint); color: var(--gold-bright) !important; }
.nav__toggle { display: none; }

/* ===== 主題切換 ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-line-2);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  margin-right: 4px;
}
.theme-toggle:hover {
  background: var(--gold-tint);
  color: var(--gold-bright);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: block; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px; padding: 8px;
  }
  .nav__toggle span {
    display: block; width: 22px; height: 1.5px; background: var(--gold);
  }
  .nav.is-open .nav__inner { flex-wrap: wrap; height: auto; padding-bottom: 16px; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 14px; width: 100%; padding-top: 14px; border-top: 1px solid var(--line);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--hero-overlay-top, rgba(247,242,230,.4)), var(--hero-overlay-bot, rgba(247,242,230,.92)) 60%, var(--bg)),
    radial-gradient(800px 600px at 70% 30%, var(--hero-glow, rgba(163,128,74,.10)), transparent 60%);
  z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(var(--gold-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--gold-line-2);
  border-radius: 999px;
  font-size: 12px; letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 36px;
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .04em;
  color: var(--text-bright);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-bright);
  font-family: var(--display);
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.9;
  margin-bottom: 48px;
}
.hero__values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 56px;
  max-width: 720px;
}
.hero__value {
  padding: 18px 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  backdrop-filter: blur(6px);
  text-align: center;
}
.hero__value__cn {
  font-family: var(--serif);
  font-size: 20px; font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: .18em;
  margin-bottom: 6px;
}
.hero__value__en {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 32px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: .12em;
}
.hero__meta strong {
  color: var(--text-muted);
  font-weight: 400;
}
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .3em;
  z-index: 3;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollDown 2.4s var(--ease) infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-18px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

@media (max-width: 720px) {
  .hero__values { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Section 共用 ===== */
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(201,168,120,.025), transparent);
}

.section__head {
  margin-bottom: 56px;
  max-width: 760px;
}
.section__num {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .42em;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.section__num::before {
  content: ""; width: 36px; height: 1px;
  background: var(--gold-line-2);
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section__title em {
  font-family: var(--display);
  font-style: normal;
  color: var(--gold-bright);
}
.section__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== 核心價值 ===== */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value {
  position: relative;
  padding: 36px 28px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line-2);
}
.value__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  margin-bottom: 22px;
}
.value__icon .ic { width: 28px; height: 28px; }
.value__cn {
  font-family: var(--serif);
  font-size: 26px; font-weight: 500;
  letter-spacing: .12em;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.value__en {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.value__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

@media (max-width: 880px) {
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
}

/* ===== 重點強調盒 ===== */
.callout {
  position: relative;
  padding: 28px 30px 28px 70px;
  border: 1px solid var(--gold-line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gold-tint), transparent 70%);
  margin: 28px 0;
}
.callout::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
  border-radius: 4px 0 0 4px;
}
.callout__icon {
  position: absolute; left: 24px; top: 28px;
  color: var(--gold-bright);
}
.callout__icon .ic { width: 28px; height: 28px; }
.callout__title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 8px;
  letter-spacing: .08em;
}
.callout__body { color: var(--text); font-size: 15px; line-height: 1.9; }
.callout__body strong { color: var(--gold-bright); font-weight: 500; }

.callout--red {
  border-color: var(--red-line);
  background: linear-gradient(180deg, var(--red-soft), transparent 70%);
}
.callout--red::before { background: linear-gradient(180deg, #e89684, #b85d4d); }
.callout--red .callout__title,
.callout--red .callout__icon { color: var(--red); }
.callout--red .callout__body strong { color: var(--red); }

.callout--green {
  border-color: var(--green-line);
  background: linear-gradient(180deg, var(--green-soft), transparent 70%);
}
.callout--green::before { background: linear-gradient(180deg, #a3d8b1, #6ab080); }
.callout--green .callout__title,
.callout--green .callout__icon { color: var(--green); }
.callout--green .callout__body strong { color: var(--green); }

.callout--blue {
  border-color: var(--blue-line);
  background: linear-gradient(180deg, var(--blue-soft), transparent 70%);
}
.callout--blue::before { background: linear-gradient(180deg, #9cc1e3, #5a8bb8); }
.callout--blue .callout__title,
.callout--blue .callout__icon { color: var(--blue); }
.callout--blue .callout__body strong { color: var(--blue); }

/* ===== 14 原則卡片 ===== */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.principle {
  display: flex; gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.principle:hover {
  border-color: var(--gold-line-2);
  background: var(--bg-elev-2);
}
.principle__num {
  font-family: var(--display);
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  min-width: 38px;
  letter-spacing: -.02em;
}
.principle__body {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
}
.principle__body strong {
  color: var(--gold-bright);
  font-weight: 500;
}
.principle--key {
  border-color: var(--gold-line-2);
  background: linear-gradient(160deg, var(--gold-tint), var(--bg-elev));
  box-shadow: 0 0 0 1px var(--gold-tint) inset;
}
.principle--key .principle__num { color: var(--gold-bright); }
.principle__tag {
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 6px;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--gold-bright);
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  border-radius: 3px;
}

@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
}

/* ===== 關鍵數字 ===== */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0;
}
.kpi {
  text-align: center;
  padding: 32px 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--gold-tint), transparent 70%);
  pointer-events: none;
}
.kpi__num {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  position: relative;
}
.kpi__unit {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  margin-left: 4px;
  letter-spacing: .04em;
}
.kpi__label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .14em;
  position: relative;
}

@media (max-width: 760px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 流程時間軸 ===== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
  margin: 48px 0 24px;
  padding: 0 8px;
}
.timeline__line {
  position: absolute; top: 36px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright), var(--gold-dark));
  z-index: 0;
}
.tl-node {
  position: relative;
  z-index: 1;
  text-align: center;
  cursor: pointer;
}
.tl-node__dot {
  width: 72px; height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--gold-line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all .35s var(--ease);
  position: relative;
}
.tl-node__dot::after {
  content: attr(data-step);
  position: absolute;
  top: -10px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--gold-line-2);
  color: var(--gold);
  font-family: var(--display);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.tl-node:hover .tl-node__dot {
  border-color: var(--gold-bright);
  background: var(--gold-tint);
  transform: translateY(-2px);
}
.tl-node__dot .ic { width: 28px; height: 28px; }
.tl-node__label {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .12em;
  line-height: 1.5;
}
.tl-node:hover .tl-node__label { color: var(--gold-bright); }

@media (max-width: 980px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 8px;
  }
  .timeline__line { display: none; }
  .tl-node__dot { width: 60px; height: 60px; }
  .tl-node__label { font-size: 12px; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 階段卡片 ===== */
.stages {
  display: flex; flex-direction: column;
  gap: 28px;
}
.stage {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.stage:hover { border-color: var(--gold-line); }
.stage__cover {
  padding: 32px 28px;
  background:
    linear-gradient(160deg, rgba(201,168,120,.12), rgba(201,168,120,.02)),
    var(--bg-elev-2);
  border-right: 1px solid var(--gold-line);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.stage__cover::before {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--gold-tint), transparent 70%);
  pointer-events: none;
}
.stage__step {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .42em;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}
.stage__icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deep);
  border: 1px solid var(--gold-line-2);
  border-radius: 18px;
  margin-bottom: 22px;
  color: var(--gold-bright);
  position: relative;
}
.stage__icon .ic { width: 36px; height: 36px; }
.stage__name {
  font-family: var(--serif);
  font-size: 28px; font-weight: 500;
  color: var(--text-bright);
  letter-spacing: .12em;
  margin-bottom: 10px;
  position: relative;
}
.stage__name-en {
  font-family: var(--display);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .28em;
  text-transform: uppercase;
  position: relative;
}
.stage__body {
  padding: 32px 36px;
}
.stage__section + .stage__section { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.stage__h {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold-bright);
  letter-spacing: .18em;
  margin-bottom: 14px;
}
.stage__h::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--gold);
}
.list {
  display: flex; flex-direction: column;
  gap: 10px;
}
.list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.85;
}
.list li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.list li strong {
  color: var(--gold-bright);
  font-weight: 500;
}
.list--check li::before {
  content: "✓";
  border: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  top: 0;
}
.list--cross li::before {
  content: "✕";
  border: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  top: 0;
}

@media (max-width: 880px) {
  .stage { grid-template-columns: 1fr; }
  .stage__cover { border-right: 0; border-bottom: 1px solid var(--gold-line); }
}

/* ===== 引述／話術 ===== */
.script {
  padding: 32px 36px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-tint), transparent 80%);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0;
}
.script__tag {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.script__body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-bright);
  font-style: italic;
}

/* ===== 對比表（建議 vs 禁止）===== */
.dosdonts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}
.dd {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dd--do {
  background: var(--green-soft);
  border-color: var(--green-line);
}
.dd--dont {
  background: var(--red-soft);
  border-color: var(--red-line);
}
.dd__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 16px;
  letter-spacing: .12em;
}
.dd--do .dd__title { color: var(--green); }
.dd--dont .dd__title { color: var(--red); }

@media (max-width: 720px) { .dosdonts { grid-template-columns: 1fr; } }

/* ===== 估價規範表 ===== */
.rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.rule {
  padding: 28px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  position: relative;
}
.rule__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.rule__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-bright);
}
.rule__icon .ic { width: 22px; height: 22px; }
.rule__title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500;
  color: var(--text-bright);
  letter-spacing: .1em;
}
.rule__body {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.85;
}
.rule__body strong { color: var(--gold-bright); font-weight: 500; }
.rule__body em {
  font-style: normal;
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  border-radius: 4px;
}
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* ===== 付款期數視覺 ===== */
.payment {
  display: grid;
  grid-template-columns: 30fr 30fr 30fr 10fr;
  gap: 8px;
  margin: 32px 0 12px;
  border-radius: var(--radius);
  overflow: hidden;
}
.pay {
  padding: 32px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--gold-line);
  text-align: center;
}
.pay__pct {
  font-family: var(--display);
  font-size: 44px;
  color: var(--gold-bright);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}
.pay__label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .18em;
}
.pay--last { background: linear-gradient(180deg, var(--gold-tint), var(--bg-elev)); }

@media (max-width: 720px) { .payment { grid-template-columns: 1fr 1fr; } }

/* ===== 自我檢核 ===== */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.check {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  cursor: pointer;
  transition: all .25s var(--ease);
  font-size: 14.5px;
  user-select: none;
}
.check:hover { border-color: var(--gold-line-2); }
.check__box {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold-line-2);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .2s var(--ease);
  margin-top: 2px;
}
.check.is-on .check__box {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
}
.check.is-on { background: var(--gold-tint); border-color: var(--gold-line-2); }
.check.is-on .check__text { color: var(--text-bright); }

@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* ===== 結尾 ===== */
.signoff {
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, var(--gold-tint), transparent);
}
.signoff__mark {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .5em;
  color: var(--gold);
  margin-bottom: 18px;
}
.signoff__quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--text-bright);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 24px;
  letter-spacing: .04em;
}
.signoff__sign {
  font-family: var(--display);
  font-size: 14px;
  color: var(--gold-bright);
  letter-spacing: .3em;
}

.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .2em;
}
.footer__row {
  display: flex; justify-content: center; gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer__sep {
  width: 40px; height: 1px;
  background: var(--gold-line);
  margin: 0 auto 14px;
}

/* ===== 浮動回到頂部 ===== */
.totop {
  position: fixed; right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--gold-line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: all .35s var(--ease);
  z-index: 40;
}
.totop.is-show {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.totop:hover { background: var(--gold-tint); }
.totop svg { width: 20px; height: 20px; }

/* ===== 動畫進場 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 高亮文字 ===== */
mark {
  background: linear-gradient(180deg, transparent 60%, var(--gold-tint) 60%);
  color: var(--gold-bright);
  padding: 0 4px;
}

/* ===== 認證測驗 CTA ===== */
.quiz-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 44px;
  border: 1px solid var(--gold-line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 0% 0%, var(--gold-tint), transparent 60%),
    linear-gradient(180deg, var(--bg-elev), var(--bg));
  text-decoration: none;
  color: inherit;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.quiz-cta:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -16px rgba(201,168,120,.4);
}
.quiz-cta__eyebrow {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--gold);
  margin-bottom: 12px;
}
.quiz-cta__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--text-bright);
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.quiz-cta__sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
}
.quiz-cta__sub strong { color: var(--gold-bright); font-weight: 500; }
.quiz-cta__right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 14px;
  letter-spacing: .14em;
  white-space: nowrap;
  transition: all .25s var(--ease);
}
.quiz-cta:hover .quiz-cta__right {
  background: var(--gold-bright);
  gap: 16px;
}
@media (max-width: 720px) {
  .quiz-cta { grid-template-columns: 1fr; padding: 32px 26px; }
  .quiz-cta__right { justify-self: start; }
}

/* ===== 圖文區塊 ===== */
.figure {
  margin: 28px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  position: relative;
  background: var(--bg-elev);
}
.figure__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(.88) saturate(.95);
}
.figure__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 22px;
  background: linear-gradient(0deg, var(--bg) 20%, transparent);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .14em;
}
