.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px; /* Adjust as needed */
  background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%); /* Light background blending */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

.page-contact__hero-content {
  max-width: 960px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-contact__description {
  font-size: 1.125rem; /* 18px */
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

.page-contact__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-contact__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-contact__section {
  padding: 60px 0;
  background: #F4F7FB; /* Background color */
  text-align: center;
}

.page-contact__section:nth-of-type(even) {
  background: #ffffff; /* Card BG for alternating sections */
}

.page-contact__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem); /* Responsive font size */
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-contact__section-description {
  font-size: 1.1rem; /* 17px */
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 15px;
}

/* Channels Section */
.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__channel-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-contact__channel-title {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-contact__channel-text {
  font-size: 1rem; /* 16px */
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  flex-grow: 1; /* Pushes button to bottom */
  margin-bottom: 20px;
}

.page-contact__channel-button {
  background: #2F6BFF; /* Primary color */
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Align button at bottom */
}

.page-contact__channel-button:hover {
  background: #4A8BFF; /* Lighter shade of primary */
}

/* When to Contact Section */
.page-contact__reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__reason-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__reason-title {
  font-size: 1.35rem; /* 22px */
  font-weight: 600;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
}

.page-contact__reason-text {
  font-size: 1rem; /* 16px */
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

/* Effective Contact Section */
.page-contact__effective-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__tip-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__tip-icon {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-contact__tip-title {
  font-size: 1.35rem; /* 22px */
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-contact__tip-text {
  font-size: 1rem; /* 16px */
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

/* FAQ Section */
.page-contact__faq-section {
  background: #F4F7FB; /* Background color */
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Slightly more padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}
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: #F4F7FB; /* Background color */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000; /* Custom Color_1776249996415 */
}
.page-contact__faq-toggle {
  font-size: 28px; /* Slightly larger toggle */
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Adjust width */
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB; /* Background color */
  border-radius: 0 0 8px 8px;
  text-align: left;
  font-size: 1rem; /* 16px */
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

/* --- Responsive Styles --- */

/* For smaller desktops/tablets (e.g., 849px breakpoint for hero image) */
@media (max-width: 1024px) {
  .page-contact__hero-image-wrapper {
    max-height: 400px;
  }
  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-contact__description {
    font-size: 1rem;
  }
  .page-contact__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-contact__channels-grid,
  .page-contact__reasons-grid,
  .page-contact__effective-tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-bottom: 30px;
    padding-top: 10px; /* Ensure small top padding */
  }
  .page-contact__hero-image-wrapper {
    max-height: 300px;
  }
  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
  }
  .page-contact__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem); /* Smaller on mobile */
    margin-bottom: 15px;
  }
  .page-contact__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  /* 按钮与按钮容器 */
  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to container */
  }
  .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: 12px 20px;
    font-size: 0.95rem;
    min-width: unset; /* Remove min-width for full flexibility */
  }

  /* 通用图片与容器 */
  .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__section {
    padding: 40px 0;
  }
  .page-contact__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }
  .page-contact__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
}