/* ============================================================
   美玲鲜花（国瑞花园店）官网  共享样式
   配色：植物墨绿 + 米白纸感 + 克制的砖玫瑰色
   ============================================================ */

:root {
  --ink:        #2a3a30;
  --ink-soft:   #4d5f54;
  --leaf:       #3c5a48;
  --leaf-deep:  #24382e;
  --leaf-mist:  #edf1ea;
  --cream:      #faf5ec;
  --paper:      #fffdf8;
  --line:       #e4dccb;
  --rose:       #b04f4c;
  --rose-deep:  #933f3d;
  --gold:       #b08a52;
  --shadow:     0 10px 30px rgba(42, 58, 48, .08);
  --radius:     14px;
  --serif:      "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans:       "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--rose-deep); text-decoration: none; }
a:hover { color: var(--rose); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--leaf-deep); font-weight: 700; line-height: 1.35; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .18em; color: var(--gold);
  font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

.section { padding: 76px 0; }
.section.alt { background: var(--paper); }
.section.mist { background: var(--leaf-mist); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); }
.brand img { width: 34px; height: 34px; }
.brand .brand-name { font-size: 21px; font-weight: 700; color: var(--leaf-deep); letter-spacing: .04em; }
.brand .brand-sub { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; color: var(--gold); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--leaf-deep); background: var(--leaf-mist); }

.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rose); color: #fff !important;
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: .15s; white-space: nowrap;
}
.nav-phone:hover { background: var(--rose-deep); }
.nav-phone svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; padding: 9px;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--leaf-deep); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s; font-family: var(--sans);
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); color: #fff; }
.btn-ghost { border-color: var(--leaf); color: var(--leaf-deep); background: transparent; }
.btn-ghost:hover { background: var(--leaf); color: #fff; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------------- 首页 Hero ---------------- */

.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.28; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero-lead { font-size: 17px; color: var(--ink-soft); margin-bottom: 30px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-stats .num { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--leaf-deep); }
.hero-stats .lab { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .05em; }

.hero-img { position: relative; }
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow);
  font-size: 13.5px; color: var(--ink-soft);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--rose-deep); }

/* ---------------- 服务卡片 ---------------- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6c9b0; }
.svc-card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--leaf-mist); }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .ph.svg-bg { display: flex; align-items: center; justify-content: center; }
.svc-card .ph.svg-bg svg { width: 56px; height: 56px; fill: var(--leaf); opacity: .8; }
.svc-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 19px; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.svc-card .more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--rose-deep); }

/* ---------------- 老店底气 / 时间轴 ---------------- */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-lead p { color: var(--ink-soft); margin-bottom: 16px; }

.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--rose);
  box-sizing: border-box;
}
.timeline .yr { font-family: var(--serif); font-weight: 700; color: var(--leaf-deep); font-size: 17px; }
.timeline p { font-size: 14.5px; color: var(--ink-soft); }

.fact-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-table th, .fact-table td { padding: 13px 18px; font-size: 14.5px; text-align: left; border-bottom: 1px solid var(--line); }
.fact-table th { width: 32%; background: var(--leaf-mist); color: var(--leaf-deep); font-weight: 600; font-family: var(--sans); white-space: nowrap; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: none; }

/* ---------------- 配送带 ---------------- */

.deliver-band { background: var(--leaf-deep); color: #eef2ec; border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.deliver-band h2 { color: #fff; font-size: 27px; margin-bottom: 12px; }
.deliver-band p { color: #cdd8cf; font-size: 15px; }
.deliver-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.deliver-tags span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 16px; font-size: 14px; }

/* ---------------- FAQ ---------------- */

.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--leaf-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item .ans { padding: 0 0 22px; color: var(--ink-soft); font-size: 15px; }
.faq-item .ans strong { color: var(--ink); }

/* ---------------- 服务详情页 ---------------- */

.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail.reverse .sd-img { order: 2; }
.svc-detail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-detail h3 { font-size: 24px; margin-bottom: 12px; }
.svc-detail p { color: var(--ink-soft); margin-bottom: 14px; }
.svc-detail ul { list-style: none; margin-bottom: 20px; }
.svc-detail ul li { padding-left: 22px; position: relative; font-size: 15px; color: var(--ink-soft); margin-bottom: 7px; }
.svc-detail ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }

.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero h1 { font-size: 36px; margin-bottom: 12px; }
.page-hero p { color: var(--ink-soft); max-width: 680px; }

/* ---------------- 联系页 ---------------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.contact-card h3 { font-size: 19px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.contact-card h3 svg { width: 20px; height: 20px; fill: var(--rose); }
.contact-line { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.contact-line .muted { color: var(--ink-soft); font-size: 14px; display: block; }
.contact-line a.tel { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--rose-deep); letter-spacing: .02em; }
.copy-btn { margin-left: 10px; font-size: 12.5px; border: 1px solid var(--line); background: var(--cream); border-radius: 6px; padding: 3px 10px; cursor: pointer; color: var(--ink-soft); }
.copy-btn:hover { border-color: var(--gold); color: var(--gold); }

.map-frame { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--leaf-mist); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-static {
  width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    linear-gradient(rgba(60,90,72,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,90,72,.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, #f4f7f1 0%, #e4ece2 70%, #dbe4d9 100%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px; position: relative;
}
.map-static::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 62%; height: 10px;
  background: rgba(176,79,76,.10); border-radius: 50%; filter: blur(3px);
}
.map-static .pin { width: 52px; height: 52px; fill: var(--rose); margin-bottom: 12px; position: relative; z-index: 1; }
.map-static .map-label { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--leaf-deep); position: relative; z-index: 1; }
.map-static .map-addr { font-size: 14px; color: var(--ink-soft); margin: 6px 0 18px; position: relative; z-index: 1; }
.map-static .btn { position: relative; z-index: 1; }
.map-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.map-links a { font-size: 14px; border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px; color: var(--ink-soft); background: var(--paper); }
.map-links a:hover { border-color: var(--leaf); color: var(--leaf-deep); }

/* ---------------- CTA 底带 ---------------- */

.cta-band { background: var(--rose); color: #fff; text-align: center; padding: 60px 24px; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #f6e6e3; margin-bottom: 26px; }
.cta-band .btn-light { background: #fff; color: var(--rose-deep); }
.cta-band .btn-light:hover { background: var(--cream); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; margin-left: 12px; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------------- 页脚 ---------------- */

.site-footer { background: var(--leaf-deep); color: #cdd8cf; padding: 56px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-family: var(--sans); font-weight: 600; }
.site-footer a { color: #cdd8cf; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand span { font-family: var(--serif); color: #fff; font-size: 18px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13px; color: #9fb0a5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { display: inline; color: #9fb0a5; }

/* ---------------- 提示条 / Toast ---------------- */

.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: var(--leaf-deep); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.notice {
  background: #fbf3e6; border: 1px solid #ecd9b4; color: #7a5a24;
  border-radius: 10px; padding: 12px 18px; font-size: 13.5px; margin: 18px 0;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 25px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .hero-badge { left: 12px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .deliver-band { grid-template-columns: 1fr; padding: 34px 26px; }
  .svc-detail, .svc-detail.reverse { grid-template-columns: 1fr; gap: 22px; padding: 30px 0; }
  .svc-detail.reverse .sd-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 28px; }

  .nav-toggle { display: block; }
  .nav-phone { display: none; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 27px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .hero-stats .lab { font-size: 13px; }
  .hero-badge { font-size: 14px; padding: 12px 16px; left: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer a { padding: 6px 0; }
  .cta-band .btn { display: flex; width: 100%; margin: 0 0 10px; }
  .fact-table th { width: 40%; }
}
