/* ===== 基础变量与重置 ===== */
:root {
  --primary: #e5005a;       /* 玫红 */
  --primary-dark: #b80048;
  --primary-light: #fff0f6; /* 极浅粉 */
  --primary-tint: #ffd9e7;
  --accent: #ff8a3d;        /* 暖橙点缀（极少量） */
  --bg: #ffffff;
  --bg-soft: #faf7f9;       /* 近白微粉，做留白分区 */
  --bg-dark: #2a0a18;
  --text: #221c26;
  --text-muted: #7a727e;
  --border: #ece6ea;
  --shadow: 0 16px 40px rgba(34, 28, 38, 0.08);
  --shadow-rose: 0 16px 40px rgba(229, 0, 90, 0.14);
  --radius: 18px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
a { text-decoration: none; color: inherit; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(229,0,90,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-light); }
.full { width: 100%; text-align: center; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 900; font-size: 21px;
  border-radius: 12px;
}
.logo-text { font-weight: 800; font-size: 21px; display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small { font-size: 11px; font-weight: 600; color: var(--primary); letter-spacing: 2px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { padding: 11px 26px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 26px; height: 3px; background: var(--text); border-radius: 3px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 560px at 50% -20%, var(--primary-light), transparent 62%),
    #fff;
  padding: 100px 0 96px;
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 880px; margin: 0 auto;
}
.hero-badge {
  width: 76px; height: 76px; border-radius: 22px; margin-bottom: 28px;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-size: 38px; font-weight: 900; box-shadow: var(--shadow-rose);
}
.hero-eyebrow { color: var(--primary); font-weight: 700; letter-spacing: 3px; font-size: 13px; margin-bottom: 20px; }
.hero h1 { font-size: 52px; line-height: 1.2; font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 22px; }
.hero-sub { font-size: 17px; color: var(--text-muted); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-figures { display: flex; gap: 48px; list-style: none; margin-top: 52px; }
.hero-figures li { display: flex; flex-direction: column; align-items: center; }
.hero-figures strong { font-size: 32px; font-weight: 800; color: var(--primary); }
.hero-figures span { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== 通用区块 ===== */
.section { padding: 110px 0; }
.section-title { font-size: 38px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; color: var(--text); }
.section-title.light { color: #fff; }
.section-eyebrow { color: var(--primary); font-weight: 800; letter-spacing: 4px; font-size: 13px; margin-bottom: 14px; }
.section-eyebrow.light { color: var(--primary-tint); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-head.light { color: #fff; }
.section-desc { color: var(--text-muted); font-size: 17px; }
.section-desc.light { color: rgba(255,255,255,.85); }

/* ===== 关于 ===== */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 17px; }
.about-btn { margin-top: 14px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat { border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; text-align: center; background: var(--bg-soft); }
.stat strong { display: block; font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat strong span { font-size: 22px; }
.stat-label { font-size: 15px; color: var(--text-muted); margin-top: 10px; display: block; }

/* ===== 发展历程 ===== */
.history { background: var(--bg); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.timeline::before {
  content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 63px; height: 2px;
  background: linear-gradient(90deg, var(--primary-tint), var(--primary), var(--primary-tint));
}
.milestone { position: relative; text-align: center; padding: 0 14px; }
.m-year { font-size: 24px; font-weight: 800; color: var(--primary); height: 30px; line-height: 30px; margin-bottom: 24px; letter-spacing: .5px; }
.m-dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--primary);
  margin: 0 auto; position: relative; z-index: 1;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--border);
}
.milestone h4 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.milestone p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ===== 服务卡片 ===== */
.services { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary-tint); }
.card-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* 一店抵多店 价值横幅 */
.projects-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); padding: 30px 40px; color: #fff; margin-bottom: 56px;
  box-shadow: var(--shadow-rose);
}
.pb-tag { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.pb-tag small { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-top: 6px; letter-spacing: 0; }
.pb-stats { display: flex; gap: 40px; }
.pb-stats div { text-align: center; }
.pb-stats strong { display: block; font-size: 28px; font-weight: 800; }
.pb-stats span { font-size: 13px; opacity: .85; }

/* ===== 品牌优势 ===== */
.advantages { background: var(--bg); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.adv { border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 38px 32px; background: var(--bg-soft); }
.adv-num { font-size: 34px; font-weight: 800; color: var(--primary-tint); letter-spacing: 1px; }
.adv h3 { font-size: 20px; font-weight: 700; margin: 10px 0 10px; }
.adv p { color: var(--text-muted); font-size: 15px; }

/* ===== 加盟 ===== */
.franchise { background: linear-gradient(135deg, #2a0a18, #8c0036); }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-bottom: 60px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 30px 18px; text-align: center; color: #fff; }
.step-no { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 19px; }
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: rgba(255,255,255,.75); }

.franchise-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #fff; border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow-rose); }
.franchise-cta-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.franchise-cta-text p { color: var(--text-muted); font-size: 15px; }
.mini-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-form input { padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 15px; font-family: inherit; transition: border-color .2s; }
.mini-form input:focus { outline: none; border-color: var(--primary); }
.mini-form button { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; color: var(--primary); font-weight: 700; text-align: center; }

/* ===== 新闻 ===== */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-date { color: var(--primary); font-weight: 800; font-size: 14px; margin-bottom: 12px; letter-spacing: 1px; }
.news-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.news-card p { color: var(--text-muted); font-size: 14.5px; }

/* ===== 页脚 ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.78); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer-about { font-size: 14.5px; line-height: 1.8; max-width: 340px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 16px; font-weight: 700; }
.footer-col p { font-size: 14.5px; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--primary-tint); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 24px; font-size: 13px; color: rgba(255,255,255,.45); margin-top: 56px; }

/* ===== 移动端底部行动栏（仅手机端显示） ===== */
.mobile-bar { display: none; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-actions, .hero-figures { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .about-stats { max-width: 480px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .franchise-cta { grid-template-columns: 1fr; gap: 32px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .projects-banner { padding: 26px 30px; }
  .pb-stats { gap: 28px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 80vh; overflow-y: auto; }
  .nav-links a { padding: 15px 24px; border-top: 1px solid var(--border); font-size: 16px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav { height: 64px; }

  .hero { padding: 56px 0 60px; }
  .hero-badge { width: 64px; height: 64px; font-size: 32px; border-radius: 18px; margin-bottom: 22px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-figures { gap: 26px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
  .hero-figures strong { font-size: 26px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .section-title { font-size: 26px; }
  .section-desc { font-size: 15px; }

  .cards, .adv-grid, .news-grid { grid-template-columns: 1fr; }
  .card, .adv { padding: 28px 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .mini-form { grid-template-columns: 1fr; }
  .mini-form input, .mini-form button { width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .projects-banner { flex-direction: column; text-align: center; padding: 26px 22px; }
  .pb-tag { font-size: 22px; }
  .pb-stats { flex-wrap: wrap; justify-content: center; gap: 22px; }
  .franchise-cta { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  /* 移动端底部固定行动栏 */
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); gap: 12px;
  }
  .mb-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
    height: 48px; border-radius: 999px; font-weight: 700; font-size: 16px;
    box-shadow: 0 6px 18px rgba(229,0,90,.18);
  }
  .mb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mb-call { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
  .mb-join { background: var(--primary); color: #fff; }
  /* 为底部栏留出空间，避免遮挡页脚内容 */
  body { padding-bottom: 68px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hero-figures { gap: 18px; }
  .mb-btn { font-size: 15px; }
}
