/* 
  NEEF FAQ Theme (eco-inspired)
  If you have exact brand colors, replace the CSS variables below.
*/
:root{
  --brand-primary: #1b5e20;   /* deep green */
  --brand-accent:  #66bb6a;   /* light green */
  --brand-ink:     #0f172a;   /* near-black */
  --brand-muted:   #64748b;   /* slate gray */
  --surface:       #ffffff;
  --surface-alt:   #f3f7f5;   /* soft green-tinted bg */
  --ring:          rgba(27,94,32,.35);
  --radius:        16px;
  --shadow:        0 10px 30px rgba(2, 6, 23, .08);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--brand-ink);
  background: var(--surface);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 0;
}

/* Header */
.site-header{
  background: linear-gradient(90deg, var(--brand-primary), #0d4a18);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
}
.brand{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.brand-mark{ font-size: 1.4rem; line-height: 1; }
.brand-name{ font-weight: 800; letter-spacing: .5px; font-size: 1.1rem; }
.brand-tagline{ grid-column: 2 / -1; font-size: .82rem; opacity: .85; }

.top-nav a{
  color: #e8f5e9;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 10px;
  border-radius: 10px;
}
.top-nav a:hover, .top-nav a:focus{
  background: rgba(255,255,255,.12);
  outline: none;
}

/* Hero */
.hero{
  background: var(--surface-alt);
  padding: 48px 0 28px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.hero-inner h1{
  margin: 0 0 8px 0;
  letter-spacing: .2px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}
.lede{
  margin: 0 0 18px 0;
  color: var(--brand-muted);
  max-width: 70ch;
}

.search{
  display: flex;
  gap: 10px;
  align-items: center;
}
.search input[type="search"]{
  flex: 1;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(2,6,23,.06), inset 0 0 0 1px rgba(2,6,23,.05);
}
.search input[type="search"]:focus{
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px var(--ring);
}
.search button{
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.search button:hover{ filter: brightness(1.05); }

/* Sections */
.faq-section{
  padding: 36px 0;
}
.faq-section h2{
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  margin: 0 0 14px 0;
}

/* Accordion */
.accordion{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.accordion-item{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(2,6,23,.06);
  overflow: hidden;
}
.accordion-trigger{
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 18px 18px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-trigger:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}
.accordion-trigger .icon{
  font-weight: 900;
  width: 22px;
  text-align: center;
  opacity: .7;
}
.accordion-panel{
  padding: 0 18px 18px 18px;
  color: #22324a;
}

/* CTA */
.cta{
  background: linear-gradient(180deg, #e8f5e9, #f6fff7);
  padding: 44px 0;
  border-top: 1px solid rgba(15,23,42,.08);
}
.cta .btn{
  display: inline-block;
  background: var(--brand-accent);
  color: #053210;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  border: 2px solid transparent;
}
.cta .btn:hover{ filter: brightness(1.02); border-color: var(--brand-primary); }

/* Footer */
.site-footer{
  background: #0b2e12;
  color: #c8e6c9;
  padding: 20px 0;
  margin-top: 28px;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .95rem;
}
.back-to-top{
  color: #c8e6c9;
  text-decoration: none;
  font-weight: 700;
}
.back-to-top:hover{ text-decoration: underline; }

/* Small screens */
@media (max-width: 720px){
  .header-inner{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .top-nav{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
}
