/* 雅安雨城除甲醛站 · 样式表
   目标：移动端优先（本地服务搜索 70%+ 来自手机）、加载快、无框架依赖 */

:root {
  --teal-900: #0b3d3a;
  --teal-800: #0f544f;
  --teal-700: #0f766e;
  --teal-600: #14867c;
  --teal-100: #d6efec;
  --teal-50: #f0f9f8;
  --sand-100: #f7f5f1;
  --sand-200: #ece7df;
  --ink-900: #1c2321;
  --ink-700: #3d4745;
  --ink-500: #6b7674;
  --line: #e2ddd4;
  --white: #fff;
  --amber-600: #b45309;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 30, 28, .06), 0 8px 24px rgba(16, 30, 28, .06);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 3.6vw, 1.7rem); font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-800); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 4px; }

/* ── 头部 ── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark {
  background: var(--teal-700); color: #fff; font-weight: 800;
  font-size: .82rem; padding: 7px 10px; border-radius: 9px; letter-spacing: .04em; white-space: nowrap;
}
.brand-text strong { display: block; font-size: .96rem; line-height: 1.25; }
.brand-text small { display: block; font-size: .76rem; color: var(--ink-500); }

.site-nav { display: none; gap: 20px; }
.site-nav a { color: var(--ink-700); text-decoration: none; font-size: .92rem; font-weight: 600; }
.site-nav a:hover { color: var(--teal-700); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; text-align: center; line-height: 1.2;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: scale(.97); }
.btn-tel {
  display: flex; flex-direction: column; align-items: center;
  background: var(--teal-700); color: #fff; padding: 7px 16px;
}
.btn-tel:hover { background: var(--teal-800); color: #fff; }
.tel-label { font-size: .66rem; opacity: .85; line-height: 1.2; }
.tel-num { font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; }
.btn-tel-big {
  background: var(--teal-700); color: #fff;
  padding: 15px 34px; font-size: 1.12rem;
  box-shadow: 0 6px 20px rgba(15, 118, 110, .28);
}
.btn-tel-big:hover { background: var(--teal-800); color: #fff; }
.btn-ghost { border: 2px solid var(--teal-700); color: var(--teal-700); padding: 13px 30px; font-size: 1rem; }
.btn-ghost:hover { background: var(--teal-50); }

/* ── 面包屑 ── */
.crumb {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin: 0; padding: 16px 0 0;
  font-size: .84rem; color: var(--ink-500);
}
.crumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumb a { color: var(--ink-500); text-decoration: none; }
.crumb a:hover { color: var(--teal-700); text-decoration: underline; }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(120% 90% at 8% 0%, var(--teal-100) 0%, transparent 58%),
    linear-gradient(178deg, var(--teal-50), var(--white) 70%);
  padding: 44px 0 40px; border-bottom: 1px solid var(--line);
}
.hero h1 { color: var(--teal-900); max-width: 20ch; }
.hero-sub { font-size: clamp(1rem, 2.6vw, 1.14rem); color: var(--ink-700); max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 24px 0 0; }
.cta-tip { font-size: .88rem; color: var(--ink-500); }
.hero-facts {
  list-style: none; margin: 34px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr);
}
.hero-facts strong { display: block; font-size: clamp(1.3rem, 4.4vw, 1.75rem); color: var(--teal-800); line-height: 1.15; }
.hero-facts span { font-size: .82rem; color: var(--ink-500); }

/* ── 区块 ── */
.section { padding: 46px 0; }
.section-alt { background: var(--sand-100); }
.section-lead { color: var(--ink-700); max-width: 62ch; margin-bottom: 30px; }

.grid { display: grid; gap: 16px; }
.grid-scenes { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.grid-regions { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
.grid-promises { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .35em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-target { font-size: .9rem; color: var(--ink-700); margin: 0 0 .7em; }
.card-list { margin: 0 0 1em; padding-left: 1.15em; font-size: .89rem; color: var(--ink-700); }
.card-list li { margin-bottom: .3em; }
.card-meta { font-size: .82rem; color: var(--ink-500); margin: auto 0 0; padding-top: .6em; border-top: 1px solid var(--line); }

.region-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.region-card:hover {
  border-color: var(--teal-600); transform: translateY(-2px);
  box-shadow: var(--shadow); color: inherit;
}
.region-card h3 { margin-bottom: .3em; }
.region-card p { font-size: .87rem; color: var(--ink-700); margin: 0 0 .7em; }
.region-meta { font-size: .78rem; color: var(--ink-500); }

.promise { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.promise h3 { color: var(--teal-800); margin-bottom: .3em; }
.promise p { margin: 0; font-size: .92rem; color: var(--ink-700); }

/* ── 步骤 ── */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.step-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-700); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .88rem;
}
.steps h3 { margin: 0 0 .2em; }
.steps p { margin: 0; font-size: .92rem; color: var(--ink-700); }
.step-note { font-size: .84rem !important; color: var(--ink-500) !important; }

/* ── 正文页 ── */
.page { padding: 34px 0 10px; }
.page-lead { font-size: clamp(1rem, 2.5vw, 1.12rem); color: var(--ink-700); max-width: 60ch; }
.stat-row {
  display: grid; gap: 10px; margin: 26px 0 34px;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}
.stat {
  background: var(--teal-50); border: 1px solid var(--teal-100);
  border-radius: var(--radius); padding: 14px 16px;
}
.stat span { display: block; font-size: .78rem; color: var(--ink-500); }
.stat strong { font-size: 1.02rem; color: var(--teal-900); }

.prose { margin-bottom: 40px; }
.prose h2 {
  padding-left: 13px; border-left: 4px solid var(--teal-600);
  margin-bottom: .7em;
}
.prose p, .prose li { max-width: 68ch; }
.prose strong { color: var(--teal-900); }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: .7em; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600);
}

.note-box {
  background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid var(--amber-600);
  border-radius: 8px; padding: 15px 18px; font-size: .93rem; margin: 1.2em 0 0;
}

.faq { margin: 0; }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq dt { font-weight: 700; font-size: 1.02rem; margin-bottom: .4em; }
.faq dt::before { content: "Q "; color: var(--teal-600); }
.faq dd { margin: 0; color: var(--ink-700); }
.faq dd::before { content: "A "; color: var(--amber-600); font-weight: 700; }

.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  display: inline-block; text-decoration: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: .89rem; color: var(--ink-700);
  transition: border-color .15s ease, color .15s ease;
}
.pill:hover { border-color: var(--teal-600); color: var(--teal-700); }
.pill-strong { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.pill-strong:hover { background: var(--teal-800); color: #fff; }

.grid-scenes-sm { margin-top: 20px; }

/* 分组小标题：服务范围 / 相关服务里的市域分组 */
.group-title {
  font-size: 1rem;
  color: var(--teal-900);
  margin: 26px 0 14px;
  padding-left: 11px;
  border-left: 4px solid var(--teal-600);
}
.sub-label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink-500);
  margin: 18px 0 8px;
  letter-spacing: .02em;
}
.pill-list + .sub-label { margin-top: 22px; }

/* 知识页正文 */
.prose-answer p { font-size: 1.02rem; line-height: 1.85; }
.prose-answer p:first-of-type::first-letter { }
.keypoints {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 26px;
}
.keypoints h2 { border-left: 0; padding-left: 0; margin-bottom: .6em; font-size: 1.05rem; }
.more-link { margin-top: 26px; text-align: center; }
.more-link .btn { display: inline-block; }

/* ── CTA ── */
.cta { background: var(--teal-900); color: #fff; padding: 42px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #cfe6e3; max-width: 52ch; margin-inline: auto; }
.cta-actions { justify-content: center; }
.cta .btn-tel-big { background: var(--amber-600); box-shadow: 0 6px 20px rgba(180, 83, 9, .34); }
.cta .btn-tel-big:hover { background: #92400e; }
.cta-tip { color: #a8ccc8; }

/* ── 页脚 ── */
.site-foot { background: var(--sand-200); padding: 40px 0 28px; font-size: .91rem; }
.foot-grid { display: grid; gap: 26px; }
.foot-grid h3 { font-size: .96rem; color: var(--teal-900); margin-bottom: .4em; }
.foot-grid p { margin: 0 0 .4em; color: var(--ink-700); }
.foot-list { margin: 0; padding-left: 1.1em; color: var(--ink-700); }
.foot-list li { margin-bottom: .25em; }
.foot-note {
  margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .1);
  font-size: .84rem; color: var(--ink-500);
}

/* ── 断点 ── */
@media (min-width: 640px) {
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { gap: 26px; }
}

@media (min-width: 900px) {
  body { font-size: 17.5px; }
  .site-nav { display: flex; }
  .btn-tel { flex-direction: row; gap: 8px; align-items: baseline; padding: 10px 20px; }
  .section { padding: 62px 0; }
  .hero { padding: 62px 0 54px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .grid-regions { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
