/* ===========================================================
   EZwang 簡單網 — 官網 2026 改版樣式
   單獨使用，不依賴 Bootstrap。
   =========================================================== */

:root {
  --ink: #0a1024;
  --ink-2: #16203d;
  --body: #3d4761;
  --muted: #6b7693;
  --line-soft: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --brand: #1b64f2;
  --brand-deep: #0b3fbf;
  --brand-soft: #e8f0ff;
  --accent: #00c48c;
  --accent-soft: #e3fbf3;
  --line-green: #06c755;
  --warn: #ff8a3d;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 2px 8px rgba(13, 24, 56, .06);
  --shadow: 0 12px 32px rgba(13, 24, 56, .09);
  --shadow-l: 0 28px 70px rgba(10, 20, 50, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.22; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #b9c4de; }
.section--ink h2, .section--ink h3 { color: #fff; }

.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head p { font-size: 18px; color: var(--muted); margin: 0; }
.sec-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--accent); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  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: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(27, 100, 242, .34);
}
.btn--primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(27, 100, 242, .42); }
.btn--line { background: var(--line-green); color: #fff; box-shadow: 0 10px 26px rgba(6, 199, 85, .3); }
.btn--line:hover { color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.btn--light:hover { color: var(--brand-deep); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- 導覽列 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(10, 16, 36, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.is-solid { background: rgba(10, 16, 36, .96); box-shadow: 0 6px 24px rgba(5, 10, 25, .3); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav__brand { display: flex; align-items: baseline; gap: 8px; color: #fff; font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.nav__brand:hover { color: #fff; }
.nav__brand span { font-size: 14px; font-weight: 500; color: #8fa5d8; letter-spacing: .06em; }
.nav__menu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__menu a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #cdd8f2;
  font-size: 16px;
  font-weight: 500;
}
.nav__menu a:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav__menu .btn { margin-left: 8px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, .1);
  border: 0; border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 24px;
    background: rgba(10, 16, 36, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { padding: 13px 10px; font-size: 17px; }
  .nav__menu .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 clamp(80px, 10vw, 130px);
  background:
    radial-gradient(900px 480px at 78% 6%, rgba(0, 196, 140, .22), transparent 62%),
    radial-gradient(800px 520px at 12% 20%, rgba(27, 100, 242, .38), transparent 60%),
    linear-gradient(170deg, #0a1024 0%, #101c3d 55%, #0b1430 100%);
  color: #c5d0e8;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(26px, 7vw, 50px); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #6ee7c4, #52a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 2vw, 19px); color: #b7c4e2; max-width: 540px; margin-bottom: 30px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #dbe5fb; font-size: 14px; font-weight: 500;
}
.hero__badge b { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #04301f; font-size: 12px; font-weight: 800; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: #8fa0c6; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { flex: none; }

/* Hero 裝置示意（純 CSS） */
.mock { position: relative; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.mock__browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-l); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f7; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e4; }
.mock__bar u { flex: 1; height: 18px; margin-left: 8px; border-radius: 999px; background: #fff; text-decoration: none; font-size: 10px; line-height: 18px; color: #93a0b8; text-align: center; font-style: normal; }
.mock__body { padding: 16px; background: #fff; }
.mock__hero { height: 96px; border-radius: 10px; background: linear-gradient(120deg, #1b64f2, #00c48c); margin-bottom: 14px; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__card { border-radius: 8px; background: #f2f5fb; overflow: hidden; }
.mock__card i { display: block; height: 52px; background: linear-gradient(135deg, #dde6fb, #c9dcf7); }
.mock__card b { display: block; height: 7px; margin: 9px 10px 5px; border-radius: 4px; background: #d8dfed; }
.mock__card u { display: block; height: 7px; width: 48%; margin: 0 10px 11px; border-radius: 4px; background: #e6ebf5; text-decoration: none; }
.mock__phone {
  position: absolute; right: -14px; bottom: -42px;
  width: 134px; padding: 9px 7px 14px;
  background: #0a1024; border-radius: 22px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, .46), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.mock__phone div { border-radius: 14px; background: #fff; overflow: hidden; }
.mock__phone i { display: block; height: 54px; background: linear-gradient(120deg, #00c48c, #1b64f2); }
.mock__phone b { display: block; height: 7px; margin: 10px 10px 6px; border-radius: 4px; background: #dde3ef; }
.mock__phone u { display: block; height: 7px; width: 56%; margin: 0 10px 12px; border-radius: 4px; background: #e9edf5; text-decoration: none; }
.mock__pay { display: flex; gap: 5px; margin: 0 10px 12px; }
.mock__pay s { flex: 1; height: 16px; border-radius: 5px; background: #eef2f9; text-decoration: none; }
.mock__pay s:first-child { background: var(--line-green); }

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 18px; }
  .mock__phone { width: 110px; right: 0; bottom: -28px; }
}

/* ---------- 信任列 ---------- */
.trust { padding: 30px 0; background: var(--ink-2); }
.trust__title { margin: 0 0 14px; font-size: 13.5px; letter-spacing: .14em; color: #7f8eb4; text-align: center; }
.trust__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; max-width: 940px; margin: 0 auto 14px; }
.trust__logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 22px;
  background: #fff; border-radius: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}
.trust__logo img { height: 28px; width: auto; max-width: 150px; object-fit: contain; }
.trust__logo--text { color: var(--ink-2); font-size: 16px; font-weight: 700; }
@media (max-width: 560px) {
  .trust__logo { height: 46px; padding: 0 16px; }
  .trust__logo img { height: 23px; max-width: 120px; }
  .trust__logo--text { font-size: 15px; }
}
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 940px; margin: 0 auto; }
.trust__list span {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: #d6dff3; font-size: 15px; font-weight: 500;
}

/* ---------- 卡片 / 格線 ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 30px 28px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4dff7; }
.card h3 { margin-bottom: .45em; }
.card p { margin: 0; font-size: 16px; color: var(--muted); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
}
.card__icon--accent { background: var(--accent-soft); color: #00916a; }

.pain { border-top: 4px solid var(--warn); }
.pain h3 { font-size: 19px; color: var(--ink-2); }
.pain .pain__fix { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-soft); font-size: 16px; color: var(--ink); font-weight: 500; }
.pain .pain__fix b { color: var(--brand); }

/* ---------- 功能分欄（深色） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; }
.checklist li svg { flex: none; margin-top: 5px; color: var(--accent); }
.checklist li b { color: #fff; font-weight: 700; }
.section--ink .checklist li { color: #b9c4de; }
.panel {
  padding: 30px;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.panel__row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.panel__row:last-child { border-bottom: 0; }
.panel__row i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(0, 196, 140, .16); color: #6ee7c4; font-style: normal; font-weight: 800; font-size: 15px; }
.panel__row div { font-size: 16px; color: #c8d3ec; }
.panel__row div b { display: block; color: #fff; font-weight: 700; }

/* ---------- 客戶 ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 26px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform .22s ease, box-shadow .22s ease;
}
.client:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.client__logo { display: flex; align-items: center; justify-content: center; height: 58px; width: 100%; }
.client__logo img { max-height: 58px; max-width: 160px; width: auto; object-fit: contain; }
.client__name { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.client__tag { margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.client--more { justify-content: center; background: var(--bg-soft); border-style: dashed; box-shadow: none; }
.client--more:hover { transform: none; box-shadow: none; }

/* ---------- 方案 ---------- */
.plan { display: flex; flex-direction: column; height: 100%; }
.plan__tag { align-self: flex-start; padding: 5px 13px; margin-bottom: 16px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 13.5px; font-weight: 700; }
.plan--featured { border-color: var(--brand); box-shadow: 0 20px 48px rgba(27, 100, 242, .16); position: relative; }
.plan--featured .plan__tag { background: var(--brand); color: #fff; }
.plan ul { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 11px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--body); }
.plan ul li svg { flex: none; margin-top: 5px; color: var(--brand); }
.plan .btn { margin-top: auto; }
.plan__price { font-size: 17px; font-weight: 700; color: var(--ink); }
.plan__price span { display: block; font-size: 14.5px; font-weight: 400; color: var(--muted); }

/* ---------- 步驟 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 32px 28px; background: #fff; border-radius: var(--radius-l); border: 1px solid var(--line-soft); box-shadow: var(--shadow-s); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-size: 34px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 19px; }
.step p { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-s); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-size: 17.5px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 22px; margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- CTA / 表單 ---------- */
.cta {
  background:
    radial-gradient(760px 420px at 85% 10%, rgba(0, 196, 140, .2), transparent 60%),
    linear-gradient(160deg, #0a1024 0%, #13214a 50%, #0b1430 100%);
  background-color: #0a1024;
  color: #b9c4de;
}
.cta__inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 58px); align-items: start; }
.cta h2 { color: #fff; }
.cta__lead { font-size: 17.5px; color: #b2bfdd; }
.contact-lines { display: grid; gap: 14px; margin-top: 26px; }
.contact-lines > a, .contact-lines > span { display: flex; gap: 13px; align-items: flex-start; color: #cfd9f1; font-size: 16px; }
.contact-lines a:hover { color: #fff; }
.contact-lines svg { flex: none; margin-top: 4px; color: var(--accent); }
.contact-lines b { display: block; color: #fff; }

.line-card {
  display: flex; align-items: center; gap: 18px;
  margin-top: 26px; padding: 20px 22px;
  border-radius: var(--radius-l);
  background: rgba(6, 199, 85, .12);
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, .4);
}
.line-card__qr { flex: none; width: 92px; height: 92px; padding: 7px; border-radius: 14px; background: #fff; }
.line-card__qr img { width: 100%; height: 100%; object-fit: contain; }
.line-card__body { min-width: 0; }
.line-card__body p { margin: 0 0 4px; font-size: 14.5px; color: #a9e6c3; }
.line-card__id { font-size: 23px; font-weight: 900; color: #fff; letter-spacing: .02em; margin-bottom: 12px !important; }
@media (max-width: 480px) { .line-card { flex-direction: column; text-align: center; } }

.form {
  padding: clamp(26px, 3.4vw, 38px);
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}
.form__title { font-size: 21px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.form__sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.field label i { color: #e2452f; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-s);
  background: #fbfcfe;
  font-family: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(27, 100, 242, .14);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.form__msg { display: none; margin-bottom: 16px; padding: 13px 16px; border-radius: var(--radius-s); font-size: 15.5px; }
.form__msg.is-error { display: block; background: #fdecea; color: #b32d1c; }
.form__msg.is-ok { display: block; background: var(--accent-soft); color: #00754f; }
.form.is-sent .form__fields { display: none; }
.form__done { display: none; text-align: center; padding: 10px 0 6px; }
.form.is-sent .form__done { display: block; }
.form__done svg { color: var(--accent); margin-bottom: 12px; }
.form__done h3 { margin-bottom: 6px; }
.form__done p { color: var(--muted); font-size: 16px; }

/* ---------- 頁首（內頁） ---------- */
.page-hero {
  padding: 136px 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(0, 196, 140, .2), transparent 60%),
    linear-gradient(165deg, #0a1024 0%, #14234a 100%);
  color: #b9c4de;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 640px; font-size: 17.5px; color: #b2bfdd; margin: 0; }

.info-card { padding: 30px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.info-card h3 { font-size: 20px; }
.info-card dl { margin: 0; display: grid; gap: 14px; }
.info-card dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.info-card dd { margin: 3px 0 0; font-size: 16.5px; color: var(--ink); }
.map { height: 380px; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line-soft); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- 頁尾 ---------- */
.footer { padding: clamp(50px, 6vw, 72px) 0 32px; background: var(--ink); color: #8c99bb; font-size: 15.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { font-size: 21px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer__brand span { display: block; font-size: 14.5px; font-weight: 400; color: #8c99bb; margin-top: 8px; line-height: 1.8; }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #8c99bb; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #6f7c9e; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer__bottom p { margin: 0; }

/* ---------- 手機固定 CTA ---------- */
.dock { display: none; }
@media (max-width: 700px) {
  .dock {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    display: flex; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(10, 20, 50, .14);
  }
  .dock .btn { flex: 1; padding: 13px 10px; font-size: 16px; }
  body { padding-bottom: 76px; }
}

/* ---------- 捲動動畫 ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- RWD ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .grid--2, .grid--3, .grid--4, .steps, .split, .cta__inner { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client { padding: 20px 12px; }
  .client__logo { height: 46px; }
  .client__logo img { max-height: 46px; max-width: 120px; }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
}
