/* ═══════════════════════════════════════════════════════
     FAQ PAGE — LOCAL STYLES
     Uses all tokens from css/styles.css. Only FAQ-specific
     rules live here — nothing duplicated.
  ═══════════════════════════════════════════════════════ */

  /* ── Page Hero ── */
  .faq-hero {
    background: var(--dark);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
  }

  /* Subtle radial glow from the green accent */
  .faq-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -120px;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,168,80,.18) 0%, transparent 70%);
    pointer-events: none;
  }
  /* Brown glow bottom-left */
  .faq-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107,58,16,.15) 0%, transparent 70%);
    pointer-events: none;
  }

  .faq-hero-inner { position: relative; z-index: 2; }

  .faq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74,168,80,.12);
    border: 1px solid rgba(74,168,80,.3);
    color: var(--green);
    font-family: var(--f-body);
    font-size: var(--t-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
  }
  .faq-hero-badge i { font-size: .65rem; }

  .faq-hero-title {
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: 1.06;
    letter-spacing: var(--ls-tight);
    margin-bottom: 1.25rem;
  }
  .faq-hero-title span { color: var(--green); }

  .faq-hero-sub {
    font-family: var(--f-body);
    font-size: var(--t-lg);
    color: rgba(255,255,255,.62);
    line-height: var(--lh-body);
    max-width: 520px;
    margin-bottom: 2.5rem;
  }

  /* Search bar */
  .faq-search-wrap {
    position: relative;
    max-width: 480px;
  }
  .faq-search-wrap i {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: .9rem;
    pointer-events: none;
  }
  .faq-search {
    width: 100%;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(74,168,80,.25);
    color: #fff;
    font-family: var(--f-body);
    font-size: var(--t-md);
    padding: 13px 18px 13px 48px;
    border-radius: 0;
    outline: none;
    transition: border-color .25s, background .25s;
    min-height: 50px;
  }
  .faq-search::placeholder { color: rgba(255,255,255,.3); }
  .faq-search:focus {
    border-color: var(--green);
    background: rgba(255,255,255,.10);
  }

  /* Testimonials */
  .testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;               
}

.testimonial-text {
  flex: 1;                    
}

.testimonial-author {
  margin-top: auto;           
  display: flex;
  align-items: center;
  gap: 12px;                  
}



  /* Hero stats row */
  .faq-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
  }
  .faq-hero-stat-num {
    font-family: var(--f-display);
    font-size: 1.75rem;
    font-weight: var(--fw-bold);
    color: var(--green);
    line-height: 1;
    display: block;
  }
  .faq-hero-stat-lbl {
    font-family: var(--f-body);
    font-size: var(--t-xs);
    font-weight: var(--fw-semi);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-top: 4px;
    display: block;
  }

  /* Decorative right-side visual */
  .faq-hero-visual {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .faq-hero-circle {
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 1.5px solid rgba(74,168,80,.2);
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .faq-hero-circle::before {
    content: '';
    position: absolute; inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(74,168,80,.12);
  }
  .faq-hero-circle-inner {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(74,168,80,.1);
    border: 1.5px solid rgba(74,168,80,.3);
    display: flex; align-items: center; justify-content: center;
  }
  .faq-hero-circle-inner i {
    font-size: 3.5rem;
    color: var(--green);
    opacity: .8;
  }
  /* Orbiting dots */
  .faq-orbit-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--green);
    opacity: .6;
  }
  .faq-orbit-dot:nth-child(1) { top: 20px;  right: 40px; }
  .faq-orbit-dot:nth-child(2) { bottom: 30px; left: 30px; background: var(--brown); }
  .faq-orbit-dot:nth-child(3) { top: 50%; right: -5px; width: 6px; height: 6px; }

  /* ── Category Filter Tabs ── */
  #faq-main { padding-block: 80px; background: var(--cream); }

  .faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 3rem;
  }
  .faq-tab {
    font-family: var(--f-body);
    font-size: var(--t-sm);
    font-weight: var(--fw-semi);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1.5px solid rgba(74,168,80,.25);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all .22s;
    min-height: 40px;
    border-radius: 0;
    outline: none;
  }
  .faq-tab:hover {
    border-color: var(--green);
    color: var(--green);
  }
  .faq-tab.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
  }

  /* ── FAQ Accordion ── */
  .faq-group { display: none; }
  .faq-group.active { display: block; }

  .faq-category-label {
    font-family: var(--f-body);
    font-size: var(--t-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .faq-category-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(107,58,16,.2);
  }

  .faq-item {
    background: #fff;
    border: 1px solid rgba(74,168,80,.1);
    margin-bottom: .75rem;
    transition: border-color .25s, box-shadow .25s;
  }
  .faq-item:hover {
    border-color: rgba(74,168,80,.3);
  }
  .faq-item.open {
    border-color: var(--green);
    box-shadow: 0 4px 24px rgba(74,168,80,.08);
  }

  .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    outline: none;
    min-height: 64px;
  }
  .faq-q-num {
    font-family: var(--f-display);
    font-size: var(--t-sm);
    font-weight: var(--fw-bold);
    color: var(--green);
    opacity: .5;
    flex-shrink: 0;
    min-width: 28px;
    transition: opacity .2s;
  }
  .faq-item.open .faq-q-num { opacity: 1; }

  .faq-q-text {
    font-family: var(--f-body);
    font-size: var(--t-md);
    font-weight: var(--fw-semi);
    color: var(--dark);
    line-height: var(--lh-sub);
    flex: 1;
    text-align: left;
    transition: color .2s;
  }
  .faq-item.open .faq-q-text { color: var(--green); }

  .faq-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(74,168,80,.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .25s, border-color .25s, transform .3s;
    color: var(--green);
    font-size: .7rem;
  }
  .faq-item.open .faq-icon {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    transform: rotate(45deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s cubic-bezier(.4,0,.2,1), padding .38s ease;
  }
  .faq-item.open .faq-answer {
    max-height: 600px;
  }
  .faq-answer-inner {
    padding: 0 1.5rem 1.5rem 4rem;
    font-family: var(--f-body);
    font-size: var(--t-md);
    font-weight: var(--fw-reg);
    color: var(--muted);
    line-height: var(--lh-body);
    border-top: 1px solid rgba(74,168,80,.08);
    padding-top: 1rem;
    margin: 0 1.5rem;
  }
  .faq-answer-inner a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .faq-answer-inner a:hover { color: var(--brown); }

  /* No results message */
  .faq-no-results {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
    font-family: var(--f-body);
    font-size: var(--t-lg);
  }
  .faq-no-results i {
    font-size: 2.5rem;
    color: rgba(74,168,80,.3);
    display: block;
    margin-bottom: 1rem;
  }

  /* ── Sidebar (right column) ── */
  .faq-sidebar { position: sticky; top: 100px; }

  .faq-sidebar-card {
    background: #fff;
    border: 1px solid rgba(74,168,80,.1);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
  }
  .faq-sidebar-card:last-child { margin-bottom: 0; }

  .faq-sidebar-title {
    font-family: var(--f-display);
    font-size: var(--t-xl);
    font-weight: var(--fw-bold);
    color: var(--dark);
    line-height: var(--lh-sub);
    margin-bottom: .5rem;
    letter-spacing: var(--ls-tight);
  }
  .faq-sidebar-body {
    font-family: var(--f-body);
    font-size: var(--t-sm);
    color: var(--muted);
    line-height: var(--lh-body);
    margin-bottom: 1.25rem;
  }

  /* Popular topics list */
  .faq-popular-list { list-style: none; padding: 0; margin: 0; }
  .faq-popular-list li {
    border-bottom: 1px solid rgba(74,168,80,.08);
  }
  .faq-popular-list li:last-child { border-bottom: none; }
  .faq-popular-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .65rem 0;
    font-family: var(--f-body);
    font-size: var(--t-sm);
    font-weight: var(--fw-semi);
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
  }
  .faq-popular-list a:hover { color: var(--green); }
  .faq-popular-list a i {
    color: var(--green);
    font-size: .7rem;
    opacity: .6;
    transition: opacity .2s, transform .2s;
  }
  .faq-popular-list a:hover i { opacity: 1; transform: translateX(3px); }

  /* Contact card accent line */
  .faq-contact-card {
    background: var(--dark);
    border: none;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
  }
  .faq-contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--green), var(--brown));
  }
  .faq-contact-card .faq-sidebar-title { color: #fff; }
  .faq-contact-card .faq-sidebar-body  { color: rgba(255,255,255,.55); }

  /* ── CTA Strip ── */
  .faq-cta-strip {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }
  .faq-cta-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--green), var(--brown), var(--green));
  }
  .faq-cta-strip h2 {
    font-family: var(--f-display);
    font-size: var(--t-2xl);
    font-weight: var(--fw-bold);
    color: #fff;
    letter-spacing: var(--ls-tight);
    line-height: var(--lh-head);
  }
  .faq-cta-strip p {
    font-family: var(--f-body);
    font-size: var(--t-lg);
    color: rgba(255,255,255,.6);
    line-height: var(--lh-body);
    max-width: 460px;
  }

  /* ── Search highlight ── */
  mark {
    background: rgba(74,168,80,.2);
    color: var(--dark);
    padding: 0 2px;
    border-radius: 2px;
  }

  /* ── Hidden items from search ── */
  .faq-item.faq-hidden { display: none; }

  /* ── Responsive ── */
  @media (max-width: 991px) {
    .faq-sidebar { position: static; margin-top: 2.5rem; }
    .faq-hero-visual { display: none; }
  }
  @media (max-width: 575px) {
    .faq-answer-inner { padding-left: 1.5rem; }
    .faq-hero { padding-top: 130px; }
  }