:root {
  --bg: #f4f0e8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #15231d;
  --muted: #4f6159;
  --line: rgba(21, 35, 29, 0.12);
  --brand: #1f4b3f;
  --brand-strong: #102f27;
  --accent: #c6a36a;
  --shadow: 0 24px 60px rgba(16, 37, 30, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 163, 106, 0.18), transparent 28%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 238, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.92);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(16, 37, 30, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #f8f3e8;
  font-family: "Georgia", "STSong", "Songti SC", serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
}

.brand-text strong,
.hero h1,
.section-heading h2,
.intro-copy h2,
.vision-copy h2,
.contact-copy h2 {
  font-family: "Georgia", "STSong", "Songti SC", serif;
}

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

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: clip;
  background: #0f221c;
}

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

.hero-media img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 15, 0.82) 0%, rgba(9, 18, 15, 0.48) 42%, rgba(9, 18, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 18, 15, 0.12) 0%, rgba(9, 18, 15, 0.8) 100%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 96vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: end;
  padding: 136px 0 42px;
}

.hero-content {
  color: #f8f3e8;
  max-width: 760px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(248, 243, 232, 0.86);
  font-size: 1.08rem;
}

.hero-panel {
  align-self: end;
  margin-bottom: 12px;
  padding: 28px;
  border: 1px solid rgba(248, 243, 232, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(248, 243, 232, 0.08);
  backdrop-filter: blur(14px);
  color: #f8f3e8;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.hero-panel-label {
  margin: 0 0 18px;
  color: rgba(248, 243, 232, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.hero-panel article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(248, 243, 232, 0.08);
}

.hero-panel span {
  display: block;
  font-family: "Georgia", "STSong", "Songti SC", serif;
  font-size: 1.38rem;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(248, 243, 232, 0.72);
  font-size: 0.94rem;
}

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

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

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #d8bb8d);
  color: #19261f;
}

.button-secondary {
  border-color: rgba(248, 243, 232, 0.36);
  color: #f8f3e8;
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 104px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(31, 75, 63, 0.04), rgba(31, 75, 63, 0)),
    rgba(255, 255, 255, 0.4);
}

.section-dark {
  background:
    linear-gradient(135deg, #152c24, #0c1713 78%);
  color: #f8f3e8;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

.section-heading h2,
.intro-copy h2,
.vision-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.15;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.intro-grid,
.vision-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.intro-copy p,
.vision-copy p,
.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
}

.intro-panel,
.contact-card {
  padding: 2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(198, 163, 106, 0.45), rgba(31, 75, 63, 0.12));
  box-shadow: var(--shadow);
}

.panel-card,
.contact-card {
  background: rgba(255, 255, 255, 0.92);
}

.panel-card {
  padding: 28px;
  border-radius: calc(var(--radius-xl) - 2px);
}

.panel-title {
  margin: 0 0 18px;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

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

.contact-list li,
.contact-item {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child,
.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list span,
.contact-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.highlight-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 28px;
}

.highlight-intro-copy,
.highlight-summary {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 35, 29, 0.08);
  box-shadow: 0 18px 36px rgba(16, 37, 30, 0.05);
}

.highlight-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highlight-intro-copy h3 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.25;
  font-family: "Georgia", "STSong", "Songti SC", serif;
}

.highlight-intro-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.highlight-summary {
  display: grid;
  gap: 16px;
}

.highlight-summary article {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.highlight-summary article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.highlight-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
}

.highlight-summary p {
  margin: 0;
  color: var(--muted);
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(21, 35, 29, 0.08);
  box-shadow: 0 18px 36px rgba(16, 37, 30, 0.05);
}

.feature-card h3,
.showcase-copy h3,
.plan-copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.feature-card p,
.showcase-copy p,
.plan-copy p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  overflow: hidden;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 34px;
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row-reverse {
  grid-template-columns: 0.9fr 1fr;
}

.showcase-row-reverse .showcase-image {
  order: 2;
}

.showcase-row-reverse .showcase-copy {
  order: 1;
}

.showcase-image,
.vision-image,
.plan-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.showcase-image img,
.vision-image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.showcase-image:hover img,
.vision-image:hover img,
.plan-card:hover img {
  transform: scale(1.03);
}

.showcase-copy {
  padding: 22px 0;
}

.materials-section {
  background:
    linear-gradient(180deg, rgba(31, 75, 63, 0.02), rgba(31, 75, 63, 0.08)),
    rgba(255, 255, 255, 0.5);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.material-card {
  margin: 0;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 35, 29, 0.08);
  box-shadow: 0 18px 40px rgba(16, 37, 30, 0.06);
}

.material-frame {
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, #f7f3eb, #f0ece3);
  overflow: hidden;
}

.material-frame img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(16, 37, 30, 0.08);
}

.material-card figcaption {
  padding-top: 18px;
}

.material-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.material-card p {
  margin: 0;
  color: var(--muted);
}

.vision-grid {
  gap: 48px;
}

.vision-copy p {
  color: rgba(248, 243, 232, 0.76);
}

.vision-image img {
  min-height: 520px;
}

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

.plan-card {
  background: var(--surface-strong);
}

.plan-image-wrap {
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, #fcfaf6, #f4efe5);
}

.plan-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.plan-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(21, 35, 29, 0.78);
  color: #f7f3ea;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.plan-zoom-trigger:hover .plan-zoom-hint,
.plan-zoom-trigger:focus-visible .plan-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.plan-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  transition: transform 300ms ease;
}

.plan-copy {
  padding: 22px;
}

.contact-section {
  background:
    radial-gradient(circle at bottom right, rgba(31, 75, 63, 0.1), transparent 26%),
    rgba(255, 255, 255, 0.42);
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.contact-card a {
  font-size: 1.5rem;
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 24;
  display: grid;
  gap: 12px;
}

.floating-link,
.floating-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(21, 35, 29, 0.12);
  box-shadow: 0 16px 32px rgba(16, 37, 30, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.94rem;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.floating-link:hover,
.floating-top:hover,
.floating-link:focus-visible,
.floating-top:focus-visible {
  transform: translateY(-2px);
}

.floating-link-phone {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #f7f3ea;
}

.floating-link-contact {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.floating-top {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand);
  opacity: 0;
  pointer-events: none;
}

.floating-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.plan-modal[hidden] {
  display: none;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 11, 0.78);
  backdrop-filter: blur(6px);
}

.plan-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: 22px;
  border-radius: 28px;
  background: #f7f3ea;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: auto;
}

.plan-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 35, 29, 0.08);
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
}

.plan-modal-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 22px;
  align-items: start;
}

.plan-modal-figure {
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdfa, #f1ece3);
  padding: 18px;
}

.plan-modal-image {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
  object-fit: contain;
}

.plan-modal-copy {
  padding: 8px 4px 8px 0;
}

.plan-modal-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-modal-copy h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  font-family: "Georgia", "STSong", "Songti SC", serif;
}

.plan-modal-desc {
  margin: 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .hero-stats,
  .hero-layout,
  .hero-panel-grid,
  .highlight-intro,
  .feature-grid,
  .plan-grid,
  .materials-grid,
  .intro-grid,
  .vision-grid,
  .contact-grid,
  .showcase-row,
  .showcase-row-reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row-reverse .showcase-image,
  .showcase-row-reverse .showcase-copy {
    order: initial;
  }

  .showcase-image img,
  .vision-image img {
    min-height: 320px;
  }

  .hero-layout {
    min-height: auto;
    padding-top: 118px;
  }

  .plan-modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 32px, 1180px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding: 100px 0 28px;
    gap: 18px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-panel {
    padding: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-card,
  .panel-card,
  .contact-card,
  .hero-panel article,
  .material-card {
    padding: 22px;
  }

  .material-frame,
  .plan-image-wrap {
    padding: 12px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-link,
  .floating-top {
    min-width: 94px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .plan-modal-dialog {
    width: min(100vw - 20px, 1200px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 14px;
    border-radius: 20px;
  }

  .plan-modal-figure {
    padding: 10px;
  }

  .plan-modal-copy h3 {
    font-size: 1.45rem;
  }

  .plan-zoom-hint {
    opacity: 1;
    transform: none;
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .footer-inner {
    min-height: 92px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 16px 0;
  }
}
