/* ========== page-contact (flatsome 浅色落地风) ========== */
.page-contact {
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #FFFFFF;
  max-width: 100%;
  overflow-x: hidden;
}

/* ---- Hero ---- */
.page-contact__hero {
  padding: 10px 16px 0;
}
.page-contact__hero-image {
  display: block;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto 16px;
}
.page-contact__hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
}
.page-contact__hero-content {
  text-align: center;
  max-width: 1020px;
  margin: 0 auto 24px;
}
.page-contact__hero-title {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0477DB;
  margin: 0 0 8px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.page-contact__hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444444;
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Intro text ---- */
.page-contact__info-section {
  padding: 8px 16px 24px;
}
.page-contact__info-inner {
  max-width: 900px;
  margin: 0 auto;
}
.page-contact__info-text {
  font-size: 1rem;
  line-height: 1.75;
  background: linear-gradient(135deg, #EAF6FD 0%, #F7FBFE 100%);
  border-left: 4px solid #26A9E0;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0;
}

/* ---- Section title ---- */
.page-contact__section-title {
  text-align: center;
  font-weight: 700;
  color: #0B74B1;
  margin: 0 0 28px;
  font-size: 1.6rem;
  line-height: 1.3;
}

/* ---- Support cards ---- */
.page-contact__support-cards {
  padding: 16px 16px 32px;
}
.page-contact__card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
}
.page-contact__card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #E2EEF7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.page-contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 75, 120, 0.12);
}
.page-contact__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}
.page-contact__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B5A8A;
  margin: 16px 16px 8px;
}
.page-contact__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin: 0 16px 16px;
  flex-grow: 1;
}
.page-contact__card-btn {
  display: block;
  text-align: center;
  background: #F47A0A;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  margin: 0 16px 16px;
  transition: background 0.2s ease;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
}
.page-contact__card-btn:hover {
  background: #D96B00;
}

/* ---- Form ---- */
.page-contact__form-section {
  padding: 24px 16px;
  background: #F0F8FD;
}
.page-contact__form-inner {
  max-width: 680px;
  margin: 0 auto;
}
.page-contact__form-desc {
  text-align: center;
  color: #555555;
  margin: 0 0 24px;
  line-height: 1.6;
}
.page-contact__form {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.page-contact__form-field {
  margin-bottom: 18px;
}
.page-contact__form-label {
  display: block;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #C9DCE9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}
.page-contact__form-submit {
  display: block;
  width: 100%;
  background: #26A9E0;
  color: #FFFFFF;
  border: none;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
}
.page-contact__form-submit:hover {
  background: #1A8FBF;
}

/* ---- FAQ ---- */
.page-contact__faq-section {
  padding: 32px 16px;
  max-width: 800px;
  margin: 0 auto;
}
.page-contact__faq-item {
  border-bottom: 1px solid #E0EDF5;
}
.page-contact__faq-item:last-child {
  border-bottom: none;
}
.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 18px 8px;
  font-weight: 600;
  color: #0B5A8A;
}
.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
.page-contact__faq-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: #26A9E0;
  font-weight: 400;
  margin-left: 12px;
}
.page-contact__faq-answer {
  padding: 0 8px 18px;
  color: #555555;
  line-height: 1.7;
  margin: 0;
}

/* ========== Responsive: Tablet & Mobile ========== */
@media (max-width: 1024px) {
  .page-contact__card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-contact__hero {
    padding: 8px 12px 0;
  }
  .page-contact__hero-image img {
    aspect-ratio: 2 / 1;
  }
  .page-contact__hero-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .page-contact__hero-desc {
    font-size: 0.95rem;
  }
  .page-contact__info-section,
  .page-contact__support-cards,
  .page-contact__faq-section,
  .page-contact__form-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-contact__card-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__section-title {
    font-size: 1.4rem;
  }
  .page-contact__form {
    padding: 18px;
  }
  .page-contact__card-btn,
  .page-contact__form-submit {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }
}