/* ===== Mobile-first base ===== */
.page-contact__hero-section {
  padding: 0;
  background: #FFFFFF;
}
.page-contact__hero-image-wrapper {
  width: 100%;
}
.page-contact__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.page-contact__hero-content {
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-contact__hero-content h1 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #017439;
  max-width: 640px;
}
.page-contact__hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  max-width: 560px;
  margin: 12px 0 24px;
}
.page-contact__hero-actions {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-contact__btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: opacity 0.2s ease;
}
.page-contact__btn:hover { opacity: 0.85; }
.page-contact__btn--register,
.page-contact__btn--login,
.page-contact__btn--submit {
  background: #C30808;
  color: #FFFF00;
}
.page-contact__btn--call,
.page-contact__btn--chat,
.page-contact__btn--fanpage { background: #017439; color: #FFFFFF; }

.page-contact__support-section,
.page-contact__form-section,
.page-contact__faq-section {
  padding: 32px 16px;
  background: #FFFFFF;
}
.page-contact__section-header { text-align: center; margin-bottom: 24px; }
.page-contact__section-header h2,
.page-contact__section-header p { max-width: 560px; margin-left: auto; margin-right: auto; }
.page-contact__section-header h2 { color: #017439; font-size: 1.6rem; }
.page-contact__section-header p { color: #333333; line-height: 1.6; }

.page-contact__support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-contact__support-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  overflow: hidden;
}
.page-contact__support-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.page-contact__support-card h3 { color: #017439; font-size: 1.2rem; margin-bottom: 8px; }
.page-contact__support-card p { color: #333333; line-height: 1.6; padding: 0 8px; margin-bottom: 16px; }
.page-contact__support-card .page-contact__btn { width: auto; }

.page-contact__form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-contact__form-group { width: 100%; }
.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: 2px solid rgba(1, 116, 57, 0.2);
}
.page-contact__btn--submit { width: 100%; }

.page-contact__faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-contact__faq-item {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 12px 16px;
  background: #FFFFFF;
}
.page-contact__faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #017439;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.page-contact__faq-item summary::-webkit-details-marker { display: none; }
.page-contact__faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: #017439;
}
.page-contact__faq-item[open] summary::after { content: '−'; }
.page-contact__faq-item p,
.page-contact__faq-item div { color: #333333; line-height: 1.6; padding-top: 8px; }

/* ===== Tablet (>=768px) ===== */
@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-contact__hero-actions {
    width: 100%;
    max-width: 100%;
  }
  .page-contact__btn {
    width: 100%;
    max-width: 100%;
  }
  .page-contact__support-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Desktop (>=1024px) ===== */
@media (min-width: 1024px) {
  .page-contact__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
  }
  .page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
  }
  .page-contact__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
  }
  .page-contact__hero-content {
    width: 100%;
    max-width: 1200px;
  }
  .page-contact__hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: 480px;
  }
  .page-contact__hero-actions .page-contact__btn { width: auto; min-width: 160px; }
  .page-contact__support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}