/* Foundation Finance & Tax — Site stylesheet
   Derived from the FFT design system: deep navy + warm gold on white,
   Oswald display / Source Sans 3 body / Noto Sans SC for Chinese. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  /* Navy scale */
  --navy-900: #06182F;
  --navy-800: #0A2240;
  --navy-700: #102B4E;
  --navy-600: #1C3A60;
  --navy-500: #2C4C76;
  --navy-ink: #14233F;

  /* Gold scale */
  --gold-700: #A8842F;
  --gold-600: #C9A24B;
  --gold-500: #D4B266;
  --gold-300: #E2CB94;
  --gold-100: #F6EEDB;

  /* Neutrals */
  --white:    #FFFFFF;
  --gray-50:  #F7F8FA;
  --gray-100: #F1F2F5;
  --gray-200: #E4E6EC;
  --gray-300: #CDD2DC;
  --gray-500: #6A7488;
  --gray-600: #4C566B;

  /* Semantic */
  --text-strong: var(--navy-ink);
  --text-body: #2A3447;
  --text-muted: var(--gray-500);
  --text-on-dark: #EAF0F8;
  --text-on-dark-muted: #9FB0C8;
  --border-subtle: var(--gray-200);
  --border-strong: var(--gray-300);

  /* Fonts */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cjk: 'Noto Sans SC', 'Source Sans 3', sans-serif;

  /* Layout */
  --container-max: 1160px;
  --container-pad-x: 24px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html[lang="zh"] body { font-family: var(--font-cjk); }
img { max-width: 100%; }
a { color: var(--navy-600); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-x);
}

.founder-intro { display: block; margin: 0; width: 100%; max-width: 350px; justify-self: end; overflow: hidden; border-radius: 16px; background: transparent; color: var(--text-on-dark); text-decoration: none; }
.founder-intro:hover { background: rgba(255, 255, 255, 0.04); }
.founder-intro:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 5px; background: rgba(255, 255, 255, 0.04); }
.founder-intro img { display: block; width: 50%; height: auto; margin: 20px auto 0; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: center top; border: 3px solid var(--gold-500); background: var(--text-on-dark); }
.founder-intro > div { display: grid; gap: 8px; padding: 22px; text-align: center; }
.founder-intro strong { font-size: 24px; }
.founder-intro span { font-size: 14px; line-height: 1.5; }
.founder-intro .founder-intro-cta { font-size: 15px; font-weight: 600; color: var(--gold-300); text-decoration: underline; text-underline-offset: 5px; }
.founder-intro:hover .founder-intro-cta { color: var(--white); }
.about-profile-header { display: flex; align-items: center; gap: 30px; max-width: 760px; margin: 0 auto 40px; scroll-margin-top: 110px; }
.about-portrait { display: block; flex: 0 0 160px; width: 160px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 50%; border: 3px solid var(--gold-500); background: var(--text-on-dark); }
.about-profile-header > div { min-width: 0; }
.about-profile-header h2 { margin: 8px 0 10px; }
.about-profile-credentials { margin: 0; color: var(--gray-600); font-size: 16px; line-height: 1.7; }
.about-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.about-story-panel { min-width: 0; padding: 30px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--gray-50); }
.about-story-panel h3 { margin: 10px 0 18px; font-size: 28px; }
.about-story-panel p:last-child { margin-bottom: 0; }
.contact-merge-hero .contact-hero-inner { padding-block: 38px; gap: 40px; }
.contact-merge-hero .contact-rocky-image { max-height: 230px; width: min(100%, 230px); }
.contact-merge-hero h1 { font-size: clamp(32px, 3vw, 44px); }
.contact-form-section { padding-top: 36px; }
.contact-rocky-help { display: none; }
.btn, .card h3, .field label { text-transform: none; letter-spacing: normal; }
@media (max-width: 800px) {
  .about-story-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .founder-intro { justify-self: start; max-width: 290px; }
  .contact-merge-hero .contact-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .about-profile-header { flex-direction: column; gap: 20px; margin-bottom: 28px; text-align: center; }
  .about-portrait { flex-basis: auto; width: 145px; }
  .about-story-panel { padding: 24px; }
  .about-story-panel h3 { font-size: 25px; }
}

/* Static client feedback: no review widgets, trackers, or additional requests. */
.client-feedback {
  background: #faf7f0;
  border-block: 1px solid var(--gold-100);
  scroll-margin-top: 96px;
}
.client-feedback .section-head { max-width: 720px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid #e2daca;
  border-radius: 14px;
  box-shadow: 0 8px 24px #14233f05;
}
.testimonial-theme { margin: 0; color: var(--navy-600); font-size: 14px; font-weight: 600; }
.testimonial-mark { display: block; height: 43px; margin-top: 20px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--gold-700); }
.testimonial-card blockquote { flex: 1; margin: 0 0 26px; color: var(--navy-ink); }
.testimonial-card blockquote p { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.testimonial-card figcaption { padding-top: 16px; border-top: 1px solid var(--border-subtle); color: var(--gray-600); font-size: 14px; }
.testimonials-grid--extended { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.testimonials-grid--extended .testimonial-card { grid-column: span 2; }
.testimonials-grid--extended .testimonial-card:nth-child(-n+2) { grid-column: span 3; }
.testimonials-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-top: 26px; }
.testimonials-note { max-width: 740px; margin: 0; font-size: 14px; line-height: 1.7; color: var(--gray-600); }
.testimonial-more { flex-shrink: 0; padding-block: 3px; color: var(--navy-700); font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.testimonial-more:hover { color: var(--navy-900); }
.testimonial-more:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 5px; border-radius: 2px; }
@media (max-width: 900px) {
  .testimonials-grid { gap: 18px; }
  .testimonial-card { padding: 24px; }
  .testimonial-card blockquote p { font-size: 19px; }
  .testimonials-footer { flex-direction: column; gap: 16px; }
}
@media (max-width: 700px) {
  .testimonials-grid, .testimonials-grid--extended { grid-template-columns: minmax(0, 1fr); }
  .testimonials-grid--extended .testimonial-card, .testimonials-grid--extended .testimonial-card:nth-child(-n+2) { grid-column: auto; }
  .testimonial-mark { margin-top: 14px; }
  .testimonial-card blockquote { margin-bottom: 22px; }
}

/* ---------- Typography roles ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin: 0;
}
.on-dark .eyebrow { color: var(--gold-500); }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy-ink);
  margin: 0;
}
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 {
  font-family: var(--font-cjk);
  letter-spacing: 0.06em;
}
h1 { font-size: 46px; line-height: 1.08; }
h2 { font-size: 34px; line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.2; }
.lead { font-size: 19px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  line-height: 1;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
html[lang="zh"] .btn { font-family: var(--font-cjk); letter-spacing: 0.12em; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-600); }
.btn-accent { background: var(--gold-600); color: var(--navy-900); }
.btn-accent:hover { background: var(--gold-700); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}
.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  color: var(--navy-ink);
  line-height: 1.05;
}
html[lang="zh"] .brand span { font-family: var(--font-cjk); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13.5px;
  color: var(--gray-600);
  text-decoration: none;
  padding: 4px 0;
}
html[lang="zh"] .site-nav a:not(.btn) { font-family: var(--font-cjk); font-size: 14.5px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--navy-800); }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--gold-600); }
.lang-switch {
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-md);
  padding: 6px 12px !important;
  color: var(--navy-800) !important;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px 0; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--container-pad-x) 24px;
    gap: 18px;
  }
  .site-nav.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
}
.hero .watermark {
  position: absolute;
  right: -40px; bottom: -60px;
  width: 440px;
  height: 440px;
  object-fit: contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; font-size: 56px; line-height: 1.06; margin-top: 20px; }
.hero p { margin: 24px 0 0; font-size: 19px; color: var(--text-on-dark); max-width: 660px; }
.hero .cta-row { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-sub { position: relative; padding-top: 64px; padding-bottom: 64px; }
.hero-sub h1 { font-size: 42px; }
.home-hero-grid {
  max-width: var(--container-max);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 72px;
  align-items: center;
}
.home-hero-grid .hero-copy { max-width: 720px; }
.hero-service-panel {
  position: relative;
  padding: 26px 28px 22px;
  background: rgba(6, 24, 47, 0.66);
  border: 1px solid rgba(226, 203, 148, 0.35);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}
.hero-service-panel > .eyebrow { margin-bottom: 10px; }
.hero-service-list { display: grid; }
.hero-service-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-service-number {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-500);
}
.hero-service-link strong { display: block; line-height: 1.25; }
.hero-service-link small { display: block; margin-top: 3px; color: var(--text-on-dark-muted); line-height: 1.4; }
.hero-service-link:hover strong { color: var(--gold-300); }
@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .hero-sub h1 { font-size: 30px; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; }
  h2 { font-size: 27px; }
}
@media (max-width: 920px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-hero-grid .hero-copy { max-width: 760px; }
  .hero-service-panel { max-width: 720px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { margin: 0; font-size: 17px; }

/* ---------- Credential strip ---------- */
.cred-strip { background: var(--white); border-bottom: 1px solid var(--border-subtle); }
.cred-strip .container {
  padding-top: 32px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cred {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--gold-300);
}
.cred:first-child { padding-left: 0; border-left: none; }
.cred .ic { color: var(--gold-700); flex: none; margin-top: 2px; }
.cred b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14.5px;
  color: var(--navy-ink);
}
html[lang="zh"] .cred b { font-family: var(--font-cjk); }
.cred small { color: var(--text-muted); font-size: 13.5px; }
@media (max-width: 860px) {
  .cred-strip .container { grid-template-columns: 1fr 1fr; }
  .cred { padding-left: 0; border-left: none; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card .ic {
  color: var(--gold-700);
  background: var(--gold-100);
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0 0 14px; font-size: 15.5px; color: var(--text-body); }
.card ul { margin: 0 0 18px; padding-left: 18px; font-size: 14.5px; color: var(--gray-600); }
.card ul li { margin-bottom: 6px; }
.card .card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--gold-700);
  text-decoration: none;
}
html[lang="zh"] .card .card-link { font-family: var(--font-cjk); }
.card .card-link:hover { color: var(--navy-800); }

/* ---------- Audience chips ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .audience { grid-template-columns: 1fr; } }
.audience .chip {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-600);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.audience .chip b { display: block; color: var(--navy-ink); margin-bottom: 4px; }
.audience .chip span { font-size: 14.5px; color: var(--gray-600); }
.audience-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.audience-path-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-600);
  border-radius: var(--radius-lg);
}
.audience-path-card .audience-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--gold-700);
}
.audience-path-card h3 { margin: 14px 0 10px; font-size: 23px; }
.audience-path-card p { margin: 0 0 20px; color: var(--gray-600); }
.audience-path-card .text-link { margin-top: auto; }
.support-ribbon {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--gold-100);
  border-left: 3px solid var(--gold-600);
  border-radius: var(--radius-md);
}
.support-ribbon p { margin: 0; }
.support-ribbon-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1000px) { .audience-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .audience-path-grid { grid-template-columns: 1fr; }
  .support-ribbon { align-items: flex-start; flex-direction: column; }
}

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 14px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--gold-600);
  display: block;
  margin-bottom: 8px;
}
.step b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  color: var(--navy-ink);
  margin-bottom: 6px;
}
html[lang="zh"] .step b { font-family: var(--font-cjk); }
.step p { margin: 0; font-size: 14.5px; color: var(--gray-600); }

/* ---------- Service detail blocks ---------- */
.svc-block { padding: 64px 0; border-top: 1px solid var(--border-subtle); }
.svc-block:first-of-type { border-top: none; }
.svc-block .svc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
@media (max-width: 860px) { .svc-block .svc-grid { grid-template-columns: 1fr; gap: 20px; } }
.svc-block h2 { font-size: 27px; margin: 12px 0 14px; }
.svc-block .svc-desc p { margin: 0 0 12px; }
.svc-block ul { margin: 0; padding-left: 20px; columns: 1; }
.svc-block ul li { margin-bottom: 10px; font-size: 15.5px; }
.gold-rule { width: 56px; height: 3px; background: var(--gold-600); border: none; margin: 0 0 6px; }

/* ---------- Service hub and focused service pages ---------- */
.service-family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-family-card,
.service-standalone-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.service-family-card { border-top: 3px solid var(--gold-600); }
.service-family-card h3 { margin: 10px 0 12px; font-size: 26px; }
.service-standalone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-standalone-card h3 { margin: 0 0 12px; font-size: 22px; }
.service-family-card > p:not(.eyebrow),
.service-standalone-card > p { margin: 0 0 16px; color: var(--gray-600); }
.service-family-card ul,
.service-standalone-card ul { margin: 0 0 22px; padding-left: 20px; }
.service-family-card li,
.service-standalone-card li { margin-bottom: 8px; }
.service-family-card .text-link,
.service-standalone-card .text-link { margin-top: auto; }
.text-link { color: var(--navy-700); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.service-routing-list { border-top: 1px solid var(--border-strong); }
.service-routing-list > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.service-routing-list strong { color: var(--navy-700); }
.service-intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 64px; align-items: start; }
.section-lead { max-width: 760px; font-size: 18px; line-height: 1.7; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 13px; padding-left: 24px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 9px; height: 2px; background: var(--gold-600); }
.service-scope { padding-left: 28px; border-left: 3px solid var(--gold-600); }
.service-scope h2 { margin: 10px 0 18px; font-size: 24px; }
.service-scope ul { margin: 0 0 24px; padding-left: 20px; }
.service-scope li { margin-bottom: 9px; }
.service-detail-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; padding: 48px 0; border-top: 1px solid var(--border-subtle); }
.service-detail-row:first-child { padding-top: 0; border-top: 0; }
.service-detail-row:last-child { padding-bottom: 0; }
.service-detail-row h2 { margin: 10px 0 14px; font-size: 27px; }
.service-detail-row p:not(.eyebrow) { margin: 0; color: var(--gray-600); }
.service-detail-row .check-list { margin-top: 0; }
.related-service { padding-left: 28px; border-left: 1px solid var(--border-strong); }
.related-service h2 { margin: 10px 0 14px; font-size: 24px; }
.service-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .service-family-grid,
  .service-standalone-grid { grid-template-columns: 1fr; }
  .service-intro-grid,
  .service-detail-row { grid-template-columns: 1fr; gap: 28px; }
  .service-scope,
  .related-service { padding: 24px 0 0; border-left: 0; border-top: 2px solid var(--gold-600); }
  .service-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .service-family-grid,
  .service-steps { grid-template-columns: 1fr; }
  .service-family-card,
  .service-standalone-card { padding: 24px; }
  .service-routing-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; }
.cta-band .container {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 34px; margin: 12px 0 0; }
.cta-band p { margin: 16px 0 0; font-size: 17px; color: var(--text-on-dark); max-width: 620px; }

/* ---------- Contact + Rocky ---------- */
.contact-merge-hero {
  background:
    radial-gradient(circle at 78% 34%, rgba(212, 178, 102, 0.16), transparent 23rem),
    var(--navy-800);
}
.contact-hero-inner {
  position: relative;
  max-width: var(--container-max);
  padding-top: 66px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}
.contact-hero-copy { max-width: 760px; }
.contact-merge-hero h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(42px, 4.4vw, 62px);
}
.contact-merge-hero .contact-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
}
.contact-start-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.contact-rocky-help {
  max-width: 720px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.contact-rocky-help strong {
  display: block;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="zh"] .contact-rocky-help strong {
  font-family: var(--font-cjk);
  letter-spacing: 0.06em;
  text-transform: none;
}
.contact-rocky-help ul {
  margin: 15px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 26px;
  list-style: none;
}
.contact-rocky-help li {
  position: relative;
  padding-left: 19px;
  color: var(--text-on-dark);
  font-size: 14.5px;
  line-height: 1.45;
}
.contact-rocky-help li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 2px;
  background: var(--gold-500);
}
.contact-rocky-visual {
  min-width: 0;
  display: grid;
  place-items: center;
}
.contact-rocky-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 320px;
  padding: 16px 8px;
  border-radius: 16px;
  color: var(--gold-300);
  text-align: center;
  text-decoration: none;
}
.contact-rocky-link-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-rocky-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.contact-rocky-link:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 5px; }
.contact-rocky-image {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.28));
  transform-origin: 50% 88%;
  animation: contact-rocky-idle 5.4s ease-in-out 400ms infinite;
}
.contact-form-section { scroll-margin-top: 88px; }
.contact-form-intro {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-form-intro h2 {
  margin: 10px 0 12px;
  font-size: 29px;
}
.contact-form-intro > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.65;
}
@keyframes contact-rocky-idle {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-9px) rotate(0.35deg); }
}
@media (max-width: 860px) {
  .contact-hero-inner {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 30px;
  }
  .contact-rocky-image { width: 210px; }
}
@media (max-width: 800px) {
  .contact-rocky-link { flex-direction: row; gap: 16px; max-width: 350px; text-align: left; }
  .contact-merge-hero .contact-rocky-image { width: 100px; flex: 0 0 100px; }
  .contact-rocky-link-text { min-width: 0; font-size: 17px; }
}
@media (max-width: 680px) {
  .contact-hero-inner {
    padding-top: 52px;
    padding-bottom: 56px;
    grid-template-columns: 1fr;
  }
  .contact-merge-hero h1 { font-size: 38px; }
  .contact-rocky-help ul { grid-template-columns: 1fr; }
  .contact-rocky-visual { justify-self: center; }
  .contact-rocky-image { width: 190px; }
  .contact-start-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-rocky-image { animation: none; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 720px;
}
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 48px; align-items: start; }
.contact-layout > *, .contact-layout .form-section { min-width: 0; }
.contact-layout .field input, .contact-layout .field select, .contact-layout .field textarea { min-width: 0; width: 100%; }
.form-section { margin: 0 0 30px; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--border-subtle); }
.form-section legend {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-ink);
  text-transform: uppercase;
}
html[lang="zh"] .form-section legend { font-family: var(--font-cjk); text-transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12.5px;
  color: var(--navy-ink);
}
html[lang="zh"] .field label { font-family: var(--font-cjk); font-size: 13.5px; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15.5px;
  color: var(--text-body);
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
  border-color: var(--gold-600);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--text-muted); margin: 14px 0 22px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.check-option { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 9px 0; cursor: pointer; }
.check-option input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--navy-700); flex: 0 0 auto; }
.check-option span { line-height: 1.45; }
.contact-sidebar { position: sticky; top: 104px; }
.contact-sidebar h2 { margin: 10px 0 22px; font-size: 25px; }
.contact-next-steps { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: contact-step; }
.contact-next-steps li { position: relative; margin-bottom: 22px; padding-left: 42px; counter-increment: contact-step; }
.contact-next-steps li::before { content: counter(contact-step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-display); font-weight: 700; color: var(--gold-700); }
.contact-next-steps strong,
.contact-next-steps span { display: block; }
.contact-next-steps span { margin-top: 4px; color: var(--gray-600); font-size: 14.5px; }
.contact-sidebar .notice-banner { margin-top: 24px; }
.contact-email { margin-top: 24px; font-size: 14.5px; overflow-wrap: anywhere; }
.assessment-link-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.assessment-link-block .eyebrow { margin-bottom: 8px; }
.assessment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-weight: 700;
  text-decoration: none;
}
.assessment-link:hover { color: var(--gold-700); }
.on-dark-link { color: var(--gold-300); font-weight: 700; }
.on-dark-link:hover { color: #fff; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-sidebar { position: static; }
}
@media (max-width: 640px) {
  .form-card { padding: 24px; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* ---------- Personal tax complexity assessment ---------- */
[hidden] { display: none !important; }
.assessment-hero .hero-inner { max-width: 940px; }
.assessment-hero .hero-note {
  margin-top: 28px;
  padding: 13px 16px;
  max-width: 720px;
  border-left: 3px solid var(--gold-500);
  background: rgba(6, 24, 47, 0.42);
  color: var(--text-on-dark-muted);
  font-size: 15px;
}
.assessment-hero .hero-note a { color: var(--gold-300); font-weight: 700; }
.assessment-shell { max-width: 920px; }
.assessment-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 30px;
}
.assessment-intro h2 { margin: 10px 0 12px; font-size: 29px; }
.assessment-intro p { margin: 0; }
.assessment-privacy {
  padding: 20px 22px;
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  font-size: 14px;
}
.assessment-privacy strong { display: block; margin-bottom: 4px; color: var(--navy-ink); }
.assessment-toolbar {
  position: sticky;
  top: 76px;
  z-index: 20;
  margin-bottom: 20px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(6, 24, 47, 0.08);
}
.assessment-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  color: var(--navy-ink);
  font-size: 13.5px;
  font-weight: 700;
}
.assessment-progress-track {
  height: 7px;
  overflow: hidden;
  background: var(--gray-200);
  border-radius: 999px;
}
.assessment-progress-bar {
  width: 0;
  height: 100%;
  background: var(--gold-600);
  border-radius: inherit;
  transition: width 0.2s ease;
}
.assessment-form { display: grid; gap: 22px; }
.assessment-section {
  margin: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(6, 24, 47, 0.05);
}
.assessment-section > legend {
  width: 100%;
  padding: 0;
  color: var(--navy-ink);
}
.assessment-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
html[lang="zh"] .assessment-section-title {
  font-family: var(--font-cjk);
  text-transform: none;
}
.assessment-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--navy-900);
  background: var(--gold-500);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
}
.assessment-section-description {
  margin: 10px 0 24px;
  color: var(--gray-600);
  font-size: 15px;
}
.assessment-question-list { display: grid; gap: 24px; }
.assessment-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.assessment-question {
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.assessment-question:first-child,
.assessment-question-grid > .assessment-question:nth-child(-n+2) { padding-top: 0; border-top: 0; }
.assessment-question-title {
  display: block;
  margin: 0 0 9px;
  color: var(--navy-ink);
  font-weight: 700;
  line-height: 1.4;
}
.assessment-question-help {
  margin: -3px 0 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.assessment-question .field label,
.conditional-panel .field label { text-transform: none; letter-spacing: 0.02em; font-size: 13.5px; }
.yes-no-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 360px;
}
.yes-no-option { position: relative; cursor: pointer; }
.yes-no-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.yes-no-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--navy-ink);
  background: var(--white);
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.yes-no-option:hover span { border-color: var(--gold-600); }
.yes-no-option input:checked + span {
  color: #fff;
  background: var(--navy-700);
  border-color: var(--navy-700);
}
.yes-no-option input:focus-visible + span {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
.conditional-panel {
  margin-top: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-left: 3px solid var(--gold-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.conditional-panel .form-grid { gap: 16px; }
.conditional-panel .assessment-question + .assessment-question { margin-top: 18px; }
.assessment-callout {
  margin-top: 16px;
  padding: 14px 16px;
  color: var(--navy-ink);
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  font-size: 14px;
}
.assessment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 30px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
}
.assessment-actions p { max-width: 560px; margin: 0; font-size: 14px; }
.assessment-actions .btn { flex: 0 0 auto; }
.assessment-noscript {
  margin-bottom: 22px;
  padding: 15px 18px;
  color: var(--navy-ink);
  background: #fff4d6;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-md);
}
@media (max-width: 760px) {
  .assessment-intro,
  .assessment-question-grid { grid-template-columns: 1fr; }
  .assessment-question-grid > .assessment-question:nth-child(2) { padding-top: 22px; border-top: 1px solid var(--border-subtle); }
  .assessment-toolbar { top: 76px; margin-left: -8px; margin-right: -8px; }
  .assessment-section { padding: 24px 20px; }
  .assessment-actions { align-items: stretch; flex-direction: column; }
  .assessment-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .yes-no-group { grid-template-columns: 1fr 1fr; }
  .assessment-section-title { font-size: 20px; }
}

/* ---------- Personal Tax Reference Quote ---------- */
.legacy-assessment { display: none !important; }
.btn-outline {
  color: var(--navy-800);
  background: transparent;
  border: 1.5px solid var(--navy-600);
}
.btn-outline:hover { color: #fff; background: var(--navy-700); }
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.quote-result {
  display: grid;
  gap: 22px;
  margin-top: 12px;
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--gold-600);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(6, 24, 47, 0.1);
  scroll-margin-top: 100px;
}
.quote-result[hidden],
.quote-request-panel[hidden],
.quote-review-notice[hidden] { display: none !important; }
.quote-result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}
.quote-result-heading h2 { margin: 8px 0 0; font-size: 30px; }
.quote-total {
  min-width: 220px;
  padding: 18px 22px;
  text-align: right;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  color: #fff;
}
.quote-total span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-300);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
html[lang="zh"] .quote-total span { letter-spacing: 0.05em; text-transform: none; }
.quote-total strong { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; }
.quote-summary { margin: -6px 0 0; color: var(--navy-ink); font-size: 16px; }
.quote-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.quote-review-notice {
  padding: 18px 20px;
  color: var(--navy-ink);
  background: #fff4d6;
  border: 1px solid var(--gold-500);
  border-left: 4px solid var(--gold-700);
  border-radius: var(--radius-md);
}
.quote-review-notice > strong { display: block; margin-bottom: 7px; }
.quote-review-notice ul { margin: 9px 0 0; padding-left: 21px; }
.quote-review-notice li + li { margin-top: 5px; }
.quote-line-items { overflow-x: auto; }
.quote-line-item-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--navy-ink);
  font-size: 14.5px;
}
.quote-line-item-table caption {
  margin-bottom: 10px;
  color: var(--navy-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}
html[lang="zh"] .quote-line-item-table caption { font-family: var(--font-cjk); letter-spacing: 0.04em; text-transform: none; }
.quote-line-item-table th,
.quote-line-item-table td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}
.quote-line-item-table th {
  color: #fff;
  background: var(--navy-800);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quote-line-item-table th:last-child,
.quote-line-item-table td:last-child { width: 150px; text-align: right; white-space: nowrap; }
.quote-line-item-table tbody tr:nth-child(even) { background: var(--gray-50); }
.quote-disclaimer {
  padding: 17px 19px;
  background: var(--gray-50);
  border-left: 3px solid var(--navy-600);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.quote-disclaimer strong { color: var(--navy-ink); }
.quote-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.quote-choice-grid .btn { width: 100%; min-height: 48px; padding: 13px 16px; text-align: center; }
.quote-pdf-help { margin: -10px 0 0; color: var(--text-muted); font-size: 13px; }
.quote-request-panel {
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--navy-700);
  border-radius: var(--radius-md);
  scroll-margin-top: 100px;
}
.quote-request-panel h3 { margin: 0 0 9px; color: var(--navy-ink); }
.quote-request-panel > p { margin: 0 0 22px; }
.quote-request-panel > .btn { margin-top: 22px; }
.quote-acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 17px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--navy-ink);
  font-size: 14px;
  line-height: 1.55;
}
.quote-acknowledgement input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.quote-print-sheet { display: none; }

@media (max-width: 760px) {
  .quote-result { padding: 24px 20px; }
  .quote-result-heading { flex-direction: column; }
  .quote-total { width: 100%; min-width: 0; text-align: left; }
  .quote-choice-grid { grid-template-columns: 1fr; }
  .quote-request-panel { padding: 22px 18px; }
}

@media print {
  @page { margin: 0.6in; }
  body.printing-quote { background: #fff !important; }
  body.printing-quote * { visibility: hidden !important; }
  body.printing-quote .quote-print-sheet,
  body.printing-quote .quote-print-sheet * { visibility: visible !important; }
  body.printing-quote .quote-print-sheet {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    color: #111;
    background: #fff;
    font-family: Arial, sans-serif;
  }
  .quote-print-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #111;
    font-size: 13px;
  }
  .quote-print-sheet h1 { margin: 28px 0 16px; color: #111; font-size: 38px; }
  .quote-print-sheet h2 { margin: 22px 0 8px; color: #111; font-size: 18px; }
  .quote-print-sheet .quote-line-item-table { margin-top: 22px; color: #111; }
  .quote-print-sheet .quote-line-item-table th { color: #fff !important; background: #152a46 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .quote-print-sheet .quote-line-item-table tr { break-inside: avoid; }
  .quote-print-disclaimer {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #777;
    font-size: 11px;
    line-height: 1.5;
  }
}

/* ---------- Business Services Quote Calculator ---------- */
.assessment-link-list {
  display: grid;
  gap: 10px;
}
.business-quote-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}
.business-quote-intro h2 { margin: 10px 0 12px; font-size: 31px; }
.business-quote-intro p { margin-bottom: 0; }
.business-quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: start;
  max-width: 1240px;
}
.business-quote-main > [data-service-catalog] {
  display: grid;
  gap: 24px;
}
.business-quote-category {
  min-width: 0;
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(6, 24, 47, 0.05);
}
.business-quote-category > legend {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 0;
  color: var(--navy-ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}
html[lang="zh"] .business-quote-category > legend {
  font-family: var(--font-cjk);
  text-transform: none;
}
.business-category-number {
  color: var(--gold-700);
  font-size: 17px;
  letter-spacing: 0.04em;
}
.business-category-description {
  margin: 10px 0 22px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.business-service-list {
  display: grid;
  gap: 10px;
}
.business-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.business-service-row:hover {
  border-color: var(--gold-300);
  box-shadow: 0 5px 16px rgba(6, 24, 47, 0.05);
}
.business-service-row.selected {
  background: var(--gold-100);
  border-color: var(--gold-500);
}
.business-service-choice {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
  cursor: pointer;
}
.business-service-choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.business-service-marker {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
}
.business-service-choice > input:checked + .business-service-marker {
  background: var(--navy-700);
  border-color: var(--navy-700);
}
.business-service-choice > input:checked + .business-service-marker::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.business-service-choice > input:focus-visible + .business-service-marker {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
.business-service-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.business-service-content strong {
  color: var(--navy-ink);
  font-size: 15px;
  line-height: 1.35;
}
.business-service-content small {
  color: var(--text-muted);
  font-size: 12.75px;
  line-height: 1.45;
}
.business-service-price {
  padding-left: 10px;
  color: var(--navy-700);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}
html[lang="zh"] .business-service-price { font-family: var(--font-cjk); }
.business-quantity {
  display: grid;
  gap: 4px;
  width: 92px;
  color: var(--navy-ink);
  font-size: 11.5px;
  font-weight: 700;
}
.business-quantity input {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  color: var(--navy-ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 14px;
}
.business-quantity input:disabled { cursor: not-allowed; opacity: 0.48; }
.business-quantity input:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
}
.business-quote-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 17px;
  max-height: calc(100vh - 116px);
  padding: 26px;
  overflow: auto;
  background: var(--white);
  border: 2px solid var(--gold-600);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 38px rgba(6, 24, 47, 0.1);
  scrollbar-gutter: stable;
}
.business-quote-summary .eyebrow { margin: 0; }
.business-quote-summary h2 { margin: -4px 0 0; font-size: 26px; }
.business-selected-count {
  margin: -5px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}
.business-quote-total {
  min-width: 0;
  padding: 17px 19px;
  text-align: left;
}
.business-quote-total strong { font-size: 30px; }
.business-summary-empty {
  margin: 0;
  padding: 14px;
  color: var(--text-muted);
  background: var(--gray-50);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 13.5px;
}
.business-summary-lines {
  max-height: 315px;
  overflow: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.business-summary-lines .quote-line-item-table { font-size: 12.5px; }
.business-summary-lines .quote-line-item-table caption { padding: 11px 12px 0; font-size: 12px; }
.business-summary-lines .quote-line-item-table th,
.business-summary-lines .quote-line-item-table td { padding: 9px 10px; }
.business-summary-lines .quote-line-item-table th:last-child,
.business-summary-lines .quote-line-item-table td:last-child { width: 108px; }
.business-summary-quantity {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 11px;
}
.business-review-notice { margin: 0; font-size: 12.75px; }
.business-summary-meta {
  display: grid;
  gap: 4px;
  padding-top: 13px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11.5px;
}
.business-summary-meta strong { color: var(--navy-ink); }
.business-summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.business-summary-actions .btn {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  font-size: 12px;
  text-align: center;
}
.business-summary-actions .btn-accent { grid-column: 1 / -1; }
.business-summary-help {
  margin: -5px 0 0;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.5;
}
.business-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
  max-width: 1080px;
}
.business-scope-grid h2 { margin: 10px 0 15px; }
.business-scope-grid p { margin-bottom: 0; }
.business-quote-print-sheet { display: none; }

@media (max-width: 1000px) {
  .business-quote-shell { grid-template-columns: 1fr; }
  .business-quote-summary {
    position: static;
    order: -1;
    max-height: none;
  }
  .business-summary-lines { max-height: none; }
}
@media (max-width: 760px) {
  .business-quote-intro,
  .business-scope-grid { grid-template-columns: 1fr; gap: 28px; }
  .business-quote-category { padding: 23px 18px; }
  .business-service-row { grid-template-columns: 1fr; }
  .business-quantity { width: 100%; padding-left: 34px; }
  .business-quantity input { max-width: 140px; }
  .business-quote-summary { padding: 22px 18px; }
}
@media (max-width: 520px) {
  .business-quote-category > legend { align-items: flex-start; font-size: 19px; }
  .business-service-choice { grid-template-columns: 21px minmax(0, 1fr); gap: 10px; }
  .business-service-price {
    grid-column: 2;
    padding: 4px 0 0;
    text-align: left;
  }
  .business-service-content strong { font-size: 14.5px; }
  .business-summary-actions { grid-template-columns: 1fr; }
  .business-summary-actions .btn-accent { grid-column: auto; }
}

@media print {
  body.printing-business-quote { background: #fff !important; }
  body.printing-business-quote * { visibility: hidden !important; }
  body.printing-business-quote .business-quote-print-sheet,
  body.printing-business-quote .business-quote-print-sheet * { visibility: visible !important; }
  body.printing-business-quote .business-quote-print-sheet {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #111;
    background: #fff;
    font-family: Arial, sans-serif;
  }
  body.printing-business-quote .business-quote-print-sheet h1 {
    margin: 26px 0 16px;
    color: #111;
    font-size: 34px;
  }
  body.printing-business-quote .business-quote-print-sheet h2 {
    margin: 22px 0 8px;
    color: #111;
    font-size: 19px;
  }
  body.printing-business-quote .quote-line-item-table { margin-top: 22px; color: #111; }
  body.printing-business-quote .quote-line-item-table th {
    color: #fff !important;
    background: #152a46 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body.printing-business-quote .quote-line-item-table tr { break-inside: avoid; }
  .business-print-review {
    margin: 18px 0 0;
    padding: 12px 14px;
    background: #fff4d6;
    border: 1px solid #cfaa50;
    font-size: 11px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  border-top: 3px solid var(--gold-600);
}
.site-footer .footer-main {
  padding: 60px 0 44px;
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1fr 1.5fr;
  gap: 48px;
}
@media (max-width: 960px) { .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .site-footer .footer-main { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--gold-500);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
html[lang="zh"] .site-footer h4 { font-family: var(--font-cjk); }
.site-footer p { font-size: 14.5px; line-height: 1.7; margin: 0; }
.site-footer li { font-size: 14.5px; line-height: 1.6; margin-bottom: 9px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
html[lang="zh"] .footer-brand { font-family: var(--font-cjk); }
.footer-brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}
.footer-cta {
  color: var(--gold-500) !important;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 13px;
}
html[lang="zh"] .footer-cta { font-family: var(--font-cjk); }
.footer-cta:hover { color: #fff !important; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
}
.disclaimer {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(159,176,200,0.75);
  max-width: 900px;
  margin: 0;
}
.footer-bottom {
  padding: 18px 0 26px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Utility ---------- */
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.notice-banner {
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
}

/* ---------- Articles ---------- */
.articles-index .container { max-width: 980px; }
.article-list-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  padding: 36px 0;
  border-top: 3px solid var(--navy-800);
  border-bottom: 1px solid var(--border-subtle);
}
.article-list-item + .article-list-item { border-top-width: 1px; }
.article-list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.article-list-meta time,
.article-meta {
  color: var(--text-muted);
  font-size: 14px;
}
.topic-label {
  display: inline-block;
  color: var(--gold-700);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
html[lang="zh"] .topic-label {
  font-family: var(--font-cjk);
  letter-spacing: 0.08em;
}
.article-list-body h2 {
  font-family: var(--font-body);
  font-size: 27px;
  line-height: 1.25;
  text-transform: none;
}
html[lang="zh"] .article-list-body h2 {
  font-family: var(--font-cjk);
  letter-spacing: 0;
}
.article-list-body h2 a {
  color: var(--navy-ink);
  text-decoration: none;
}
.article-list-body h2 a:hover { color: var(--gold-700); }
.article-list-body p { margin: 16px 0; font-size: 17px; }
.article-read-link {
  color: var(--navy-700);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
html[lang="zh"] .article-read-link { font-family: var(--font-cjk); letter-spacing: 0.08em; }
.article-read-link:hover { color: var(--gold-700); }
.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.featured-article > div h2 { margin: 14px 0 14px; }
.featured-article > div > p:not(.eyebrow) { margin: 0 0 22px; font-size: 17px; }
.featured-article article {
  padding: 28px 0 6px;
  border-top: 3px solid var(--navy-800);
  border-bottom: 1px solid var(--border-subtle);
}
.featured-article article .article-list-meta { gap: 8px; margin-bottom: 18px; }
.featured-article article h3 {
  font-family: var(--font-body);
  font-size: 25px;
  line-height: 1.3;
  text-transform: none;
}
html[lang="zh"] .featured-article article h3 { font-family: var(--font-cjk); letter-spacing: 0; }
.featured-article article h3 a { color: var(--navy-ink); text-decoration: none; }
.featured-article article h3 a:hover { color: var(--gold-700); }
.featured-article article > p { margin: 12px 0 18px; }

.article-hero {
  background: var(--navy-800);
  border-bottom: 4px solid var(--gold-600);
  color: var(--text-on-dark);
}
.article-hero-inner { max-width: 980px; padding-top: 64px; padding-bottom: 68px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
}
.breadcrumb a { color: var(--text-on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-500); }
.article-hero .topic-label { color: var(--gold-500); }
.article-hero h1 {
  max-width: 930px;
  margin: 14px 0 24px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 44px;
  line-height: 1.16;
  text-transform: none;
}
html[lang="zh"] .article-hero h1 {
  font-family: var(--font-cjk);
  letter-spacing: 0;
  line-height: 1.35;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--text-on-dark-muted); }

.article-shell { max-width: 980px; padding-top: 64px; padding-bottom: 88px; }
.article-content { max-width: 780px; }
.article-toc {
  margin-bottom: 52px;
  padding: 26px 30px;
  background: var(--gray-50);
  border-left: 3px solid var(--gold-600);
}
.article-toc-title {
  margin: 0 0 12px;
  color: var(--navy-ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
html[lang="zh"] .article-toc-title { font-family: var(--font-cjk); letter-spacing: 0.08em; }
.article-toc ol {
  columns: 2;
  column-gap: 36px;
  margin: 0;
  padding-left: 20px;
}
.article-toc li {
  break-inside: avoid;
  margin: 0 0 7px;
  color: var(--gold-700);
  font-size: 14.5px;
}
.article-toc a { color: var(--navy-600); text-decoration: none; }
.article-toc a:hover { color: var(--gold-700); text-decoration: underline; }
.article-copy { font-size: 17px; line-height: 1.75; }
.article-copy > p:first-child { margin-top: 0; font-size: 19px; line-height: 1.7; color: var(--navy-ink); }
.article-copy h2,
.article-copy h3,
.article-copy h4 {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  scroll-margin-top: 96px;
}
html[lang="zh"] .article-copy h2,
html[lang="zh"] .article-copy h3,
html[lang="zh"] .article-copy h4 { font-family: var(--font-cjk); }
.article-copy h2 {
  margin: 56px 0 18px;
  padding-top: 8px;
  font-size: 30px;
  line-height: 1.3;
}
.article-copy h3 { margin: 36px 0 12px; font-size: 21px; line-height: 1.4; }
.article-copy h4 {
  margin: 28px 0 10px;
  color: var(--navy-ink);
  font-size: 18px;
  line-height: 1.45;
}
.article-copy p { margin: 0 0 20px; }
.article-copy ul,
.article-copy ol { margin: 0 0 24px; padding-left: 25px; }
.article-copy li { margin-bottom: 9px; padding-left: 4px; }
.article-copy strong { color: var(--navy-ink); }
.article-copy blockquote {
  margin: 24px 0 28px;
  padding: 18px 22px;
  background: var(--gold-100);
  border-left: 3px solid var(--gold-600);
  color: var(--navy-ink);
}
.article-copy blockquote p { margin: 0; font-size: 18px; font-style: italic; }
.article-table-wrap {
  width: 100%;
  margin: 24px 0 32px;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
}
.article-copy table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.45;
}
.article-copy th,
.article-copy td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}
.article-copy th:last-child,
.article-copy td:last-child { border-right: 0; }
.article-copy tr:last-child td { border-bottom: 0; }
.article-copy th {
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
}
.article-copy tbody tr:nth-child(even) { background: var(--gray-50); }
.article-disclaimer {
  margin-top: 56px;
  padding: 24px 26px;
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
}
.article-service-note {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 2px solid var(--gold-600);
  border-bottom: 1px solid var(--gold-300);
}
.article-service-note p { margin: 0; font-size: 17px; line-height: 1.7; }
.article-service-note strong { color: var(--navy-ink); }
.article-service-note a { color: var(--navy-700); font-weight: 600; }
.article-service-note a:hover { color: var(--gold-700); }
.article-service-note + .article-disclaimer { margin-top: 28px; }
.article-disclaimer strong { color: var(--navy-ink); }
.article-disclaimer p { margin: 6px 0 0; font-size: 14.5px; }
.article-end-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.article-end-nav a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.article-end-nav a:hover { color: var(--gold-700); }
.article-meta a { color: inherit; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-meta a:hover { color: var(--gold-300); }

@media (max-width: 720px) {
  .featured-article { grid-template-columns: 1fr; gap: 38px; }
  .article-list-item { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .article-list-meta { gap: 8px; }
  .article-list-body h2 { font-size: 23px; }
  .article-hero-inner { padding-top: 42px; padding-bottom: 48px; }
  .article-hero h1 { font-size: 32px; }
  .article-shell { padding-top: 40px; padding-bottom: 64px; }
  .article-toc { padding: 22px; }
  .article-toc ol { columns: 1; }
  .article-copy { font-size: 16.5px; }
  .article-copy > p:first-child { font-size: 17.5px; }
  .article-copy h2 { margin-top: 46px; font-size: 25px; }
  .article-end-nav { flex-direction: column; }
}
