/* =========================================================
   张情静律师 · 个人获客网站
   风格：温暖亲和（米色 + 暖橙）
   ========================================================= */

:root {
  --cream: #FBF6EF;
  --sand: #F3E9DC;
  --card: #FFFFFF;
  --orange: #E07B39;
  --orange-soft: #F2A65A;
  --orange-deep: #C75B1E;
  --ink: #2E2A26;
  --muted: #6E6358;
  --line: #EBE0D2;
  --green: #3F9D6D;
  --shadow: 0 10px 30px rgba(120, 90, 50, 0.10);
  --shadow-sm: 0 4px 14px rgba(120, 90, 50, 0.08);
  --radius: 18px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  line-height: 1.3;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--orange-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 14px;
  color: var(--ink);
}
.section-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 46px;
  text-align: center;
  font-size: 16px;
}
.center { text-align: center; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  display: grid; place-items: center;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 20px; font-weight: 700;
}
.brand__name { font-size: 17px; }
.brand__name small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 1px; }

.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { font-size: 15px; color: var(--ink); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--orange); transition: width .25s;
}
.nav__links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(224,123,57,.32); }
.btn--primary:hover { background: var(--orange-deep); }
.btn--ghost { background: #fff; color: var(--orange-deep); border-color: var(--orange); }
.btn--ghost:hover { background: var(--sand); }
.btn--block { width: 100%; justify-content: center; }

.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(242,166,90,.30), transparent 60%),
    radial-gradient(900px 400px at -10% 20%, rgba(224,123,57,.16), transparent 55%),
    var(--cream);
  padding: 78px 0 64px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; color: var(--orange-deep); font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero__title { font-size: 52px; margin: 20px 0 10px; }
.hero__title .accent { color: var(--orange-deep); }
.hero__role { font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.hero__area { display: inline-block; margin-top: 6px; color: var(--primary); font-weight: 600; }
.hero__desc { font-size: 17px; color: var(--ink); max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap;
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; min-width: 120px;
  box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 26px; color: var(--orange-deep); font-family: "Songti SC", "SimSun", serif; }
.stat span { font-size: 13px; color: var(--muted); }

.hero__card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow);
}
.hero__card h3 { font-size: 19px; margin-bottom: 6px; }
.hero__card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.hero__card ul { list-style: none; display: grid; gap: 10px; }
.hero__card li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.hero__card li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }

/* trust strip */
.trust {
  background: var(--orange-deep);
  color: #fff;
}
.trust__inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  padding: 16px 0; font-size: 15px;
}
.trust__inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust__inner .ic { font-size: 17px; }

/* ---------- 执业领域 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange-soft); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #FCEBD9, #F7D9BC);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 30px; height: 30px; stroke: var(--orange-deep); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card ul { list-style: none; display: grid; gap: 8px; }
.card ul li { font-size: 14px; color: var(--ink); padding-left: 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.card__note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13px; line-height: 1.6; color: var(--orange-deep); font-weight: 600; }

/* ---------- 关于律师 ---------- */
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about__photo {
  aspect-ratio: 3/4; border-radius: 22px;
  background: linear-gradient(160deg, #F7D9BC, #E9B98C);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about__photo .lawyer-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.about__photo .tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92); color: var(--orange-deep);
  font-size: 13px; padding: 6px 12px; border-radius: 999px; font-weight: 600;
}
.about h2 { font-size: 30px; margin-bottom: 16px; }
.about p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about__values { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--orange-deep); font-weight: 600;
}
.about__creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.cred { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cred b { color: var(--orange-deep); font-size: 15px; }
.cred span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- 成功案例 ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.case__type {
  align-self: flex-start; font-size: 12px; font-weight: 600;
  color: var(--orange-deep); background: #FCEBD9; padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.case h3 { font-size: 19px; margin-bottom: 10px; }
.case p { color: var(--muted); font-size: 14px; flex: 1; }
.case__result {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--ink);
}
.case__result b { color: var(--green); }
.cases__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; position: relative; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-family: "Songti SC", "SimSun", serif; font-size: 22px;
  box-shadow: 0 8px 18px rgba(224,123,57,.3);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- 客户评价 ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: 15px; color: var(--ink); }
.review__who { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- 联系 / 咨询 ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 760px; margin: 0 auto; align-items: start; }
.contact__info h2 { font-size: 30px; margin-bottom: 14px; }
.contact__slogan { font-size: 19px; font-weight: 600; color: var(--primary); margin-bottom: 12px; line-height: 1.6; }
.contact__info > p { color: var(--muted); margin-bottom: 24px; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.info-item .ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: #FCEBD9; display: grid; place-items: center; color: var(--orange-deep); font-size: 20px;
}
.info-item .k { font-size: 13px; color: var(--muted); }
.info-item .v { font-size: 16px; font-weight: 600; }
.info-item .v a { color: var(--orange-deep); }

.wechat-box {
  margin-top: 18px; background: #fff; border: 1px dashed var(--orange-soft);
  border-radius: 14px; padding: 18px; display: flex; gap: 16px; align-items: center;
}
.wechat-qr {
  width: 110px; height: 110px; flex: none; border-radius: 12px;
  object-fit: contain; background: #fff; border: 1px solid var(--line);
}
.wechat-box .wb b { font-size: 16px; }
.wechat-box .wb span { font-size: 13px; color: var(--muted); display: block; }

/* 表单样式已随在线预约表单一并移除 */

/* ---------- 悬浮咨询按钮（移动端） ---------- */
.float-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--orange); color: #fff; border: none;
  border-radius: 999px; padding: 14px 20px; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(224,123,57,.4); cursor: pointer;
  display: none; align-items: center; gap: 8px;
}

/* ---------- 页脚 ---------- */
.footer { background: #2E2A26; color: #E9E2D8; padding: 46px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer p, .footer li { font-size: 14px; color: #C9C0B4; line-height: 1.9; }
.footer ul { list-style: none; }
.footer a:hover { color: var(--orange-soft); }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: grid; place-items: center; color: #fff; font-family: "Songti SC", "SimSun", serif; font-weight: 700;
}
.disclaimer {
  border-top: 1px solid #453F38; margin-top: 30px; padding-top: 18px;
  font-size: 12px; color: #9A9082; text-align: center; line-height: 1.8;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 80px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--orange-deep);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .25s; font-size: 20px;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .cards, .cases, .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 18px 22px;
  }
  .float-cta { display: inline-flex; }
  .hero__title { font-size: 40px; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
  .section-title { font-size: 26px; }
}

/* ---------- 在线法律服务工具 ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tool-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange-soft); }
.tool-card h3 { font-size: 19px; }
.tool-card p { color: var(--muted); font-size: 14px; flex: 1; }
.tool-card .btn { align-self: flex-start; }
.tool-card--ai {
  grid-column: 1 / -1;
  flex-direction: row; align-items: center; gap: 24px;
  background: linear-gradient(135deg, #FFF9F2, #FCEBD9);
  border-color: var(--orange-soft);
}
.tool-card--ai .tool-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tool-avatar {
  width: 130px; height: 130px; flex: none; border-radius: 50%;
  object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.tool-card--ai .tool-tag { font-size: 13px; color: var(--orange-deep); font-weight: 600; flex: none; }
@media (max-width: 920px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card--ai { flex-direction: column; text-align: center; }
  .tool-card--ai .btn { align-self: center; }
}
