/* ============================================================
   contact.css — 联系我们页样式（牛仔裤复古风 · 联络台布局）
   ============================================================ */

/* ---------- 模块1：页头 Hero ---------- */
.ct-hero {
  padding: 140px 0 84px;
  position: relative; overflow: hidden;
}
.ct-hero::before {
  content: ""; position: absolute; left: -100px; bottom: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 2px dashed rgba(233,220,195,.22);
  pointer-events: none;
}
.ct-hero-num { right: 40px; top: 120px; font-size: 130px; }
.ct-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.ct-hero .crumbs { margin-bottom: 18px; }
.ct-hero .crumbs a { color: rgba(250,246,238,.8); }
.ct-hero .crumbs .sep { color: rgba(250,246,238,.45); }
.ct-hero .crumbs span { color: var(--stitch); }
.ct-hero-tag { margin-bottom: 18px; }
.ct-hero h1 {
  font-size: clamp(30px, 4.6vw, 48px); line-height: 1.3;
  color: var(--paper-100); letter-spacing: 2px;
}
.ct-hero h1 em { font-style: normal; color: var(--stitch); }
.ct-hero-sub {
  margin-top: 18px; color: rgba(250,246,238,.85);
  max-width: 640px; line-height: 2;
}
.ct-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.ct-hero-cta svg { width: 16px; height: 16px; }
.btn-outline--ct { border-color: rgba(250,246,238,.6); color: var(--paper-100); }
.btn-outline--ct:hover { background: var(--paper-100); color: var(--denim-800); }

/* ---------- 模块2：联系方式卡片 ---------- */
.ct-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  align-items: stretch;
}
.ct-card {
  background: var(--paper-100); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 30px 26px 26px;
  position: relative; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ct-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ct-card--brown { background: var(--brown-800); border-color: var(--brown-900); color: var(--stitch); }
.ct-card--brown h3 { color: var(--paper-100); }
.ct-card--brown p { color: rgba(233,220,195,.85); }
.ct-card-ico {
  display: inline-flex; width: 54px; height: 54px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--denim-100); color: var(--denim-700); margin-bottom: 16px;
}
.ct-card--brown .ct-card-ico { background: rgba(233,220,195,.16); color: var(--stitch); }
.ct-card-ico svg { width: 26px; height: 26px; }
.ct-card h3 { font-size: 17px; margin-bottom: 10px; }
.ct-card-main {
  display: block; font-size: 22px; font-weight: 700; color: var(--denim-800);
  letter-spacing: 1px; margin-bottom: 10px; line-height: 1.4;
}
.ct-card-main:hover { color: var(--rust); }
.ct-card-main--plain { font-size: 16px; color: var(--denim-900); font-weight: 600; }
.ct-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 18px; }
.ct-card-tag { font-size: 11px; }

/* ---------- 模块3：常见咨询场景 ---------- */
.ct-scene-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start;
}
.ct-scene-main h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 10px; }
.ct-scene-main h2 em { font-style: normal; color: var(--denim-600); }
.ct-scene-main .lead { color: var(--ink-soft); margin-bottom: 28px; }
.ct-scene-list { display: flex; flex-direction: column; gap: 18px; }
.ct-scene-list li {
  display: flex; gap: 18px; background: var(--paper-100);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px; transition: transform .3s var(--ease), box-shadow .3s;
}
.ct-scene-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.ct-scene-idx {
  font-family: var(--font-serif); font-size: 26px; font-weight: 900;
  color: var(--denim-100); line-height: 1.1; flex: none;
}
.ct-scene-list h3 { font-size: 16.5px; margin-bottom: 6px; }
.ct-scene-list p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 8px; }
.ct-scene-list a { font-size: 13.5px; font-weight: 600; color: var(--denim-700); }
.ct-scene-list a:hover { color: var(--brown-700); }

.ct-scene-aside { position: sticky; top: 96px; }
.ct-scene-note {
  margin-top: 22px; background: var(--paper-300);
  border: 1px dashed var(--brown-400); border-radius: var(--r-sm);
  padding: 20px 22px;
}
.ct-scene-note h3 { font-size: 16px; margin-bottom: 12px; }
.ct-scene-note ul { display: flex; flex-direction: column; gap: 8px; }
.ct-scene-note li {
  font-size: 14px; color: var(--brown-800); padding-left: 18px; position: relative;
}
.ct-scene-note li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 2px; background: var(--rust);
}

/* ---------- 模块4：区县服务点 ---------- */
.ct-county-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ct-county-card {
  background: var(--paper-100); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
  display: block;
}
.ct-county-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ct-county-card img { height: 180px; width: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ct-county-card:hover img { transform: scale(1.05); }
.ct-county-body { padding: 18px 20px 20px; }
.ct-county-body h3 { font-size: 18px; margin-bottom: 6px; color: var(--denim-900); }
.ct-county-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 10px; }
.ct-county-more { font-size: 13px; font-weight: 600; color: var(--denim-700); }
.ct-county-card:hover .ct-county-more { color: var(--rust); }
.ct-county-other {
  margin-top: 24px; font-size: 14px; color: var(--ink-soft);
  border-left: 3px solid var(--denim-500); padding-left: 14px;
}
.ct-county-other a { color: var(--denim-700); font-weight: 600; }

/* ---------- 模块5：位置说明 ---------- */
.ct-map { color: var(--paper-100); }
.ct-map .kicker--light { color: var(--stitch); }
.ct-map-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.ct-map-text h2 { color: var(--paper-100); font-size: clamp(24px, 3vw, 34px); margin: 8px 0 18px; }
.ct-map-text h2 em { font-style: normal; color: var(--stitch); }
.ct-map-address {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(250,246,238,.08); border: 1px dashed rgba(233,220,195,.4);
  border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 16px;
  font-style: normal; font-size: 15.5px; color: var(--paper-100);
}
.ct-map-address svg { width: 20px; height: 20px; flex: none; color: var(--stitch); margin-top: 2px; }
.ct-map-text > p { color: rgba(250,246,238,.85); font-size: 14.5px; line-height: 2; margin-bottom: 16px; }
.ct-map-notes { display: flex; flex-direction: column; gap: 8px; }
.ct-map-notes li {
  font-size: 14px; color: rgba(250,246,238,.85); padding-left: 18px; position: relative;
}
.ct-map-notes li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 2px; background: var(--stitch);
}

.ct-map-box {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid rgba(233,220,195,.3);
}
.ct-map-grid-lines {
  position: relative; height: 320px;
  background:
    linear-gradient(rgba(233,220,195,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,220,195,.12) 1px, transparent 1px),
    rgba(250,246,238,.05);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.ct-map-pin {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--rust); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  animation: ct-pin 2.6s ease-in-out infinite;
}
.ct-map-pin svg { width: 26px; height: 26px; }
@keyframes ct-pin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.ct-map-grid-lines p { color: var(--stitch); font-size: 15px; letter-spacing: 1px; }
.ct-map-grid-lines small { color: rgba(250,246,238,.7); }

/* ---------- 模块6：接待时间 ---------- */
.ct-hours-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.ct-hours-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper-100); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 24px;
  border-left: 4px solid var(--denim-600);
}
.ct-hours-ico {
  flex: none; width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--denim-100); color: var(--denim-700);
  display: flex; align-items: center; justify-content: center;
}
.ct-hours-ico svg { width: 23px; height: 23px; }
.ct-hours-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.ct-hours-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.ct-hours-item a { color: var(--denim-700); font-weight: 600; }

/* ---------- 模块7：CTA ---------- */
.ct-cta-box {
  background: var(--denim-800); color: var(--paper-100);
  border-radius: var(--r-lg); text-align: center;
  padding: 54px 30px; position: relative; overflow: hidden;
}
.ct-cta-box::before {
  content: ""; position: absolute; left: -70px; bottom: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 2px dashed rgba(233,220,195,.22);
}
.ct-cta-box h2 { color: var(--paper-100); font-size: clamp(23px, 3vw, 32px); margin: 18px 0 12px; }
.ct-cta-box h2 em { font-style: normal; color: var(--stitch); }
.ct-cta-box p { color: rgba(250,246,238,.85); max-width: 580px; margin: 0 auto; line-height: 1.9; }
.ct-cta-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .ct-cards-grid { grid-template-columns: 1fr; }
  .ct-scene-grid { grid-template-columns: 1fr; gap: 34px; }
  .ct-scene-aside { position: static; }
  .ct-county-grid { grid-template-columns: 1fr 1fr; }
  .ct-map-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .ct-hero { padding: 120px 0 64px; }
  .ct-county-grid { grid-template-columns: 1fr; }
  .ct-hours-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ct-hero-num { font-size: 80px; top: 100px; }
  .ct-map-grid-lines { height: 240px; }
}
