/* ===== contact.css ===== */
/* 联系我们页面专用样式（依赖 about.css）*/

/* 主内容 */
.ct-main {
  padding: 40px 0 60px;
  min-height: calc(100vh - 300px);
}

.ct-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */
.ct-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 32px;
}

.bc-home-icon {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.bc-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.bc-link:hover { color: #002b5c; }
.bc-sep { color: #6b7280; }
.bc-current { color: #111827; font-weight: 500; }

/* 联系信息卡片 */
.ct-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.ct-info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}

.ct-info-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.ct-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-info-icon img { width: 32px; height: 32px; object-fit: contain; }

.ct-info-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.ct-info-value {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

/* 在线留言区块 */
.ct-message-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

.ct-message-left {
  background: #002b5c;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.ct-msg-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.ct-msg-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

.ct-message-form {
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ct-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.ct-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #374151;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.ct-input:focus {
  border-color: #002b5c;
  box-shadow: 0 0 0 3px rgba(0,43,92,0.08);
}

.ct-input::placeholder { color: #9ca3af; }

.ct-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #374151;
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s;
}

.ct-textarea:focus {
  border-color: #002b5c;
  box-shadow: 0 0 0 3px rgba(0,43,92,0.08);
}

.ct-textarea::placeholder { color: #9ca3af; }

.ct-form-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-ct-submit {
  padding: 12px 40px;
  background: #002b5c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}

.btn-ct-submit:hover { background: #004080; }
.btn-ct-submit:active { transform: scale(0.97); }

/* 快捷联系按钮 */
.ct-quick-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-ct-service,
.btn-ct-wechat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  min-width: 160px;
  justify-content: center;
}

.btn-ct-service {
  background: #fea619;
  color: #fff;
  border: none;
  text-decoration: none;
}

.btn-ct-service:hover { background: #e8940a; }

.btn-ct-service img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.btn-ct-wechat {
  background: #002b5c;
  color: #fff;
  border: none;
}

.btn-ct-wechat:hover { background: #004080; }
.btn-ct-wechat img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .ct-info-cards { grid-template-columns: 1fr 1fr; }
  .ct-message-wrap { grid-template-columns: 1fr; }
  .ct-message-left { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .ct-main { padding: 24px 0 40px; }
  .ct-container { padding: 0 16px; }
  .ct-info-cards { grid-template-columns: 1fr; gap: 12px; }
  .ct-info-card { padding: 20px 16px; }
  .ct-message-form { padding: 24px 20px; }
  .ct-form-row { grid-template-columns: 1fr; gap: 14px; }
  .ct-msg-title { font-size: 22px; }
  .ct-quick-btns { flex-direction: column; align-items: stretch; }
  .btn-ct-service, .btn-ct-wechat { width: 100%; padding: 12px 24px; }
}

@media (max-width: 480px) {
  .ct-breadcrumb { font-size: 12px; gap: 6px; }
  .ct-info-card { padding: 16px 14px; flex-direction: row; align-items: center; gap: 14px; }
  .ct-info-icon { width: 32px; height: 32px; flex-shrink: 0; }
  .ct-info-icon img { width: 24px; height: 24px; }
  .ct-info-title { font-size: 14px; }
  .ct-info-value { font-size: 13px; }
  .ct-message-left { padding: 20px 16px; }
  .ct-msg-title { font-size: 20px; }
  .ct-msg-desc { font-size: 13px; }
  .ct-message-form { padding: 20px 16px; }
  .ct-input, .ct-textarea { font-size: 16px; }
  .btn-ct-submit { width: 100%; padding: 12px 24px; font-size: 15px; }
  .btn-ct-service, .btn-ct-wechat { font-size: 15px; padding: 12px 20px; }
}
