@charset "UTF-8";
/* ============================================================
   香香腐宅 · xxfz-app.net.cn
   配色档位：同品牌第 15 档
   变量名沿用初版命名（--taro / --coral / --mint 等），取值已是第 15 档：
     底 暖雪白 #FCF8FA ／ 主色 紫红(桑葚) #A63C8C ／ 辅助 青碧 #1C8A8F
     CTA 青碧渐变 ／ 点缀 蜜杏 #F2A65A ／ 页脚 深青墨 #0F2B2C
   第 15 档换掉的三维：主色相（首次落在紫红/洋红区）、CTA 底字关系（首次青碧底白字）、
   Logo 母题（首次用圆框眼镜 + 镜中星）。
   ============================================================ */

:root {
  --taro: #A63C8C;          /* 第 15 档主色：紫红（桑葚） */
  --taro-d: #7A2666;
  --taro-dd: #4E1741;
  --taro-l: #F7E5F3;
  --coral: #1C8A8F;         /* 第 15 档辅助：青碧（交互 / 链接 / 选中） */
  --coral-d: #12666B;
  --coral-l: #DFF2F1;
  --mint: #4FC9B6;          /* CTA 起色 */
  --mint-d: #0F6E70;
  --amber: #F2A65A;         /* 点缀：蜜杏 */
  --star: #E09A2E;          /* 评分星 */
  --ink: #231B22;
  --ink-2: #57505A;
  --muted: #8E8794;
  --line: #F0E5EC;
  --bg: #FCF8FA;
  --card: #FFFFFF;
  --deep: #0F2B2C;
  --deep-tx: #C4D8D6;
  --cta: linear-gradient(135deg, #4FC9B6, #1E9A8E 52%, #0F6E70);
  --shadow-s: 0 2px 10px rgba(78, 23, 65, .06);
  --shadow-m: 0 12px 30px rgba(78, 23, 65, .10);
  --shadow-l: 0 22px 52px rgba(78, 23, 65, .16);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.78;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral-d); text-decoration: none; }
a:hover { color: var(--taro); }

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 7px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- 顶部导航 ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(252, 248, 250, .94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 26px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img {
  width: 40px; height: 40px; border-radius: 11px;
  box-shadow: var(--shadow-s);
}
.brand-name {
  font-size: 19px; font-weight: 800; letter-spacing: .5px;
  color: var(--taro-d); white-space: nowrap;
}
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  padding: 8px 13px; border-radius: 999px; font-size: 15px;
  color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { background: var(--taro-l); color: var(--taro-d); }
.nav a.on { background: var(--taro); color: #fff; }
.topbar .btn { flex: none; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--cta); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: .4px;
  box-shadow: 0 10px 22px rgba(15, 110, 112, .26);
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 110, 112, .32); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sm { padding: 9px 18px; font-size: 14.5px; box-shadow: 0 8px 18px rgba(15, 110, 112, .22); }
.btn.ghost {
  background: #fff; color: var(--taro-d);
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.btn.ghost:hover { color: var(--taro); border-color: var(--taro); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, #FDF4FA, #F5EEFB 44%, #E8F6F4);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 360px at 12% 8%, rgba(166, 60, 140, .20), transparent 70%),
    radial-gradient(500px 340px at 88% 22%, rgba(28, 138, 143, .20), transparent 72%),
    radial-gradient(420px 300px at 62% 98%, rgba(242, 166, 90, .18), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(166, 60, 140, .16) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
}
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 46px;
  align-items: center; padding: 62px 0 66px;
}
.hero h1 {
  font-size: 52px; line-height: 1.18; letter-spacing: 1px;
  color: var(--taro-dd); margin-bottom: 16px;
}
.hero-lead {
  font-size: 17px; color: var(--ink-2); max-width: 560px; margin-bottom: 22px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 26px;
  font-size: 14.5px; color: var(--ink-2);
}
.hero-meta i {
  display: inline-flex; width: 17px; height: 17px; margin-right: 6px;
  color: var(--coral-d); vertical-align: -3px;
}
.hero-meta i svg { width: 17px; height: 17px; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-vis { display: flex; justify-content: center; }
.phone {
  position: relative; width: 268px; flex: none;
  padding: 11px; border-radius: 36px;
  background: linear-gradient(160deg, #3A1230, #1B2F35);
  box-shadow: 0 0 0 1px rgba(122, 38, 102, .18), 0 26px 54px rgba(122, 38, 102, .28);
}
.phone::after {
  content: ""; position: absolute; left: 50%; top: 16px; transform: translateX(-50%);
  width: 62px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .55);
}
.phone img { width: 100%; height: auto; border-radius: 26px; }
.hero-chip {
  position: absolute; left: -26px; bottom: 26px;
  background: #fff; border-radius: var(--r-m); padding: 11px 15px;
  box-shadow: var(--shadow-m); font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.hero-chip b { display: block; color: var(--taro-d); font-size: 15px; }

/* ---------------- 信任条 ---------------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 20px 0;
}
.trust div { text-align: center; padding: 6px 4px; }
.trust b { display: block; font-size: 20px; color: var(--taro-d); letter-spacing: .5px; }
.trust span { font-size: 13.5px; color: var(--muted); }
.trust .stars { color: var(--star); font-size: 15px; letter-spacing: 2px; }

/* ---------------- 区块 ---------------- */
.sec { padding: 62px 0; }
.sec.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 780px; margin: 0 0 30px; }
.sec-head h2 { font-size: 30px; color: var(--taro-dd); letter-spacing: .5px; }
.sec-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- 功能卡 ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 22px 22px 20px; box-shadow: var(--shadow-s);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.card .ico {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--taro-l); color: var(--taro);
}
.card:nth-child(3n+2) .ico { background: var(--coral-l); color: var(--coral-d); }
.card:nth-child(3n+3) .ico { background: #FDF0E1; color: #B9701F; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; color: var(--taro-dd); margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------------- 预览栅格 ---------------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 12px; box-shadow: var(--shadow-s);
}
.shot img {
  width: 100%; height: auto; border-radius: var(--r-s);
  box-shadow: 0 0 0 1px rgba(240, 229, 236, .9);
}
.shot figcaption { margin: 10px 2px 2px; font-size: 14px; color: var(--ink-2); }
.shot figcaption b { color: var(--taro-d); }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 14px; box-shadow: var(--shadow-s);
}
.figure img { width: 100%; height: auto; border-radius: var(--r-s); }
.figure figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.figure figcaption b { color: var(--taro-d); }

/* ---------------- 深度内容入口 ---------------- */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.entry {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 20px; box-shadow: var(--shadow-s);
  transition: transform .16s ease, box-shadow .16s ease;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.entry span { font-size: 12.5px; letter-spacing: 1px; color: var(--coral-d); }
.entry h3 { font-size: 18px; color: var(--taro-dd); margin: 6px 0 8px; }
.entry p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------------- 评价 ---------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 22px; box-shadow: var(--shadow-s);
}
.quote .stars { color: var(--star); font-size: 15px; letter-spacing: 2px; }
.quote p { font-size: 15px; color: var(--ink-2); margin: 12px 0 16px; }
.quote .who { font-size: 14px; color: var(--muted); }
.quote .who b { color: var(--taro-d); }

/* ---------------- FAQ ---------------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details.qa {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 15px 18px; box-shadow: var(--shadow-s);
}
details.qa summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--taro-dd);
  list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before { content: "＋"; color: var(--coral); margin-right: 8px; font-weight: 700; }
details.qa[open] summary::before { content: "－"; }
details.qa p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }

/* ---------------- CTA 条 ---------------- */
.cta {
  background: linear-gradient(135deg, #4E1741, #7A2666 46%, #12666B);
  color: #fff; border-radius: var(--r-l); padding: 42px 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  box-shadow: var(--shadow-l);
}
.cta h2 { font-size: 28px; color: #fff; }
.cta p { margin: 8px 0 0; color: rgba(255, 255, 255, .86); font-size: 15.5px; max-width: 620px; }
.cta .btn {
  margin-left: auto; background: #fff; color: var(--taro-d);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
}
.cta .btn:hover { color: var(--taro); }
.cta .cta-tx { flex: 1 1 420px; }

/* ---------------- 内页头 ---------------- */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: linear-gradient(158deg, #FDF4FA, #F5EEFB 44%, #E8F6F4);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(460px 300px at 10% 0%, rgba(166, 60, 140, .17), transparent 70%),
    radial-gradient(440px 280px at 92% 84%, rgba(28, 138, 143, .17), transparent 72%);
}
.page-hero-in { position: relative; z-index: 2; padding: 40px 0 46px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--coral-d); }
.page-hero h1 { font-size: 38px; color: var(--taro-dd); margin-bottom: 14px; letter-spacing: .5px; }
.page-hero .lead { font-size: 16.5px; color: var(--ink-2); max-width: 800px; margin: 0; }

/* ---------------- 正文 ---------------- */
.article { max-width: 900px; }
.article h2 { font-size: 25px; color: var(--taro-dd); margin: 40px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18.5px; color: var(--taro-d); margin: 26px 0 10px; }
.article p { font-size: 16px; color: var(--ink-2); }
.article ul, .article ol { font-size: 16px; color: var(--ink-2); }
.article strong { color: var(--ink); }
.note {
  background: var(--coral-l); border-left: 4px solid var(--coral);
  border-radius: 0 var(--r-s) var(--r-s) 0; padding: 14px 18px; margin: 18px 0;
  font-size: 15.5px; color: #124A4E;
}
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative; padding: 16px 18px 16px 62px; margin-bottom: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-s);
  box-shadow: var(--shadow-s); font-size: 15.5px; color: var(--ink-2);
}
.steps li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 18px; top: 15px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--taro-l); color: var(--taro-d);
  font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.steps li b { display: block; color: var(--taro-dd); font-size: 16px; margin-bottom: 4px; }
.tablewrap { overflow-x: auto; margin: 20px 0; }
table.kv { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
table.kv th, table.kv td {
  border: 1px solid var(--line); padding: 11px 14px; text-align: left; color: var(--ink-2);
}
table.kv th { background: var(--taro-l); color: var(--taro-d); font-weight: 700; white-space: nowrap; }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--deep); color: var(--deep-tx); margin-top: 0; }
.footer-in {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px;
  padding: 46px 0 26px;
}
.footer h3 { font-size: 16px; color: #fff; margin-bottom: 12px; }
.footer p, .footer li { font-size: 14.5px; color: var(--deep-tx); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a { color: var(--deep-tx); }
.footer a:hover { color: #fff; }
.footer .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer .fbrand img { width: 36px; height: 36px; border-radius: 10px; }
.footer .fbrand b { color: #fff; font-size: 17px; letter-spacing: .5px; }
.footer .copy {
  border-top: 1px solid rgba(196, 216, 214, .18);
  padding: 16px 0 26px; font-size: 13.5px; color: #9FBDBB; line-height: 1.8;
}

/* ---------------- 渐显 ---------------- */
.reveal { transition: opacity .5s ease, transform .5s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 断点 1：≤980 ---------------- */
@media (max-width: 980px) {
  .topbar-in { flex-wrap: wrap; gap: 12px; padding: 10px 0; }
  .nav { order: 3; width: 100%; margin-left: 0; }
  .topbar .btn { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 46px; }
  .hero h1 { font-size: 40px; }
  .hero-vis { order: 2; }
  .hero-chip { left: auto; right: -6px; bottom: 14px; }
  .cards, .entries, .quotes { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .cta { padding: 32px 24px; }
  .cta .btn { margin-left: 0; }
  .sec { padding: 46px 0; }
  .sec-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 31px; }
}

/* ---------------- 断点 2：≤620 ---------------- */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 16px; }
  .phone { width: 232px; }
  .hero-chip { right: -4px; bottom: 8px; padding: 9px 12px; font-size: 12.5px; }
  .cards, .entries, .quotes, .shots { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .trust b { font-size: 17px; }
  .sec { padding: 36px 0; }
  .sec-head h2 { font-size: 22px; }
  .page-hero h1 { font-size: 25px; }
  .cta { padding: 26px 18px; border-radius: var(--r-m); }
  .cta h2 { font-size: 22px; }
  .cta .btn { width: 100%; justify-content: center; }
  .footer-in { grid-template-columns: 1fr; gap: 22px; }
  .article h2 { font-size: 21px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
}
