/* Contact us page */
.contact-page { margin: 0 0 8px; }
.contact-page a { text-decoration: none; }

.ct-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 22px;
  min-height: 200px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.ct-hero-img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.03);
}
.ct-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 38px;
  color: #fff;
  background: linear-gradient(90deg, rgba(9, 32, 66, 0.92) 0%, rgba(15, 55, 110, 0.7) 52%, rgba(15, 55, 110, 0.34) 100%);
}
.ct-hero-copy h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.ct-hero-copy p {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.96;
}

.ct-lead {
  margin: 0 0 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}

/* 3 cards (zh: phone/after/qq; others: phone/after/wa) */
.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.ct-card {
  position: relative;
  display: block;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  padding: 20px 20px 20px 68px;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.16);
  border-color: #93c5fd;
}
.ct-card-body { display: block; min-width: 0; }
.ct-card-ico {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}
.ct-card-ico.phone { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.ct-card-ico.after { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.ct-card-ico.wa { background: linear-gradient(135deg, #22c55e, #16a34a); }
.ct-card-ico.qq { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.ct-card-ico::before { line-height: 1; }
.ct-card-ico.phone::before { content: "☎"; }
.ct-card-ico.after::before { content: "⚙"; }
.ct-card-ico.wa::before { content: "W"; }
.ct-card-ico.qq::before { content: "Q"; }
.ct-card h2 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0f172a;
}
.ct-card .ct-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 5px;
  word-break: break-all;
}
.ct-card p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
}

.ct-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  margin-bottom: 22px;
}
.ct-panel {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), 0 8px 22px rgba(15, 23, 42, 0.04);
}
.ct-panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.ct-dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 16px;
  font-size: 14px;
  line-height: 1.65;
}
.ct-dl dt { color: #64748b; }
.ct-dl dd { margin: 0; color: #0f172a; }
.ct-dl a { color: #1d4ed8; }
.ct-email-img {
  display: inline-block;
  height: 22px;
  width: auto;
  cursor: pointer;
  vertical-align: middle;
}

.ct-map {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 400px;
  background: #e8eef5;
}
.ct-map-frame {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
.ct-map-wide .ct-map-frame {
  position: absolute;
  top: -8px;
  left: 0;
  width: 980px;
  height: 430px;
  max-width: none;
}
.ct-map-cta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.ct-map-cta strong { display: block; font-size: 14px; }
.ct-map-meta { opacity: 0.95; }
.ct-map-meta span { display: block; opacity: 0.88; font-size: 12px; }
.ct-map-cta em {
  font-style: normal;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 999px;
  padding: 6px 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ct-help h2,
.ct-form-wrap h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.ct-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.ct-help-item {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ct-help-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}
.ct-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.ct-points li {
  margin: 0;
  border: 1px dashed #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
  padding: 11px 13px;
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.55;
}

.ct-help-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1d4ed8;
}
.ct-help-item p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.ct-form-wrap {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 70%);
  padding: 22px 24px 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}
.ct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 15px;
}
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field.full { grid-column: 1 / -1; }
.ct-field label { font-size: 13px; font-weight: 600; color: #1f2937; }
.ct-field .req { color: #dc2626; }
.ct-field input,
.ct-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ct-field textarea { min-height: 130px; resize: vertical; }
.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.ct-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ct-submit {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}
.ct-submit:hover { background: linear-gradient(135deg, #1e40af, #1d4ed8); }
.ct-note { font-size: 12px; color: #64748b; }
.ct-form-msg { font-size: 13px; }
.ct-form-msg.ok { color: #047857; }
.ct-form-msg.err { color: #b91c1c; }

html[dir="rtl"] .ct-hero-copy {
  background: linear-gradient(270deg, rgba(9, 32, 66, 0.92) 0%, rgba(15, 55, 110, 0.7) 52%, rgba(15, 55, 110, 0.34) 100%);
}
html[dir="rtl"] .ct-card { padding: 20px 68px 20px 20px; }
html[dir="rtl"] .ct-card-ico { left: auto; right: 18px; }

@media (max-width: 900px) {
  .ct-grid,
  .ct-help-grid,
  .ct-points,
  .ct-split,
  .ct-form { grid-template-columns: 1fr 1fr; }
  .ct-hero-copy { padding: 22px; }
  .ct-hero-copy h1 { font-size: 26px; }
  .ct-hero-img { height: 180px; }
}
@media (max-width: 640px) {
  .ct-grid,
  .ct-help-grid,
  .ct-points,
  .ct-split { grid-template-columns: 1fr; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-dl { grid-template-columns: 1fr; gap: 3px 0; }
  .ct-dl dt { margin-top: 9px; }
  .ct-map-frame { height: 330px; }
  .ct-card { padding-left: 62px; }
  html[dir="rtl"] .ct-card { padding-left: 20px; padding-right: 62px; }
}
