:root {
  --bg: #f4ece2;
  --bg-soft: rgba(255, 255, 255, 0.7);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffaf4;
  --text: #152436;
  --muted: #5f6f80;
  --line: rgba(21, 36, 54, 0.12);
  --brand: #cb6c3c;
  --brand-deep: #8f4b2b;
  --accent: #1d5b68;
  --shadow: 0 22px 60px rgba(21, 36, 54, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Iowan Old Style", "Songti SC", "STSong", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  background:
    radial-gradient(circle at top left, rgba(203, 108, 60, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 91, 104, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f0e7 0%, #f4ece2 40%, #efe3d6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 36, 54, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 36, 54, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

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

.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.8);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(21, 36, 54, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.section {
  margin-top: 92px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 48px;
}

.hero-copy,
.hero-panel,
.metric-card,
.service-card,
.process-item,
.process-note,
.scenario-card,
.value-card,
.faq-item,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.98), rgba(255, 244, 231, 0.88)),
    var(--surface);
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 108, 60, 0.18), transparent 68%);
}

.eyebrow,
.section-index,
.card-kicker,
.scenario-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero h1,
.section-head h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--accent);
}

.hero-desc,
.section-head p,
.service-card p,
.process-item p,
.process-note p,
.scenario-card p,
.value-card p,
.faq-item p,
.contact-copy p,
.footer-note {
  color: var(--muted);
  line-height: 1.8;
}

.hero-desc {
  max-width: 580px;
  margin-top: 22px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #e08a50);
  box-shadow: 0 16px 30px rgba(203, 108, 60, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(21, 36, 54, 0.14);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 36, 54, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(21, 36, 54, 0.98), rgba(21, 36, 54, 0.9)),
    #152436;
  color: #f8efe4;
}

.hero-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-main {
  min-height: 100%;
}

.hero-panel .card-kicker {
  color: #f2b28d;
}

.card-title {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.28;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card-grid div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.card-grid strong,
.contact-panel-head h3,
.service-card h3,
.process-item h3,
.process-note h3,
.scenario-card h3,
.value-card h3,
.faq-item h3 {
  font-size: 18px;
}

.card-grid span,
.hero-stack p {
  color: rgba(248, 239, 228, 0.78);
  line-height: 1.7;
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  padding: 26px 24px;
  border-radius: 24px;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brand-deep);
}

.metric-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.section-index {
  min-width: 42px;
  padding-top: 10px;
}

.section-head h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-grid,
.scenario-grid,
.value-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.scenario-card,
.value-card,
.faq-item {
  padding: 26px;
  border-radius: 24px;
}

.service-card span,
.scenario-label {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3,
.scenario-card h3,
.value-card h3,
.faq-item h3 {
  margin: 18px 0 12px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
}

.process-item span {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(203, 108, 60, 0.14), rgba(29, 91, 104, 0.14));
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 22px;
}

.process-note {
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(203, 108, 60, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 244, 231, 0.88));
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.contact-copy {
  padding: 6px 0;
}

.contact-static {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-static span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(29, 91, 104, 0.08);
  color: var(--accent);
  font-size: 13px;
}

.contact-panel {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 244, 231, 0.92)),
    var(--surface-strong);
}

.contact-panel-head h3 {
  margin: 14px 0 0;
  font-size: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(21, 36, 54, 0.08);
}

.contact-row span {
  color: var(--muted);
  font-size: 14px;
}

.contact-row a,
.contact-row strong {
  font-size: 15px;
  text-align: right;
  word-break: break-all;
}

.site-footer {
  margin-top: 84px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(21, 36, 54, 0.08);
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-note {
  margin: 12px 0 0;
  max-width: 620px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 36, 54, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 36, 54, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.is-hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: rise-in 620ms ease forwards;
}

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

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

.reveal:nth-child(4) {
  animation-delay: 200ms;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 28px, 1200px);
  }

  .site-header,
  .hero,
  .metrics,
  .service-grid,
  .scenario-grid,
  .value-grid,
  .faq-list,
  .process-layout,
  .contact-section,
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .metric-card,
  .service-card,
  .process-item,
  .process-note,
  .scenario-card,
  .value-card,
  .faq-item,
  .contact-panel {
    width: 100%;
  }

  .site-nav {
    gap: 12px 16px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 20px);
    padding-top: 14px;
  }

  .site-header {
    top: 10px;
    padding: 14px;
    border-radius: 28px;
  }

  .brand {
    width: 100%;
  }

  .hero {
    margin-top: 24px;
  }

  .hero-copy,
  .hero-panel,
  .metric-card,
  .service-card,
  .process-item,
  .process-note,
  .scenario-card,
  .value-card,
  .faq-item,
  .contact-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .card-grid,
  .service-grid,
  .scenario-grid,
  .value-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .process-item span {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .contact-row,
  .footer-main,
  .footer-bottom {
    align-items: flex-start;
  }

  .contact-row {
    flex-direction: column;
  }
}
