/* =================================================================
   aux.css — Moringa Burn institutional pages
   Paleta: Forest Green dominante, Earth Brown texto, Cream backgrounds
   ================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4A2C0A;
  background: #fff;
}

/* ====== Header / brand bar ====== */
.brand-bar {
  background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
  padding: 20px;
  text-align: center;
  border-bottom: 3px solid #C8A84B;
}
.brand-bar h1 {
  font-family: 'Oswald', 'Nunito Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ====== Page hero ====== */
.page-hero {
  background: linear-gradient(135deg, #F8F4E8 0%, #FDFAF0 100%);
  padding: 60px 20px 44px;
  text-align: center;
  border-bottom: 1px solid #ece4d4;
}
.page-hero h2 {
  font-family: 'Oswald', 'Nunito Sans', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #4A2C0A;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.page-hero h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #C8A84B;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ====== Main / legal text ====== */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 24px 60px;
}
.legal p { margin-bottom: 16px; }
.legal p b, .legal b, .legal strong { color: #2D6A4F; font-weight: 700; }
.legal a {
  color: #2D6A4F;
  text-decoration: underline;
  font-weight: 600;
}
.legal a:hover { color: #1B4332; }
.legal ul {
  padding-left: 24px;
  margin: 12px 0 20px;
}
.legal li { margin-bottom: 6px; }
.legal h3 {
  font-family: 'Oswald', 'Nunito Sans', sans-serif;
  color: #4A2C0A;
  font-size: 26px;
  margin: 28px 0 16px;
  letter-spacing: 1px;
}

/* ====== Contact table ====== */
.contact-table {
  max-width: 820px;
  margin: 40px auto 12px;
  padding: 0 24px;
}
.contact-table table {
  width: 100%;
  border-collapse: collapse;
  background: #FDFAF0;
  border: 1px solid #C8A84B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(74,44,10,.06);
}
.contact-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #f1ead9;
  vertical-align: top;
}
.contact-table tr:last-child td { border-bottom: 0; }
.contact-table .label {
  font-weight: 700;
  color: #4A2C0A;
  font-size: 15px;
  width: 42%;
}
.contact-table .label small {
  display: block;
  font-weight: 400;
  color: #6B4423;
  font-size: 13px;
  margin-top: 4px;
}
.contact-table .value { font-size: 15px; color: #4A2C0A; }
.contact-table .value a {
  color: #2D6A4F;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted #2D6A4F;
}
.contact-table .value a:hover {
  color: #1B4332;
  border-bottom-style: solid;
}

/* ====== Tabs ====== */
.tabs {
  max-width: 820px;
  margin: 30px auto 0;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab {
  background: #F8F4E8;
  color: #4A2C0A;
  border: 2px solid #C8A84B;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all .2s;
}
.tab:hover { background: #FDFAF0; border-color: #2D6A4F; }
.tab.active {
  background: #2D6A4F;
  color: #fff;
  border-color: #2D6A4F;
  box-shadow: 0 2px 8px rgba(45,106,79,.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-title {
  font-family: 'Oswald', 'Nunito Sans', sans-serif;
  color: #4A2C0A;
  font-size: 28px;
  margin: 8px 0 20px;
  letter-spacing: 1px;
}

/* ====== FAQ ====== */
.faq-item {
  border: 1px solid #f1ead9;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 2px 8px rgba(74,44,10,.06); }
.faq-question {
  width: 100%;
  background: #FDFAF0;
  color: #4A2C0A;
  border: 0;
  padding: 16px 50px 16px 20px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: background .2s;
}
.faq-question:hover { background: #F8F4E8; }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #2D6A4F;
  font-weight: 700;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 14px 20px 18px;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ====== Utility ====== */
.mb-1 { margin-bottom: 8px; }
.mb-5 { margin-bottom: 16px; }
.is-size-3 { font-size: 20px; font-weight: 700; }
.is-capitalized { text-transform: capitalize; }

/* ====== Footer (BuyGoods standard) ====== */
.bg-footer {
  background-color: #1B4332;
  color: #fff;
  padding: 3rem 1.5rem;
  font-family: 'Nunito Sans', Arial, sans-serif;
  line-height: 1.4;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}
.bg-footer * { box-sizing: border-box; }
.bg-footer__container { max-width: 960px; margin: 0 auto; overflow-x: hidden; }
.bg-footer__links {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  text-align: center;
}
.bg-footer__links li { margin: 0; padding: 0; }
.bg-footer__links a {
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: color .2s;
}
.bg-footer__links a:hover { color: #C8A84B; text-decoration: underline; }
.bg-footer__disclaimer {
  color: rgba(255,255,255,.78);
  text-align: justify;
  font-size: .78rem;
  line-height: 1.45;
  margin: 0 0 1rem 0;
}
.bg-footer #disclaimer, .bg-footer #disclaimer * { color: #fff !important; }
#disclaimer { display: block; width: 100%; max-width: 820px; margin: 0 auto; overflow: hidden; box-sizing: border-box; }
#disclaimer * { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
#disclaimer img { height: auto !important; }

/* ====== Responsive ====== */
@media (max-width: 767px) {
  .brand-bar h1 { font-size: 24px; letter-spacing: 1.5px; }
  .page-hero { padding: 40px 16px 32px; }
  .page-hero h2 { font-size: 32px; letter-spacing: 2px; }
  .legal { padding: 28px 16px 40px; font-size: 15px; }
  .legal h3 { font-size: 22px; }
  .tab-title { font-size: 24px; }
  .contact-table { padding: 0 16px; }
  .contact-table table { display: block; }
  .contact-table tbody { display: block; }
  .contact-table tr { display: block; padding: 14px 0; border-bottom: 1px solid #f1ead9; }
  .contact-table tr:last-child { border-bottom: 0; }
  .contact-table td { display: block; padding: 4px 18px; border: 0; }
  .contact-table .label { width: 100%; }
  .tabs { padding: 0 16px; }
  .tab { flex: 1; min-width: 90px; padding: 10px 12px; font-size: 12px; }
  .faq-question { font-size: 14px; padding: 14px 44px 14px 16px; }
  .faq-answer { font-size: 14px; }
  .bg-footer { padding: 2rem 1rem; }
  .bg-footer__links { gap: .5rem 1rem; }
  #disclaimer table, #disclaimer tbody, #disclaimer tr, #disclaimer td, #disclaimer div { width: 100% !important; display: block !important; }
  #disclaimer td { padding: 8px !important; }
  #disclaimer img { display: block !important; margin: 0 auto 8px !important; }
}
