/* ========== CSS Variables ========== */
:root {
  --primary: #1AAB8A;
  --primary-dark: #158f73;
  --primary-light: #e0f5ef;
  --accent: #C9A96E;
  --accent-light: #f5eddd;
  --dark: #1a1a1a;
  --light-bg: #f8f7f2;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --gray: #999999;
  --border: #e8e8e8;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: 'Noto Serif SC', serif; font-weight: 600; line-height: 1.3; color: var(--dark); }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  letter-spacing: 1px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26,171,138,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(26,171,138,0.4);
  color: var(--white);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #b8953d);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201,169,110,0.4);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 48px; font-size: 1.1rem; }

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--white);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  border-bottom-color: var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo span {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
  padding: 8px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 60%; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 8px 24px; font-size: 0.9rem; }
.nav-user { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.9rem; }
.nav-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 600;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--dark);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== Hero Banner ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26,26,26,0.6) 0%, rgba(26,171,138,0.3) 100%);
}
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}
.hero-content h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--white); transform: scale(1.2); }

/* ========== Section ========== */
.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
/* 左栏里的标题不居中 */
.section-title-left { text-align: left; margin-bottom: 32px; }
.section-title h2 { margin-bottom: 16px; }
.section-title p { color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-title .divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========== Stats Bar ========== */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: 'Noto Serif SC', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { font-size: 1.5rem; }
.stat-label { font-size: 0.95rem; opacity: 0.9; }

/* ========== Product Cards ========== */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 24px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.products-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card-img, .product-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.product-card-img img, .product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img, .product-card:hover .product-img img { transform: scale(1.08); }
.product-card-badge, .product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
}
.product-card-body, .product-info { padding: 20px; }
.product-card-body h4, .product-info h3 { margin-bottom: 8px; font-size: 1.1rem; }
.product-card-body .category, .product-info .product-category { color: var(--gray); font-size: 0.85rem; margin-bottom: 12px; }
.product-card-body .price, .product-info .product-price, .product-price {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
}
.product-card-body .price small { color: var(--gray); font-size: 0.8rem; font-weight: 400; }
.product-actions { margin-top: 12px; display: flex; gap: 8px; }
.btn-outline-sm {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline-sm:hover { background: var(--primary); color: #fff; }
.btn-primary-sm {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary-sm:hover { background: #159375; }

/* ========== Advantages ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.advantage-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.advantage-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.advantage-item h4 { margin-bottom: 12px; }
.advantage-item p { color: var(--text-light); font-size: 0.9rem; }

/* ========== Cases ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}
.case-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.case-card:hover img { transform: scale(1.05); }
.case-card-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 30px 24px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  transition: var(--transition);
}
.case-card:hover .case-card-overlay { padding-bottom: 30px; }
.case-card-overlay h4 { color: var(--white); margin-bottom: 6px; font-size: 1.15rem; }
.case-card-overlay p { font-size: 0.85rem; opacity: 0.85; }

/* ========== News ========== */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.news-item-img { width: 280px; min-height: 180px; flex-shrink: 0; overflow: hidden; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-item-body .date { color: var(--gray); font-size: 0.85rem; margin-bottom: 8px; }
.news-item-body h4 { margin-bottom: 12px; }
.news-item-body h4 a { color: var(--dark); }
.news-item-body h4 a:hover { color: var(--primary); }
.news-item-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ========== About ========== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-text h2 { margin-bottom: 20px; }
.about-intro-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.about-intro-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.about-intro-img img { width: 100%; }
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  background: var(--border);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.timeline-content .year {
  color: var(--primary);
  font-weight: 700;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.timeline-content p { color: var(--text-light); font-size: 0.9rem; }

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-item p { color: var(--text-light); font-size: 0.9rem; }

/* ========== Forms ========== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group label .required { color: #e74c3c; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,171,138,0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-control.error { border-color: #e74c3c; }
.form-error { color: #e74c3c; font-size: 0.8rem; margin-top: 4px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

/* ========== Auth 两栏布局（登录 / 注册） ========== */
.auth-split {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
  background: var(--white);
}

/* 左侧品牌区 */
.auth-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0f5c4a 0%, #12775f 45%, #1AAB8A 100%);
  display: flex;
  align-items: center;
}
.auth-aside-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}
.auth-aside::after {
  /* 顶部压暗，保证白字可读 */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,50,40,0.55), rgba(8,50,40,0.15) 55%, rgba(201,169,110,0.25));
}
.auth-aside-inner {
  position: relative;
  z-index: 2;
  padding: 64px 56px;
  color: #fff;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.auth-aside-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  color: #fff;
}
.auth-aside-logo img { height: 46px; }
.auth-aside-logo span {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.auth-aside h2 {
  color: #fff;
  font-size: 2.1rem;
  line-height: 1.45;
  margin-bottom: 18px;
}
.auth-aside-desc {
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 400px;
}
.auth-benefits { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.auth-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.ab-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
}
.auth-benefits strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.auth-benefits em {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}
.auth-aside-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.auth-aside-stats b {
  display: block;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #fff;
}
.auth-aside-stats span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* 右侧表单区 */
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background: linear-gradient(180deg, #fbfaf7 0%, #f6f8f7 100%);
}
.auth-panel {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border: 1px solid #edeae2;
  border-radius: 18px;
  padding: 44px 44px 36px;
  box-shadow: 0 18px 50px rgba(20,60,50,0.07);
}
.auth-panel-narrow { max-width: 440px; }
.auth-head { margin-bottom: 28px; }
.auth-head h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.auth-head p { font-size: 0.9rem; color: var(--gray); margin: 0; }
.auth-head p a { color: var(--primary); font-weight: 500; }
.auth-head p a:hover { text-decoration: underline; }
.auth-alerts { margin-bottom: 20px; }
.auth-alerts .alert { margin-bottom: 10px; }

/* 表单字段 */
.auth-form .field { margin-bottom: 18px; }
.auth-form .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.auth-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3c4a45;
}
.auth-form label .req { color: #e0644f; font-style: normal; margin-left: 2px; }
.field-wrap { position: relative; display: flex; align-items: center; }
.field-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  opacity: 0.45;
  pointer-events: none;
  line-height: 1;
}
.auth-form input[type="text"],
.auth-form input[type="tel"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border: 1px solid #e2e0d9;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  background: #fcfcfa;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.auth-form input::placeholder { color: #b6b6ae; }
.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,171,138,0.12);
}
.auth-form input.is-error {
  border-color: #e0644f;
  background: #fdf7f6;
}
.auth-form input.is-error:focus { box-shadow: 0 0 0 3px rgba(224,100,79,0.12); }
.field-msg {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  font-size: 0.78rem;
  color: #e0644f;
  line-height: 1.4;
}
.toggle-pwd {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 6px;
  font-family: inherit;
  transition: color 0.2s;
}
.toggle-pwd:hover { color: var(--primary); }

/* 密码强度条 */
.pwd-strength { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
/* hidden 属性要能压住上面的 display:flex，否则空密码时强度条也会显示 */
.pwd-strength[hidden] { display: none; }
.pwd-bar {
  flex: 1;
  height: 4px;
  background: #ececE6;
  border-radius: 3px;
  overflow: hidden;
}
.pwd-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 0.3s ease, background 0.3s ease;
}
.pwd-text { font-size: 0.75rem; color: var(--gray); white-space: nowrap; }

/* 选填分隔线 */
.field-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 20px;
  color: #a8a8a0;
  font-size: 0.78rem;
}
.field-divider::before,
.field-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ecebe4;
}

/* 验证码行 */
.captcha-line { display: flex; gap: 12px; align-items: stretch; }
.captcha-line .field-wrap { flex: 1; }
.captcha-img {
  height: 48px;
  width: 132px;
  object-fit: cover;
  border: 1px solid #e2e0d9;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.25s, opacity 0.25s;
  flex-shrink: 0;
}
.captcha-img:hover { border-color: var(--primary); opacity: 0.85; }

/* 勾选行 */
.agree-line {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  margin: 6px 0 22px;
  font-size: 0.84rem;
  color: var(--text-light);
  font-weight: 400 !important;
  cursor: pointer;
  line-height: 1.6;
}
.agree-line input[type="checkbox"] {
  width: 15px; height: 15px;
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 22px;
}
.login-row .agree-line { margin: 0; }
.link-muted { font-size: 0.84rem; color: var(--gray); }
.link-muted:hover { color: var(--primary); }

/* 提交按钮 */
.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #12866c);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s, background 0.25s;
}
.btn-submit:hover {
  background: linear-gradient(135deg, #159375, #0f7259);
  box-shadow: 0 10px 26px rgba(26,171,138,0.28);
  transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }
.auth-help {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0eee7;
  text-align: center;
  font-size: 0.83rem;
  color: var(--gray);
}
.auth-help a { color: var(--primary); font-weight: 500; }

/* 兼容旧的居中卡片样式（member 等页面若仍在用） */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 72px 24px;
  margin-top: var(--nav-height);
  background: linear-gradient(135deg, #f0faf6 0%, #f8f7f2 50%, #fdf6ec 100%);
}
.auth-card {
  background: var(--white);
  padding: 44px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 460px;
  border-top: 3px solid var(--primary);
}
.btn-primary.btn-block, .btn.btn-primary.btn-block {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), #159375);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 2px;
  font-family: inherit;
}
.btn-primary.btn-block:hover, .btn.btn-primary.btn-block:hover {
  background: linear-gradient(135deg, #159375, #11735c);
  box-shadow: 0 6px 20px rgba(26,171,138,0.3);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding: 20px 0; }
.info-list { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { font-size: 1.4rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(26,171,138,0.1); border-radius: 12px; flex-shrink: 0; }
.info-item h4 { margin-bottom: 4px; font-size: 0.95rem; color: var(--dark); }
.info-item p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.contact-form-wrap {
  background: var(--white);
  padding: 38px 36px 32px;
  border-radius: 18px;
  border: 1px solid #edeae2;
  box-shadow: 0 16px 46px rgba(20,60,50,0.07);
}
.cf-head { margin-bottom: 26px; }
.cf-head h2 { font-size: 1.5rem; margin-bottom: 8px; }
.cf-head p { color: var(--gray); font-size: 0.9rem; margin: 0; line-height: 1.7; }
.form-desc { color: var(--gray); font-size: 0.9rem; margin-bottom: 28px; }

/* 留言 textarea 复用 auth-form 的字段风格 */
.auth-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #e2e0d9;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.7;
  color: var(--text);
  background: #fcfcfa;
  resize: vertical;
  min-height: 118px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.auth-form textarea::placeholder { color: #b6b6ae; }
.auth-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,171,138,0.12);
}
.auth-form textarea.is-error { border-color: #e0644f; background: #fdf7f6; }
.ta-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ta-foot .field-msg { margin-top: 5px; }
.ta-count { font-size: 0.76rem; color: var(--gray); white-space: nowrap; margin-top: 5px; }
.ta-count b { color: var(--text-light); font-weight: 500; }
.cf-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
}

/* 会员中心里内嵌的表单按钮不占满整行 */
.btn-submit-inline {
  width: auto;
  min-width: 168px;
  padding: 12px 32px;
  letter-spacing: 2px;
}
.panel-sub {
  margin: 34px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 1.12rem;
}
.profile-form, .password-form { max-width: 520px; }
.captcha-tip { font-size: 0.8rem; color: var(--gray); margin-top: 4px; display: block; }
.map-section { background: var(--light-bg); }
.map-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26,171,138,0.05), rgba(201,169,110,0.05));
}
.map-overlay-text { text-align: center; }
.map-overlay-text h3 { color: var(--primary); margin-bottom: 8px; }
.map-overlay-text p { color: var(--gray); font-size: 0.9rem; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #e8f8f0; color: #1a7a5a; border: 1px solid #b8e6d0; }
.alert-error { background: #fde8e8; color: #c53030; border: 1px solid #f5b8b8; }

/* ========== 会员中心（对应 member.html 的实际 class） ========== */
.member-section { padding: 44px 0 64px; background: var(--light-bg); }
.member-section .member-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: start;
}
.member-sidebar {
  background: var(--white);
  border: 1px solid #edeae2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20,60,50,0.05);
}
.member-avatar {
  padding: 32px 20px 24px;
  text-align: center;
  background: linear-gradient(150deg, #0f5c4a, #1AAB8A);
}
.avatar-circle {
  width: 66px; height: 66px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Noto Serif SC', serif;
}
.member-name { color: #fff; font-weight: 600; font-size: 1.05rem; margin: 0; }
.member-nav { display: flex; flex-direction: column; padding: 10px 0; }
.member-nav-item {
  display: block;
  padding: 13px 22px;
  color: var(--text);
  font-size: 0.92rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.member-nav-item:hover { background: #f7f9f8; color: var(--primary); }
.member-nav-item.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-left-color: var(--primary);
  font-weight: 500;
}
.member-content { min-width: 0; }
/* 只显示当前 tab，其余隐藏 */
.member-panel {
  display: none;
  background: var(--white);
  border: 1px solid #edeae2;
  border-radius: 16px;
  padding: 34px 32px;
  box-shadow: 0 10px 30px rgba(20,60,50,0.05);
}
.member-panel.active { display: block; }
.member-panel > h2 { font-size: 1.4rem; margin-bottom: 22px; }

/* 个人信息表 */
.info-table { width: 100%; border-collapse: collapse; }
.info-table td {
  padding: 13px 0;
  border-bottom: 1px solid #f2f0ea;
  font-size: 0.93rem;
}
.info-table .info-label { color: var(--gray); width: 120px; }

/* 询价记录表 */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  text-align: left;
  padding: 12px 14px;
  background: #f7f9f8;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid #ecebe4;
}
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child { border-radius: 0 8px 0 0; }
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f2f0ea;
  vertical-align: middle;
}
.data-table tbody tr:hover { background: #fbfcfb; }
.status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.status-pending { background: #fff4e5; color: #b26a00; }
.status-replied { background: #e8f8f0; color: #1a7a5a; }
.status-closed { background: #f0f0ee; color: #7a7a72; }

.member-wrapper {
  margin-top: var(--nav-height);
  padding: 40px 0;
  min-height: calc(100vh - var(--nav-height));
}
.member-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
}
.member-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.member-sidebar-header {
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}
.member-sidebar-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
  font-weight: 700;
}
.member-sidebar-name { font-weight: 600; font-size: 1.1rem; }
.member-sidebar-nav { padding: 12px 0; }
.member-sidebar-nav a {
  display: block;
  padding: 12px 24px;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.member-sidebar-nav a:hover, .member-sidebar-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}
.member-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.member-content h3 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* ========== Footer ========== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--primary);
}
.footer-about p { margin-bottom: 12px; font-size: 0.9rem; line-height: 1.8; }
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-about .footer-logo img { height: 40px; }
.footer-about .footer-logo span { color: var(--white); font-family: 'Noto Serif SC', serif; font-size: 1.1rem; font-weight: 600; }
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact-item .icon { color: var(--primary); flex-shrink: 0; width: 20px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .copyright { color: rgba(255,255,255,0.72); }
.footer-bottom .footer-slogan { color: rgba(255,255,255,0.45); font-size: 0.8rem; }

/* ========== 内页顶部 Banner ========== */
.page-banner {
  margin-top: var(--nav-height);
  padding: 66px 0 58px;
  position: relative;
  background: linear-gradient(135deg, #0f5c4a 0%, #148066 55%, #1AAB8A 100%);
  overflow: hidden;
}
.page-banner::after {
  /* 右上角淡金色光斑，避免大色块太平 */
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,169,110,0.35), transparent 70%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.page-banner-sm { padding: 40px 0 34px; }
/* banner 内的面包屑不需要再顶开导航高度 */
.page-banner .breadcrumb {
  margin-top: 0;
  padding: 0;
  background: transparent;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.88); }
.page-banner .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-banner .breadcrumb span { color: rgba(255,255,255,0.62); }

/* ========== 新闻正文 ========== */
.article-wrap { max-width: 820px; }
.article-head { margin-bottom: 28px; }
.article-cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.article-head h1 { font-size: 2rem; line-height: 1.45; margin-bottom: 14px; }
.article-meta { color: var(--gray); font-size: 0.88rem; display: flex; gap: 10px; align-items: center; }
.article-meta .dot { opacity: 0.5; }
.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  max-height: 420px;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 1.02rem; line-height: 1.95; color: #40484a; }
.article-body p { margin-bottom: 20px; }
.article-lead {
  padding: 18px 22px;
  background: var(--light-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: var(--text-light);
  font-size: 0.96rem;
}
.article-foot {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 16px 0;
  margin-top: var(--nav-height);
  background: var(--light-bg);
}
.breadcrumb-list {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray);
}
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list span { color: var(--text); }

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ========== Flash Messages ========== */
.flash-messages {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 24px;
  z-index: 2000;
  width: 340px;
  max-width: calc(100% - 48px);
}
.flash-msg {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
}
.flash-msg.success { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.flash-msg.error { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.flash-msg.info { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }
.flash-msg .close-flash { margin-left: auto; cursor: pointer; opacity: 0.6; font-size: 1.2rem; background:none; border:none; color:inherit; }
.flash-msg .close-flash:hover { opacity: 1; }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26,171,138,0.3);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(26,171,138,0.4); }

/* ========== Page Header ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0 60px;
  margin-top: var(--nav-height);
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* ========== Misc ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.empty-state p { font-size: 1rem; margin-top: 12px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  background: var(--primary-light);
  color: var(--primary);
}

/* ========== Product Detail ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-detail-img img { width: 100%; }
.product-detail-info h1 { font-size: 2rem; margin-bottom: 16px; }
.product-detail-info .price-range {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Noto Serif SC', serif;
  margin-bottom: 20px;
}
.product-detail-info .meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }
.product-detail-info .meta span { margin-right: 20px; }
.product-detail-info .desc { color: var(--text-light); line-height: 1.8; margin-bottom: 30px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.spec-table td:first-child { color: var(--gray); width: 120px; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .product-detail { grid-template-columns: 1fr; }
  /* 窄屏收起左侧品牌区，表单占满 */
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { padding: 40px 24px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 50px 0; }
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-hover);
    gap: 4px;
  }
  .nav-actions.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-height) + 200px);
    left: 0; right: 0;
    background: var(--white);
    padding: 0 20px 20px;
    gap: 10px;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2.2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .member-layout { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-item-img { width: 100%; height: 200px; }
  .auth-card { padding: 32px 24px; }
  .auth-panel { padding: 32px 24px 28px; border-radius: 14px; }
  .auth-head h1 { font-size: 1.5rem; }
  .auth-form .field-grid { grid-template-columns: 1fr; }
  .login-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article-foot { flex-direction: column; }
  .article-foot .btn { width: 100%; }
  .flash-messages { width: calc(100% - 48px); right: 24px; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { padding-left: 50px; padding-right: 0; }
  .timeline-dot { left: 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
  .hero-content h1 { font-size: 1.8rem; }
  .btn-lg { padding: 14px 36px; font-size: 1rem; }
  .form-row { flex-direction: column; gap: 0; }
}
