/* =========================================================
   联系我们 · 常青版式 v2（全幅深绿 banner + 通道大卡 + 左叙事右表单）
   仅作用于联系页本体；公共顶部/底部与全局令牌见 theme.css
   ========================================================= */

.ct-main { display: block; }

.ct-sec { position: relative; padding: clamp(56px, 6vw, 100px) 0; }
.ct-sec-soft { background: var(--g-mint); }

.container { width: min(var(--g-wrap), calc(100% - 64px)); margin-inline: auto; }

/* ---------- HERO ---------- */
.ct-hero {
  position: relative; isolation: isolate; color: #fff;
  padding: clamp(96px, 12vh, 150px) 0 0; overflow: hidden;
  background: var(--g-deep);
}
.ct-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: var(--ct-hero-img, none) center 40% / cover no-repeat;
}
.ct-hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(13,47,34,.8) 0%, rgba(13,47,34,.62) 46%, rgba(13,47,34,.26) 100%);
}
.ct-hero-in { position: relative; z-index: 1; padding-bottom: clamp(44px, 5vw, 72px); }

.ct-crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 22px; }
.ct-crumb a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.ct-crumb a:hover { color: var(--g-leaf); }
.ct-crumb i { font-style: normal; color: rgba(255,255,255,.34); }

.ct-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--g-leaf);
}
.ct-eyebrow-dark { color: var(--g-green); }

.ct-hero h1 {
  margin: 0; max-width: none; color: #fff;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em;
}
.ct-hero-lead { margin: 18px 0 0; max-width: 62ch; font-size: 15.5px; line-height: 2; color: rgba(255,255,255,.82); }

.ct-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.ct-hero-btns .g-btn-primary { background: #fff; color: var(--g-deep); }
.ct-hero-btns .g-btn-primary:hover { background: var(--g-leaf); color: var(--g-deep); }
.ct-hero-btns .g-btn-primary .fx-ico { width: 18px; height: 18px; }
.ct-hero-btns .g-btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.ct-hero-btns .g-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.ct-hero-stats {
  position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(9, 36, 26, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ct-hero-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 22px 0; }
.ct-hero-stats div { display: flex; align-items: baseline; gap: 10px; }
.ct-hero-stats b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.ct-hero-stats b i { font-style: normal; font-size: .48em; margin-left: 3px; color: var(--g-leaf); }
.ct-hero-stats span { font-size: 12.5px; color: rgba(255,255,255,.66); }

/* ---------- 通道大卡 ---------- */
.ct-sec-head { max-width: 760px; margin-bottom: clamp(28px, 3vw, 44px); }
.ct-sec-head h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 12px; }
.ct-sec-head > p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--g-muted); }

.ct-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-ch {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: var(--g-r-lg); background: #fff; border: 1px solid var(--g-line);
  text-decoration: none; box-shadow: 0 16px 40px -34px rgba(13,47,34,.45);
  transition: transform .3s var(--g-ease), border-color .3s, box-shadow .3s;
}
.ct-ch:hover { transform: translateY(-4px); border-color: rgba(47,125,79,.45); box-shadow: 0 24px 48px -30px rgba(13,47,34,.4); }
.ct-ch-ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--g-mint); color: var(--g-green); flex-shrink: 0;
}
.ct-ch-ico .fx-ico { width: 24px; height: 24px; }
.ct-ch-body { min-width: 0; }
.ct-ch-body b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--g-muted); }
.ct-ch-body strong { display: block; margin-top: 4px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 800; color: var(--g-ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ct-ch-body i { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--g-muted); }
.ct-ch-go {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: var(--g-green);
}
.ct-ch-go .fx-ico { width: 15px; height: 15px; transition: transform .25s var(--g-ease); }
.ct-ch:hover .ct-ch-go .fx-ico { transform: translateX(4px); }

/* ---------- 表单区：左叙事右表单 ---------- */
.ct-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4vw, 64px); align-items: start; }

.ct-form-side { position: sticky; top: 96px; }
.ct-side-title { font-size: clamp(26px, 2.8vw, 38px); margin: 0 0 14px; }
.ct-side-lead { margin: 0 0 30px; font-size: 14.5px; line-height: 1.95; color: var(--g-muted); max-width: 52ch; }

.ct-flow { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 0; }
.ct-flow li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 0 0 26px 0; }
.ct-flow li:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px;
  background: var(--g-mint-2); border-radius: 2px;
}
.ct-flow b {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--g-deep); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; position: relative; z-index: 1;
}
.ct-flow li:nth-child(2) b { background: var(--g-green); }
.ct-flow li:nth-child(3) b { background: var(--g-green-2); }
.ct-flow strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--g-ink); }
.ct-flow em { display: block; margin-top: 3px; font-style: normal; font-size: 13px; color: var(--g-muted); }

.ct-points { list-style: none; margin: 0; padding: 20px 22px; display: grid; gap: 12px; background: #fff; border-radius: var(--g-r); border: 1px solid var(--g-line); }
.ct-points li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--g-text); }
.ct-points .fx-ico { width: 17px; height: 17px; color: var(--g-green); flex-shrink: 0; }

.ct-form-card {
  position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--g-r-lg);
  background: #fff; border: 1px solid var(--g-line); box-shadow: var(--g-shadow); overflow: hidden;
}
.ct-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--g-deep), var(--g-green-2)); }

.ct-form-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--g-green); }
.ct-form-kicker .fx-ico { width: 16px; height: 16px; }
.ct-form-title { margin: 0 0 8px; font-size: clamp(20px, 2vw, 26px); font-weight: 800; }
.ct-form-lead { margin: 0 0 22px; font-size: 13.5px; line-height: 1.8; color: var(--g-muted); }

.ct-form { display: block; }
.ct-fm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-fm-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-fm-wide { grid-column: 1 / -1; }
.ct-fm-field > span { font-size: 12.5px; font-weight: 600; color: #4a5a50; }
.ct-fm-field > span em { color: #d9534f; font-style: normal; margin-left: 2px; }
.ct-fm-field input, .ct-fm-field select, .ct-fm-field textarea {
  width: 100%; padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--g-ink);
  background: #f7faf8; border: 1px solid var(--g-line); border-radius: 11px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.ct-fm-field textarea { resize: vertical; min-height: 96px; }
.ct-fm-field select {
  background-image: linear-gradient(45deg, transparent 50%, #6f8a78 50%), linear-gradient(135deg, #6f8a78 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px;
}
.ct-fm-field input:focus, .ct-fm-field select:focus, .ct-fm-field textarea:focus {
  border-color: var(--g-green); background: #fff; box-shadow: 0 0 0 3px rgba(47,125,79,.14);
}
.ct-fm-extra { margin-top: 14px; }
.ct-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 18px;
  height: 52px; border: 0; border-radius: 999px; background: var(--g-deep); color: #fff;
  font-size: 15.5px; font-weight: 700; letter-spacing: .02em; cursor: pointer;
  box-shadow: 0 16px 32px -16px rgba(13,47,34,.7);
  transition: transform .28s var(--g-ease), background .28s, box-shadow .28s;
}
.ct-submit .fx-ico { width: 17px; height: 17px; }
.ct-submit:hover { transform: translateY(-3px); background: var(--g-green); }
.ct-submit:focus-visible { outline: 3px solid var(--g-leaf); outline-offset: 3px; }
.ct-form-note { display: flex; gap: 9px; margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: var(--g-muted); }
.ct-form-note .fx-ico { width: 15px; height: 15px; flex: 0 0 auto; color: var(--g-green); margin-top: 2px; }

/* ---------- 服务辖区 ---------- */
.ct-geo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center;
  padding: clamp(28px, 3.4vw, 48px); border-radius: var(--g-r-lg);
  background: var(--g-deep); color: #fff; overflow: hidden; position: relative;
}
.ct-geo::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(98,173,123,.24), transparent 68%); pointer-events: none;
}
.ct-geo-head { position: relative; z-index: 1; }
.ct-geo-head h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 12px; }
.ct-geo-head p { margin: 0; font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.72); max-width: 52ch; }
.ct-geo-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ct-geo-chips a {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); text-decoration: none;
  transition: background .22s, border-color .22s, color .22s, transform .22s var(--g-ease);
}
.ct-geo-chips a:hover { background: var(--g-leaf); border-color: var(--g-leaf); color: var(--g-deep); transform: translateY(-2px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-form-side { position: static; }
  .ct-channels { grid-template-columns: 1fr; }
  .ct-geo { grid-template-columns: 1fr; }
  .ct-geo-chips { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .ct-fm-grid { grid-template-columns: 1fr; }
  .ct-hero-stats-in { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .ct-hero-stats div { flex-direction: column; align-items: flex-start; gap: 5px; }
  .ct-hero-stats span { line-height: 1.5; }
  .ct-hero-btns .g-btn { flex: 1 1 100%; justify-content: center; }
  .ct-ch { grid-template-columns: auto 1fr; }
  .ct-ch-go { display: none; }
  body .cs-float { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-ch, .ct-submit, .ct-geo-chips a, .ct-ch-go .fx-ico { transition: none !important; }
}
