﻿:root {
  /* 与 dz.havefaith.cn 一致的配色 */
  --bg: #d9f0c6;
  --card: #ffffff;
  --ink: #2c3833;
  --muted: #7f938b;
  --line: #e2f0ea;
  --brand: #3a9b7a;
  --brand-deep: #2f8f6f;
  --brand-soft: #e6f6ef;
  --brand-grad: linear-gradient(135deg, #4aa889 0%, #3a9b7a 100%);
  --brand-grad-light: linear-gradient(135deg, #5cc3a0 0%, #3a9b7a 100%);
  --accent: #e8590c;
  --accent-soft: #fff3ea;
  --accent-line: #ffe0c7;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 2px 10px rgba(42, 90, 72, .06);
  --shadow-hover: 0 8px 22px rgba(42, 90, 72, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-size: 14.5px;
  background: linear-gradient(180deg, #c4e5a8 0%, #dcf1ca 360px, #e9f7dc 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 头部（绿色渐变，同参考站） ---------- */
.site-header {
  background: var(--brand-grad-light);
  box-shadow: 0 4px 14px rgba(58, 155, 122, .22);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
}
.brand-text strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
}
.brand-text small { color: rgba(255, 255, 255, .9); font-size: 12.5px; letter-spacing: .5px; }

nav.main-nav {
  display: flex; align-items: center; gap: 14px;
  font-size: 14.5px; color: rgba(255, 255, 255, .88);
  white-space: nowrap;
}
nav.main-nav a { position: relative; padding: 4px 2px; transition: color .18s; }
nav.main-nav a:hover { color: #fff; }
nav.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: #fff; border-radius: 2px; transition: width .2s;
}
nav.main-nav a:hover::after { width: 100%; }

.header-phone {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  color: #fff;
  white-space: nowrap;
}
.header-phone span { color: rgba(255, 255, 255, .8); font-size: 12px; }
.header-phone a { font-weight: 700; color: #fff; }

/* ---------- 首页 hero ---------- */
.hero {
  margin: 26px 0 8px;
  padding: 50px 44px 46px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 320px at 90% -20%, #d9f2e6 0%, rgba(217, 242, 230, 0) 70%),
    linear-gradient(135deg, #ffffff 0%, #eaf8f2 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid #cfe9dd;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--ink);
}
.hero h1 span { color: var(--brand); }
.hero p.lead {
  font-size: 16.5px;
  color: #5f7268;
  max-width: 620px;
  margin: 0 0 28px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: .2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(58, 155, 122, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(58, 155, 122, .34); }
.btn-ghost { background: #fff; border-color: #cfe9dd; color: var(--brand-deep); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0 44px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.stat .num { font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: .5px; }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 2px; }

.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 20px;
}
.section-title h2 {
  font-size: 22px; margin: 0; letter-spacing: .5px;
  position: relative; padding-left: 14px;
}
.section-title h2::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 4px;
  background: var(--brand-grad);
}
.section-title span { color: var(--muted); font-size: 14px; }

/* ---------- 筛选栏 ---------- */
.filters {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.filters input[type="text"] {
  flex: 1 1 240px;
  min-width: 200px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fbfefc;
  transition: border-color .2s, box-shadow .2s;
}
.filters input[type="text"]:focus {
  border-color: #a9d9c6;
  box-shadow: 0 0 0 3px rgba(58, 155, 122, .12);
}
.filters select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  background: #fbfefc;
  color: var(--ink);
}
.filters .check { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.filters button {
  border: 0;
  background: var(--brand-grad);
  color: #fff;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(58, 155, 122, .24);
}
.filters button:hover { filter: brightness(1.04); }

/* ---------- 阿姨卡片 ---------- */
.aunt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card-top { display: flex; gap: 14px; padding: 20px 20px 12px; align-items: center; }
.avatar {
  width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover; flex: 0 0 68px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(42, 90, 72, .14);
}
.card-name { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-sub { color: var(--muted); font-size: 13px; margin-top: 3px; }

.badge {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-type {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}
/* 认证号码标：浅蓝底、蓝字，跟在标题后面 */
.badge-verified {
  background: #e8f2ff;
  color: #1a73e8;
  border: 1px solid #bfd9ff;
  font-weight: 700;
  letter-spacing: .5px;
}
.badge-status-available { background: #e8f7ef; color: #2f8f6f; }
.badge-status-on_duty { background: #f2ecfb; color: #64469b; }
.badge-status-interviewing { background: #eaf1fc; color: #2f5aa8; }
.badge-status-resting { background: #fdf3e0; color: #96681f; }
.badge-status-finished, .badge-status-unknown { background: #f0f4f2; color: #6b7c74; }

.card-body { padding: 0 20px 14px; flex: 1; }
.kv { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin: 4px 0; }
.kv b { color: var(--ink); font-weight: 600; }

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  font-size: 12px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 9px;
}

.card-foot {
  border-top: 1px dashed var(--line);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfefc;
}
.salary { color: var(--accent); font-weight: 800; font-size: 17px; }
.salary small { color: var(--muted); font-weight: 500; font-size: 12px; }
.detail-link { font-size: 13.5px; color: var(--brand-deep); font-weight: 600; }
.detail-link:hover { color: var(--brand); }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 10px; justify-content: center; margin: 34px 0 10px; align-items: center; }
.pager a, .pager span {
  padding: 8px 16px; border-radius: 10px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; color: var(--brand-deep);
}
.pager a:hover { border-color: var(--brand); }
.pager .current { background: var(--brand-grad); color: #fff; border-color: transparent; }

.empty {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 54px 20px; text-align: center; color: var(--muted);
}

/* ---------- 详情页 ---------- */
.detail-head {
  background: linear-gradient(135deg, #ffffff, #e9f7f1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.detail-head .avatar { width: 108px; height: 108px; flex: 0 0 108px; font-size: 34px; }
.detail-head h1 { font-size: 19px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-meta { color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.detail-head .salary { margin-left: auto; text-align: right; font-size: 18px; }
.detail-head .salary small { display: block; font-size: 12px; color: var(--muted); }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: 15px; margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line); letter-spacing: .5px;
}
.panel h2::before {
  content: ""; display: inline-block; width: 4px; height: 15px;
  border-radius: 3px; margin-right: 9px; vertical-align: -1px;
  background: var(--brand-grad);
}
.panel .grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 26px;
}
.panel .grid div { font-size: 14px; color: var(--muted); }
.panel .grid div b { color: var(--ink); font-weight: 600; margin-left: 6px; }
.panel p { font-size: 14.5px; color: #3b4641; margin: 0; line-height: 1.8; }
/* 工作经历时间轴 */
.history { list-style: none; margin: 0; padding: 0; position: relative; }
.history::before {
  content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px;
  background: var(--line);
}
.history li {
  position: relative; padding: 0 0 16px 30px; font-size: 14.5px;
  color: #3b4641; line-height: 1.8; margin: 0;
}
.history li:last-child { padding-bottom: 0; }
.history li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-light); border: 2px solid var(--brand);
}
.history li b { color: var(--ink); font-weight: 600; }
.hint { color: var(--muted) !important; font-size: 14px !important; }
/* 照片展示 */
.photo-block { margin-bottom: 20px; }
.photo-block:last-child { margin-bottom: 0; }
.photo-block h3 {
  font-size: 15px; margin: 0 0 12px; color: var(--brand-deep);
  display: flex; align-items: center; gap: 8px;
}
.photo-block h3 span {
  font-size: 12px; font-weight: 400; color: var(--muted);
  background: var(--brand-light); padding: 2px 8px; border-radius: 20px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 170px);
  gap: 12px;
  justify-content: start;
}
.photo-item {
  display: block; position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--brand-light);
  transition: transform .18s ease, box-shadow .18s ease;
}
.photo-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(42, 90, 72, .16); }
/* 宽度固定 170px，高度跟着原图比例走，不裁切 */
.photo-item img { display: block; width: 100%; height: auto; }
.photo-item span {
  display: block; padding: 8px 10px; font-size: 12.5px; color: #3b4641;
  background: #fff; border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(auto-fill, 44%); justify-content: space-between; }
}
.center { text-align: center; padding: 60px 0; }
.back-link { display: inline-block; margin: 22px 0 18px; color: var(--brand-deep); font-size: 14px; }
.back-link:hover { color: var(--brand); }

/* ---------- 单子列表 ---------- */
.page-head { padding: 36px 0 14px; }
.page-head h1 { font-size: 30px; margin: 0 0 6px; font-weight: 800; letter-spacing: .5px; }
.page-head .lead { color: var(--muted); font-size: 14.5px; margin: 0; }

.range-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; margin: 8px 0 16px;
  box-shadow: var(--shadow);
}
.range-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.range-pill {
  padding: 6px 16px; border-radius: 20px; border: 1px solid var(--line);
  font-size: 13.5px; color: var(--brand-deep); background: var(--brand-soft); transition: .18s;
}
.range-pill:hover { border-color: var(--brand); }
.range-pill.active {
  background: var(--brand-grad);
  color: #fff; border-color: transparent; font-weight: 600;
  box-shadow: 0 2px 8px rgba(58, 155, 122, .3);
}
.range-tip { margin-left: auto; font-size: 12.5px; color: #a8b8b0; }

.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
.cat-pill {
  padding: 7px 15px; border-radius: 20px; background: var(--brand-soft);
  border: 1px solid var(--line); font-size: 13.5px; color: var(--brand-deep); transition: .18s;
}
.cat-pill span { color: #6f8b80; font-size: 12px; margin-left: 5px; }
.cat-pill:hover { border-color: #b6ddcd; background: #ddf3e8; }
.cat-pill.active {
  background: var(--brand-grad); color: #fff; border-color: transparent;
  font-weight: 600; box-shadow: 0 2px 8px rgba(58, 155, 122, .3);
}
.cat-pill.active span { color: rgba(255, 255, 255, .82); }

.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 18px; }
.order-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 0; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s;
}
.order-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.order-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.order-code {
  font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #64cba8, #3a9b7a);
  border-radius: 20px; padding: 3px 10px; letter-spacing: .4px;
  box-shadow: 0 2px 5px rgba(58, 155, 122, .25);
}
.order-time { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: .3px; }
.order-title { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.order-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.order-excerpt { font-size: 14px; color: #3b4641; margin: 0 0 12px; line-height: 1.75; word-break: break-word; }
.order-foot {
  margin-top: auto; border-top: 1px dashed var(--line);
  padding: 12px 0; display: flex; align-items: center; justify-content: space-between;
}

.apply-box {
  background: var(--brand-soft);
  border: 1px solid #cfe9dd; border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.apply-box strong { color: var(--brand-deep); font-size: 15.5px; }
.apply-box > div { text-align: left; }
.apply-box p { margin: 5px 0 0; font-size: 15.5px; line-height: 1.6; color: #1b2420; text-align: left; }
.apply-box .btn[disabled] { background: #b9d8ca; box-shadow: none; cursor: not-allowed; }

.raw-text { font-size: 13.5px; color: #3b4641; line-height: 1.55; white-space: normal; word-break: break-word; }

/* 首页底部：阿姨接单入口提示 */
.aunt-entry {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: #4a6a5f;
}
.aunt-entry a { color: #2f8f6f; font-weight: 700; text-decoration: none; }

/* 微信文字表情转成的小图片：跟字高对齐，不撑行 */
img.wx-emoji {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  margin: 0 2px;
  border: 0;
  background: none;
}

/* ---------- 联系我们（绿色渐变，同参考站页脚） ---------- */
.contact-band {
  margin-top: 52px;
  padding: 44px 0;
  background: var(--brand-grad-light);
  color: #fff;
}
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.contact-text h2 { font-size: 24px; margin: 0 0 8px; color: #fff; letter-spacing: .5px; }
.contact-text p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14.5px; }
.contact-cards { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-card {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  padding: 14px 24px;
  min-width: 200px;
  transition: background .2s, transform .2s;
}
.contact-card:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.cc-role { display: block; font-size: 13px; color: rgba(255, 255, 255, .82); letter-spacing: 1px; }
.cc-phone { display: block; font-size: 21px; font-weight: 800; color: #fff; letter-spacing: .5px; margin-top: 2px; }

/* ---------- 页面收尾提示（页脚已去掉，避免联系方式重复） ---------- */
.contact-note {
  flex: 1 1 100%;
  margin: 6px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  text-align: center;
  letter-spacing: .3px;
}

/* ---------- 小屏适配 ---------- */
@media (max-width: 720px) {
  /* 头部改两行：第一行 品牌，第二行 导航（不换行、可横向滑动兜底） */
  .site-header .wrap {
    height: auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 10px 16px 0;
  }
  .brand { height: 46px; }
  nav.main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    font-size: 14.5px;
    padding: 8px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  nav.main-nav::-webkit-scrollbar { display: none; }
  nav.main-nav a { flex: 0 0 auto; }
  nav.main-nav a:nth-child(1) { display: inline-block; }
  .header-phone { display: none; }
  .brand-text small { display: none; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .hero { padding: 32px 22px; }
  .hero h1 { font-size: 27px; }
  .order-grid { grid-template-columns: 1fr; }
  .filters input[type="text"] { min-width: 0; }
  .detail-head { padding: 20px; }
  .contact-inner { justify-content: flex-start; }
  .contact-card { padding: 12px 18px; min-width: 0; flex: 1 1 140px; }
  .cc-phone { font-size: 18px; }
}

/* 单子卡片上的「我要这单」按钮 */
.btn-apply { display:inline-block; background:#3a9b7a; color:#fff; padding:8px 16px; border-radius:999px; font-size:13.5px; font-weight:600; text-decoration:none; }
.btn-apply:hover { background:#2f8f6f; color:#fff; }

/* 金额红字突出 */
.salary, .detail-salary { color: #e2341d !important; font-weight: 900 !important; }
.salary small, .detail-salary small { color: #e2341d !important; font-weight: 700 !important; }
/* ===== 最终口径（覆盖前面）：金额用绿色，不放大；接单按钮绿底 ===== */
.salary, .detail-salary { color: #2f8f63 !important; font-weight: 700 !important; font-size: inherit !important; }
.salary small, .detail-salary small { color: #2f8f63 !important; font-weight: 700 !important; font-size: inherit !important; }
.btn-apply {
  background: linear-gradient(135deg,#3fb582,#2f9d72) !important; color: #fff !important;
  box-shadow: 0 6px 16px rgba(47,157,114,.30) !important;
}
.btn-apply:hover { background: linear-gradient(135deg,#37a877,#268a63) !important; color: #fff !important; }