.page-contact {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-contact__dark-section {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-contact__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image */
  background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0) 100%);
  padding-top: 150px;
}

.page-contact__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  text-shadow: 0 0 10px rgba(255,211,107,0.5);
}

.page-contact__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-contact__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary */
  border: 2px solid #F2C14E; /* Primary */
}

.page-contact__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

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

/* General Section Titles */
.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Primary */
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-contact__section-description {
  font-size: 17px;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
}

.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 #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}

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;
  font-size: 18px;
  font-weight: 600;
  color: #F2C14E; /* Primary */
}

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(242, 193, 78, 0.05);
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  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: rgba(10, 10, 10, 0.8); /* Slightly darker background for answer */
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #FFF6D6;
}

.page-contact__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* Support Commitment Section */
.page-contact__support-commitment {
  padding: 60px 0;
}

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

.page-contact__commitment-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-contact__commitment-title {
  font-size: 24px;
  font-weight: 600;
  color: #F2C14E; /* Primary */
  margin-bottom: 15px;
}

.page-contact__commitment-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-contact__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Global Presence Section */
.page-contact__global-presence {
  padding: 60px 0;
}

.page-contact__global-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  max-width: 1000px;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #F2C14E; /* Primary */
  margin-bottom: 10px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFD36B; /* Glow */
  box-shadow: 0 0 0 3px rgba(255, 211, 107, 0.3);
}

.page-contact__contact-form .page-contact__btn-primary {
  width: auto;
  padding: 15px 40px;
  margin-top: 15px;
}

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

/* Media Queries */

/* HERO 主图区域 - 移动 object-fit:contain !important; aspect-ratio:unset; 禁止 cover 裁切两侧; 顶距约 10px，禁止 var(--header-offset) */
@media (max-width: 849px) {
  .page-contact__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 30px 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px;
  }

  .page-contact__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
    padding-top: 100px;
  }

  .page-contact__main-title {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

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

  /* 产品展示图区域 - N/A for contact page */

  /* 通用图片与容器 */
  .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;
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__method-title {
    font-size: 20px;
  }

  .page-contact__method-text {
    font-size: 15px;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px;
    font-size: 16px;
  }

  .page-contact__faq-qtext {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__commitment-item {
    padding: 25px;
  }

  .page-contact__commitment-title {
    font-size: 20px;
  }

  .page-contact__global-image {
    margin: 30px auto;
  }

  .page-contact__contact-form {
    padding: 30px;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__contact-form .page-contact__btn-primary {
    width: 100% !important;
    padding: 12px 20px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-contact__section-title-wrap, /* Example for a wrapper */
  .page-contact__article-body, /* Example for article body */
  .page-contact__article-figure { /* Example for image in article */
    text-align: center;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__article-body h2, .page-contact__article-body h3 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.3;
  }
  .page-contact__article-body p, .page-contact__article-body li {
    font-size: 16px;
    line-height: 1.6;
  }

}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(28px, 9vw, 36px);
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__faq-qtext {
    font-size: 15px;
  }
}