/* ==========================================================================
   匯基理財 Union Financial — 僱員補償保險（勞保）產品頁
   Design system: Professional Blue Trust
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #071A33;
  --navy-900: #0A2E5C;
  --navy-800: #0F3C71;
  --blue-700: #0F5AA8;
  --blue-600: #1668B3;
  --blue-500: #2E86DE;
  --sky-300: #9EC9F5;
  --blue-100: #DCEBF9;
  --blue-050: #F3F8FC;

  --green-600: #2E9E6B;
  --green-100: #E7F6EF;
  --amber-600: #C77F06;
  --amber-100: #FFF4E0;

  --danger-600: #B42B2B;
  --danger-200: #F0C7C3;
  --danger-050: #FCF3F2;

  --wa: #25D366;
  --wa-dark: #1DA851;

  --ink: #12283F;
  --muted: #4C657F;
  --line: #DFE8F1;
  --bg: #FFFFFF;
  --bg-alt: #F3F8FC;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 46, 92, .06), 0 2px 8px rgba(10, 46, 92, .08);
  --shadow-md: 0 8px 24px rgba(10, 46, 92, .12);

  --font: "Noto Sans TC", "PingFang TC", "Hiragino Sans TC", "Microsoft JhengHei",
          -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --header-h: 72px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; }

img, svg { display: block; max-width: 100%; }
svg { fill: none; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: .85rem;
}
.skip-link:focus { top: 0; }

.hp { position: absolute !important; left: -9999px; }

:focus-visible {
  outline: 3px solid #7FB7EC;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.3rem;
  border: 0;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

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

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .65);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

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

.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--navy-900);
  color: #7FD1AE;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-zh { font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand-en {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--blue-500);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.site-nav ul a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  padding: .3rem 0;
}
.site-nav ul a:hover { color: var(--navy-900); text-decoration: none; }
.site-nav ul a.active { color: var(--blue-600); font-weight: 700; }
.site-nav ul a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
}
.nav-cta { font-size: .9rem; padding: .55rem 1.1rem; }
.nav-lang {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .85rem;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.nav-lang:hover { color: var(--blue-600); border-color: var(--blue-600); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(46, 134, 222, .25), transparent 60%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 45%, #123F7A 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .95rem;
  border: 1px solid rgba(127, 209, 174, .4);
  border-radius: 999px;
  background: rgba(127, 209, 174, .12);
  color: #7FD1AE;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.05rem, 4.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .01em;
}
.hero-title-en {
  display: block;
  margin: .35rem 0 .5rem;
  font-size: .38em;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sky-300);
}
.hero-title-sub {
  display: block;
  font-size: .55em;
  font-weight: 700;
  color: #DCE9F8;
  letter-spacing: .02em;
}

.hero-lede {
  margin-top: 1.15rem;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.8;
  color: #C9DCEF;
}
.hero-lede strong { color: #fff; font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: .82rem;
  color: rgba(158, 201, 245, .9);
  letter-spacing: .03em;
}

.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: clamp(230px, 24vw, 320px); height: auto; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  list-style: none;
}
.stat {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(4px);
}
.stat-value {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
}
.stat-label {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  line-height: 1.5;
  color: #A9C7E8;
}

/* ---------- 6. Sections ---------- */
.section { padding: clamp(3.4rem, 7vw, 5.4rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 58rem; margin-bottom: 2.4rem; }
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .55rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 900;
  line-height: 1.3;
}
.lede {
  margin-top: .75rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}
.lede strong { color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

/* ---------- 7. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.card h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.4; }
.card-en {
  display: block;
  margin: .25rem 0 .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.card p {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--muted);
}
.card p strong { color: var(--ink); }

.card--danger { border-color: #F3D6D2; }

.card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  margin-bottom: 1rem;
}
.chip-blue { background: var(--blue-100); color: var(--blue-600); }
.chip-green { background: var(--green-100); color: var(--green-600); }
.chip-amber { background: var(--amber-100); color: var(--amber-600); }
.chip-danger { background: var(--danger-050); color: var(--danger-600); }

.fact-num { color: var(--danger-600); font-weight: 800; white-space: nowrap; }

/* ---------- 8. Legal requirement band ---------- */
.req-band {
  margin-top: 2.2rem;
  padding: clamp(1.3rem, 3vw, 1.8rem) clamp(1.4rem, 3vw, 1.9rem);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  background: var(--blue-050);
}
.req-band h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; }
.req-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem 2rem;
  list-style: none;
}
.req-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .94rem;
  color: var(--muted);
}
.req-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 800;
}
.req-list li strong { color: var(--ink); }

/* ---------- 9. Consequences panel ---------- */
.consequences {
  margin-top: 2.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--danger-200);
  border-radius: var(--radius-lg);
  background: var(--danger-050);
}
.consequences-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.warn-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--danger-200);
  color: var(--danger-600);
}
.consequences-head h3 { font-size: 1.16rem; font-weight: 800; color: #7A1F1F; }
.consequences-head p { margin-top: .3rem; font-size: .92rem; color: #8A4A45; }

.consequences .grid-3 { margin-top: .4rem; }

.consequence-footnote {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-top: 1.3rem;
  font-size: .85rem;
  line-height: 1.6;
  color: #8A4A45;
}
.consequence-footnote svg { flex: none; margin-top: 2px; color: var(--danger-600); }

/* ---------- 10. Premium estimator ---------- */
.estimator {
  margin-top: 2.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--blue-050) 100%);
  box-shadow: var(--shadow-sm);
}
.estimator-head h3 { font-size: 1.16rem; font-weight: 800; }
.estimator-head p { margin-top: .3rem; font-size: .92rem; color: var(--muted); }

.estimator-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: end;
}
.estimator-form > .btn { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, .16);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger-600);
  box-shadow: 0 0 0 3px rgba(180, 43, 43, .1);
}
.form-hint {
  margin-top: .35rem;
  font-size: .78rem;
  color: var(--muted);
}

.estimator-result {
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px dashed var(--blue-100);
}
.est-amount {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.25;
}
.est-monthly {
  margin-top: .25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
}
.est-note {
  margin-top: .5rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--amber-600);
}
.est-disclaimer {
  margin-top: .7rem;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--muted);
}
.est-cta { margin-top: 1.1rem; }

/* ---------- 11. CTA row ---------- */
.section-cta-row {
  margin-top: 2.4rem;
  text-align: center;
}

/* ---------- 12. Accordion ---------- */
.accordion {
  display: grid;
  gap: .9rem;
  max-width: 54rem;
}
.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease;
}
.accordion__item.open { border-color: var(--blue-500); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  background: none;
  border: 0;
  border-radius: var(--radius);
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.accordion__trigger:hover { background: var(--blue-050); }

.acc-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--blue-600);
  transition: transform .3s ease;
}
.acc-plus::before,
.acc-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  border-radius: 2px;
}
.acc-plus::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.acc-plus::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.accordion__item.open .acc-plus { transform: rotate(45deg); color: var(--blue-500); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.accordion__item.open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.3rem;
}
.accordion__item.open .accordion__panel-inner { padding-bottom: 1.2rem; }
.accordion__panel-inner > p {
  font-size: .93rem;
  line-height: 1.75;
  color: var(--muted);
}
.accordion__panel-inner > p + p { margin-top: .6rem; }
.accordion__panel-inner strong { color: var(--ink); }
.panel-note {
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px dashed var(--line);
  font-size: .78rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 13. Mini table ---------- */
.table-scroll { overflow-x: auto; }
.mini-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: .88rem;
}
.mini-table th {
  padding: .55rem .6rem .55rem 0;
  border-bottom: 2px solid var(--line);
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.mini-table td {
  padding: .55rem .8rem .55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}
.mini-table td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- 14. Claims timeline ---------- */
.timeline {
  counter-reset: step;
  list-style: none;
  position: relative;
  max-width: 46rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: .4rem;
  bottom: 1.2rem;
  width: 2px;
  background: var(--blue-100);
}
.timeline li {
  position: relative;
  counter-increment: step;
  padding: 0 0 1.6rem 3rem;
  margin: 0;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.15rem;
  height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--blue-600);
  color: var(--blue-600);
  font-size: .85rem;
  font-weight: 800;
}
.timeline h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .3rem;
  line-height: 1.45;
}
.timeline p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
}
.due {
  display: inline-block;
  margin-left: .45rem;
  padding: .12rem .6rem;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-600);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: 1px;
}

/* ---------- 15. Pills ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.1rem;
}
.pill {
  padding: .42rem .95rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .85rem;
  font-weight: 600;
}

/* ---------- 16. Comparison table ---------- */
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: .92rem;
}
.compare thead th {
  padding: .9rem 1rem;
  background: var(--navy-900);
  color: #fff;
  text-align: left;
  font-weight: 700;
}
.compare thead th:not(:first-child),
.compare td:not(:first-child) { text-align: center; white-space: nowrap; }
.compare tbody th {
  padding: .82rem 1rem;
  border-top: 1px solid var(--line);
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  width: 42%;
}
.compare td {
  padding: .82rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.compare .yes { color: var(--green-600); font-weight: 800; }
.compare .no { color: #B8C4D1; font-weight: 700; }

.compare-note {
  margin-top: .9rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 17. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.55fr .9fr;
  gap: 1.6rem;
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted);
}
.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .2rem;
  accent-color: var(--blue-600);
  flex: none;
}
.consent.has-error { color: var(--danger-600); }

.form-turnstile-slot { margin: .2rem 0; }
.form-turnstile-slot iframe { max-width: 100%; }

.form-error {
  display: none;
  font-size: .86rem;
  font-weight: 600;
  color: var(--danger-600);
}
.form-error.show { display: block; }

.form-success {
  display: grid;
  gap: .4rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid #BFE5CE;
  border-radius: var(--radius);
  background: var(--green-100);
}
.form-success h3 { color: #14563A; font-size: 1.1rem; }
.form-success p { color: #2B6B4A; font-size: .93rem; line-height: 1.6; }
.ref-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
  color: #10583A;
  letter-spacing: .04em;
}

.info-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: grid;
  gap: .8rem;
  align-content: start;
}
.info-card h3 { font-size: 1.05rem; font-weight: 800; }
.info-line {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .93rem;
  color: #C9DCEF;
}
.info-line svg { color: #7FD1AE; flex: none; }
.info-line a { color: #fff; }
.info-line a:hover { text-decoration: underline; }
.info-div {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin: .4rem 0;
}
.info-note { font-size: .85rem; color: #A9C7E8; line-height: 1.6; }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #9FB6D6;
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.footer-logo {
  display: inline-block;
  height: 48px;
  width: auto;
  background: #fff;
  padding: 6px 9px;
  border-radius: 10px;
  flex: none;
}
.footer-brand-text { line-height: 1.35; }
.footer-brand strong { display: block; color: #fff; font-size: .98rem; margin-bottom: .05rem; }
.footer-brand-en {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #C9DCEF;
  text-transform: uppercase;
}
.footer-contact { font-size: .88rem; }
.footer-contact p { margin: .2rem 0; }
.footer-contact a { color: #C9DCEF; }
.footer-contact a:hover { color: #fff; }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .76rem;
  line-height: 1.7;
  color: #7189A8;
}

/* Footer — homepage two-column format:
   left = logo + name + tagline + address + phone + email;
   right = regulatory notice + IA register + compliance link + important info + copyright */
.footer-line {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: .3rem 0;
  font-size: .88rem;
}
.footer-line svg { flex: none; margin-top: .18rem; color: #9FB6D6; }
.footer-line a { color: #C9DCEF; }
.footer-line a:hover { color: #fff; }
.footer-tag { color: #C9DCEF; font-weight: 600; }
.addr-en { display: block; margin-top: .15rem; font-size: .76rem; color: #7189A8; }
.footer-reg { align-self: start; font-size: .88rem; text-align: right; }
.footer-reg h4 { margin: 0 0 .55rem; color: #fff; font-size: 1.02rem; font-weight: 700; }
.footer-reg p { margin: .22rem 0; }
.footer-reg strong { color: #fff; }
.footer-reg a { color: #C9DCEF; text-decoration: underline; text-underline-offset: 2px; }
.footer-reg a:hover { color: #fff; }
.footer-fineprint {
  margin-top: 1.1rem;
  font-size: .72rem;
  line-height: 1.65;
  color: #7189A8;
}
.footer-copy { margin-top: .45rem; font-size: .68rem; color: #7189A8; }

/* ---------- 19. Reveal animation ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .estimator-form { grid-template-columns: 1fr 1fr; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav ul a.active::after { display: none; }
  .nav-cta {
    margin-top: .9rem;
    display: flex;
    justify-content: center;
    padding: .8rem;
  }
  .nav-lang {
    margin-top: .9rem;
    display: flex;
    justify-content: center;
    padding: .8rem;
    border-radius: 10px;
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .req-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-reg { text-align: left; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .estimator-form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .timeline li { padding-left: 2.6rem; }
}

/* ---------- 21. Reduced motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .hero-visual { display: none; }
  .hero { background: none; color: var(--ink); }
}

/* ---------- 22. Company logos ---------- */
.brand-logo { display: block; height: 48px; width: auto; }
.brand-logo-mark { display: block; height: 46px; width: auto; }
@media (max-width: 760px) {
  .brand-logo { height: 40px; }
  .brand-logo-mark { height: 38px; }
  .footer-logo { height: 44px; }
  .brand-zh { font-size: .92rem; }
  .brand-en { font-size: .48rem; letter-spacing: .1em; }
}
