/* 幸福嘉卉官网共享样式 — 绿色为主色调 */
:root {
  --green-900: #1b3a25;
  --green-700: #2e6b3f;
  --green-600: #3a8a4f;
  --green-500: #4caf6d;
  --green-100: #e8f5ec;
  --green-50: #f4faf6;
  --yellow: #f0b429;
  --yellow-soft: #fff8e6;
  --ink: #22302a;
  --ink-soft: #5a6b61;
  --line: #e6e2d4;
  --radius: 14px;
  --maxw: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 74px; }
.header-inner::after { content: ""; display: block; clear: both; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--green-900); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--green-600), var(--green-900)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; letter-spacing: -1px; }
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); }
.logo img { height: 58px; width: auto; display: block; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo .logo-text strong { font-size: 20px; font-weight: 800; color: var(--green-900); letter-spacing: 1px; }
.logo .logo-text small { font-size: 12px; font-weight: 500; color: var(--green-600); letter-spacing: 1.5px; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: currentColor; }
.plant-ico svg { width: 28px; height: 28px; color: var(--green-600); }
.service-card .ico svg { width: 30px; height: 30px; color: var(--green-600); }
.contact-item .ico svg { width: 22px; height: 22px; color: var(--green-600); }
.mobile-bar a svg { width: 20px; height: 20px; }
.zones-band h3 svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--green-600); }
nav ul { display: flex; gap: 4px; list-style: none; }
nav a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 14.5px; color: var(--ink); transition: .2s; }
nav a:hover { background: var(--green-100); color: var(--green-900); }
nav a.active { background: var(--green-600); color: #fff; }
.header-cta { background: var(--green-600); color: #fff !important; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.header-cta:hover { background: var(--green-700); }

/* ---------- page banner (subpages) ---------- */
.page-banner { background: linear-gradient(150deg, var(--green-900) 0%, var(--green-700) 65%, var(--green-600) 100%); color: #fff; padding: 64px 20px; }
.page-banner .inner { max-width: var(--maxw); margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #b9cfc1; margin-bottom: 14px; }
.breadcrumb a { color: #b9cfc1; }
.breadcrumb a:hover { color: #fff; }
.page-banner h1 { font-size: 32px; margin-bottom: 10px; }
.page-banner p { color: #d3e6d9; max-width: 700px; font-size: 15.5px; }

/* ---------- home hero ---------- */
.hero { background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.10), transparent 42%), radial-gradient(circle at 10% 90%, rgba(76,175,109,.22), transparent 50%), linear-gradient(150deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%); padding: 90px 20px 100px; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: #eaf3ed; font-size: 13px; padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 38px; line-height: 1.3; color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--yellow); }
.hero .lead { color: #d3e6d9; font-size: 16.5px; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: .2s; }
.btn-primary { background: var(--yellow); color: var(--green-900); }
.btn-primary:hover { background: #ffd76a; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: flex; gap: 36px; margin-top: 42px; flex-wrap: wrap; }
.stat b { font-size: 26px; color: #fff; display: block; }
.stat span { font-size: 13px; color: #b9cfc1; }
.hero-visual { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 18px 50px rgba(27,58,37,.25); }
.plant-card { display: flex; gap: 14px; align-items: center; padding: 12px 0 12px 12px; border-left: 3px solid var(--yellow-soft); margin-left: -15px; border-bottom: 1px dashed var(--line); }
.plant-card:last-child { border-bottom: none; }
.plant-ico { width: 52px; height: 52px; border-radius: 12px; flex: none; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.plant-card b { display: block; font-size: 15px; }
.plant-card span { font-size: 13px; color: var(--ink-soft); }
.visual-caption { margin-top: 14px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ---------- sections ---------- */
section.band { padding: 72px 20px; }
section.band.alt { background: var(--green-50); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { margin-bottom: 42px; }
.section-head .kicker { font-size: 13px; letter-spacing: 3px; color: var(--green-600); font-weight: 700; }
.section-head h2 { font-size: 28px; color: var(--green-900); margin: 8px 0 12px; }
.section-head p { color: var(--ink-soft); max-width: 680px; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

/* cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: var(--radius); padding: 26px 22px; transition: .25s; }
section.band.alt .service-card { background: #fff; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,58,37,.12); }
.service-card .ico { width: 58px; height: 58px; border-radius: 14px; font-size: 28px; background: var(--green-100); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-card h3 { font-size: 17px; color: var(--green-900); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--ink-soft); }

/* packages */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pkg-card { border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: var(--radius); padding: 26px 22px; background: var(--green-50); transition: .25s; }
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,58,37,.12); }
.pkg-card .name { font-size: 14px; color: var(--ink-soft); }
.pkg-card .price { font-size: 30px; font-weight: 800; color: var(--green-600); margin: 6px 0 2px; }
.pkg-card .price small { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.pkg-card .area { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.pkg-card ul { list-style: none; font-size: 13.5px; }
.pkg-card li { padding: 5px 0 5px 20px; position: relative; }
.pkg-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.pkg-note { color: var(--ink-soft); font-size: 13.5px; margin-top: 24px; }

/* zones */
.zones-band { margin-top: 34px; background: var(--green-100); border: 1px solid var(--green-500); border-top: 3px solid var(--yellow); border-radius: var(--radius); padding: 26px 28px; }
.zones-band h3 { font-size: 17px; color: var(--green-900); margin-bottom: 8px; }
.zones-band p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-tag { background: #fff; border: 1px solid var(--green-500); box-shadow: inset 0 0 0 1.5px var(--yellow-soft); color: var(--green-700); font-size: 13.5px; padding: 6px 16px; border-radius: 999px; font-weight: 600; }
.zone-tag.soft { border-color: var(--line); color: var(--ink-soft); font-weight: 500; }

/* process */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center; }
.step .num { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; background: var(--green-600); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step b { font-size: 14.5px; color: var(--green-900); display: block; }
.step span { font-size: 12.5px; color: var(--ink-soft); }

/* advantages (dark green) */
.adv { background: var(--green-900); color: #eaf3ed; padding: 72px 20px; }
.adv .kicker { color: var(--yellow); }
.adv h2 { color: #fff; font-size: 28px; margin: 8px 0 12px; }
.adv .section-head p { color: #b9cfc1; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.adv-card .ico { font-size: 30px; margin-bottom: 14px; }
.adv-card h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: #b9cfc1; }

/* about page */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.about-text h3 { font-size: 20px; color: var(--green-900); margin: 24px 0 10px; }
.about-text p { color: var(--ink-soft); margin-bottom: 12px; }
.biz-card { background: var(--green-50); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 26px; height: fit-content; }
.biz-card h4 { font-size: 16px; color: var(--green-900); margin-bottom: 14px; }
.biz-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; gap: 18px; }
.biz-row:last-child { border-bottom: none; }
.biz-row span { color: var(--ink-soft); flex: none; }
.biz-row b { font-weight: 600; text-align: right; }
.notice { background: var(--green-50); border-left: 4px solid var(--green-600); padding: 16px 20px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); margin-top: 28px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--green-50); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item h3 { font-size: 15.5px; color: var(--green-900); margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--ink-soft); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-item .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.contact-item b { display: block; font-size: 15px; color: var(--green-900); }
.contact-item p { font-size: 14px; color: var(--ink-soft); }
.contact-form-card { background: var(--green-50); border: 1px solid var(--green-500); border-radius: var(--radius); padding: 30px; }
.contact-form-card h2 { font-size: 19px; color: var(--green-900); margin-bottom: 6px; }
.contact-form-card > p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--green-500); border-color: transparent; }
.form-tip { font-size: 12.5px; color: var(--green-700); margin-top: 12px; }

/* footer */
footer { background: var(--green-900); color: #a9c0b1; padding: 34px 20px; font-size: 13px; margin-top: 72px; border-top: 4px solid var(--yellow); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer b { color: #fff; }
footer nav ul { display: flex; gap: 14px; list-style: none; flex-wrap: wrap; margin-top: 8px; }
footer nav a { color: #a9c0b1; padding: 0; font-size: 13px; }
footer nav a:hover { color: #fff; background: none; }

/* mobile bottom action bar */
.mobile-bar { display: none; }
.map-embed { width: 100%; height: 260px; border: 1px solid var(--line); border-radius: 12px; margin-top: 16px; }
.geo-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.district-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.district-links a { background: #fff; border: 1px solid var(--green-500); color: var(--green-700); font-size: 13.5px; padding: 6px 16px; border-radius: 999px; font-weight: 600; }
.district-feat { background: var(--green-50); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 12px; padding: 18px 20px; margin: 4px 0 18px; }
.district-feat p { margin: 8px 0; font-size: 14.5px; }
.district-feat b { color: var(--green-900); }
.about-text p > a { color: var(--green-700); font-weight: 700; margin-right: 12px; text-decoration: underline; text-underline-offset: 3px; }
.about-text p > a:last-child { margin-right: 0; }

/* responsive */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .hero h1 { font-size: 30px; }
  .page-banner h1 { font-size: 26px; }
}
@media (max-width: 560px) {
  .services-grid, .pkg-grid, .process-grid, .form-row { grid-template-columns: 1fr; }
  section.band { padding: 52px 16px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 60px; }
  .logo img { height: 44px; }
  .logo .logo-text strong { font-size: 16px; letter-spacing: 0; }
  .logo .logo-text small { font-size: 10.5px; letter-spacing: 2px; }
  .header-inner { height: 60px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: #fff; border-top: 2px solid var(--yellow);
    box-shadow: 0 -4px 16px rgba(27,58,37,.12);
  }
  .mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 0; font-size: 12px; color: var(--ink); }
  .mobile-bar a .ico { font-size: 18px; line-height: 1; }
  .mobile-bar a.call { background: var(--green-600); color: #fff; font-weight: 700; }
  .mobile-bar a.nav-map { background: var(--yellow); color: var(--green-900); font-weight: 700; }
}

/* amap card */
.amap-card { background: var(--green-50); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 12px; padding: 20px 22px; margin-top: 6px; }
.amap-info p { margin: 8px 0; font-size: 14.5px; }

/* 显眼电话 */
.header-tel { display: flex; align-items: center; gap: 9px; margin-right: 12px; padding: 8px 18px; border: 2px solid #d99a06; border-radius: 999px; background: linear-gradient(135deg, #ffd25e, var(--yellow)); box-shadow: 0 4px 14px rgba(240,180,41,.45), inset 0 -2px 0 rgba(0,0,0,.06); position: relative; animation: telPulse 2.6s ease-in-out infinite; }
.header-tel svg { width: 22px; height: 22px; color: var(--green-900); flex: 0 0 auto; overflow: hidden; }
.header-tel span { display: flex; flex-direction: column; line-height: 1.15; }
.header-tel small { font-size: 10.5px; color: #7a5a00; letter-spacing: 1px; font-weight: 700; }
.header-tel b { font-size: 18px; color: var(--green-900); letter-spacing: .6px; font-weight: 800; }
.header-tel:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(240,180,41,.6); animation: none; }
@keyframes telPulse { 0%,100% { box-shadow: 0 4px 14px rgba(240,180,41,.45), 0 0 0 0 rgba(240,180,41,.55); } 50% { box-shadow: 0 4px 14px rgba(240,180,41,.45), 0 0 0 7px rgba(240,180,41,0); } }

.hero-tel { margin: 20px 0 0; font-size: 15px; color: #d8ead9; font-weight: 600; }
.hero-tel a { font-size: 27px; font-weight: 800; color: var(--green-900); background: var(--yellow); padding: 5px 18px; border-radius: 10px; display: inline-block; margin: 0 8px; letter-spacing: 1px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hero-tel a:hover { background: #ffc94a; }
.hero-tel span { font-size: 13px; color: #b9d3bf; font-weight: 500; }

.float-call { position: fixed; right: 22px; bottom: 26px; z-index: 300; display: flex; align-items: center; gap: 8px; background: var(--green-600); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(27,58,37,.28); border: 2px solid var(--yellow); }
.float-call svg { width: 22px; height: 22px; }
.float-call span { display: flex; flex-direction: column; line-height: 1.15; }
.float-call small { font-size: 10.5px; opacity: .85; letter-spacing: 1px; }
.float-call b { font-size: 16px; letter-spacing: .5px; }
.float-call:hover { background: var(--green-700); transform: translateY(-2px); }

@media (max-width: 960px) {
  .header-tel { margin-right: 8px; padding: 6px 12px; }
  .header-tel small { display: none; }
  .header-tel b { font-size: 15px; }
}
@media (max-width: 768px) {
  .header-tel { display: none; }
  .float-call { display: none; }
  .hero-tel a { font-size: 21px; }
}

.call-banner { max-width: var(--maxw); margin: 26px auto 0; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--green-900); border: 2px solid var(--yellow); border-radius: 16px; }
.call-banner-txt { padding: 16px 0; }
.call-banner-txt b { display: block; color: #fff; font-size: 18px; }
.call-banner-txt span { color: #b9d3bf; font-size: 13px; }
.call-banner-num { display: flex; align-items: center; gap: 10px; background: var(--yellow); color: var(--green-900); font-size: 26px; font-weight: 800; padding: 10px 22px; border-radius: 12px; letter-spacing: 1px; }
.call-banner-num svg { width: 24px; height: 24px; }
.call-banner-num:hover { background: #ffc94a; }
@media (max-width: 768px) {
  .call-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 16px; }
  .call-banner-num { justify-content: center; font-size: 22px; }
}

/* 场景图 */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.scene-card { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); border-bottom: 3px solid var(--yellow); background: #fff; }
.scene-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s ease; }
.scene-card:hover img { transform: scale(1.05); }
.scene-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(to top, rgba(12,32,20,.86), rgba(12,32,20,0)); color: #fff; }
.scene-card figcaption b { display: block; font-size: 15.5px; }
.scene-card figcaption span { font-size: 12.5px; color: #cfe3d5; }
@media (max-width: 960px) { .scene-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scene-grid { grid-template-columns: 1fr; } .scene-card img { height: 200px; } }

/* 兼容兜底：无 flex / 无 CSS 变量内核下的基础表现 */
svg { max-width: 100%; overflow: hidden; vertical-align: middle; }
.header-tel, .header-cta { display: inline-block; vertical-align: middle; }
@supports (display: flex) {
  .header-tel { display: flex; }
}

/* 移动端最终覆盖 */
@media (max-width: 768px) {
  .header-tel { display: none; }
  .float-call { display: none; }
}

/* 页脚备案号 */
footer .icp { color: #a9c0b1; text-decoration: underline; text-underline-offset: 3px; }
footer .icp:hover { color: #fff; }
