:root {
  --bg: #f5f0e6;
  --paper: rgba(255, 251, 244, 0.9);
  --paper-strong: #fffaf1;
  --ink: #14241f;
  --muted: #5f6b64;
  --line: rgba(20, 36, 31, 0.12);
  --brand: #11392c;
  --brand-2: #1b5d45;
  --leaf: #2f7a55;
  --gold: #b68c45;
  --accent: #c85e34;
  --shadow: 0 24px 60px rgba(17, 57, 44, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(182, 140, 69, 0.22), transparent 24rem),
    radial-gradient(circle at 85% 10%, rgba(47, 122, 85, 0.2), transparent 18rem),
    linear-gradient(180deg, #f8f3e9 0%, #f4ecdd 48%, #f7f3eb 100%);
  font: 16px/1.65 "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  width: 17rem;
  height: 17rem;
  right: -6rem;
  top: 6rem;
  background: rgba(47, 122, 85, 0.18);
}

.page-shell::after {
  width: 13rem;
  height: 13rem;
  left: -4rem;
  bottom: 8rem;
  background: rgba(200, 94, 52, 0.12);
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 243, 233, 0.72);
  border-bottom: 1px solid rgba(17, 57, 44, 0.08);
}

.site-header--solid {
  position: relative;
  background: rgba(248, 243, 233, 0.92);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
}

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

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

.brand strong {
  font: 700 1.08rem/1.1 "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  letter-spacing: 0.06em;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand), var(--leaf));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.brand-mark__leaf {
  width: 18px;
  height: 26px;
  border-radius: 70% 0 70% 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.64));
  transform: rotate(-35deg);
  position: relative;
}

.brand-mark__leaf::after {
  content: "";
  position: absolute;
  inset: 2px 8px;
  border-radius: 999px;
  background: rgba(17, 57, 44, 0.16);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.trust-links a:hover,
.trust-links a:focus-visible {
  color: var(--brand);
}

.nav-menu__cta {
  color: #fff !important;
  background: var(--brand);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  box-shadow: 0 16px 30px rgba(17, 57, 44, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(17, 57, 44, 0.08);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  margin: 0 auto 5px;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero {
  padding: 4.2rem 0 3.8rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(17, 57, 44, 0.92), rgba(17, 57, 44, 0.74) 40%, rgba(27, 93, 69, 0.24)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 1px, transparent 78px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}

.hero__content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero__content {
  color: #f7f0e3;
  padding: 1rem 0;
}

.eyebrow,
.section__kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section h2,
.legal-wrap h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  max-width: 12ch;
}

.hero__lead {
  max-width: 42rem;
  margin: 1.3rem 0 0;
  font-size: 1.08rem;
  color: rgba(247, 240, 227, 0.84);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--gold), #cfa968);
  color: #1b1a17;
  box-shadow: 0 18px 32px rgba(182, 140, 69, 0.28);
}

.button--ghost,
.button--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.button--ghost-light {
  color: var(--paper-strong);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero__highlights {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero__highlights li {
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(247, 240, 227, 0.88);
  background: rgba(255,255,255,0.06);
  padding: 0.56rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.hero-card {
  display: grid;
  gap: 1rem;
}

.hero-card__panel,
.hero-card__stat-grid article,
.service-card,
.trust-card,
.contact-banner,
.legal-wrap {
  background: var(--paper);
  border: 1px solid rgba(255, 250, 241, 0.42);
  box-shadow: var(--shadow);
}

.hero-card__panel,
.contact-banner,
.legal-wrap {
  border-radius: var(--radius-xl);
}

.hero-card__panel {
  padding: 1.6rem;
}

.hero-card__label {
  margin: 0;
  color: var(--leaf);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-card__panel h2 {
  margin: 0.6rem 0 1.1rem;
  font-size: 1.65rem;
}

.hero-card__meta {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.hero-card__meta div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-card__meta dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-card__meta dd {
  margin: 0.38rem 0 0;
  font-weight: 700;
  word-break: break-word;
}

.hero-card__meta a,
.inline-link,
.trust-links a,
.footer-grid a {
  color: var(--brand-2);
}

.hero-card__stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-card__stat-grid article {
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.hero-card__stat-grid strong {
  display: block;
  font-size: 1.02rem;
  color: var(--brand);
}

.hero-card__stat-grid span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 4.8rem 0;
}

.section--accent {
  background:
    linear-gradient(180deg, rgba(17,57,44,0.04), rgba(17,57,44,0.01)),
    radial-gradient(circle at top right, rgba(182,140,69,0.12), transparent 20rem);
}

.section--contact {
  padding-top: 1.5rem;
  padding-bottom: 5.5rem;
}

.section__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  max-width: 12ch;
}

.section__intro {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.card-grid,
.trust-grid {
  display: grid;
  gap: 1rem;
}

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

.trust-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.service-card,
.trust-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.service-card__index {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-card h3,
.trust-card h3 {
  margin: 0.8rem 0 0.75rem;
  font: 700 1.36rem/1.32 "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

.service-card p,
.trust-card p,
.legal-section p {
  margin: 0;
  color: var(--muted);
}

.trust-card--emphasis {
  background: linear-gradient(180deg, rgba(17,57,44,0.94), rgba(27,93,69,0.94));
  color: #f6efe3;
}

.trust-card--emphasis h3,
.trust-card--emphasis .trust-list strong,
.trust-card--emphasis .trust-list a {
  color: inherit;
}

.trust-card--emphasis .trust-list span {
  color: rgba(246, 239, 227, 0.72);
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.trust-list li {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.trust-list span {
  font-size: 0.78rem;
}

.trust-list strong {
  font-size: 1rem;
  word-break: break-word;
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.trust-links a {
  border-bottom: 1px solid rgba(17, 57, 44, 0.18);
}

.contact-banner {
  padding: 1.7rem;
  background:
    linear-gradient(135deg, rgba(17,57,44,0.94), rgba(27,93,69,0.92)),
    radial-gradient(circle at top right, rgba(182,140,69,0.28), transparent 18rem);
  color: #f6efe3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.contact-banner h2 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.contact-banner p {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  color: rgba(246, 239, 227, 0.82);
}

.contact-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-grid,
.footer-meta {
  border-top: 1px solid rgba(17, 57, 44, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding-top: 2rem;
}

.brand--footer {
  margin-bottom: 0.8rem;
}

.footer-grid p,
.footer-meta {
  color: var(--muted);
}

.footer-grid h3 {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-meta {
  padding-top: 1rem;
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  font-size: 0.92rem;
}

.footer-meta span {
  word-break: break-word;
}

.footer-meta a {
  color: var(--brand-2);
}

.legal-page {
  background:
    radial-gradient(circle at top right, rgba(182, 140, 69, 0.18), transparent 18rem),
    linear-gradient(180deg, #faf5ec 0%, #f6efdf 100%);
}

.legal-main {
  padding: 3rem 0 5rem;
}

.legal-main--center {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
}

.legal-wrap {
  padding: 2rem;
  max-width: 54rem;
}

.legal-wrap h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.legal-updated {
  margin: 0.6rem 0 2rem;
  color: var(--muted);
}

.legal-section {
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 0.8rem;
  font: 700 1.28rem/1.3 "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

.legal-section p + p {
  margin-top: 0.72rem;
}

@media (max-width: 1080px) {
  .hero__grid,
  .section__split,
  .card-grid,
  .trust-grid,
  .footer-grid,
  .contact-banner {
    grid-template-columns: 1fr;
  }

  .contact-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 780px) {
  .nav-wrap {
    min-height: 74px;
    gap: 1rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 20px;
    left: 20px;
    border-radius: 22px;
    padding: 1rem;
    background: rgba(255, 250, 241, 0.96);
    border: 1px solid rgba(17, 57, 44, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .nav-menu--inline {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu__cta {
    text-align: center;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__grid {
    gap: 1.35rem;
  }

  .hero__content {
    padding: 0.2rem 0 0;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero-card__panel h2 {
    font-size: 1.45rem;
  }

  .hero-card__stat-grid span,
  .service-card p,
  .trust-card p,
  .prose p {
    font-size: 0.96rem;
  }

  .section__intro {
    margin-bottom: 1.5rem;
  }

  .section h2,
  .contact-banner h2 {
    max-width: none;
  }

  .hero-card__stat-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .legal-main {
    padding-top: 3.4rem;
    padding-bottom: 3.8rem;
  }

  .footer-grid {
    padding-top: 1.7rem;
  }

  .footer-meta {
    gap: 0.65rem 1rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100vw - 28px, 100%);
  }

  .site-header {
    background: rgba(248, 243, 233, 0.9);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
    line-height: 1.12;
  }

  .hero__lead {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .hero__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .hero__highlights li {
    width: 100%;
    padding: 0.64rem 0.85rem;
  }

  .hero__actions,
  .contact-banner__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card__panel,
  .service-card,
  .trust-card,
  .contact-banner,
  .legal-wrap {
    padding: 1.2rem;
  }

  .hero-card__meta,
  .trust-list,
  .footer-grid ul {
    gap: 0.85rem;
  }

  .contact-banner {
    gap: 1.1rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
}
