@charset "utf-8";
/* ==========================================================================
   汗汗漫画 · 站点样式（共享）
   变量名沿用本流水线初版命名，取值已是「汗汗漫画」品牌第 4 档：
     主色 陶土橘红 / 辅色 天青蓝 / 点缀 青柠黄绿 / 底 暖奶白 / Hero 浅色
   与前三档（草青绿+天青 / 湖蓝+薄荷青 / 黄绿+青碧）在色相、底色与 CTA 形态上全部错开。
   ========================================================================== */

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/baloo2.woff2') format('woff2');
}

:root {
  --clay: #E85C3F;
  --clay-d: #BC3F26;
  --clay-dd: #8C2A15;
  --clay-l: #FCE6DF;
  --sky: #2098D8;
  --sky-d: #136C9E;
  --sky-l: #E1F1FA;
  --lime: #B5DC3C;
  --lime-l: #F0F8DA;
  --amber: #E8A93C;
  --ink: #241A15;
  --ink2: #5C4A42;
  --muted: #8E7C73;
  --line: #F0E4DC;
  --bg: #FFFBF6;
  --bg2: #FDF4EE;
  --card: #FFFFFF;
  --foot: #2E1A12;
  --foot-tx: #E3CBBE;
  --wrap: 1160px;
  --r: 16px;
  --shadow: 0 10px 28px rgba(140, 42, 21, .10);
  --shadow-l: 0 18px 44px rgba(140, 42, 21, .14);
}

* { 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', 'WenQuanYi Micro Hei', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sky-d); text-decoration: none; }
a:hover { color: var(--clay-d); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 14px; }
p { margin: 0 0 16px; }

.num, .en { font-family: 'Baloo 2', 'Microsoft YaHei', sans-serif; }

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

/* ── 顶部导航 ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 251, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(10px);
}
.nav__inner {
  display: flex; align-items: center; gap: 18px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 12px rgba(140, 42, 21, .18); }
.brand span { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .4px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  display: block; padding: 8px 13px; border-radius: 10px;
  color: var(--ink2); font-size: 15px; white-space: nowrap;
}
.nav__links a:hover { background: var(--clay-l); color: var(--clay-d); }
.nav__links a.on { color: var(--clay-d); font-weight: 700; background: var(--clay-l); }
.nav__cta { flex: none; }

/* ── 按钮 ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #4FBEE8, #2098D8 54%, #0F6B9C);
  box-shadow: 0 10px 24px rgba(15, 107, 156, .28);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 107, 156, .34); }
.btn--ghost {
  color: var(--clay-d); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--clay-l), 0 6px 16px rgba(140, 42, 21, .07);
}
.btn--ghost:hover { color: var(--clay-dd); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ── Hero（首页主视觉） ─────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(560px 320px at 8% 12%, rgba(232, 92, 63, .16), transparent 70%),
    radial-gradient(520px 300px at 82% 22%, rgba(32, 152, 216, .16), transparent 70%),
    radial-gradient(460px 280px at 62% 96%, rgba(181, 220, 60, .16), transparent 70%),
    linear-gradient(158deg, #FFF7F1, #FBE9E1 44%, #E9F4FB);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(188, 63, 38, .085) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(188, 63, 38, .085) 0 1px, transparent 1px 24px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .45) 46%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .45) 46%, transparent 78%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 350px;
  gap: 44px; align-items: center;
  padding-top: 66px; padding-bottom: 74px;
}
.hero h1 {
  font-size: 46px; font-weight: 800; letter-spacing: .5px;
  color: var(--clay-dd); margin-bottom: 18px;
}
.hero-lead { font-size: 17px; color: var(--ink2); max-width: 560px; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
  background: #fff; color: var(--clay-d);
  font-size: 13.5px; font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(232, 92, 63, .26), 0 4px 12px rgba(140, 42, 21, .07);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--ink2); }
.hero-meta i { color: var(--sky-d); font-style: normal; font-weight: 700; font-family: 'Baloo 2', sans-serif; }
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px; flex: none; padding: 11px; border-radius: 36px; background: #fff;
  box-shadow: 0 0 0 1px rgba(188, 63, 38, .16), 0 24px 54px rgba(120, 60, 40, .22);
}
.phone img { width: 100%; height: auto; border-radius: 26px; }

/* ── 信任条 ─────────────────────────────────────────── */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding-top: 26px; padding-bottom: 26px;
}
.trust__item { text-align: center; }
.trust__item b {
  display: block; font-family: 'Baloo 2', 'Microsoft YaHei', sans-serif;
  font-size: 27px; font-weight: 800; color: var(--clay-d); line-height: 1.2;
}
.trust__item span { font-size: 13.5px; color: var(--muted); }

/* ── 区块通用 ───────────────────────────────────────── */
.sec { padding: 66px 0; }
.sec--tint { background: var(--bg2); }
.sec-head { max-width: 780px; margin-bottom: 34px; }
.sec-head h2 { font-size: 31px; font-weight: 800; color: var(--ink); }
.sec-head p { color: var(--ink2); margin: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px; color: var(--sky-d);
  text-transform: uppercase;
}

/* ── 功能卡 ─────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--r); padding: 26px 24px;
  box-shadow: 0 2px 0 var(--line), 0 10px 26px rgba(140, 42, 21, .06);
}
.card h3 { font-size: 18px; color: var(--ink); margin-bottom: 9px; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink2); }
.ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center;
  background: var(--clay-l);
}
.ico svg { width: 24px; height: 24px; }
.card:nth-child(3n+2) .ico { background: var(--sky-l); }
.card:nth-child(3n) .ico { background: var(--lime-l); }

/* ── 截图栅格 ───────────────────────────────────────── */
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 760px; margin: 0 auto;
}
.shot { margin: 0; }
.shot__frame {
  border-radius: 18px; padding: 7px; background: #fff; max-width: 212px; margin: 0 auto;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(140, 42, 21, .09);
}
.shot img { width: 100%; height: auto; border-radius: 13px; }
.shot figcaption {
  margin: 9px auto 0; font-size: 12.5px; line-height: 1.6; color: var(--ink2);
  text-align: center; max-width: 212px;
}

/* ── 图文行（内页正文用） ───────────────────────────── */
.figure { margin: 0 0 22px; }
.figure__frame {
  border-radius: 18px; padding: 7px; background: #fff; max-width: 228px; margin: 0 auto;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(140, 42, 21, .09);
}
.figure img { width: 100%; height: auto; border-radius: 13px; }
.figure figcaption {
  margin: 9px auto 0; font-size: 12.5px; line-height: 1.6; color: var(--muted);
  text-align: center; max-width: 228px;
}
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; max-width: 560px; }

/* ── 深度内容入口卡 ─────────────────────────────────── */
.entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.entry {
  display: block; background: var(--card); border-radius: var(--r);
  padding: 24px 26px; box-shadow: 0 2px 0 var(--line), 0 10px 26px rgba(140, 42, 21, .06);
  transition: transform .18s ease;
}
.entry:hover { transform: translateY(-3px); }
.entry h3 { font-size: 18px; color: var(--clay-d); margin-bottom: 8px; }
.entry p { margin: 0; font-size: 14.5px; color: var(--ink2); }
.entry span { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--sky-d); font-weight: 700; }

/* ── 评价 ───────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: var(--card); border-radius: var(--r); padding: 24px;
  box-shadow: 0 2px 0 var(--line), 0 10px 26px rgba(140, 42, 21, .06);
}
.review p { font-size: 14.5px; color: var(--ink2); margin-bottom: 14px; }
.who { display: flex; align-items: center; gap: 10px; }
.who b { font-size: 14px; color: var(--ink); }
.who em { font-style: normal; font-size: 12.5px; color: var(--muted); display: block; }
.ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--clay-l); color: var(--clay-d); font-weight: 700; font-size: 15px;
}
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 15px; height: 15px; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 900px; }
details {
  background: var(--card); border-radius: var(--r);
  box-shadow: 0 2px 0 var(--line), 0 8px 22px rgba(140, 42, 21, .05);
  padding: 0 22px;
}
summary {
  list-style: none; cursor: pointer; padding: 17px 0;
  font-size: 16px; font-weight: 700; color: var(--ink);
  display: flex; align-items: flex-start; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; margin-left: auto; flex: none;
  font-family: 'Baloo 2', sans-serif; font-size: 22px; line-height: 1;
  color: var(--clay); font-weight: 700;
}
details[open] summary::after { content: "\2013"; color: var(--sky-d); }
details p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink2); }
.faq-more { margin-top: 22px; }

/* ── 内页横幅 ───────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(480px 260px at 12% 20%, rgba(232, 92, 63, .14), transparent 70%),
    radial-gradient(440px 240px at 86% 78%, rgba(32, 152, 216, .16), transparent 70%),
    linear-gradient(158deg, #FFF8F3, #FCEAE3 52%, #EAF5FB);
}
.page-hero .wrap { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 50px; }
.page-hero h1 { font-size: 36px; font-weight: 800; color: var(--clay-dd); margin-bottom: 14px; }
.page-hero p { max-width: 820px; color: var(--ink2); margin: 0; font-size: 16.5px; }
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumb a { color: var(--sky-d); }

/* ── 正文排版 ───────────────────────────────────────── */
.prose { max-width: 880px; }
.prose h2 { font-size: 25px; margin-top: 40px; color: var(--ink); }
.prose h3 { font-size: 18px; margin-top: 26px; color: var(--clay-d); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink2); }
.prose li { margin-bottom: 8px; font-size: 15px; }
.prose p, .prose li { color: var(--ink2); }
.prose strong { color: var(--ink); }
.note {
  border-left: 4px solid var(--sky);
  background: var(--sky-l); border-radius: 0 12px 12px 0;
  padding: 15px 20px; margin: 0 0 20px; font-size: 14.5px; color: var(--ink2);
}
.note b { color: var(--sky-d); }
.steps { counter-reset: st; padding: 0; list-style: none; margin: 0 0 22px; }
.steps li {
  position: relative; padding: 0 0 20px 52px; margin: 0;
  font-size: 15px; color: var(--ink2); border-left: 2px dashed var(--line);
  margin-left: 17px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: -17px; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #E85C3F, #BC3F26); color: #fff;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 3px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 24px; }
.kv div {
  background: var(--card); border-radius: 14px; padding: 15px 18px;
  box-shadow: 0 2px 0 var(--line);
}
.kv b { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.kv span { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.tag {
  display: inline-block; padding: 3px 11px; border-radius: 999px; margin: 0 6px 8px 0;
  background: var(--lime-l); color: #55701A; font-size: 13px;
}

/* ── CTA 段 ─────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #E85C3F, #BC3F26 58%, #8C2A15); }
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .09);
}
.cta__inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  padding-top: 48px; padding-bottom: 48px;
}
.cta h2 { font-size: 27px; color: #fff; margin: 0; flex: 1 1 320px; }
.cta p { color: rgba(255, 255, 255, .86); margin: 6px 0 0; font-size: 14.5px; }
.cta .btn--primary {
  background: #fff; color: var(--clay-d);
  box-shadow: 0 12px 26px rgba(60, 10, 0, .26);
}
.cta .btn--primary:hover { color: var(--clay-dd); }

/* ── 页脚 ───────────────────────────────────────────── */
.foot { background: var(--foot); color: var(--foot-tx); padding: 44px 0 30px; font-size: 14px; }
.foot a { color: var(--lime); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot p { color: var(--foot-tx); margin: 0 0 10px; line-height: 1.8; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot__brand img { width: 34px; height: 34px; border-radius: 9px; }
.foot__brand b { color: #fff; font-size: 17px; }
.disc {
  border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 20px;
  font-size: 13px; color: rgba(227, 203, 190, .82);
}
.copy { margin-top: 10px; font-size: 12.5px; color: rgba(227, 203, 190, .62); }

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

/* ── 断点 ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; padding-bottom: 52px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { justify-content: flex-start; margin-top: 6px; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .shot__frame, .shot figcaption { max-width: 200px; }
  .entries { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .sec { padding: 52px 0; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .nav__inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .nav__links {
    order: 3; width: 100%; margin-left: 0; justify-content: space-between;
    gap: 0; overflow-x: auto;
  }
  .nav__links a { padding: 7px 8px; font-size: 13.5px; white-space: nowrap; }
  .nav__cta { margin-left: auto; }
  .brand span { font-size: 17px; }
  .hero h1 { font-size: 29px; }
  .hero-lead { font-size: 15.5px; }
  .phone { width: 250px; }
  .cards, .reviews, .duo { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shot__frame, .shot figcaption { max-width: 152px; }
  .shot figcaption { font-size: 11.5px; }
  .figure__frame, .figure figcaption { max-width: 172px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr; gap: 22px; }
  .sec { padding: 44px 0; }
  .sec-head h2 { font-size: 25px; }
  .page-hero h1 { font-size: 25px; }
  .page-hero p { font-size: 15px; }
  .prose h2 { font-size: 21px; }
  .kv { grid-template-columns: 1fr; }
  .cta h2 { font-size: 22px; }
}
