.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  color: #F3F8FF;
  padding-bottom: 60px;
}

.page-contact__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Default to cover for desktop */
  display: block;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main title */
}

.page-contact__description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #AFC4E8;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button does not overflow */
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #2B73F6;
}

.page-contact__btn-secondary:hover {
  background: rgba(43, 115, 246, 0.1);
  color: #4FA8FF;
  border-color: #4FA8FF;
  transform: translateY(-2px);
}

.page-contact__section {
  padding: 80px 0;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold for section titles */
}

.page-contact__light-bg {
  background: #08162B; /* Deep Navy from custom palette */
  color: #F3F8FF;
}

.page-contact__dark-section {
  background: #10233F; /* Card BG from custom palette */
  color: #F3F8FF;
}

.page-contact__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #AFC4E8;
}

.page-contact__contact-methods .page-contact__section-title {
  color: #F2C14E;
}

.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border from custom palette */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  object-fit: contain;
  border-radius: 8px;
}

.page-contact__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-contact__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #AFC4E8;
}

.page-contact__email-address,
.page-contact__phone-number {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4FA8FF;
}

.page-contact__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 6px;
}

.page-contact__social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.page-contact__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: #1D5FD1; /* Auxiliary color */
  color: #F3F8FF;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-btn:hover {
  background: #2B73F6;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  background: #08162B; /* Deep Navy */
}

.page-contact__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border from custom palette */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF;
  font-weight: 600;
}

details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: rgba(43, 115, 246, 0.1);
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #4FA8FF; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-contact__faq-answer p {
    margin-bottom: 0;
}

/* Commitment Section */
.page-contact__commitment-section {
  text-align: center;
}

.page-contact__commitment-section .page-contact__section-title {
  color: #F2C14E;
}

.page-contact__commitment-section .page-contact__text-block {
  max-width: 900px;
}

/* Additional Info Section */
.page-contact__additional-info .page-contact__section-title {
    color: #F2C14E;
}

.page-contact__additional-info .page-contact__text-block {
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* General image styling for content area */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: 20px;
  }
  .page-contact__hero-image img {
    max-height: 400px;
  }
  .page-contact__section {
    padding: 60px 0;
  }
  .page-contact__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-contact__method-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact__card-title {
    font-size: 1.3rem;
  }
  .page-contact__faq-qtext {
    font-size: 1rem;
  }
  .page-contact__faq-toggle {
    font-size: 1.5rem;
  }
}

@media (max-width: 849px) {
  .page-contact__hero-image img {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important;
    max-height: 300px; /* Adjust max height for smaller screens */
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-contact__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    max-height: 250px; /* Further adjust max height for very small screens */
  }
  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-contact__description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 产品展示图区域 (Not applicable for contact page, but general rule applies) */
  /* If this page had product grids, they would be 2 cols here. */
  /* .page-contact__products-grid { grid-template-columns: repeat(2, 1fr); overflow-x: hidden; } */

  /* 装饰主标题 + 长文 SEO 区 */
  .page-contact__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-contact__text-block {
    font-size: 0.9rem;
    padding: 0 15px;
    text-align: left; /* Align text left for better readability on mobile */
  }
  .page-contact__container {
    padding: 0 15px;
  }

  /* 通用图片与容器 */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Contact Methods Grid */
  .page-contact__methods-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  .page-contact__card-title {
    font-size: 1.2rem;
  }
  .page-contact__card-description {
    font-size: 0.85rem;
  }
  .page-contact__email-address,
  .page-contact__phone-number {
    font-size: 1rem;
  }
  .page-contact__social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* FAQ Section */
  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-qtext {
    font-size: 0.95rem;
  }
  .page-contact__faq-toggle {
    font-size: 1.5rem;
    width: 25px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.85rem;
  }
}