:root {
  --bg: #f6faf9;
  --card: #ffffff;
  --ink: #22333f;
  --muted: #64788a;
  --line: #e3edec;
  --teal: #14b8a6;
  --teal-deep: #0f766e;
  --blue: #3b82f6;
  --shadow: 0 6px 24px rgba(20, 90, 84, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

a { color: var(--teal-deep); text-decoration: none; }
a:hover { opacity: 0.85; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand .dot {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .dot svg { width: 17px; height: 17px; stroke: #fff; }
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 15px; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav a.active { color: var(--teal-deep); border-bottom-color: var(--teal); font-weight: 600; }
.nav a:hover { color: var(--teal-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn-primary { background: linear-gradient(135deg, var(--teal), #2dd4bf); color: #fff; box-shadow: 0 6px 16px rgba(20, 184, 166, 0.35); }
.btn-outline { background: #fff; color: var(--teal-deep); border: 1.5px solid var(--teal); }
.btn-orange { background: linear-gradient(135deg, #ff7a45, #ff9a3d); color: #fff; box-shadow: 0 6px 16px rgba(255, 122, 69, 0.3); }
.btn-sm { padding: 6px 16px; font-size: 14px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(700px 340px at 12% 8%, rgba(45, 212, 191, 0.14), transparent 65%),
    radial-gradient(600px 320px at 88% 20%, rgba(59, 130, 246, 0.12), transparent 65%),
    linear-gradient(180deg, #f2fbf9 0%, var(--bg) 100%);
}
.hero .container { display: flex; align-items: center; gap: 48px; }
.hero-text { flex: 1.2; min-width: 0; }
.hero-text .tag {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: rgba(20, 184, 166, 0.12); color: var(--teal-deep);
  font-size: 13px; font-weight: 600; margin-bottom: 18px; letter-spacing: 1px;
}
.hero-text h1 { font-size: 40px; line-height: 1.3; letter-spacing: 1px; margin-bottom: 18px; }
.hero-text h1 em { font-style: normal; color: var(--teal-deep); }
.hero-text p { color: var(--muted); font-size: 17px; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { flex: 1; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 380px; }

/* ---------- sections ---------- */
.section { padding: 68px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: 28px; letter-spacing: 1px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.section-head .bar {
  width: 42px; height: 4px; border-radius: 2px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: rgba(20, 184, 166, 0.1); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- product page ---------- */
.product-hero { padding: 64px 0 40px; }
.product-hero .container { display: flex; gap: 44px; align-items: center; }
.product-visual {
  flex: 1; min-height: 300px; border-radius: var(--radius);
  background: linear-gradient(150deg, #e8fbf7, #eaf2fe);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.product-visual svg { width: 72%; max-width: 340px; }
.product-info { flex: 1.1; }
.product-info h1 { font-size: 32px; margin-bottom: 16px; }
.product-info p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.product-info .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.params { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.params th, .params td { padding: 13px 20px; text-align: left; font-size: 14.5px; }
.params tr:nth-child(odd) { background: #f7fcfb; }
.params th { color: var(--teal-deep); font-weight: 600; white-space: nowrap; width: 160px; }
.params td { color: var(--ink); }
.param-note { color: #9aa8b5; font-size: 13px; margin-top: 10px; }

/* ---------- downloads ---------- */
.dl-list { display: grid; gap: 14px; }
.dl-item {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; box-shadow: var(--shadow);
}
.dl-item .file-badge {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: rgba(59, 130, 246, 0.1); color: #2563eb;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px;
}
.dl-item .meta { flex: 1; min-width: 0; }
.dl-item .meta h3 { font-size: 16px; }
.dl-item .meta p { color: var(--muted); font-size: 13.5px; }
.dl-item .meta .sub { font-size: 12.5px; color: #9aa8b5; margin-top: 2px; }
.empty-tip {
  text-align: center; color: var(--muted); padding: 56px 20px;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}

/* ---------- about / contact ---------- */
.about-block { max-width: 820px; margin: 0 auto; }
.about-block p { color: var(--ink); font-size: 16.5px; margin-bottom: 18px; }
.value-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.value-row .num {
  width: 34px; height: 34px; border-radius: 10px; flex: none; margin-top: 3px;
  background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: rgba(20, 184, 166, 0.1); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.contact-row .icon svg { width: 20px; height: 20px; }
.contact-row .label { font-size: 13px; color: #9aa8b5; }
.contact-row .val { font-size: 16px; font-weight: 600; word-break: break-all; }
.qr-box { text-align: center; padding: 26px; }
.qr-box img { width: 180px; height: 180px; border-radius: 12px; object-fit: contain; background: #f4f8f7; }
.qr-box .ph {
  width: 180px; height: 180px; margin: 0 auto; border-radius: 12px; border: 1.5px dashed var(--line);
  display: flex; align-items: center; justify-content: center; color: #b0bcc7; font-size: 13px;
}
.qr-box p { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 0 24px 70px; border-radius: 22px;
  background: linear-gradient(120deg, #0f766e, #14919b 55%, #2b7fd4);
  color: #fff; padding: 52px 40px; text-align: center;
  box-shadow: 0 14px 40px rgba(15, 118, 110, 0.35);
}
.cta-band h2 { font-size: 26px; margin-bottom: 10px; }
.cta-band p { opacity: 0.9; margin-bottom: 26px; }
.cta-band .btn-orange { font-size: 16px; padding: 12px 30px; }
.cta-band .btn-outline2 {
  background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.6);
  padding: 12px 30px; font-size: 16px;
}

/* ---------- footer ---------- */
.footer { background: #10201f; color: #9db8b5; padding: 44px 0 30px; font-size: 14px; }
.footer .cols { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 26px; }
.footer .cols .col { min-width: 180px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer a { color: #9db8b5; }
.footer a:hover { color: #5eead4; }
.footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #7d9996;
}

/* ---------- admin ---------- */
.admin-wrap { max-width: 900px; margin: 40px auto 80px; padding: 0 24px; }
.login-card { max-width: 420px; margin: 60px auto; }
.admin-panel h1 { font-size: 24px; margin-bottom: 6px; }
.admin-panel .sub { color: var(--muted); margin-bottom: 28px; }
.admin-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; box-shadow: var(--shadow); }
.admin-section h2 { font-size: 18px; margin-bottom: 4px; }
.admin-section .hint { color: #9aa8b5; font-size: 13px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; background: #fbfdfd; color: var(--ink);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field .ph-note { font-size: 12.5px; color: #9aa8b5; }
.field-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-size: 14px; margin-top: 10px; min-height: 20px; }
.form-msg.ok { color: #0f766e; }
.form-msg.err { color: #dc2626; }
.dl-admin-item { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.dl-admin-item:last-child { border-bottom: none; }
.dl-admin-item .meta { flex: 1; min-width: 0; }
.dl-admin-item .meta strong { font-size: 15px; }
.dl-admin-item .meta .sub { font-size: 12.5px; color: #9aa8b5; }
.link-btn { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 13.5px; padding: 4px 8px; }
.link-btn.gray { color: var(--muted); }

.notice-band {
  background: rgba(20, 184, 166, 0.08); border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--teal-deep); border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 22px;
}
.warn-band {
  background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.4);
  color: #92400e; border-radius: 12px; padding: 16px 18px; font-size: 14px; margin-bottom: 22px;
}

/* ---------- brand logo ---------- */
.brand-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: #fff; border: 1px solid var(--line); }

/* ---------- photos ---------- */
.hero-art img.hero-img {
  width: 100%; max-width: 340px; border-radius: 18px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.product-visual { padding: 18px; }
.product-visual img { width: 100%; max-width: 400px; max-height: 420px; object-fit: contain; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; }
.gallery-item figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); text-align: center; }
.shots { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.shots .shot {
  width: 236px; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff; padding: 10px;
}
.shots .shot img { width: 100%; border-radius: 14px; display: block; }
.shots .shot p { text-align: center; font-size: 14px; color: var(--muted); margin: 10px 0 6px; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-art img.hero-img { max-width: 280px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero .container, .product-hero .container { flex-direction: column; }
  .hero-text h1 { font-size: 30px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .header .container { gap: 14px; height: auto; padding: 10px 20px; flex-wrap: wrap; }
  .nav { margin-left: 0; gap: 16px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-2col { grid-template-columns: 1fr; }
}

/* ---------- 产品卡片（多产品列表 / 首页推荐） ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pgrid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.pcard {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(20, 90, 84, 0.14); opacity: 1; }
.pcard-img { height: 200px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); }
.pcard-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pcard-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { font-size: 18px; margin-bottom: 8px; }
.pcard-body p { font-size: 14px; color: var(--muted); flex: 1; }
.pcard-more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--teal-deep); }
@media (max-width: 860px) { .pgrid, .pgrid.grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pgrid, .pgrid.grid-2 { grid-template-columns: 1fr; } }

/* ---------- 产品列表模式 ---------- */
.plist-head { padding: 64px 0 10px; text-align: center; }
.plist-head h1 { font-size: 32px; letter-spacing: 1px; }
.plist-head p { color: var(--muted); margin-top: 10px; }
.plist-body { padding: 28px 0 72px; }

/* ---------- 联系人卡片（多联系人） ---------- */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 26px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; display: flex; gap: 18px; align-items: flex-start;
}
.contact-card .cc-qr { flex: none; width: 108px; text-align: center; }
.contact-card .cc-qr img { width: 104px; height: 104px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.contact-card .cc-qr .ph2 {
  width: 104px; height: 104px; border: 1px dashed var(--line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: #9aa8b5; font-size: 12px; text-align: center;
}
.contact-card .cc-qr p { font-size: 12px; color: #9aa8b5; margin-top: 6px; }
.contact-card .cc-info { flex: 1; min-width: 0; }
.contact-card .cc-name { font-size: 19px; font-weight: 700; }
.contact-card .cc-role {
  display: inline-block; margin: 6px 0 10px; padding: 2px 10px; border-radius: 999px;
  background: rgba(20, 184, 166, 0.1); color: var(--teal-deep); font-size: 12.5px; font-weight: 600;
}
.contact-card .cc-line { font-size: 14.5px; color: var(--ink); margin: 4px 0; word-break: break-all; }
.contact-card .cc-line .lb { color: #9aa8b5; font-size: 13px; margin-right: 6px; }
.contact-card .cc-line a { color: var(--teal-deep); }
.address-band {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 24px; font-size: 14.5px; color: var(--ink);
}
.address-band .lb { color: #9aa8b5; margin-right: 8px; }
