:root {
  --ink: #17211d;
  --muted: #5f6d67;
  --line: #dfe6e1;
  --paper: #fbfcfa;
  --soft: #eef4ef;
  --teal: #0e6d5a;
  --teal-dark: #09483d;
  --gold: #b58b45;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(12, 36, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid rgba(223, 230, 225, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.lang-switch span {
  display: none;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.lang-switch button {
  min-width: 34px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.lang-switch button.is-active {
  color: var(--white);
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #0b1c18;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/hero-tax-compliance.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 16, 14, 0.28) 0%, rgba(5, 16, 14, 0.78) 62%, rgba(5, 16, 14, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 16, 14, 0.86) 0%, rgba(5, 16, 14, 0.42) 60%, rgba(5, 16, 14, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 120px 20px 44px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(34px, 9vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
}

.metric-strip div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  color: var(--white);
  font-size: 24px;
  line-height: 1.1;
}

.metric-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 420px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn.primary {
  color: var(--white);
  background: var(--teal);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-strip span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.section,
.problem-band,
.why-band,
.proof-band,
.process-band,
.compliance,
.contact-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.compact-section {
  padding: 52px 0;
}

.intro {
  max-width: 900px;
}

.intro h2,
.section-head h2,
.why-band h2,
.compliance h2,
.contact-section h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 7vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

.intro p,
.contact-section p,
.compliance p {
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  margin-bottom: 28px;
}

.problem-band,
.why-band,
.proof-band,
.process-band,
.compliance,
.contact-section {
  padding: 50px 20px;
  border-radius: 8px;
}

.compact {
  padding-top: 38px;
  padding-bottom: 38px;
}

.problem-band,
.process-band {
  background: var(--soft);
}

.problem-grid {
  display: grid;
  gap: 10px;
}

.problem-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(12, 36, 30, 0.06);
}

.service-card {
  padding: 22px;
}

.compact-card {
  padding: 20px;
}

.service-number {
  width: 44px;
  height: 32px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--teal);
  border: 1px solid rgba(14, 109, 90, 0.28);
  border-radius: 6px;
  font-weight: 900;
}

.service-card h3,
.case-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.service-card p,
.case-card p,
.why-grid p,
.process-list p {
  color: var(--muted);
}

.service-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #33443d;
}

.service-card li + li {
  margin-top: 7px;
}

.proof-band {
  display: grid;
  gap: 28px;
  padding: 44px 20px;
  color: var(--white);
  background: #0b2a24;
}

.proof-band h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 7vw, 44px);
  line-height: 1.16;
}

.proof-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.proof-points {
  display: grid;
  gap: 12px;
}

.proof-points div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.proof-points strong,
.proof-points span {
  display: block;
}

.proof-points strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.proof-points span {
  color: rgba(255, 255, 255, 0.72);
}

.why-band {
  display: grid;
  gap: 30px;
  color: var(--white);
  background: #0b2a24;
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.why-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.why-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.case-list {
  display: grid;
  gap: 16px;
}

.case-card {
  padding: 22px;
}

.case-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  padding: 16px;
  border-radius: 8px;
  background: var(--white);
}

.process-list span {
  grid-row: 1 / span 2;
  color: var(--teal);
  font-weight: 900;
}

.process-list strong {
  font-size: 17px;
}

.process-list p {
  margin: 0;
}

.compliance {
  margin-top: 52px;
  border: 1px solid rgba(181, 139, 69, 0.34);
  background: #fffaf1;
}

.compliance .english {
  margin-bottom: 0;
  color: #6a5a40;
}

.contact-section {
  display: grid;
  gap: 28px;
  margin-top: 52px;
  margin-bottom: 100px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(40, 201, 116, 0.22), transparent 34%),
    linear-gradient(135deg, #07382d, #0e6d5a 58%, #123f36);
  box-shadow: var(--shadow);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-row,
.wechat-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.wechat-card {
  grid-template-columns: 110px 1fr;
  align-items: start;
}

.qr-button {
  display: block;
  width: 110px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.qr-button img,
.qr-modal-panel img {
  display: block;
}

.qr-button img {
  width: 110px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

.whatsapp-row {
  background: #1fae5b;
  border-color: rgba(255, 255, 255, 0.32);
}

.contact-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.social-icon,
.mobile-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--white);
}

.social-icon svg,
.mobile-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.wechat-icon {
  color: #11a84f;
}

.whatsapp-icon {
  color: #1fae5b;
}

.contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.contact-row strong,
.contact-row small,
.wechat-card strong,
.wechat-card small,
.wechat-card code {
  display: block;
}

.contact-row small,
.wechat-card small {
  color: rgba(255, 255, 255, 0.7);
}

.wechat-card code {
  width: fit-content;
  margin-top: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 900;
}

.mobile-contact {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(223, 230, 225, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(12, 36, 30, 0.2);
  backdrop-filter: blur(14px);
}

.mobile-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  color: var(--white);
  background: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.mobile-contact a:first-child {
  background: #10a64f;
}

.mobile-contact a:last-child {
  background: #1fae5b;
}

.mobile-icon {
  width: 22px;
  height: 22px;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.qr-modal.is-open {
  display: flex;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 16, 14, 0.72);
  backdrop-filter: blur(8px);
}

.qr-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.qr-modal-panel h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.qr-modal-panel img {
  width: min(320px, 100%);
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-modal-panel p {
  margin-bottom: 10px;
  color: var(--muted);
}

.qr-modal-panel code {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.qr-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .lang-switch span {
    display: inline-grid;
    width: 28px;
    place-items: center;
  }

  .hero {
    min-height: 700px;
    align-items: center;
  }

  .hero-content {
    padding: 120px 28px;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 190px));
    max-width: none;
  }

  .metric-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .problem-grid,
  .service-list,
  .case-list,
  .why-grid,
  .proof-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .mobile-contact {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: 360px;
  }
}

@media (min-width: 1040px) {
  .site-header {
    padding: 14px 32px;
  }

  .service-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-card {
    min-height: 0;
  }

  .case-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-band {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .proof-band {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }
}
