.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
}

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

.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-button {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__hero-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__channels-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-contact__channel-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
}

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

.page-contact__channel-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__channel-title {
  font-size: 1.5em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__channel-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 20px;
}

.page-contact__channel-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-contact__channel-link:hover {
  color: #F2C14E; /* Gold */
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #10233F; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #AFC4E8; /* Text Secondary */
  opacity: 0.7;
}

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

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-contact__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
  font-size: 1.2em;
  list-style: none; /* Remove default marker */
  position: relative;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-item summary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 168, 255, 0.5);
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  color: #4FA8FF; /* Glow */
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
}

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

.page-contact__commitment-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-contact__commitment-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-contact__commitment-image {
  width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__commitment-text {
  width: 50%;
}

.page-contact__commitment-text p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-contact__commitment-button {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__commitment-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

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

@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }

  .page-contact__section-title {
    font-size: 2.2em;
  }

  .page-contact__channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-contact__commitment-content {
    flex-direction: column;
    align-items: center;
  }

  .page-contact__commitment-image,
  .page-contact__commitment-text {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-contact__hero-image {
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-title {
    font-size: 2em !important;
    line-height: 1.3 !important;
    padding: 0 15px;
  }

  .page-contact__hero-description {
    font-size: 1em !important;
    padding: 0 15px;
  }

  .page-contact__hero-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 产品展示图区域 - Not applicable for contact page, but general grid for channels */
  .page-contact__channels-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 15px;
  }

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

  /* 通用图片与容器 */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__commitment-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-contact__hero-button,
  .page-contact__form-submit-button,
  .page-contact__commitment-button,
  .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__hero-content,
  .page-contact__contact-form,
  .page-contact__commitment-text {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* If multiple buttons in a row */
  .page-contact__hero-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Other content modules */
  .page-contact__section-title {
    font-size: 1.8em !important;
    padding: 0 10px;
  }

  .page-contact__section-description {
    font-size: 0.95em !important;
    padding: 0 10px;
  }

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

  .page-contact__faq-item summary {
    font-size: 1.1em !important;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }

  .page-contact__commitment-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-contact__commitment-image,
  .page-contact__commitment-text {
    width: 100% !important;
  }
}