/**
 * 花更好® V3 全站视觉升级
 * 政企级 · 简洁大气 · 森林绿 + 暖金
 */
:root {
  --green-dark: #0c2e22;
  --green-mid: #1a5632;
  --green-light: #2d8a5c;
  --green-sage: #4a9b72;
  --green-pale: #f0f7f3;
  --gold: #d4a843;
  --gold-light: #ecd9a0;
  --gold-deep: #b8922e;
  --cream: #faf9f6;
  --white: #ffffff;
  --text: #1a2420;
  --text-muted: #5a6b62;
  --border: rgba(26, 86, 50, 0.1);
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --shadow-sm: 0 2px 8px rgba(12, 46, 34, 0.04);
  --shadow-md: 0 8px 32px rgba(12, 46, 34, 0.08);
  --shadow-lg: 0 20px 48px rgba(12, 46, 34, 0.12);
  --section-gap: 88px;
  --max-width: 1180px;
}

/* ── 背景：由 theme-fx.css 接管全页背景图与动效 ── */
body.site-page {
  background: #e8f0eb;
  color: var(--text);
}

/* ── 顶栏辅助条 ── */
.site-topbar {
  background: linear-gradient(90deg, var(--green-dark), #143d2e);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}
.site-topbar strong { color: var(--gold-light); font-weight: 600; }

/* ── 主导航 ── */
.site-header {
  background: rgba(12, 46, 34, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.header-inner {
  padding: 14px 28px;
  max-width: var(--max-width);
}
.nav-main {
  gap: 4px 6px;
}
.nav-main a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.nav-main a::after { display: none; }
.nav-main a:hover,
.nav-main a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
}
.btn-phone {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--green-dark);
  padding: 10px 20px;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
}
.branch-switch {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-right: 8px;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.branch-link {
  font-size: 0.75rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
}

/* ── 面包屑 ── */
.breadcrumb {
  background: var(--green-dark);
  padding: 10px 0;
  font-size: 0.8rem;
}

/* ── Hero ── */
.hero {
  background:
    radial-gradient(ellipse 80% 100% at 0% 100%, rgba(45, 138, 92, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212, 168, 67, 0.12) 0%, transparent 45%),
    linear-gradient(155deg, #0a261c 0%, var(--green-mid) 48%, #1e6b48 100%);
  padding: 96px 24px 88px;
}
.hero-compact { padding: 64px 24px 48px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}
.hero .intro {
  font-size: 1.12rem;
  opacity: 0.9;
  line-height: 1.9;
}
.hero-premium .hero-eyebrow {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

/* ── 轮播 ── */
.hero-carousel {
  border-bottom: 3px solid var(--gold);
}
.carousel-slide img {
  filter: brightness(0.88) saturate(1.1);
}

/* ── 区块 ── */
.section {
  padding: var(--section-gap) 0 calc(var(--section-gap) + var(--contact-bar-h));
}
.section-alt {
  background: linear-gradient(180deg, rgba(26, 86, 50, 0.03) 0%, rgba(26, 86, 50, 0.06) 100%);
  border: none;
}
.section-title {
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  color: var(--green-dark);
  letter-spacing: 0.05em;
  position: relative;
}
.section-title h2::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.25);
}
.section-title h2::after {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-light));
  border-radius: 4px;
}
.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 数据看板 ── */
.stats-section {
  padding: 64px 0;
  background:
    linear-gradient(135deg, #0a261c 0%, var(--green-mid) 50%, #1a4d32 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.stats-grid {
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold-light);
  font-weight: 700;
}
.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 6px;
}
.stats-section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-section-alt .stat-value { color: var(--green-mid); }
.stats-section-alt .stat-value span { color: var(--gold-deep); }
.stats-section-alt .stat-label { color: var(--text-muted); }

/* ── 卡片系统：纯白精品感 ── */
.card,
.city-box,
.faq-item,
.package-card,
.process-item,
.pain-column,
.feature-hub-card,
.portal-login-card,
.portal-ticket-card {
  background: var(--white);
  backdrop-filter: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.card:hover,
.city-box:hover,
.feature-hub-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: rgba(26, 86, 50, 0.18);
}
.card::before {
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
  opacity: 1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.card-img {
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body { padding: 28px; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--green-dark);
}
.card-link {
  background: var(--green-pale);
  padding: 16px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.card-link:hover {
  background: var(--green-mid);
  color: var(--gold-light);
}

/* ── 专项服务入口 ── */
.feature-hub-grid {
  gap: 20px;
}
.feature-hub-card {
  padding: 24px 20px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-hub-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
  border-radius: 2px;
  margin-bottom: 14px;
}
.feature-hub-card strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--green-dark);
}
.feature-hub-cq::before { background: linear-gradient(90deg, #b8623e, var(--gold)); }
.feature-hub-cq strong { color: #b8623e; }

/* ── 双城布局 ── */
.city-box {
  padding: 36px;
}
.city-box h3 {
  font-size: 1.25rem;
  border-bottom-color: var(--gold-light);
}

/* ── 流程 / 套餐 ── */
.process-item {
  padding: 28px 24px;
  text-align: center;
}
.process-step {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  font-weight: 700;
  margin: 0 auto 16px;
}
.package-card {
  padding: 28px;
  text-align: center;
}
.package-price strong {
  font-size: 1.5rem;
  color: var(--gold-deep);
}

/* ── FAQ ── */
.faq-section {
  background: var(--green-pale);
  border-top: none;
  padding: var(--section-gap) 0 calc(var(--section-gap) + var(--contact-bar-h));
}
.faq-item {
  padding: 24px 28px;
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
}
.faq-item h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--green-dark);
}
.faq-item p {
  line-height: 1.8;
}

/* ── 正文页 ── */
.content-block h2 {
  font-size: 1.4rem;
  border-left-width: 5px;
  border-left-color: var(--gold);
}

/* ── CTA ── */
.cta-bar {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 168, 67, 0.15) 0%, transparent 60%),
    linear-gradient(160deg, #0a261c 0%, var(--green-mid) 100%);
  padding: 80px 24px calc(80px + var(--contact-bar-h));
}
.cta-bar h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.cta-bar p {
  font-size: 1.05rem;
  opacity: 0.88;
}
.cta-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 12px;
  opacity: 0.9;
}

/* ── 按钮 ── */
.btn {
  padding: 14px 36px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 999px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--green-dark);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(212, 168, 67, 0.5);
  transform: translateY(-2px);
}
.page-content .btn-primary,
.form-group .btn-primary {
  color: var(--green-dark);
}

/* ── 页脚 ── */
.site-footer {
  background: linear-gradient(180deg, #0a1f18 0%, #061410 100%);
  padding: 72px 0 calc(32px + var(--contact-bar-offset));
  border-top: 3px solid var(--gold);
}
.site-footer::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 168, 67, 0.1) 0%, transparent 60%);
}
.footer-brand {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}
.footer-grid h4 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  padding: 28px 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}
.footer-trust-item {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}
.footer-trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

/* ── 底栏联系 ── */
.contact-bar {
  background: rgba(10, 31, 24, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212, 168, 67, 0.2);
}
.contact-bar-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  color: var(--green-dark) !important;
  font-weight: 700;
}

/* ── 表单 ── */
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-sage);
  box-shadow: 0 0 0 4px rgba(45, 138, 92, 0.12);
  outline: none;
}

/* ── 新闻列表 ── */
.news-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.news-list a {
  font-size: 1.05rem;
  color: var(--green-dark);
  font-weight: 600;
}
.news-list a:hover { color: var(--green-light); }

/* ── 绿植目录 ── */
.plant-catalog-toolbar {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.plant-catalog-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ── 重庆专题 ── */
.hero-cq,
.tag-cq {
  border-color: #b8623e;
}
.hero-cq {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(184, 98, 62, 0.15) 0%, transparent 50%),
    linear-gradient(155deg, #2a1810 0%, #4a2818 40%, var(--green-mid) 100%);
}

/* ── 滚动入场动画 ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 在线客服 ── */
.live-chat-toggle {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  box-shadow: var(--shadow-md);
}

/* ── 响应式 ── */
@media (max-width: 992px) {
  :root { --section-gap: 64px; }
  .hero { padding: 72px 20px 64px; }
  .nav-main a { padding: 10px 14px; }
  .site-topbar { font-size: 0.72rem; }
}
@media (max-width: 768px) {
  :root { --section-gap: 52px; }
  .section-title h2::before { font-size: 0.65rem; }
  .footer-trust { gap: 16px 24px; }
  .header-inner { padding: 12px 16px; }
  .site-topbar {
    font-size: 0.68rem;
    padding: 6px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ── 公告栏 / 客户 logo ── */
.notice-bar {
  background: linear-gradient(90deg, rgba(212, 168, 67, 0.08), rgba(240, 247, 243, 0.95));
  border-bottom: 1px solid var(--border);
}
.notice-label {
  background: var(--green-mid);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
}
.client-logo-item {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.advantage-tab.is-active {
  background: var(--green-mid);
  color: var(--white);
}
.gallery-tab.is-active {
  background: var(--green-mid);
  color: var(--white);
}

/* ── 联系表单页 ── */
.contact-form-card,
.inquiry-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
