.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, as body handles --header-offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-main); /* Light text on dark background */
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

.page-faq__main-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-faq__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__section {
  padding: 40px 20px;
  border-bottom: 1px solid var(--divider);
  box-sizing: border-box;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.2rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__text-block {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-align: justify;
}

.page-faq__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  cursor: pointer;
  background-color: var(--deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-question:hover {
  background-color: #1A5A3C; /* Slightly lighter deep green on hover */
}

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--glow); /* #57E38D */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  background-color: var(--card-bg); /* #11271B */
  border-top: none;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__image {
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-section {
  background-color: var(--background); /* #08160F */
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-faq__cta-title {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.page-faq__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
  }
  .page-faq__description {
    font-size: 1rem;
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-faq__cta-title {
    font-size: 2rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__hero-section,
  .page-faq__section,
  .page-faq__cta-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-faq__container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__hero-content {
    padding: 10px;
  }
  .page-faq__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-faq__description {
    font-size: 0.9rem;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 12px 18px;
  }
  .page-faq__faq-answer {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
  .page-faq__cta-description {
    font-size: 0.9rem;
  }
  .page-faq__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
  }
  .page-faq__cta-button--large {
    padding: 16px 30px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding: 40px 10px;
    padding-top: 10px;
  }
  .page-faq__hero-content {
    padding: 5px;
  }
  .page-faq__main-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-faq__description {
    font-size: 0.85rem;
  }
  .page-faq__section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .page-faq__faq-question {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .page-faq__faq-answer {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
  .page-faq__cta-title {
    font-size: 1.6rem;
  }
  .page-faq__cta-description {
    font-size: 0.85rem;
  }
}