:root {
  --green: #4caf6a;
  --green-dark: #2f9e4b;
  --green-soft: #e8f6ec;
  --yellow: #a8d5b5;
  --ink: #14241a;
  --muted: #5c6f62;
  --line: #d5e3d9;
  --bg: #f5faf6;
  --white: #fff;
  --shadow: 0 12px 40px rgba(20, 80, 40, 0.08);
  --radius: 14px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Noto Serif SC", "Songti SC", serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
ul { padding-left: 1.2em; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47,158,75,.14);
}
.header-top {
  background: linear-gradient(90deg, #5cba75, #7dca90 55%, #a8d5b5);
  color: #fff;
  font-size: .82rem;
}
.header-top-inner {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0;
}
.header-top a { color: #fff; }
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand img { border-radius: 50%; box-shadow: 0 4px 12px rgba(47,158,75,.28); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .04em;
}
.brand-text small { color: var(--muted); font-size: .75rem; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: 8px 12px; color: var(--ink); border-radius: 999px;
  font-weight: 500; font-size: .95rem;
}
.site-nav a.is-active,
.site-nav a:hover {
  background: var(--green-soft); color: var(--green-dark);
}
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; margin: 7px 8px; background: var(--ink); border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(47,158,75,.28);
}
.btn-ghost {
  background: rgba(255,255,255,.45);
  color: #14241a !important;
  border: 1px solid rgba(255,255,255,.75);
}
.btn-outline {
  background: #fff;
  color: var(--green-dark) !important;
  border: 1px solid var(--green);
}
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-yellow {
  background: #fff;
  color: var(--green-dark) !important;
  box-shadow: 0 8px 18px rgba(47,158,75,.22);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: #14241a;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(232,246,236,.92) 8%, rgba(200,232,210,.72) 48%, rgba(245,250,246,.55)),
    url("../img/hero-pattern.svg"),
    linear-gradient(160deg, #d8f0e0, #b8e0c4 45%, #eaf7ee 78%, #f5faf6);
  background-size: cover, 280px, cover;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -40% 40%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(140,210,160,.4), transparent 60%);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-40px, -20px, 0) scale(1.08); }
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 72px 0 64px;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(47,158,75,.12);
  border: 1px solid rgba(47,158,75,.32);
  color: #1f7a38;
  font-size: .82rem;
  margin-bottom: 16px;
  letter-spacing: .06em;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: .02em;
  color: #14241a;
  animation: rise .8s ease both;
}
.hero p {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: #3d5346;
  max-width: 36em;
  animation: rise .8s ease .1s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  animation: rise .8s ease .2s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.page-hero {
  background:
    linear-gradient(105deg, rgba(232,246,236,.95), rgba(200,232,210,.85)),
    url("../img/hero-pattern.svg"),
    linear-gradient(160deg, #cfead8, #eaf7ee);
  background-size: cover, 240px, cover;
  color: #14241a;
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 12px;
  color: #14241a;
}
.page-hero p { margin: 0; max-width: 40em; color: #3d5346; }

.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin: 0 0 10px;
}
.section-head p { margin: 0; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--yellow);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--green-dark);
}
.stat span { color: var(--muted); font-size: .9rem; }

.service-grid, .card-grid, .product-grid, .gallery-grid {
  display: grid;
  gap: 20px;
}
.service-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }

.service-item, .info-card, .product-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-item:hover, .product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-item .num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.service-item h3, .info-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.service-item p, .info-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.split-text h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  margin-top: 0;
}
.prose h2, .prose h3 { font-family: var(--display); color: var(--green-dark); }
.prose p, .prose li { color: #3d3650; }
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--line);
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: .75rem; display: grid; place-items: center;
}

.product-card { padding: 0; overflow: hidden; }
.product-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.product-card .body { padding: 18px 18px 22px; }
.product-card .tag {
  display: inline-block; font-size: .75rem; color: var(--green-dark);
  background: var(--green-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px;
}
.product-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.product-card h3 a { color: inherit; }
.product-card p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }

.gallery-grid figure {
  margin: 0; border-radius: 12px; overflow: hidden;
  aspect-ratio: 3/4; background: #dceee2;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }

.cta-band {
  background:
    linear-gradient(120deg, rgba(232,246,236,.98), rgba(184,224,196,.9)),
    url("../img/hero-pattern.svg");
  color: #14241a;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--display); margin: 0 0 8px; font-size: 1.5rem; color: #14241a; }
.cta-band p { margin: 0; color: #3d5346; max-width: 36em; }
.cta-band .btn-yellow {
  background: var(--green);
  color: #fff !important;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
}
.contact-card, .form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; background: #fbfefc;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.alert {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 14px;
}
.alert-ok { background: #e8f6ec; color: #1f7a38; }
.alert-err { background: #fdecea; color: #a33; }

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: start;
}
.product-detail .cover {
  border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line);
}
.product-detail .cover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }

.site-footer {
  background: linear-gradient(180deg, #eaf7ee 0%, #dceee2 100%);
  color: #3d5346;
  padding-top: 48px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 1.25fr 0.95fr;
  gap: 32px 36px;
  align-items: start;
  padding-bottom: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}
.site-footer h3 {
  color: #14241a; font-size: .95rem; margin: 0 0 16px;
  letter-spacing: .04em; font-weight: 700;
  line-height: 1.3;
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 8px; line-height: 1.5; }
.site-footer a { color: #3d5346; }
.site-footer a:hover { color: var(--green-dark); }
.footer-logo {
  align-items: center;
  gap: 16px;
}
.footer-logo img {
  width: 72px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(47,158,75,.22);
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.footer-logo strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: #14241a;
  letter-spacing: .04em;
  line-height: 1.25;
}
.footer-logo small {
  display: block;
  color: #6a8070;
  font-size: .92rem;
  margin-top: 0;
  line-height: 1.5;
}
.qr-row { display: flex; gap: 14px; }
.qr-row figure { margin: 0; text-align: center; }
.qr-row img {
  width: 100px; height: 100px; object-fit: cover;
  border-radius: 10px; background: #fff; padding: 4px;
  border: 1px solid var(--line);
}
.qr-row figcaption { font-size: .8rem; margin-top: 6px; color: #6a8070; }
.footer-bottom {
  border-top: 1px solid rgba(47,158,75,.15);
  padding: 14px 0;
  font-size: .85rem;
  color: #6a8070;
  background: rgba(255,255,255,.35);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.float-phone {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: #fff !important;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(47,158,75,.4);
}

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.filter-bar a {
  padding: 8px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}
.filter-bar a.active, .filter-bar a:hover {
  background: var(--green); color: #fff; border-color: var(--green);
}

@media (max-width: 960px) {
  .stats, .service-grid, .card-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .product-detail, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; width: 100%; }
  .header-cta { align-self: stretch; text-align: center; }
  .lang-switch { margin: 8px 0; align-self: flex-start; }
}
@media (max-width: 600px) {
  .stats, .service-grid, .card-grid, .product-grid, .gallery-grid { grid-template-columns: 1fr; }
  .header-top { display: none; }
  .hero-inner { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .cta-band { padding: 28px; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: .85rem;
  font-weight: 600;
}
.lang-switch a { color: var(--muted); padding: 2px 4px; border-radius: 4px; }
.lang-switch a.is-active { color: var(--green-dark); }
.lang-switch a:hover { color: var(--green); }
.lang-sep { color: #b7ceb9; font-weight: 400; }
