:root {
  --bg: #f6ecdf;
  --bg-deep: #ead7bd;
  --surface: rgba(255, 248, 239, 0.74);
  --surface-strong: rgba(255, 247, 238, 0.92);
  --text: #4f3527;
  --muted: #7d5d48;
  --line: rgba(123, 87, 58, 0.15);
  --accent: #c98652;
  --accent-deep: #a86235;
  --glow: rgba(220, 169, 110, 0.28);
  --shadow: 0 20px 60px rgba(122, 83, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(233, 190, 140, 0.45), transparent 22%),
    linear-gradient(180deg, #f8efe5 0%, #f1e2d0 45%, #f8f0e8 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.topbar,
.hero-grid,
.intro-grid,
.service-path,
.pricing-grid,
.process-wrap,
.contact-grid {
  display: grid;
  gap: 24px;
}

.topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 251, 247, 0.9);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(177, 106, 54, 0.16);
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand p,
.brand span,
.panel-card p,
.panel-card li,
.soft-card p,
.path-card p,
.price-note,
.timeline-step p,
.closing-card p {
  margin: 0;
}

.brand p {
  font-size: 0.94rem;
  font-weight: 600;
}

.brand span,
.ghost-link,
.eyebrow,
.card-kicker,
.panel-label,
.price-note {
  color: var(--muted);
}

.brand span {
  font-size: 0.82rem;
}

.ghost-link,
.primary-btn,
.secondary-btn {
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ghost-link {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.ghost-link:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 98, 53, 0.35);
}

.hero {
  padding-top: 12px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 42px 0 26px;
}

.hero-copy h1,
.section-head h2,
.path-card h3,
.price-card h3,
.timeline-step h3,
.closing-card h2,
.panel-card h2 {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
}

.eyebrow,
.card-kicker,
.panel-label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 1.06;
}

.lead {
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  padding: 14px 22px;
  border-radius: 999px;
}

.primary-btn {
  color: #fffaf5;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 34px rgba(185, 116, 62, 0.28);
}

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

.secondary-btn {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.65);
}

.hero-panel {
  position: relative;
  min-height: 520px;
}

.panel-card,
.soft-card,
.path-card,
.price-card,
.promise-card,
.closing-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel-card {
  position: absolute;
  width: min(100%, 380px);
  padding: 28px;
  border-radius: 32px;
}

.panel-card h2 {
  margin: 10px 0 12px;
  font-size: 1.9rem;
}

.panel-card ul,
.promise-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.floating-card {
  top: 20px;
  right: 12px;
}

.offset-card {
  bottom: 28px;
  left: 0;
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0.78), rgba(241, 222, 198, 0.78));
}

.section {
  padding: 72px 0 16px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2,
.closing-card h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
}

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

.soft-card,
.price-card {
  padding: 28px;
  border-radius: 28px;
}

.soft-card {
  min-height: 220px;
}

.soft-card p:last-child,
.path-card p,
.timeline-step p,
.closing-card p,
.price-note {
  line-height: 1.9;
}

.service-path {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.path-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: 32px;
  min-height: 280px;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
}

.path-index {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 26px;
  font-weight: 700;
  color: var(--accent-deep);
  background: rgba(221, 181, 140, 0.28);
}

.path-card h3,
.price-card h3,
.timeline-step h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.featured {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(245, 227, 202, 0.88));
  transform: translateY(-10px);
}

.price {
  margin: 18px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--accent-deep);
}

.process-wrap {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: stretch;
}

.contact-card {
  padding: 30px;
  border-radius: 30px;
}

.contact-main h3 {
  margin: 10px 0 14px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.contact-main p,
.contact-side li,
.qr-card p,
.contact-tip {
  line-height: 1.9;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.contact-side ul {
  margin: 14px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.qr-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(168, 98, 53, 0.16);
  background: rgba(255, 250, 245, 0.82);
}

.qr-card img {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 14px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(154, 103, 60, 0.14);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step,
.promise-card {
  padding: 26px 28px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(213, 164, 114, 0.22);
  color: var(--accent-deep);
  font-weight: 700;
}

.closing-card {
  padding: 40px;
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(180deg, rgba(247, 235, 220, 0.9), rgba(238, 219, 191, 0.92));
}

.closing-card p {
  max-width: 760px;
  margin: 18px auto 28px;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .service-path,
  .pricing-grid,
  .process-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-panel {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .panel-card {
    position: static;
    width: 100%;
  }

  .featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 12px;
  }

  .topbar {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .ghost-link {
    width: 100%;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .section {
    padding-top: 54px;
  }

  .soft-card,
  .path-card,
  .price-card,
  .timeline-step,
  .promise-card,
  .closing-card,
  .contact-card,
  .panel-card {
    border-radius: 24px;
  }

  .closing-card {
    padding: 30px 22px;
  }
}
