/* ============================================================
   SceletiumExtract.co.za — Premium B2B botanical supplier
   ============================================================ */

:root {
  --green: #183D2E;
  --green-deep: #10291F;
  --green-soft: #22513D;
  --cream: #F7F2E8;
  --cream-light: #FDFAF3;
  --sand: #D8C3A5;
  --gold: #B89B5E;
  --gold-dark: #9A7F45;
  --charcoal: #222222;
  --sage: #A8BFA3;
  --white: #FFFFFF;

  --font-heading: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(24, 61, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 41, 31, 0.18);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--green);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

a { color: var(--gold-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

section { padding: 84px 0; }

.section-intro { max-width: 760px; }
.section-intro.center { margin: 0 auto; text-align: center; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(184, 155, 94, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 242, 232, 0.65);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-block { display: block; width: 100%; }

/* ------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24, 61, 46, 0.10);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}
.brand:hover { color: var(--green); }

.brand svg { flex-shrink: 0; }

.brand-mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green); font-weight: 600; }

.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 11px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  margin: 5px 0;
  transition: all .3s ease;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--green-deep) 0%, var(--green) 55%, var(--green-soft) 100%);
  color: var(--cream);
  padding: 110px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(184, 155, 94, 0.14), transparent 55%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-inner { max-width: 780px; }

.hero .eyebrow { color: var(--sand); }
.hero .eyebrow::before { background: var(--sand); }

.hero h1 { color: var(--cream); margin-bottom: 22px; }

.hero .lede {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(247, 242, 232, 0.88);
  max-width: 660px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  list-style: none;
  max-width: 860px;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(247, 242, 232, 0.92);
  background: rgba(247, 242, 232, 0.07);
  border: 1px solid rgba(216, 195, 165, 0.25);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}

.trust-points svg { flex-shrink: 0; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(150deg, var(--green-deep) 0%, var(--green) 70%);
  color: var(--cream);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--cream); margin-bottom: 14px; }
.page-hero .lede { color: rgba(247, 242, 232, 0.85); max-width: 720px; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--sand); }
.page-hero .eyebrow::before { background: var(--sand); }

/* ------------------------------------------------------------
   Image frames (graceful placeholder if image not yet generated)
   ------------------------------------------------------------ */
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(184, 155, 94, 0.30), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(168, 191, 163, 0.35), transparent 60%),
    linear-gradient(140deg, var(--green) 0%, var(--green-soft) 100%);
  box-shadow: var(--shadow-lg);
  min-height: 280px;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 18c8 14 8 30 0 44-8-14-8-30 0-44z' fill='%23D8C3A5' fill-opacity='0.10'/%3E%3Cpath d='M32 66c14-2 26 4 34 16-14 2-26-4-34-16z' fill='%23A8BFA3' fill-opacity='0.10'/%3E%3C/svg%3E");
  background-size: 120px;
  opacity: 0.9;
  pointer-events: none;
}

.img-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.img-frame img.img-missing { display: none; }

.img-frame figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.85);
}

/* ------------------------------------------------------------
   Split layout
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse > .img-frame { order: 2; }

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.card {
  background: var(--cream-light);
  border: 1px solid rgba(24, 61, 46, 0.09);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 155, 94, 0.4);
}

.card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(168, 191, 163, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: #45514B; margin-bottom: 0; flex-grow: 1; }

.card .card-link {
  margin-top: 18px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 0.92rem;
  color: #45514B;
}
.card ul li { margin-bottom: 6px; }

/* Dark cards (on green sections) */
.section-green {
  background: var(--green);
  color: rgba(247, 242, 232, 0.9);
}
.section-green h2, .section-green h3 { color: var(--cream); }
.section-green .eyebrow { color: var(--sand); }
.section-green .eyebrow::before { background: var(--sand); }

.section-green .card {
  background: rgba(247, 242, 232, 0.05);
  border-color: rgba(216, 195, 165, 0.22);
}
.section-green .card h3 { color: var(--sand); }
.section-green .card p, .section-green .card ul { color: rgba(247, 242, 232, 0.8); }

/* Sand section */
.section-sand { background: linear-gradient(180deg, var(--cream) 0%, #EFE5D3 100%); }
.section-white { background: var(--cream-light); }

/* ------------------------------------------------------------
   Benefit / checklist lists
   ------------------------------------------------------------ */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cream-light);
  border: 1px solid rgba(24, 61, 46, 0.09);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.95rem;
}

.check-list svg { flex-shrink: 0; margin-top: 3px; }

.section-green .check-list li {
  background: rgba(247, 242, 232, 0.06);
  border-color: rgba(216, 195, 165, 0.22);
}

/* Numbered method blocks */
.method {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(24, 61, 46, 0.12);
}
.method:last-of-type { border-bottom: none; }

.method-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}

.method h3 { margin-bottom: 8px; }
.method p { color: #45514B; margin-bottom: 0; }

/* ------------------------------------------------------------
   Stats band
   ------------------------------------------------------------ */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-band .stat {
  padding: 26px 16px;
  border-radius: var(--radius);
  background: rgba(247, 242, 232, 0.06);
  border: 1px solid rgba(216, 195, 165, 0.22);
}

.stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--sand);
  display: block;
  margin-bottom: 6px;
}

.stat .stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.75);
}

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184, 155, 94, 0.25), transparent 55%),
    linear-gradient(135deg, var(--green-deep), var(--green));
  border-radius: var(--radius);
  padding: 64px 48px;
  color: var(--cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 { color: var(--cream); margin-bottom: 10px; }
.cta-band p { color: rgba(247, 242, 232, 0.82); max-width: 560px; margin-bottom: 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */
.form-card {
  background: var(--cream-light);
  border: 1px solid rgba(24, 61, 46, 0.10);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--green);
}

.form-field label .req { color: var(--gold-dark); }
.form-field label .opt { font-weight: 400; color: #6B756F; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(24, 61, 46, 0.18);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 155, 94, 0.18);
}

.form-field textarea { resize: vertical; min-height: 120px; }

fieldset.form-field {
  border: 1.5px solid rgba(24, 61, 46, 0.14);
  border-radius: var(--radius-sm);
  padding: 16px 18px 12px;
}

fieldset.form-field legend {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green);
  padding: 0 8px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px 18px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
}

.checkbox-item input { width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; }

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #45514B;
  background: rgba(168, 191, 163, 0.15);
  border-radius: var(--radius-sm);
  padding: 15px 17px;
}

.consent-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }

.form-actions { margin-top: 30px; }

.form-note {
  font-size: 0.83rem;
  color: #6B756F;
  margin-top: 14px;
  margin-bottom: 0;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 30px;
}
.form-success.visible { display: block; }
.form-success h3 { margin: 18px 0 12px; }
.form-success p { max-width: 560px; margin: 0 auto; color: #45514B; }

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.faq-list { max-width: 820px; margin: 40px auto 0; }

.faq-item {
  background: var(--cream-light);
  border: 1px solid rgba(24, 61, 46, 0.10);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--green);
  position: relative;
  transition: background .2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .25s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { background: rgba(168, 191, 163, 0.12); }

.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: #45514B;
  font-size: 0.96rem;
}
.faq-item .faq-answer p { margin-bottom: 0; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--green-deep);
  color: rgba(247, 242, 232, 0.78);
  padding: 70px 0 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-brand .brand { color: var(--cream); font-size: 1.25rem; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; color: rgba(247, 242, 232, 0.68); }

.site-footer h4 {
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(247, 242, 232, 0.78); }
.site-footer ul a:hover { color: var(--sand); }

.footer-disclaimer {
  border-top: 1px solid rgba(216, 195, 165, 0.18);
  padding: 28px 0;
  font-size: 0.8rem;
  color: rgba(247, 242, 232, 0.55);
}

.footer-disclaimer p { margin-bottom: 10px; max-width: 980px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: rgba(247, 242, 232, 0.5);
  border-top: 1px solid rgba(216, 195, 165, 0.12);
}

/* ------------------------------------------------------------
   Reveal animation
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .img-frame { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1240px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.88rem; }
  .nav-wrap { gap: 18px; }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(24, 61, 46, 0.12);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    white-space: normal;
  }
  .nav-links a::after { display: none; }

  .nav-toggle { display: block; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 820px) {
  .nav-cta { display: none; }

  section { padding: 60px 0; }
  .hero { padding: 76px 0 64px; }
  .form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-ctas .btn { width: 100%; }
}
