/* ============================================================
   faq.css — FAQ Page Styles
   ============================================================ */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.fq-hero {
  background: #0d2b2b;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,158,96,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.fq-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.fq-hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00c070;
  margin-bottom: 1rem;
}

.fq-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}

.fq-hero-title span { color: #00c070; }

.fq-hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.72;
  margin-bottom: 1.8rem;
}

/* ----------------------------------------------------------
   SEARCH BAR
   ---------------------------------------------------------- */
.fq-search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.fq-search-input {
  width: 100%;
  padding: 0.9rem 3rem 0.9rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease;
  box-sizing: border-box;
}

.fq-search-input::placeholder { color: rgba(255,255,255,0.4); }

.fq-search-input:focus {
  border-color: #009e60;
  background: rgba(255,255,255,0.1);
}

.fq-search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

.fq-search-icon svg {
  width: 18px;
  height: 18px;
}

/* ----------------------------------------------------------
   MAIN SECTION
   ---------------------------------------------------------- */
.fq-section {
  padding: 5.5rem 1.5rem;
  background: #f2ede0;
}

.fq-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   FAQ GROUPS
   ---------------------------------------------------------- */
.fq-group {
  margin-bottom: 3rem;
}

.fq-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #009e60;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(0,158,96,0.2);
}

/* ----------------------------------------------------------
   ACCORDION ITEMS
   ---------------------------------------------------------- */
.fq-item {
  border: 1px solid #e0dbd0;
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.22s ease;
}

.fq-item.fq-open {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fq-item-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.fq-item-question {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d2b2b;
  line-height: 1.45;
}

.fq-item-trigger:hover .fq-item-question { color: #009e60; }
.fq-item.fq-open .fq-item-question { color: #009e60; }

.fq-item-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,158,96,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, transform 0.3s ease;
}

.fq-item-chevron svg {
  width: 14px;
  height: 14px;
  color: #009e60;
  transition: transform 0.3s ease;
}

.fq-item.fq-open .fq-item-chevron {
  background: #009e60;
}

.fq-item.fq-open .fq-item-chevron svg {
  color: #ffffff;
  transform: rotate(180deg);
}

.fq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.fq-item-answer {
  padding: 0 1.4rem 1.4rem;
  font-size: 0.92rem;
  color: #5a5a5a;
  line-height: 1.72;
}

.fq-item-answer p { margin: 0 0 0.8rem; }
.fq-item-answer p:last-child { margin: 0; }

.fq-item-answer a {
  color: #009e60;
  text-decoration: none;
}

.fq-item-answer a:hover { text-decoration: underline; }

/* Hide items that don't match search */
.fq-item.fq-hidden { display: none; }
.fq-group.fq-group-hidden { display: none; }

/* ----------------------------------------------------------
   NO RESULTS
   ---------------------------------------------------------- */
.fq-no-results {
  text-align: center;
  padding: 3rem 0;
  display: none;
}

.fq-no-results.fq-visible { display: block; }

.fq-no-results p {
  font-size: 1rem;
  color: #5a5a5a;
  margin-bottom: 1.2rem;
}

.fq-contact-link {
  display: inline-flex;
  align-items: center;
  background: #009e60;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 25px;
  padding: 0.72rem 1.8rem;
  transition: background 0.22s ease;
}

.fq-contact-link:hover { background: #00c070; color: #0d2b2b; }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 580px) {
  .fq-hero { padding: 3.5rem 1.5rem 3rem; }
  .fq-section { padding: 3.5rem 1.5rem; }
}
