/* 黄页网站 · 原创城市服务索引主题 */
:root {
  --ink:#202631;
  --muted:#67717f;
  --line:#e8e9e8;
  --yellow:#ffc83d;
  --yellow-soft:#fff5d8;
  --paper:#faf9f5;
  --white:#fff;
  --navy:#1f2a3c;
  --radius:20px;
  --shadow:0 18px 50px rgba(35,41,50,.065)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif
}

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

button,input {
  font:inherit
}

button {
  cursor:pointer
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid #eaa700;
  outline-offset:3px
}

.container {
  width:min(1180px,calc(100% - 40px));
  margin:auto
}

.topline {
  height:5px;
  background:linear-gradient(90deg,#ffd74f 0 42%,#25304a 42% 100%)
}

.header {
  background:#fff;
  border-bottom:1px solid var(--line)
}

.navrow {
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex-shrink:0
}

.brandmark {
  width:43px;
  height:43px;
  border-radius:12px;
  background:var(--yellow);
  display:grid;
  place-items:center;
  color:#253047;
  font-size:26px;
  font-weight:900
}

.brandstrong {
  font-size:21px;
  font-weight:850;
  letter-spacing:.3px
}

.brand small {
  display:block;
  font-size:10px;
  line-height:1.1;
  color:var(--muted);
  letter-spacing:2px
}

.navlinks {
  display:flex;
  gap:30px;
  align-items:center
}

.navlinks a {
  font-size:14px;
  font-weight:650;
  color:#515966
}

.navlinks a:hover,.textlink:hover {
  color:#bf8600
}

.navaction {
  font-weight:700;
  background:var(--navy);
  border-radius:100px;
  color:white;
  padding:9px 19px;
  font-size:13px
}

.hero {
  position:relative;
  padding:66px 0 70px;
  overflow:hidden;
  background:radial-gradient(circle at 82% 8%,#fff2c5,transparent 33%),linear-gradient(110deg,#fffaf0,#fff 60%,#f6f8fb)
}

.hero-grid {
  display:grid;
  grid-template-columns:1.04fr .96fr;
  gap:45px;
  align-items:center
}

.eyebrow {
  font-size:13px;
  font-weight:800;
  letter-spacing:2px;
  color:#a5791a
}

.hero h1 {
  font-size:clamp(38px,4.4vw,61px);
  line-height:1.24;
  letter-spacing:-1.3px;
  margin:18px 0 18px;
  font-weight:900
}

.hero h1 em {
  font-style:normal;
  box-shadow:inset 0 -15px 0 #ffe48e
}

.hero p {
  color:#616976;
  max-width:570px;
  font-size:16px;
  line-height:1.95
}

.hero-img {
  width:100%;
  border-radius:27px;
  box-shadow:var(--shadow);
  display:block;
  aspect-ratio:1.55;
  object-fit:cover
}

.search {
  display:flex;
  background:#fff;
  align-items:center;
  border:1px solid #e1e3e7;
  padding:7px;
  box-shadow:0 14px 36px rgba(43,45,51,.09);
  border-radius:14px;
  margin-top:29px;
  max-width:610px
}

.search input {
  border:0;
  outline:0;
  flex:1;
  min-width:0;
  padding:10px 14px;
  background:transparent
}

.search button {
  background:var(--yellow);
  color:var(--ink);
  padding:11px 24px;
  border-radius:10px;
  border:0;
  font-weight:800
}

.hotline {
  margin-top:16px;
  color:#7b7b7b;
  font-size:13px
}

.hotline a {
  color:#624b11;
  font-weight:700;
  margin-right:12px
}

.caption-chip {
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:7px 13px;
  background:#fff7d9;
  border:1px solid #f4e4a3;
  border-radius:99px;
  font-size:12px;
  color:#775812;
  font-weight:750
}

.hero-visual {
  position:relative
}

.floating {
  position:absolute;
  right:-10px;
  bottom:-17px;
  background:#fff;
  border:1px solid #f0e9d8;
  border-radius:13px;
  padding:13px 16px;
  box-shadow:var(--shadow);
  font-weight:800;
  font-size:13px
}

.floating b {
  color:#d39800
}

.section {
  padding:72px 0
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:27px
}

.overline {
  color:#be921f;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
  font-weight:800
}

.section h2,.page h1 {
  font-size:clamp(27px,3.2vw,40px);
  line-height:1.34;
  margin:6px 0 10px;
  font-weight:850
}

.section-head p,.lead {
  color:var(--muted);
  margin:0
}

.textlink {
  font-size:14px;
  font-weight:750
}

.cat-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px
}

.cat-card {
  display:block;
  background:#fff;
  border:1px solid #e9e8e3;
  padding:25px 23px;
  border-radius:20px;
  transition:transform .2s,box-shadow .2s;
  min-height:230px
}

.cat-card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow)
}

.cat-icon {
  width:53px;
  height:53px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:var(--soft);
  color:var(--accent);
  font-size:29px;
  font-weight:800
}

.cat-card h3 {
  font-size:20px;
  margin:16px 0 4px
}

.cat-card p {
  color:#80848c;
  font-size:13px;
  line-height:1.8;
  margin:0
}

.cat-arrow {
  display:flex;
  justify-content:space-between;
  margin-top:16px;
  color:#777;
  font-size:12px
}

.cat-arrow strong {
  font-size:18px;
  color:#c0911b
}

.band {
  background:#202d43;
  color:#fff;
  padding:43px 0
}

.band-layout {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:25px
}

.band-item {
  padding:8px 26px;
  border-right:1px solid #4a5566
}

.band-item:first-child {
  padding-left:0
}

.band-item:last-child {
  border-right:0
}

.band-item b {
  display:block;
  font-size:18px;
  color:#ffdd77;
  margin-bottom:5px
}

.band-item p {
  margin:0;
  color:#d0d4db;
  font-size:13px
}

.feature-grid {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px
}

.feature-card {
  padding:32px;
  background:#ffefb6;
  border-radius:23px;
  min-height:280px;
  position:relative;
  overflow:hidden
}

.feature-card h3 {
  font-size:28px;
  margin:12px 0
}

.feature-card p {
  max-width:390px;
  color:#6f603d
}

.feature-card::after {
  content:'↗';
  font-size:180px;
  position:absolute;
  right:20px;
  bottom:-80px;
  color:#e8c65a;
  line-height:1
}

.feature-card.secondary {
  background:#e8edf5
}

.feature-card.secondary::after {
  color:#d0dae9
}

.article-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px
}

.article {
  display:block;
  background:#fff;
  border:1px solid var(--line);
  padding:24px;
  border-radius:18px
}

.article:hover {
  border-color:#dba51c;
  box-shadow:var(--shadow)
}

.article small {
  font-size:12px;
  color:#b18617;
  font-weight:800
}

.article h3 {
  font-size:18px;
  line-height:1.45;
  margin:9px 0
}

.article p {
  font-size:13px;
  color:#7b8290;
  margin:0
}

.article .more {
  font-size:13px;
  color:#566170;
  margin-top:20px;
  font-weight:800
}

.light-section {
  background:#fff
}

.faq {
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:40px
}

.faq details {
  border-bottom:1px solid var(--line);
  padding:17px 0
}

.faq summary {
  cursor:pointer;
  font-weight:750
}

.faq details p {
  color:var(--muted);
  margin-bottom:4px
}

.footer {
  background:#1b2636;
  color:#c9d0d9;
  padding:55px 0 23px
}

.footergrid {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:40px
}

.footer h3 {
  color:#fff;
  margin:0 0 13px
}

.footer p,.footer a {
  font-size:13px;
  line-height:2
}

.footer a {
  display:block
}

.footer a:hover {
  color:#ffdf75
}

.footbar {
  border-top:1px solid #394456;
  padding-top:19px;
  margin-top:35px;
  color:#9ba5b3;
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:15px
}

.page {
  padding:50px 0 80px;
  min-height:55vh
}

.crumb {
  font-size:13px;
  color:#7a808b;
  margin-bottom:29px
}

.crumb a {
  color:#596272
}

.pagehead {
  padding:35px;
  border-radius:23px;
  background:linear-gradient(115deg,#fff5d5,#fff);
  border:1px solid #f2e7c7;
  margin-bottom:26px
}

.pagehead p {
  color:#666f79;
  max-width:760px
}

.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:28px
}

.prose {
  background:#fff;
  border:1px solid var(--line);
  padding:36px;
  border-radius:20px
}

.prose h2 {
  font-size:23px;
  margin:26px 0 9px
}

.prose p {
  color:#596270;
  line-height:2.05
}

.prose ul {
  color:#596270;
  line-height:2.15;
  padding-left:22px
}

.side {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  align-self:start
}

.side h2 {
  font-size:19px
}

.side a {
  display:block;
  border-bottom:1px solid #eee;
  padding:11px 0;
  font-size:14px;
  color:#4f5966
}

.side a:last-child {
  border-bottom:0
}

.notice {
  background:#fff8e5;
  border:1px solid #f2e5bc;
  border-radius:14px;
  padding:17px;
  color:#745b29;
  font-size:14px
}

.empty {
  display:none;
  background:#fff7dd;
  border-radius:12px;
  padding:17px;
  margin-top:16px;
  color:#6d5e37
}

.result-item {
  display:block;
  border-bottom:1px solid #eee;
  padding:15px 0
}

.result-item strong {
  display:block
}

.result-item small {
  color:#777
}

.results {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px 28px
}

.footer-note {
  font-size:12px;
  color:#7e8793
}

.skip {
  position:absolute;
  left:-999px;
  top:5px
}

.skip:focus {
  left:10px;
  background:#fff;
  padding:8px;
  z-index:999
}

@media(max-width:900px) {
  .cat-grid {
    grid-template-columns:repeat(2,1fr)
  }

  .hero-grid {
    grid-template-columns:1fr
  }

  .hero {
    padding:46px 0
  }

  .hero-visual {
    max-width:680px
  }

  .navlinks {
    gap:13px
  }

  .feature-grid,.detail-layout {
    grid-template-columns:1fr
  }

  .article-grid {
    grid-template-columns:repeat(2,1fr)
  }

}

@media(max-width:600px) {
  .container {
    width:min(100% - 28px,1180px)
  }

  .navrow {
    flex-wrap:wrap;
    padding:12px 0
  }

  .navlinks {
    width:100%;
    overflow:auto;
    white-space:nowrap;
    padding-bottom:7px
  }

  .navaction {
    display:none
  }

  .hero h1 {
    font-size:37px
  }

  .hero-img {
    border-radius:16px
  }

  .floating {
    right:5px;
    bottom:-11px
  }

  .cat-grid,.article-grid,.feature-grid,.faq,.band-layout,.footergrid {
    grid-template-columns:1fr
  }

  .band-item {
    border-right:0;
    border-bottom:1px solid #4a5566;
    padding:10px 0
  }

  .band-item:last-child {
    border:0
  }

  .cat-card {
    min-height:0
  }

  .section {
    padding:51px 0
  }

  .section-head {
    align-items:start;
    flex-direction:column
  }

  .feature-card {
    min-height:220px
  }

  .prose {
    padding:24px
  }

  .pagehead {
    padding:24px
  }

  .footbar {
    flex-direction:column
  }

}

/* 首页独立调整：主视觉节奏与移动端换行 */
.hero-eyebrow { margin-top: 23px; }
.hero h1 { overflow-wrap: anywhere; }
.navlinks a[aria-current="page"] { color: #a16d00; }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(29px, 8vw, 37px); }
  .search { flex-wrap: wrap; }
  .search input { flex-basis: 100%; }
  .search button { width: 100%; }
  .hero-eyebrow { margin-top: 16px; }
}
