:root {
  --bg: #f8fbf6;
  --surface: #ffffff;
  --surface-strong: #eef6ed;
  --text: #15201d;
  --muted: #60706b;
  --line: #dbe6df;
  --green: #0b7c69;
  --green-strong: #075b4d;
  --amber: #eea94b;
  --amber-soft: #fff0d6;
  --danger: #ad4f1f;
  --shadow: 0 18px 42px rgba(19, 58, 50, 0.12);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  background: rgba(248, 251, 246, 0.9);
  border-bottom: 1px solid rgba(219, 230, 223, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(11, 124, 105, 0.24);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #35423f;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.header-action:hover,
.lang-toggle:hover {
  color: var(--green);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action,
.primary-button,
.secondary-button,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-action {
  color: var(--green-strong);
  background: #fff;
  border-color: var(--line);
}

.lang-toggle {
  min-width: 52px;
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.primary-button {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 26px rgba(11, 124, 105, 0.22);
}

.primary-button:hover {
  background: var(--green-strong);
}

.secondary-button {
  color: var(--green-strong);
  background: #fff;
  border-color: var(--line);
}

.secondary-button:hover {
  border-color: rgba(11, 124, 105, 0.34);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
  align-items: center;
  gap: 42px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 54px 0 42px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 900;
  line-height: 0.95;
  word-break: keep-all;
}

.hero-lead {
  display: grid;
  gap: 2px;
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 820;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats dt {
  margin: 0;
  color: var(--green-strong);
  font-size: 26px;
  font-weight: 880;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  margin: 0;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(var(--max), calc(100% - 32px));
  margin: -6px auto 34px;
}

.product-strip a {
  padding: 10px 14px;
  color: #1f473f;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.section,
.calculator-section,
.contact {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

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

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section-heading h2,
.calculator-copy h2,
.seo-layout h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.section-heading p,
.calculator-copy p,
.seo-layout p,
.contact p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card.featured {
  border-color: rgba(11, 124, 105, 0.34);
  box-shadow: var(--shadow);
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.product-meta span {
  padding: 7px 9px;
  color: #23433d;
  background: var(--surface-strong);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.product-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
  color: #334541;
  font-size: 14px;
  line-height: 1.45;
}

.product-list li {
  position: relative;
  padding-left: 16px;
}

.product-list li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--amber);
  border-radius: 999px;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: 36px;
  padding: 44px;
  background: #102f2b;
  border-radius: 8px;
  color: #fff;
}

.visual-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.visual-copy p {
  margin: 18px 0 0;
  color: #d9fff5;
  line-height: 1.8;
}

.mini-metrics,
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mini-metrics span,
.partner-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff7df;
  font-size: 13px;
  font-weight: 750;
}

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

.risk-board div {
  min-height: 150px;
  padding: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 20%, rgba(238, 169, 75, 0.42), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.risk-board strong {
  display: block;
  margin-bottom: 34px;
  color: #fff;
  font-size: 26px;
}

.risk-board span {
  color: #d9fff5;
  line-height: 1.55;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.flow-grid a {
  min-height: 250px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-grid span {
  color: var(--amber);
  font-size: 34px;
  font-weight: 900;
}

.flow-grid h3 {
  margin: 30px 0 12px;
  font-size: 24px;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.case-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-image {
  height: 170px;
  background:
    radial-gradient(circle at 20% 30%, rgba(238, 169, 75, 0.8), transparent 18%),
    linear-gradient(135deg, #0e3d36, #0b7c69 56%, #f3c56c);
  position: relative;
}

.case-image::before,
.case-image::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.case-image::before {
  left: 22px;
  right: 22px;
  bottom: 28px;
  height: 12px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 -36px 0 rgba(255, 255, 255, 0.26), 0 -72px 0 rgba(255, 255, 255, 0.16);
}

.case-image::after {
  right: 28px;
  top: 30px;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.22);
  border: 8px solid rgba(255, 255, 255, 0.52);
}

.case-image.festival {
  background:
    radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.8), transparent 11%),
    linear-gradient(135deg, #15312d, #386f59 45%, #eea94b);
}

.case-image.expo {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 58px),
    linear-gradient(135deg, #123f38, #f8fbf6);
}

.case-grid h3,
.case-grid p {
  padding: 0 20px;
}

.case-grid h3 {
  margin: 20px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.case-grid p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.partner-strip {
  margin-top: 18px;
}

.partner-strip span {
  color: #244640;
  background: #fff;
  border-color: var(--line);
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344642;
  line-height: 1.6;
}

.calculator {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #2f403c;
  font-size: 13px;
  font-weight: 750;
}

select,
input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--text);
  background: #fbfdf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

select:focus,
input:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(238, 169, 75, 0.45);
  outline-offset: 2px;
}

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

.full {
  width: 100%;
}

.result-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #102f2b;
  border-radius: 8px;
  color: #fff;
}

.result-box span {
  color: #bfe8dd;
  font-size: 13px;
  font-weight: 760;
}

.result-box strong {
  font-size: 28px;
  line-height: 1.1;
}

.result-box small {
  color: #d9fff5;
  line-height: 1.55;
}

.toned {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  background: #edf5ec;
}

.toned .section-heading {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.scene-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.scene-layout article {
  min-height: 245px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.guide-layout article {
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-layout h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.guide-layout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.scene-layout h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
}

.scene-layout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
  padding: 44px;
  color: #fff;
  background: #102f2b;
  border-radius: 8px;
}

.contact p {
  color: #d9fff5;
  margin-top: 14px;
}

.contact-line {
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand,
.footer-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-brand strong {
  color: var(--text);
}

.service-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 8px;
}

.service-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(4, 42, 34, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 54px;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
}

.page-hero p {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.timeline article {
  display: grid;
  grid-template-columns: 100px minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  color: var(--amber);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.timeline h2 {
  margin: 0;
  font-size: 24px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.product-detail-list article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-detail-list h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.product-detail-list p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.product-detail-list ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-detail-list li {
  padding: 16px;
  color: #344642;
  background: var(--surface-strong);
  border-radius: 8px;
  line-height: 1.65;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 320px;
  gap: 24px;
  align-items: start;
}

.contact-card,
.qr-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.contact-card p,
.qr-card p {
  color: var(--muted);
  line-height: 1.75;
}

.qr-card img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.case-grid.rich article {
  min-height: 520px;
}

.case-grid.rich h2 {
  padding: 0 20px;
  margin: 20px 0 10px;
  font-size: 24px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    padding: 14px 0;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .calculator-section {
    grid-template-columns: 1fr;
  }

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

  .product-grid,
  .scene-layout,
  .guide-layout,
  .flow-grid,
  .case-grid,
  .visual-band,
  .product-detail-list ul,
  .contact-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-band {
    padding: 28px;
  }

  .section-heading,
  .contact,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions a {
    flex: 1;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header,
  .hero,
  .product-strip,
  .section,
  .calculator-section,
  .contact {
    width: min(100% - 22px, var(--max));
  }

  .brand {
    font-size: 18px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-stats,
  .product-grid,
  .form-grid,
  .scene-layout,
  .guide-layout,
  .flow-grid,
  .case-grid,
  .risk-board,
  .visual-band,
  .product-detail-list ul,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .hero-lead {
    display: block;
    font-size: 24px;
    max-width: 100%;
    word-break: break-all;
  }

  .hero-lead span {
    display: inline;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero h1,
  .hero-copy,
  .hero-visual,
  .calculator-copy,
  .section-heading,
  .product-card,
  .scene-layout article {
    min-width: 0;
  }

  .hero-visual {
    overflow: hidden;
    border-radius: 8px;
  }

  .hero-visual img {
    min-width: 0;
  }

  .section,
  .calculator-section {
    padding: 56px 0;
  }

  .toned {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .product-card,
  .scene-layout article,
  .guide-layout article,
  .flow-grid a,
  .calculator,
  .contact {
    padding: 18px;
  }

  .visual-band {
    padding: 22px;
  }

  .service-dock {
    right: 10px;
    bottom: 10px;
  }

  .service-dock a {
    min-width: 88px;
  }
}
