/* 发廊会员服务 - 前台门户样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  background: #f6f4ef;
  color: #24201d;
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: min(1120px, 92vw); margin: 0 auto; }

/* ===== 顶部导航 ===== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 42, 39, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; }
.brand-icon { width: 24px; height: 24px; color: #d9a35f; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link { color: #dcebe7; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.nav-link:hover { color: #fff; }
.nav-admin {
  color: #153c38; background: #d9a35f; font-weight: 600; padding: 8px 16px;
}
.nav-admin:hover { background: #e3b376; color: #153c38; }

/* ===== 公共 Hero ===== */
.hero, .dir-hero {
  position: relative; min-height: 540px; display: flex; align-items: center;
  background: #163e3a url("images/salon-hero.jpg") center/cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12, 31, 29, 0.88) 10%, rgba(12, 31, 29, 0.55) 55%, rgba(12, 31, 29, 0.32) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 72px 0; }
.hero-eyebrow {
  display: inline-block; font-size: 12px; text-transform: uppercase;
  color: #e7c38f; margin-bottom: 16px;
}
.hero h1, .dir-hero h1 { font-size: 52px; line-height: 1.15; font-weight: 800; }
.hero-sub { max-width: 560px; margin-top: 16px; font-size: 17px; color: rgba(255,255,255,0.88); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; font-size: 13.5px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: #fff;
}
.chip svg { width: 15px; height: 15px; opacity: 0.9; }
a.chip:hover { background: rgba(255,255,255,0.2); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #d9a35f; color: #17302d; font-weight: 700; padding: 13px 26px;
  border-radius: 10px; font-size: 15px; border: none; cursor: pointer;
  transition: background .18s, transform .18s;
}
.btn-primary:hover { background: #e6b876; transform: translateY(-1px); }
.btn-hero { margin-top: 28px; }

/* ===== 区块 ===== */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: 30px; font-weight: 800; color: #17302d; }
.section-head p { margin-top: 6px; color: #7a746d; font-size: 14.5px; }

/* ===== 门店数据带 ===== */
.stats-band { background: #fff; border-bottom: 1px solid #eae6de; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; color: #17302d; line-height: 1.1; }
.stat-unit { font-size: 15px; color: #b6553e; margin-left: 4px; font-weight: 700; }
.stat-label { font-size: 13px; color: #8a8279; margin-top: 3px; }

/* ===== 服务项目 ===== */
.service-group { margin-bottom: 34px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-title { font-size: 17px; font-weight: 700; color: #17302d; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid #d9a35f; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.service-card {
  background: #fff; border: 1px solid #eae6de; border-radius: 12px; padding: 18px;
  display: flex; justify-content: space-between; gap: 16px;
}
.service-card-main h4 { font-size: 16px; color: #24201d; }
.service-card-main p { font-size: 13px; color: #8a8279; margin-top: 6px; min-height: 2.6em; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.service-tags span { font-size: 12px; color: #6d665e; background: #f3f0ea; padding: 3px 9px; border-radius: 999px; }
.service-price { font-size: 20px; font-weight: 800; color: #b6553e; white-space: nowrap; }

/* ===== 发型师 ===== */
.stylist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.stylist-card { text-align: center; padding: 28px 16px; }
.stylist-avatar {
  width: 82px; height: 82px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #d9a35f, #b6553e); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700;
}
.stylist-name { font-size: 17px; font-weight: 700; color: #24201d; }
.stylist-role { font-size: 13px; color: #8a8279; margin-top: 4px; }

/* ===== 会员权益 ===== */
.level-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.level-card {
  background: #fff; border: 1px solid #eae6de; border-top: 3px solid #d9a35f;
  border-radius: 12px; padding: 22px 20px; text-align: center;
}
.level-name { font-size: 16px; font-weight: 700; color: #17302d; }
.level-discount { font-size: 30px; font-weight: 800; color: #b6553e; margin: 8px 0; }
.level-note { font-size: 12.5px; color: #8a8279; }

/* ===== 门店选择 ===== */
.dir-hero { min-height: 360px; }
.dir-hero-inner { position: relative; z-index: 2; padding: 60px 0; }
.dir-hero p { margin-top: 14px; color: rgba(255,255,255,0.85); font-size: 16px; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.store-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #eae6de;
  border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.store-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(23,48,45,0.12); }
.store-card-media { display: block; height: 170px; background: #163e3a url("images/salon-hero.jpg") center/cover no-repeat; }
.store-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.store-card-name { font-size: 19px; font-weight: 700; color: #17302d; }
.store-card-line { font-size: 13.5px; color: #6d665e; }
.store-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #8a8279; }
.store-card-cta { margin-top: 10px; color: #b6553e; font-weight: 700; font-size: 14px; }

/* ===== 状态卡片 ===== */
.state-wrap { padding: 90px 0; }
.state-card { background: #fff; border: 1px solid #eae6de; border-radius: 14px; padding: 34px; text-align: center; color: #6d665e; }
.state-title { font-size: 20px; font-weight: 700; color: #24201d; margin-bottom: 8px; }
.state-card p { margin-bottom: 18px; }

/* ===== 页脚 ===== */
.footer { background: #102a27; color: #cfe0dc; padding: 46px 0; margin-top: 0; }
.footer .container { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-copy { margin-top: 16px; color: #7fa39d; font-size: 12.5px; }

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .hero, .dir-hero { min-height: 440px; }
  .hero h1, .dir-hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15.5px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 25px; }
  .nav-admin { padding: 7px 12px; font-size: 13px; }
  .brand span { font-size: 14px; }
}
