.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
  max-height: 500px; /* Limit hero image height on desktop */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content slightly over the image for visual hierarchy */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 100%);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__faq-section {
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  user-select: none;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: #1a3528;
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #1a3528;
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 1000px; /* Sufficiently large to show content */
  max-height: fit-content; /* Fallback for modern browsers */
  overflow: visible;
}

/* For details tag, hide default marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__inline-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 10px;
  margin-right: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__inline-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-banner {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
  filter: grayscale(50%);
}

.page-faq__cta-content {
  position: relative;
  z-index: 2;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-faq__cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
  border-radius: 60px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: -80px;
    padding: 15px;
  }

  .page-faq__hero-image {
    max-height: 400px;
  }

  .page-faq__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

  .page-faq__faq-answer {
    padding: 0 20px 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-content {
    margin-top: -60px;
    padding: 10px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-faq__description,
  .page-faq__section-description,
  .page-faq__cta-text {
    font-size: 1rem;
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }

  .page-faq__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px 15px 15px;
  }

  .page-faq__cta-banner {
    padding: 30px 20px;
  }

  .page-faq__cta-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  }

  .page-faq__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  /* Mobile responsive for images */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__hero-section,
  .page-faq__faq-section,
  .page-faq__container,
  .page-faq__cta-banner,
  .page-faq__hero-content,
  .page-faq__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-faq__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile responsive for buttons */
  .page-faq__cta-button,
  .page-faq__inline-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
    margin-right: 0;
  }

  .page-faq__inline-button {
    margin-bottom: 10px;
  }

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

@media (max-width: 480px) {
  .page-faq__hero-content {
    margin-top: -40px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-faq__faq-question {
    font-size: 0.95rem;
  }

  .page-faq__cta-title {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
  }
}