/* =============================================================================
   咨询中心 / 联系我们（lists_single_contact.htm）
   依赖：style.css :root 与 .container（与全站同宽）
   ============================================================================= */

.page-contact-center {
  color: var(--zg-text-secondary);
}

.page-contact-center .ct-main {
  padding-top: 0;
}

/* -----------------------------------------------------------------------------
   Hero：全幅 Banner + 底栏面包屑（与师资团队页一致）
   ----------------------------------------------------------------------------- */
.ct-hero {
  position: relative;
}

.ct-hero-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #0a1628;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ct-breadcrumb {
  background: var(--zg-gray-100);
  border-bottom: 1px solid var(--zg-border);
}

.ct-breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 12px 0 13px;
  font-size: 13px;
  color: var(--zg-text-muted);
}

.ct-bc-link {
  color: var(--zg-text-secondary);
  transition: color 0.2s;
}

.ct-bc-link:hover {
  color: var(--zg-blue);
}

.ct-bc-sep {
  color: #b0b6bf;
}

.ct-bc-current {
  color: var(--zg-text);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   主内容
   ----------------------------------------------------------------------------- */
.ct-page-bg {
  background: linear-gradient(180deg, #e8ecf1 0%, #e2e7ee 40%, #dfe5ec 100%);
  padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 8vw, 88px);
}

.ct-intro {
  border-left: 4px solid var(--zg-blue);
}

.ct-intro-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--zg-text-muted);
  line-height: 1.5;
}

.ct-intro-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--zg-text);
  line-height: 1.25;
}

.ct-intro-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--zg-text-secondary);
}

.ct-card--contact {
  padding: clamp(22px, 3.2vw, 36px) clamp(20px, 3vw, 40px);
}

.ct-contact-grid {
  align-items: start;
}

.ct-card--contact .intro-h2 {
  margin-top: 0;
}

.ct-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.8vw, 24px);
}

.ct-card {
  margin: 0;
  padding: clamp(20px, 2.8vw, 28px) clamp(18px, 2.6vw, 32px);
  background: var(--zg-white);
  border-radius: var(--zg-radius-lg);
  border: 1px solid var(--zg-border);
  box-shadow: var(--zg-shadow-card);
}

.ct-card-title {
  margin: 0 0 clamp(14px, 2vw, 18px);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--zg-border);
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--zg-text);
}

/* 高频四卡 */
.ct-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 16px);
}

.ct-quick-card {
  margin: 0;
  padding: clamp(16px, 2vw, 20px);
  border-radius: var(--zg-radius-md);
  border: 1px solid var(--zg-border);
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f9 100%);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-quick-card:hover {
  border-color: #c5d4e8;
  box-shadow: 0 6px 18px rgba(15, 35, 70, 0.06);
}

.ct-quick-name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--zg-text);
}

.ct-quick-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--zg-text-muted);
}

/* 双栏 */
.ct-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(16px, 2.4vw, 22px);
  align-items: stretch;
}

.ct-text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--zg-text-secondary);
}

.ct-text--muted {
  font-size: 14px;
  color: var(--zg-text-muted);
}

.ct-map-fig {
  margin: 16px 0 10px;
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  border: 1px solid var(--zg-border);
  background: var(--zg-gray-100);
}

.ct-map-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ct-map-cap {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--zg-text-muted);
  background: var(--zg-gray-50);
  border-top: 1px solid var(--zg-border);
}

.ct-map-link-wrap {
  margin: 0;
}

.ct-text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--zg-blue);
  text-decoration: none;
}

.ct-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-phone-line {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.ct-phone-num {
  color: var(--zg-blue);
  text-decoration: none;
}

.ct-phone-num:hover {
  text-decoration: underline;
}

.ct-phone-sep {
  color: var(--zg-text-muted);
  font-weight: 500;
}

.ct-hours {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--zg-text-secondary);
}

.ct-qr-fig {
  margin: 0 auto 12px;
  max-width: 280px;
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  border: 1px dashed #c5cdd6;
  background: #f7fafc;
}

.ct-qr-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.ct-qr-cap {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  text-align: center;
  color: var(--zg-text-muted);
  background: #fff;
  border-top: 1px solid var(--zg-border);
}

.ct-qr-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--zg-text-muted);
}

/* 表单 */
.ct-form-lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--zg-text-muted);
}

.ct-req {
  color: #c62828;
  font-weight: 700;
}

.ct-form {
  max-width: none;
}

.ct-field {
  margin-bottom: 16px;
}

.ct-field--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ct-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--zg-text);
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--zg-text);
  border: 1px solid #cfd6de;
  border-radius: var(--zg-radius-sm);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #9aa3ad;
}

.ct-input:hover,
.ct-select:hover,
.ct-textarea:hover {
  border-color: #b5c0cc;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  outline: none;
  border-color: var(--zg-blue);
  box-shadow: 0 0 0 3px var(--zg-blue-soft);
}

.ct-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%235c6370' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.ct-textarea {
  resize: vertical;
  min-height: 120px;
}

.ct-check {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

.ct-check-label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--zg-text-secondary);
  cursor: pointer;
}

.ct-form-actions {
  margin-top: 8px;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--zg-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.ct-btn:active {
  transform: scale(0.98);
}

.ct-btn--primary {
  background: var(--zg-blue);
  color: var(--zg-white);
  border-color: var(--zg-blue);
  box-shadow: 0 4px 16px rgba(13, 110, 220, 0.22);
}

.ct-btn--primary:hover {
  background: var(--zg-blue-hover);
  border-color: var(--zg-blue-hover);
}

/* -----------------------------------------------------------------------------
   移动端
   ----------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .ct-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ct-hero-banner {
    height: clamp(220px, 52vw, 360px);
  }

  .ct-breadcrumb-inner {
    font-size: 12px;
  }

  .ct-card {
    padding: 18px 14px;
  }

  .ct-quick-grid {
    grid-template-columns: 1fr;
  }

  .ct-phone-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 17px;
  }

  .ct-phone-sep {
    display: none;
  }

  .ct-btn {
    width: 100%;
  }
}
