.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main for dark background */
  background: #0D0E12; /* Background color */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
  background: linear-gradient(180deg, #0D0E12 0%, rgba(13, 14, 18, 0.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-contact__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover */
  object-position: center;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.page-contact__main-title {
  color: #FFB04D; /* Glow color for title */
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-contact__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #FFB04D; /* Glow color for section titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-description {
  font-size: 1.05em;
  color: #FFF3E6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-contact__dark-section {
  background: #0D0E12; /* Background color */
  color: #FFF3E6;
  padding: 60px 0;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-contact__method-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(33% - 30px); /* Three cards per row */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
}

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

.page-contact__method-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #FF8C1A; /* Main color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__card-text {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 25px;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-contact__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main color */
  border: 2px solid #FF8C1A;
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background: #FF8C1A; /* Main color */
  color: #ffffff;
  border-color: #FF8C1A;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.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: 10px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
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: #FFF3E6;
}
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: #252831; /* Slightly lighter card BG on hover */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow color for FAQ questions */
}
.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FF8C1A; /* Main color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 20px;
  background: #0D0E12; /* Background color for answer */
  border-top: 1px solid #A84F0C;
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}
.page-contact__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #FFF3E6;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
  background: #0D0E12; /* Background color */
}

/* Global image responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-contact__hero-image {
    max-height: 300px; /* Adjust height for mobile */
    margin-bottom: 20px;
  }

  .page-contact__hero-image img {
    object-fit: contain !important; /* Mobile: contain */
    aspect-ratio: unset !important;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__main-title {
    font-size: 1.8em;
    padding: 0 10px;
  }

  .page-contact__description {
    font-size: 1em;
    padding: 0 10px;
  }

  /* 通用图片与容器 */
  .page-contact__section-title {
    font-size: 1.6em;
    padding-top: 30px;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* 产品展示图区域 (Contact page doesn't have a grid, adapting general card layout) */
  .page-contact__contact-methods {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-contact__method-card {
    flex: 1 1 100%;
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__method-card img {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__card-title {
    font-size: 1.3em;
  }

  .page-contact__card-text {
    font-size: 0.95em;
  }

  /* 按钮与按钮容器 */
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin for stacking */
    margin-right: 0 !important;
  }

  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* 装饰主标题 + 长文 SEO 区 (General sections, applying padding/max-width) */
  .page-contact__info-section .page-contact__container,
  .page-contact__faq-section .page-contact__container,
  .page-contact__cta-section .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-contact__faq-list {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-qtext {
    font-size: 1em;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 15px;
  }

  /* All other images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__content-area,
  .page-contact__text-block,
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}