/* ==========================================================
   房地產顧問 — 全站共用樣式
   配色、字級、間距一律由 :root 設計變數管理
   ========================================================== */

:root {
  /* 主色:沉穩藍綠(信任)+ 暖杏橘(溫度、行動) */
  --primary: #1f4e5f;
  --primary-dark: #15394a;
  --primary-light: #e3eef1;
  --accent: #d0813f;
  --accent-dark: #b06a2c;
  --accent-light: #fbefe3;

  /* 中性色 */
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #22303a;
  --muted: #5d6a72;
  --line: #e6dfd3;
  --overlay: rgba(14, 34, 44, 0.62);

  /* 字型 */
  --font-sans: "Noto Sans TC", "PingFang TC", "Heiti TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;

  /* 字級階層 */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);

  /* 間距 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1rem, 0.5rem + 3vw, 2.5rem);

  /* 版面 */
  --container: 72rem;
  --container-narrow: 48rem;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow: 0 0.5rem 1.75rem rgba(21, 57, 74, 0.08);
  --shadow-hover: 0 0.9rem 2.25rem rgba(21, 57, 74, 0.14);
  --header-h: 4.5rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.35;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 1em; }
h1, h2, h3, .lead, .page-hero p, .cta-band p { text-wrap: balance; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.5em 1em;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 版面容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--space-xl); }
.section--alt { background: var(--surface); }
.section--tint { background: var(--primary-light); }
.section--dark { background: var(--primary-dark); color: #e8f0f2; }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .lead { color: #c9dadf; }

.section-head {
  max-width: 44rem;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head h2 { margin-bottom: 0.4em; }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
}
.section--dark .eyebrow { color: #f0b47e; }

.lead { font-size: var(--fs-md); color: var(--muted); }

.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7em 1.5em;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 0.4rem 1rem rgba(208, 129, 63, 0.3); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--primary-dark); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-center .btn-group,
.btn-group--center { justify-content: center; }

/* ---------- 頁首 / 導覽 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--primary-dark);
}
.brand:hover { color: var(--primary-dark); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.brand-mark svg { width: 1.4rem; height: 1.4rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: var(--fs-md); font-weight: 700; letter-spacing: 0.08em; }
.brand-tag { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.05em; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--primary-dark);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.5em 0.85em;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--primary); background: var(--primary-light); }
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav .nav-cta a { margin-left: 0.5rem; padding: 0.55em 1.2em; border-radius: 999px; background: var(--accent); color: #fff; box-shadow: none; }
.site-nav .nav-cta a:hover,
.site-nav .nav-cta a[aria-current="page"] { background: var(--accent-dark); color: #fff; box-shadow: none; }

/* ---------- 首頁 Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 46rem);
  padding-block: var(--space-xl);
  color: #fff;
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(90deg, rgba(12, 30, 40, 0.85) 0%, rgba(12, 30, 40, 0.6) 45%, rgba(12, 30, 40, 0.15) 100%),
    url("../images/hero-home.jpg");
  background-size: cover;
  background-position: center right;
}
.hero-content { max-width: 40rem; }
.hero .eyebrow { color: #f3bd8c; }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero h1 .highlight { color: #f3bd8c; }
.hero p { font-size: var(--fs-md); color: rgba(255, 255, 255, 0.9); }
.hero .btn-group { margin-top: var(--space-md); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
}
.stat-num { display: block; font-size: var(--fs-xl); font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap; }
.stat-num small { font-size: 0.55em; margin-left: 0.15em; }
.stat-label { display: block; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.78); }

/* ---------- 內頁 Banner ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  color: #fff;
  background-color: var(--primary-dark);
  background-image: linear-gradient(var(--overlay), var(--overlay)), var(--page-hero-img, none);
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.35em; }
.page-hero p { max-width: 40rem; margin-inline: auto; font-size: var(--fs-md); color: rgba(255, 255, 255, 0.9); }
.page-hero .eyebrow { color: #f3bd8c; }
.page-hero--about { --page-hero-img: url("../images/banner-about.jpg"); }
.page-hero--services { --page-hero-img: url("../images/banner-services.jpg"); }
.page-hero--cases { --page-hero-img: url("../images/banner-cases.jpg"); }
.page-hero--faq { --page-hero-img: url("../images/banner-faq.jpg"); }
.page-hero--contact { --page-hero-img: url("../images/banner-contact.jpg"); }

.breadcrumb { margin-bottom: var(--space-sm); font-size: var(--fs-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4em; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4em; opacity: 0.6; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb [aria-current="page"] { color: #fff; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 卡片 ---------- */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-md); }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { color: var(--muted); }
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }

/* 特色(圖示 + 文字) */
.feature {
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature h3 { font-size: var(--fs-md); margin-bottom: 0.35em; }
.feature p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.section--dark .feature { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.section--dark .feature p { color: #c9dadf; }

/* ---------- 圖文左右 ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 1rem + 4vw, 4.5rem);
}
.split--reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-body h2 { margin-bottom: 0.5em; }

/* 打勾清單 */
.checklist { margin: 0 0 var(--space-md); padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.9em; margin-bottom: 0.6em; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- 服務流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 1.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  position: absolute;
  top: -1.1rem;
  left: var(--space-md);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.step h3 { font-size: var(--fs-md); margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.steps--spaced { row-gap: calc(var(--space-md) + 1.25rem); }

/* ---------- 客戶見證 ---------- */
.testimonial {
  margin: 0;
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.testimonial blockquote { margin: 0 0 var(--space-sm); font-size: var(--fs-base); }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial figcaption { font-size: var(--fs-sm); color: var(--muted); }
.testimonial figcaption strong { display: block; color: var(--primary-dark); }

/* ---------- 經歷時間軸 ---------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 1.75rem; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 0.45rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: var(--space-md); }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
}
.timeline-year { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--accent-dark); letter-spacing: 0.08em; }
.timeline-item h3 { font-size: var(--fs-md); margin: 0.15em 0 0.3em; }
.timeline-item p { margin: 0; color: var(--muted); }

/* ---------- 方案 ---------- */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.plan--featured { border: 2px solid var(--accent); }
.plan-badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25em 1em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
}
.plan-name { font-size: var(--fs-lg); margin-bottom: 0.25em; }
.plan-price { margin-bottom: 0.25em; font-size: var(--fs-xl); font-weight: 700; color: var(--primary); line-height: 1.3; }
.plan-price small { font-size: 0.45em; font-weight: 500; color: var(--muted); }
.plan-note { font-size: var(--fs-sm); color: var(--muted); }
.plan .checklist { flex: 1; }
.plan .btn { align-self: stretch; }

/* ---------- 案例 ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.tag {
  display: inline-block;
  padding: 0.15em 0.75em;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.tag--accent { background: var(--accent-light); color: var(--accent-dark); }

.case-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem;
  margin: 0 0 var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: var(--fs-sm);
}
.case-meta dt { font-weight: 700; color: var(--primary-dark); }
.case-meta dd + dt { margin-top: 0.6rem; }
.case-meta dd { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  position: relative;
  padding: 1rem 3rem 1rem var(--space-md);
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-dark);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: var(--space-sm) var(--space-md); color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-group + .faq-group { margin-top: var(--space-lg); }
.faq-group h2 { font-size: var(--fs-lg); }

/* ---------- 提示框 ---------- */
.notice {
  padding: var(--space-md);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-light);
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- CTA 區塊 ---------- */
.cta-band {
  padding-block: var(--space-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 38rem; margin-inline: auto; color: rgba(255, 255, 255, 0.88); font-size: var(--fs-md); }
.cta-band .btn-group { justify-content: center; margin-top: var(--space-md); }

/* ---------- 聯絡 / 表單 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.form-card {
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-sm); }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--space-sm); }
.form-field label,
.form-field legend { font-weight: 700; font-size: var(--fs-sm); color: var(--primary-dark); }
.form-field .required { color: var(--accent-dark); margin-left: 0.15em; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
fieldset.form-field { margin: 0 0 var(--space-sm); padding: 0; border: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.choice-group label { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 400; color: var(--text); }
.choice-group input,
.form-field input[type="checkbox"],
.form-field input[type="radio"] { width: auto; accent-color: var(--primary); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-status { margin-top: var(--space-sm); padding: 0.75em 1em; border-radius: var(--radius-sm); background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.form-status[hidden] { display: none; }

.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 0.85rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .feature-icon { width: 2.5rem; height: 2.5rem; margin: 0; flex-shrink: 0; }
.info-list .feature-icon svg { width: 1.2rem; height: 1.2rem; }
.info-list strong { display: block; color: var(--primary-dark); }
.info-list li > div:not(.feature-icon) > span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 頁尾 ---------- */
.site-footer { padding-top: var(--space-xl); background: #10303d; color: #b9cdd3; font-size: var(--fs-sm); }
.site-footer a { color: #dce8eb; text-decoration: none; }
.site-footer a:hover { color: #f3bd8c; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.footer-brand .brand,
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-tag { color: #9fb6bd; }
.footer-brand p { margin-top: var(--space-sm); max-width: 26rem; }
.footer-title { margin-bottom: 0.75em; font-size: var(--fs-base); color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 0.5em; }
.footer-bottom {
  padding-block: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  color: #8fa7ae;
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* ---------- RWD ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: var(--space-sm) var(--gutter) var(--space-md);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a { padding: 0.75em 0.5em; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.9em; }
  .site-nav .nav-cta a { margin: 0.5rem 0 0; text-align: center; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand-tag { display: none; }
  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(12, 30, 40, 0.78) 0%, rgba(12, 30, 40, 0.7) 100%),
      url("../images/hero-home.jpg");
    background-position: 70% center;
  }
  .hero .btn-group .btn { flex: 1 1 100%; }
  .hero-stats { gap: 0.5rem; }
  .stat-num { font-size: var(--fs-lg); }
  .stat-label { font-size: var(--fs-xs); }
  .cta-band .btn-group .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

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