/* ============================================================
   良言教育 LY Education — 站点样式
   配色：酒红 / 米白 / 金
   ============================================================ */

:root {
  --wine: #7a1f2b;
  --wine-deep: #56141e;
  --wine-soft: #9c3a48;
  --wine-tint: #f4e8e9;
  --cream: #faf6ef;
  --cream-2: #f2ebe0;
  --gold: #c9a45b;
  --gold-soft: #e6d2a4;
  --ink: #241c1a;
  --ink-soft: #5f534e;
  --ink-light: #8b807a;
  --line: #e4d9cb;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(36, 28, 26, .05);
  --shadow: 0 10px 34px rgba(36, 28, 26, .08);
  --shadow-lg: 0 22px 60px rgba(86, 20, 30, .14);
  --maxw: 1200px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); font-weight: 700;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold);
}

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; }
p { color: var(--ink-soft); }

.section { padding: 92px 0; }
.section--tint { background: var(--cream-2); }
.section--white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin: 14px 0 14px; }
.section-head p { font-size: 17px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: all .25s ease; white-space: nowrap;
}
.btn--primary { background: var(--wine); color: var(--white); }
.btn--primary:hover { background: var(--wine-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn--ghost:hover { background: var(--wine); color: var(--white); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #3d2c11; }
.btn--gold:hover { background: #b98f45; transform: translateY(-2px); }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 顶部条 & 导航 ---------- */
.topbar {
  background: var(--wine-deep); color: rgba(255,255,255,.82);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 18px; align-items: center; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text strong { display: block; font-size: 18px; letter-spacing: .06em; color: var(--wine); line-height: 1.2; }
.brand-text span { display: block; font-size: 11px; letter-spacing: .22em; color: var(--ink-light); text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a {
  position: relative; font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 6px 0; transition: color .2s ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-menu a:hover { color: var(--wine); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--wine); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--white); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--wine); transition: all .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% 12%, rgba(201,164,91,.20), transparent 62%),
    linear-gradient(135deg, #fdfaf5 0%, var(--cream) 48%, #f3e7e8 100%);
  padding: 84px 0 96px;
}
.hero::after {
  content: ""; position: absolute; right: -160px; bottom: -220px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,31,43,.10), transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--wine-deep); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--gold); border-bottom: 4px solid rgba(201,164,91,.35); }
.hero-lead { font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--ink-light); display: flex; align-items: center; gap: 8px; }
.hero-note svg { flex: none; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(201,164,91,.25);
}
.hero-card h4 { font-size: 15px; color: var(--ink-light); letter-spacing: .1em; font-weight: 600; }
.hero-card .big { font-size: 46px; font-weight: 800; color: var(--wine); line-height: 1.1; margin: 6px 0 4px; }
.hero-card .big small { font-size: 18px; font-weight: 600; color: var(--ink-soft); }
.hero-rows { margin-top: 20px; display: grid; gap: 11px; }
.hero-rows div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.hero-rows em {
  font-style: normal; font-weight: 800; color: var(--wine); flex: none;
  width: 46px; font-size: 13px; letter-spacing: .04em;
}
.hero-bars { margin-top: 22px; display: grid; gap: 14px; }
.hero-bar span { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 5px; }
.hero-bar i { display: block; height: 7px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.hero-bar i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--wine), var(--gold)); width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.hero-float {
  position: absolute; left: -34px; bottom: -34px; background: var(--wine); color: var(--white);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.6; max-width: 210px;
}
.hero-float strong { display: block; font-size: 22px; color: var(--gold-soft); }

/* ---------- 数据条 ---------- */
.stats { background: var(--wine-deep); color: var(--white); padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat b { display: block; font-size: 40px; font-weight: 800; color: var(--gold-soft); line-height: 1.1; }
.stat span { font-size: 14px; color: rgba(255,255,255,.72); letter-spacing: .06em; }

/* ---------- 卡片通用 ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all .3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,164,91,.55); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--wine-tint); margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; color: var(--wine-deep); }
.card p { font-size: 15px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--wine); }
.card-link:hover { gap: 12px; }
.card-link, .card-link:hover { transition: gap .2s ease; }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--gold); color: var(--wine);
  font-weight: 800; margin-bottom: 16px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; color: var(--wine-deep); }
.step p { font-size: 14.5px; }

/* ---------- 案例 ---------- */
.case-flow { display: grid; gap: 10px; margin: 14px 0 4px; }
.case-flow > div {
  font-size: 14px; line-height: 1.6; padding: 11px 14px;
  border-radius: 10px; background: var(--cream-2); color: var(--ink-soft);
}
.case-flow b { display: block; font-size: 12px; color: var(--wine); letter-spacing: .1em; margin-bottom: 3px; font-weight: 700; }
.case-flow .after { background: rgba(201,164,91,.16); color: var(--ink); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s ease; color: var(--ink-soft);
}
.filter-btn:hover { border-color: var(--gold); color: var(--wine); }
.filter-btn.active { background: var(--wine); border-color: var(--wine); color: var(--white); }

.case-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,164,91,.55); }
.case-media {
  height: 158px; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-soft) 62%, var(--gold) 200%);
  color: rgba(255,255,255,.95);
}
.case-media.b-blue { background: linear-gradient(135deg, #1f3a5f 0%, #2f5a86 62%, var(--gold) 200%); }
.case-media.b-green { background: linear-gradient(135deg, #1f4a41 0%, #2f6f5c 62%, var(--gold) 200%); }
.case-media.b-purple { background: linear-gradient(135deg, #43264f 0%, #6a3a7a 62%, var(--gold) 200%); }
.case-media .abbr { font-size: 34px; font-weight: 800; letter-spacing: .06em; }
.case-media .tagline { font-size: 12.5px; letter-spacing: .12em; opacity: .82; margin-top: 4px; }
.case-flag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--wine);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.case-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.case-body h3 { font-size: 17px; margin-bottom: 8px; }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 14px; }
.chip {
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: var(--cream-2); color: var(--ink-soft);
}
.chip--gold { background: rgba(201,164,91,.18); color: #8a6a20; font-weight: 700; }
.case-result {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center; font-size: 14px;
}
.case-result strong { color: var(--wine); font-size: 16px; }

/* ---------- 评价 ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; position: relative;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 4px; left: 22px;
  font-size: 72px; color: rgba(201,164,91,.28); font-family: Georgia, serif; line-height: 1;
}
.quote-card p { position: relative; z-index: 1; font-size: 15.5px; color: var(--ink); padding-top: 14px; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--wine), var(--wine-soft));
  color: var(--white); font-weight: 700; flex: none;
}
.quote-who b { display: block; font-size: 15px; }
.quote-who span { font-size: 13px; color: var(--ink-light); }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--wine-deep) 0%, var(--wine) 58%, var(--wine-soft) 100%);
  color: var(--white); padding: 66px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: -80px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,164,91,.22), transparent 70%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 10px; }

/* ---------- 页面头图 ---------- */
.pagehead {
  padding: 76px 0 66px; text-align: center;
  background: linear-gradient(180deg, #f6ecdd 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.pagehead .eyebrow { justify-content: center; }
.pagehead h1 { color: var(--wine-deep); margin: 16px 0 14px; }
.pagehead p { max-width: 660px; margin: 0 auto; font-size: 17px; }
.breadcrumb { font-size: 13.5px; color: var(--ink-light); margin-top: 20px; }
.breadcrumb a:hover { color: var(--wine); }

/* ---------- 关于页 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 400px;
  background: linear-gradient(150deg, var(--wine) 0%, var(--wine-soft) 55%, var(--gold) 160%);
  display: grid; place-items: center; color: var(--white); text-align: center; padding: 40px;
  box-shadow: var(--shadow-lg);
}
.split-visual b { font-size: 58px; font-weight: 800; letter-spacing: .04em; display: block; }
.split-visual span { font-size: 14px; letter-spacing: .3em; opacity: .8; }
.split-visual hr { width: 60px; border: 0; height: 2px; background: var(--gold-soft); margin: 20px auto; }

/* 创始人肖像 */
.founder-portrait { position: relative; padding: 0; }
.founder-portrait > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%;
  display: block;
}
.portrait-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(122,31,43,0) 35%, rgba(80,18,28,.78) 100%),
    linear-gradient(120deg, rgba(122,31,43,.45) 0%, rgba(122,31,43,0) 55%);
}
.portrait-meta {
  position: absolute; left: 0; right: 0; bottom: 28px;
  color: var(--white); text-align: center; padding: 0 24px;
}
.portrait-meta b { font-size: 46px; line-height: 1.05; }
.portrait-meta hr { background: rgba(255,255,255,.6); }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--gold);
}
.tl-item b { color: var(--wine); font-size: 15px; letter-spacing: .06em; }
.tl-item h4 { font-size: 18px; margin: 4px 0 6px; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.value-item { background: var(--white); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.value-item h4 { color: var(--wine-deep); margin-bottom: 6px; }

/* ---------- 服务页 ---------- */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-visual { order: -1; }
.svc-visual {
  min-height: 300px; border-radius: var(--radius-lg); display: grid; place-items: center;
  color: var(--white); text-align: center; padding: 36px; box-shadow: var(--shadow);
}
.svc-visual .num { font-size: 64px; font-weight: 800; opacity: .32; line-height: 1; }
.svc-visual .label { font-size: 15px; letter-spacing: .22em; margin-top: 10px; }
.svc-list { margin-top: 18px; display: grid; gap: 10px; }
.svc-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.svc-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-top: 11px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; text-align: center; transition: all .3s ease; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #3d2c11; font-size: 12.5px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { color: var(--wine-deep); }
.price-card .amount { font-size: 34px; font-weight: 800; color: var(--wine); margin: 14px 0 4px; }
.price-card .amount small { font-size: 14px; font-weight: 600; color: var(--ink-light); }
.price-card ul { margin: 22px 0 26px; display: grid; gap: 11px; text-align: left; }
.price-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.price-card ul li svg { flex: none; margin-top: 4px; }

/* ---------- 团队页 ---------- */
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; text-align: center; transition: all .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,164,91,.55); }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--wine), var(--wine-soft));
  box-shadow: 0 10px 24px rgba(122,31,43,.22);
}
.team-card.v2 .team-avatar { background: linear-gradient(135deg, #1f3a5f, #3a6a96); box-shadow: 0 10px 24px rgba(31,58,95,.22); }
.team-card.v3 .team-avatar { background: linear-gradient(135deg, #1f4a41, #357a63); box-shadow: 0 10px 24px rgba(31,74,65,.22); }
.team-card.v4 .team-avatar { background: linear-gradient(135deg, #43264f, #6f3d80); box-shadow: 0 10px 24px rgba(67,38,79,.22); }
.team-card h3 { font-size: 19px; color: var(--wine-deep); }
.team-card .role { font-size: 13.5px; color: var(--gold); font-weight: 700; letter-spacing: .06em; margin: 4px 0 14px; }
.team-card p { font-size: 14.5px; text-align: left; }
.team-tags { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-of-type { border-bottom: 0; }
.info-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--wine-tint);
  display: grid; place-items: center; flex: none;
}
.info-item b { display: block; font-size: 15px; color: var(--ink); }
.info-item span, .info-item a { font-size: 14.5px; color: var(--ink-soft); }
.info-item a:hover { color: var(--wine); }

.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label i { color: var(--wine); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fdfbf7; transition: all .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,164,91,.16);
}
.field textarea { min-height: 118px; resize: vertical; }
.form-tip { font-size: 13px; color: var(--ink-light); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-size: 14.5px; }
.form-msg.ok { display: block; background: rgba(47,111,92,.10); color: #1f4a41; border: 1px solid rgba(47,111,92,.3); }
.form-msg.err { display: block; background: rgba(122,31,43,.08); color: var(--wine); border: 1px solid rgba(122,31,43,.28); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 0; font-size: 16.5px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-q:hover { color: var(--wine); }
.faq-q i { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq-q i::before { width: 14px; height: 2px; }
.faq-q i::after { width: 2px; height: 14px; transition: opacity .2s ease; }
.faq-item.open .faq-q i::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding-bottom: 20px; font-size: 15px; }

.map-placeholder {
  margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  min-height: 190px; display: grid; place-items: center; background:
    repeating-linear-gradient(45deg, #f6efe4, #f6efe4 12px, #f2ebe0 12px, #f2ebe0 24px);
  color: var(--ink-light); font-size: 14px; text-align: center; padding: 24px;
}

/* ---------- 页脚 ---------- */
.footer { background: #2b1f1d; color: rgba(255,255,255,.68); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; letter-spacing: .05em; }
.footer ul { display: grid; gap: 11px; font-size: 14.5px; }
.footer ul a:hover { color: var(--gold-soft); }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14.5px; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom a:hover { color: var(--gold-soft); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); transition: all .2s ease;
}
.social a:hover { background: var(--wine); color: var(--white); }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .hero-float { left: -10px; bottom: -22px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { max-height: 460px; }
  .nav-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu a::after { display: none; }
  .nav-cta { display: none; }
  .topbar-left span:nth-child(n+3) { display: none; }
  .section { padding: 68px 0; }
  .split, .svc-row { grid-template-columns: 1fr; gap: 32px; }
  .svc-row:nth-child(even) .svc-visual { order: 0; }
  .split-visual { min-height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 72px; }
  .hero-float { display: none; }
  .brand-text span { display: none; }
  .topbar { display: none; }
  .form-wrap { padding: 26px 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
