:root {
  --ink: #18211f;
  --muted: #5e6864;
  --soft: #f7f3ec;
  --paper: #fffdf8;
  --line: #ded6c8;
  --green: #12352f;
  --green-2: #294c43;
  --gold: #ad8d42;
  --mist: #e7eee9;
  --danger-soft: #f4e8df;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 53, 47, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 53, 47, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  line-height: 1.75;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 214, 200, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: var(--green);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 700;
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--green);
  border-bottom-color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.42fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(82svh - 80px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 7vw, 82px);
}

.hero-copy {
  max-width: 920px;
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(34px, 4.35vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-block;
  max-width: 880px;
  padding: 0 0 12px;
  color: var(--green);
  border-bottom: 2px solid rgba(173, 141, 66, 0.45);
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.32;
  text-transform: none;
}

.signal {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--green);
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-link {
  padding: 0 22px;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 14px 32px rgba(18, 53, 47, 0.18);
}

.secondary-link {
  padding: 0 20px;
  color: var(--green);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.68);
}

.primary-link:hover,
.secondary-link:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.hero-portrait {
  justify-self: end;
  width: min(100%, 370px);
  margin: 0;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(231, 238, 233, 0.72)),
    var(--soft);
  border: 1px solid rgba(222, 214, 200, 0.92);
  border-radius: 24px;
  box-shadow: 0 26px 64px rgba(18, 53, 47, 0.16);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.36);
}

.hero-portrait figcaption {
  display: grid;
  gap: 2px;
  padding: 16px 6px 4px;
  color: var(--muted);
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.hero-portrait strong {
  color: var(--green);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 20px;
  line-height: 1.25;
}

.section-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.section-band h2 {
  margin: 0;
  font-size: clamp(30px, 3.35vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 1060px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-kicker {
  margin: 0;
  color: var(--gold);
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.35;
}

.section-heading h2 {
  color: var(--ink);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.copy-stack {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 20px);
}

.copy-stack p:first-child {
  margin-top: 0;
}

.services h2 {
  max-width: 880px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 245px;
  padding: 30px;
  background: rgba(255, 253, 248, 0.92);
}

.service-grid span {
  color: var(--gold);
  font-family: "Georgia", serif;
  font-size: 24px;
}

.service-grid h3 {
  min-height: 0;
  margin: 42px 0 16px;
  color: var(--green);
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.28;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.crossborder {
  background:
    linear-gradient(90deg, rgba(18, 53, 47, 0.05), transparent 42%),
    transparent;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--ink);
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 17px;
}

.check-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(231, 238, 233, 0.8);
}

.boundary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  padding: clamp(34px, 6vw, 66px);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(18, 53, 47, 0.96), rgba(41, 76, 67, 0.94)),
    var(--green);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(18, 53, 47, 0.18);
}

.boundary-panel h2,
.boundary-panel p,
.boundary-label {
  margin: 0;
}

.boundary-panel .boundary-label {
  margin-bottom: 12px;
  color: #d8bd72;
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.35;
}

.boundary-panel h2 {
  font-size: clamp(28px, 3.15vw, 42px);
}

.boundary-copy {
  display: grid;
  gap: 18px;
}

.boundary-panel p {
  max-width: none;
  color: #dbe4df;
  font-size: clamp(17px, 1.45vw, 19px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.66fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.contact-heading {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.contact-layout p {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 20px);
}

.privacy-note {
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: var(--danger-soft);
}

.contact-box {
  padding: clamp(26px, 3.2vw, 36px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wechat-qr {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(18, 53, 47, 0.1);
}

.contact-box dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-box dl > div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-box dt {
  color: var(--muted);
  font-family: "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
}

.contact-box dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 0;
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 700;
}

.contact-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.copy-button,
.call-button {
  min-width: 64px;
  min-height: 36px;
  padding: 0 12px;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.contact-box p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  gap: 14px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--green);
}

.plain-page {
  min-height: 100svh;
}

.legal-page {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 116px) 0;
}

.legal-page h1 {
  margin: 10px 0 28px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-content: center;
}

.reveal {
  animation: reveal 720ms ease both;
}

.reveal:nth-child(2) {
  animation-delay: 140ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    gap: 14px;
    overflow-x: auto;
    max-width: 58vw;
    padding-bottom: 4px;
  }

  .hero,
  .two-column,
  .contact-layout,
  .boundary-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    justify-self: start;
    max-width: 340px;
  }

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

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 28px, var(--max));
    gap: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-band,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    font-size: 38px;
    white-space: normal;
  }

  .hero .eyebrow {
    font-size: 24px;
  }

  .hero-portrait {
    width: min(100%, 320px);
  }

  .signal {
    font-size: 15px;
  }

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

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 220px;
  }

  .service-grid h3 {
    min-height: 0;
    margin-top: 28px;
  }

  .boundary-panel,
  .contact-box {
    padding: 24px;
  }

  .contact-box dd {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .call-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
