:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --muted: #666666;
  --line: #e8e8e8;
  --brand: #0a3d2e;
  --brand-soft: #1f6b4f;
  --soft: #f7f8f7;
  --hero: #0d4a3a;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 58px;
  width: auto;
}

.nav {
  display: flex;
  gap: 8px 28px;
  font-size: 15px;
  color: #333;
}

.nav a:hover,
.nav a:focus {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
}

.hero {
  background: linear-gradient(120deg, #0a3d2e 0%, #14624d 55%, #1f7a5f 100%);
  color: #fff;
}

.hero-slide {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.hero-panel {
  padding: 72px 0;
}

.hero-logo {
  width: 120px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
}

.hero-kicker {
  margin: 0 0 12px;
  letter-spacing: 0.18em;
  font-size: 13px;
  opacity: 0.85;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  font-weight: 700;
}

.hero-desc {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 16px;
  opacity: 0.9;
}

.section {
  padding: 88px 0;
}

.section.products,
.section.quality {
  background: var(--soft);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: var(--brand);
}

.section-head .en {
  margin: 8px 0 0;
  color: #999;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
}

.section-head.light h2,
.section-head.light .en {
  color: #fff;
}

.section-head.light .en {
  opacity: 0.7;
}

.section-note {
  text-align: center;
  margin: -12px 0 28px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.about-visual {
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(10, 61, 46, 0.08), rgba(10, 61, 46, 0.02)),
    linear-gradient(135deg, #e7f2ee, #f8fbfa);
  display: grid;
  place-items: center;
}

.about-badge {
  width: min(260px, 70%);
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(10, 61, 46, 0.08);
}

.about-copy h3 {
  margin: 0 0 16px;
  font-size: 24px;
  color: var(--brand);
}

.about-copy p {
  margin: 0 0 14px;
  color: #444;
}

.about-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #333;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.product-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #555;
}

.product-tabs button.is-active,
.product-tabs button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.product-cover {
  height: 220px;
  overflow: hidden;
  background: #f3f6f5;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 避免 border + overflow:hidden + radius 在顶部合成出 1px 黑线 */
.product-card-photo {
  border: 0;
  box-shadow: 0 0 0 1px var(--line);
  background: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.product-card-photo:hover {
  box-shadow: 0 0 0 1px var(--line), 0 16px 30px rgba(0, 0, 0, 0.06);
}

.product-card-photo .product-cover {
  height: auto;
  line-height: 0;
  font-size: 0;
  background: #fff;
  overflow: hidden;
}

.product-card-photo .product-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  padding: 0;
  display: block;
  vertical-align: top;
  transform: translateZ(0);
}

.tone-1 { background: linear-gradient(145deg, #d9efe8, #7fb9a8); }
.tone-2 { background: linear-gradient(145deg, #e8f3ef, #9cc9bb); }
.tone-3 { background: linear-gradient(145deg, #efe6d4, #c4a35a); }
.tone-4 { background: linear-gradient(145deg, #e4edf5, #8aa3ba); }
.tone-5 { background: linear-gradient(145deg, #e9f0ea, #8fbc9f); }
.tone-6 { background: linear-gradient(145deg, #f0ebe3, #b7a48a); }

.product-card h3,
.product-card p {
  margin: 0;
  padding: 0 18px;
}

.product-card h3 {
  padding-top: 16px;
  font-size: 18px;
}

.product-card p {
  padding-bottom: 18px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quality-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 20px;
}

.quality-grid .num {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.quality-grid h3 {
  margin: 12px 0 10px;
  font-size: 18px;
}

.quality-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  background: linear-gradient(135deg, #0a3d2e, #145a46);
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-hotline,
.contact-meta {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 28px;
}

.contact-hotline .label {
  margin: 0;
  opacity: 0.85;
}

.contact-hotline .phone {
  display: inline-block;
  margin-top: 12px;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.contact-hotline .sub {
  margin: 14px 0 0;
  opacity: 0.85;
}

.contact-meta {
  display: grid;
  gap: 18px;
}

.contact-meta h3 {
  margin: 0 0 6px;
  font-size: 14px;
  opacity: 0.72;
  font-weight: 500;
}

.contact-meta p {
  margin: 0;
  font-size: 15px;
}

.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 56px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-brand img {
  width: 96px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy p {
  margin: 0 0 8px;
  font-size: 13px;
}

.footer-copy a {
  color: #cfe7df;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 960px) {
  .about-layout,
  .product-grid,
  .quality-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child { border-bottom: 0; }

  .header-inner { position: relative; }

  .hero-slide { min-height: 440px; }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 64px 0; }
}
