:root {
  --brand-green-deep: #14301f;
  --brand-green: #1f3d2e;
  --green-primary: #2e7d5b;
  --green-soft-bg: #e6f0e8;
  --gold: #c9a05c;
  --gold-light: #d8b777;
  --page-bg: #f5f6f5;
  --card-bg: #ffffff;
  --fill-soft: #f5f5f4;
  --text-primary: #1a2b24;
  --text-secondary: #64736d;
  --text-tertiary: #9aa8a2;
  --border-hairline: #ecefed;
  --shadow-card: 0 16px 36px rgba(20, 48, 31, 0.08);
  --radius-card: 8px;
  --radius-inner: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(20, 48, 31, 0.94);
  box-shadow: 0 10px 30px rgba(20, 48, 31, 0.18);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.header-action {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-inner);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 132px max(24px, calc((100vw - var(--max-width)) / 2)) 78px;
  background:
    radial-gradient(circle at 82% 28%, rgba(216, 183, 119, 0.28), transparent 28%),
    linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-deep) 82%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero p {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-inner);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.button svg,
.text-button svg,
.modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button.secondary,
.contact-button {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  top: 132px;
  width: clamp(180px, 20vw, 280px);
  opacity: 0.1;
}

.hero-product-stack {
  position: absolute;
  right: max(-24px, calc((100vw - var(--max-width)) / 2));
  bottom: 86px;
  width: min(48vw, 620px);
  min-width: 480px;
  height: 390px;
}

.hero-product-stack::before {
  content: "";
  position: absolute;
  inset: 52px 40px 22px;
  border-radius: 50%;
  background: rgba(46, 125, 91, 0.42);
  filter: blur(46px);
}

.hero-product-stack img {
  position: absolute;
  width: 62%;
  border-radius: 8px;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.28);
}

.hero-product-stack img:nth-child(1) {
  right: 0;
  bottom: 26px;
  transform: rotate(-3deg);
}

.hero-product-stack img:nth-child(2) {
  left: 10%;
  bottom: 98px;
  transform: rotate(5deg);
}

.hero-product-stack img:nth-child(3) {
  left: 24%;
  top: 8px;
  transform: rotate(-8deg);
}

.hero-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 74px;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts div {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-facts strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.hero-facts span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.section-copy h2,
.service-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
}

.section-copy p,
.service-section p,
.contact-section p {
  width: min(520px, 100%);
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 48px;
}

.intro-band .section-copy {
  display: block;
  margin: 0;
}

.intro-band .section-copy p {
  margin-top: 20px;
}

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

.intro-points > div,
.advantage-list article,
.product-card {
  border-radius: var(--radius-card);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
}

.intro-points > div {
  padding: 24px;
}

.icon-chip {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft-bg);
  color: var(--green-primary);
}

.icon-chip svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-points strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
}

.intro-points p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.text-button {
  border: 0;
  cursor: pointer;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-inner);
  background: #fff;
  color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px var(--border-hairline);
  font-size: 14px;
}

.filter-button[aria-pressed="true"] {
  background: var(--green-primary);
  color: #fff;
  box-shadow: none;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.text-button {
  background: transparent;
  color: var(--green-primary);
  font-weight: 600;
}

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

.product-card {
  overflow: hidden;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(20, 48, 31, 0.14);
  outline: none;
}

.product-image {
  display: grid;
  height: 188px;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 40%, rgba(46, 125, 91, 0.12), transparent 48%),
    #f3f6f4;
}

.product-image img {
  max-height: 144px;
  object-fit: contain;
}

.product-body {
  padding: 20px;
}

.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--green-primary);
  font-size: 13px;
  font-weight: 600;
}

.product-kicker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--text-tertiary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  margin: 10px 0 14px;
  color: var(--text-primary);
  font-size: 21px;
  line-height: 1.18;
  font-weight: 600;
}

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

.product-specs span {
  min-width: 0;
  border-radius: var(--radius-inner);
  background: var(--fill-soft);
  padding: 10px;
  color: var(--text-secondary);
  font-size: 12px;
}

.product-specs strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

.product-note {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
}

.split-section .section-copy {
  display: block;
  margin: 0;
}

.split-section .section-copy p {
  margin-top: 20px;
}

.advantage-list {
  display: grid;
  gap: 16px;
}

.advantage-list article {
  padding: 24px;
}

.advantage-list span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.advantage-list h3 {
  margin: 8px 0;
  font-size: 22px;
  font-weight: 600;
}

.advantage-list p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--border-hairline);
}

.service-section p {
  margin-top: 20px;
}

.service-steps {
  display: grid;
  gap: 14px;
}

.service-steps div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: var(--radius-card);
  background: #fff;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.service-steps strong {
  color: var(--text-primary);
  font-weight: 600;
}

.service-steps span {
  color: var(--text-secondary);
}

.contact-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-radius: var(--radius-card);
  padding: 42px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-deep));
  color: #fff;
  overflow: hidden;
  position: relative;
}

.contact-section::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 34px 24px;
  border-top: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-size: 13px;
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 48, 31, 0.54);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  width: min(900px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  cursor: pointer;
}

.modal-media {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 42px;
  background:
    radial-gradient(circle at 50% 44%, rgba(46, 125, 91, 0.14), transparent 54%),
    #f2f6f3;
}

.modal-media img {
  max-height: 290px;
  object-fit: contain;
}

.modal-content {
  padding: 54px 42px 42px;
}

.series-label {
  display: inline-flex;
  border-radius: var(--radius-inner);
  background: var(--green-soft-bg);
  padding: 7px 10px;
  color: var(--green-primary);
  font-size: 13px;
  font-weight: 600;
}

.modal-content h2 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 600;
}

.modal-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.78;
}

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

.spec-list div {
  border-radius: var(--radius-inner);
  background: var(--fill-soft);
  padding: 14px;
}

.spec-list dt {
  color: var(--text-tertiary);
  font-size: 12px;
}

.spec-list dd {
  margin: 4px 0 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding: 12px 20px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 112px 24px 54px;
  }

  .hero-product-stack {
    opacity: 0.52;
    right: -190px;
    bottom: 130px;
    width: 560px;
    min-width: 560px;
  }

  .hero-content {
    width: 100%;
  }

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

  .section,
  .contact-section {
    width: calc(100% - 40px);
  }

  .section-copy,
  .intro-band,
  .split-section,
  .service-section,
  .contact-section {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .modal-media {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .header-action {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-inline: 20px;
    padding-bottom: 46px;
  }

  .hero-product-stack {
    top: 470px;
    right: -280px;
    bottom: auto;
    width: 560px;
    min-width: 560px;
    opacity: 0.34;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .filters,
  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-points,
  .product-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

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

  .contact-section {
    padding: 28px;
  }
}
