/* =====================================================================
   HV88 Contact Page – style/contact.css
   Scoped to .page-contact only
   ===================================================================== */

.page-contact {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
}

.page-contact__hero-section {
  position: relative;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
  padding: 10px 20px 60px;
  width: 100%;
}

.page-contact__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid #2E7A4E;
}

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

.page-contact__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.page-contact__main-title {
  color: #F2FFF6;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.page-contact__hero-desc {
  color: #A7D9B8;
  margin: 0 0 24px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
}

.page-contact__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.page-contact__btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  border: 1px solid transparent;
  max-width: 100%;
}

.page-contact__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #04210F;
  border: 1px solid #57E38D;
  box-shadow: 0 8px 22px rgba(34, 199, 104, 0.28);
}

.page-contact__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(34, 199, 104, 0.4);
}

.page-contact__btn--outline {
  background: transparent;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
}

.page-contact__btn--outline:hover {
  background: rgba(34, 199, 104, 0.12);
  border-color: #22C768;
  color: #57E38D;
}

.page-contact__intro-section,
.page-contact__channels-section,
.page-contact__guide-section,
.page-contact__form-section,
.page-contact__response-section,
.page-contact__safety-section,
.page-contact__faq-section,
.page-contact__resources-section,
.page-contact__cta-section {
  padding: 60px 20px;
  width: 100%;
}

.page-contact__intro-section {
  background-color: #08160F;
}

.page-contact__channels-section {
  background: linear-gradient(180deg, #0A4B2C 0%, #11271B 100%);
}

.page-contact__guide-section {
  background-color: #08160F;
}

.page-contact__form-section {
  background: linear-gradient(180deg, #11271B 0%, #0A4B2C 100%);
}

.page-contact__response-section {
  background-color: #08160F;
}

.page-contact__safety-section {
  background: linear-gradient(180deg, #0A4B2C 0%, #11271B 100%);
}

.page-contact__faq-section {
  background-color: #08160F;
}

.page-contact__resources-section {
  background: linear-gradient(180deg, #11271B 0%, #0A4B2C 100%);
}

.page-contact__cta-section {
  background-color: #08160F;
  text-align: center;
}

.page-contact__section-container {
  max-width: 1150px;
  margin: 0 auto;
  width: 100%;
}

.page-contact__section-title {
  color: #F2FFF6;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
}

.page-contact__paragraph {
  color: #A7D9B8;
  margin: 0 0 18px;
  font-size: 1rem;
}

.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.page-contact__channel-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-4px);
  border-color: #22C768;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.page-contact__channel-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #1E3A2A;
}

.page-contact__channel-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.page-contact__channel-title {
  color: #57E38D;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-contact__channel-desc {
  color: #A7D9B8;
  font-size: 0.96rem;
  margin: 0 0 16px;
  flex: 1;
}

.page-contact__link {
  color: #22C768;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #22C768;
  align-self: flex-start;
  font-size: 0.96rem;
}

.page-contact__link:hover {
  color: #57E38D;
  border-bottom-color: #57E38D;
}

.page-contact__checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}

.page-contact__checklist-item {
  background-color: #11271B;
  border-left: 4px solid #22C768;
  padding: 14px 18px;
  border-radius: 10px;
  color: #F2FFF6;
  font-size: 0.98rem;
}

.page-contact__form {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 18px;
  padding: 30px;
  max-width: 760px;
  margin: 0 auto;
}

.page-contact__form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-contact__form-label {
  color: #F2FFF6;
  font-weight: 600;
  font-size: 0.95rem;
}

.page-contact__form-input,
.page-contact__form-select,
.page-contact__form-textarea {
  width: 100%;
  padding: 13px 16px;
  background-color: #08160F;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  color: #F2FFF6;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-contact__form-input:focus,
.page-contact__form-select:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #22C768;
  box-shadow: 0 0 0 3px rgba(34, 199, 104, 0.22);
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #6FAF8A;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 140px;
}

.page-contact__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.page-contact__form-note {
  margin: 16px 0 0;
  color: #57E38D;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.page-contact__response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.page-contact__response-card {
  background-color: #11271B;
  border: 1px solid #1E3A2A;
  border-radius: 14px;
  padding: 22px;
}

.page-contact__response-title {
  color: #57E38D;
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-contact__response-desc {
  color: #A7D9B8;
  font-size: 0.96rem;
  margin: 0;
}

.page-contact__safety-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  overflow: hidden;
}

.page-contact__faq-question {
  width: 100%;
  text-align: left;
  background-color: transparent;
  color: #F2FFF6;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 20px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.page-contact__faq-question::after {
  content: '+';
  color: #22C768;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.page-contact__faq-question[aria-expanded="true"]::after {
  content: '\2212';
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.page-contact__faq-item--open .page-contact__faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

.page-contact__faq-answer p {
  color: #A7D9B8;
  font-size: 0.96rem;
  margin: 0;
}

.page-contact__resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.page-contact__resource-card {
  display: block;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 16px 20px;
  color: #F2FFF6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-contact__resource-card:hover {
  background-color: #0A4B2C;
  border-color: #22C768;
  color: #57E38D;
}

.page-contact__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

/* =====================================================================
   Responsive – tablet (max-width: 1024px)
   ===================================================================== */
@media (max-width: 1024px) {
  .page-contact__channels-grid,
  .page-contact__response-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-contact__intro-section,
  .page-contact__channels-section,
  .page-contact__guide-section,
  .page-contact__form-section,
  .page-contact__response-section,
  .page-contact__safety-section,
  .page-contact__faq-section,
  .page-contact__resources-section,
  .page-contact__cta-section {
    padding: 48px 18px;
  }
}

/* =====================================================================
   Responsive – mobile (max-width: 768px)
   ===================================================================== */
@media (max-width: 768px) {
  .page-contact {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-contact__hero-container {
    gap: 22px;
    width: 100%;
  }

  .page-contact__hero-image {
    width: 100%;
    border-radius: 14px;
  }

  .page-contact__hero-content {
    width: 100%;
  }

  .page-contact__main-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    margin-bottom: 14px;
  }

  .page-contact__hero-desc {
    font-size: 0.97rem;
    margin-bottom: 20px;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .page-contact__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 13px 20px;
  }

  .page-contact__intro-section,
  .page-contact__channels-section,
  .page-contact__guide-section,
  .page-contact__form-section,
  .page-contact__response-section,
  .page-contact__safety-section,
  .page-contact__faq-section,
  .page-contact__resources-section,
  .page-contact__cta-section {
    padding: 38px 14px;
  }

  .page-contact__section-title {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
  }

  .page-contact__channels-grid,
  .page-contact__response-grid,
  .page-contact__resources-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .page-contact__form {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .page-contact__form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-contact__form-actions .page-contact__btn {
    width: 100%;
  }

  .page-contact__safety-actions,
  .page-contact__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-contact__safety-actions .page-contact__btn,
  .page-contact__cta-actions .page-contact__btn {
    width: 100%;
  }

  .page-contact__resource-card {
    font-size: 0.94rem;
    padding: 14px 16px;
  }

  .page-contact__faq-question {
    padding: 16px;
    font-size: 0.96rem;
  }
}

/* =====================================================================
   Responsive – small mobile (max-width: 480px)
   ===================================================================== */
@media (max-width: 480px) {
  .page-contact__hero-section {
    padding: 10px 12px 30px;
  }

  .page-contact__main-title {
    font-size: clamp(1.3rem, 7vw, 1.6rem);
  }

  .page-contact__intro-section,
  .page-contact__channels-section,
  .page-contact__guide-section,
  .page-contact__form-section,
  .page-contact__response-section,
  .page-contact__safety-section,
  .page-contact__faq-section,
  .page-contact__resources-section,
  .page-contact__cta-section {
    padding: 32px 12px;
  }
}